*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:       #0e0b09;
    --surface:  #161512;
    --border:   #2a2822;
    --text:     #f0ece2;
    --muted:    #b5afa9;
    --dim:      #6e6a65;
    --accent:   #e8603c;
    --accent-dim: #c04a2a;
    --good:     #4caf7d;
    --font-body: "Rubik", sans-serif;
    --font-display: "Rubik", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* NAV */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 56px;
    background: rgba(14, 11, 9, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    color: var(--accent);
    display: flex;
    align-items: center;
}

.nav-logo svg {
    width: 100px;
    height: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--dim);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.lang-btn:hover {
    color: var(--text);
    border-color: var(--muted);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-cta:hover { background: var(--accent-dim); }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(232, 96, 60, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 12px;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 520px;
    margin: 16px auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
}

.btn-secondary {
    background: none;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    display: inline-block;
}

.btn-secondary:hover {
    color: var(--text);
    border-color: var(--muted);
}

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--dim);
}

/* MOCK APP PREVIEW */
.preview-wrap {
    margin-top: 72px;
    width: 100%;
    max-width: 680px;
    position: relative;
}

.preview-wrap::before,
.preview-wrap::after {
    content: '';
    position: absolute;
    left: -40px;
    right: -40px;
    height: 60px;
    pointer-events: none;
    z-index: 1;
}

.preview-wrap::after {
    bottom: 0;
    background: linear-gradient(to bottom, transparent, var(--bg));
}

.preview-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.preview-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.preview-url {
    flex: 1;
    background: var(--surface);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    color: var(--dim);
    text-align: center;
}

.preview-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.preview-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
}

.preview-card-label {
    font-size: 10px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.preview-card-value {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text);
}

.preview-card-value.good { color: var(--good); }
.preview-card-value.warn { color: #e8b43c; }
.preview-card-value.bad  { color: var(--accent); }

.preview-card-bar-wrap {
    margin-top: 8px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preview-card-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
}

.preview-card.wide {
    grid-column: 1 / -1;
}

.preview-ai-bubble {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.preview-ai-bubble strong {
    color: var(--accent);
}

/* SECTION SHARED */
section {
    padding: 96px 24px;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-body {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.8;
}

/* FEATURES */
.features-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-header {
    text-align: center;
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    transition: background 0.15s;
}

.feature-card:hover {
    background: #1c1a17;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(232, 96, 60, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* FOR HVEM */
.for-section {
    background: var(--bg);
}

.diagnoses {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.diagnosis-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    color: var(--muted);
    transition: border-color 0.15s, color 0.15s;
}

.diagnosis-chip:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* REPORT HIGHLIGHT */
.report-section {
    background: var(--bg);
}

.report-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.report-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.report-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.report-title-text {
    font-family: var(--font-display);
    font-size: 16px;
}

.report-month {
    font-size: 11px;
    color: var(--dim);
    margin-top: 2px;
}

.report-badge {
    background: rgba(76, 175, 125, 0.15);
    color: var(--good);
    border: 1px solid rgba(76, 175, 125, 0.3);
    border-radius: 4px;
    font-size: 10px;
    padding: 3px 8px;
}

.report-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.report-stat {
    background: var(--bg);
    border-radius: 6px;
    padding: 10px 12px;
}

.report-stat-label {
    font-size: 10px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.report-stat-value {
    font-family: var(--font-display);
    font-size: 20px;
}

.report-stat-value.good { color: var(--good); }
.report-stat-value.warn { color: #e8b43c; }

.report-chart-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
}

.report-bar {
    flex: 1;
    background: var(--border);
    border-radius: 3px 3px 0 0;
    position: relative;
    overflow: hidden;
}

.report-bar-fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}

.report-text-preview {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    padding: 12px;
    background: var(--bg);
    border-radius: 6px;
    border-left: 2px solid var(--accent);
}

/* CTA */
.cta-section {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(232, 96, 60, 0.06) 100%);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 120px 24px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 36px;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    color: var(--accent);
    display: flex;
    align-items: center;
}

.footer-logo svg {
    width: 70px;
    height: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--dim);
}

.footer-links a:hover { color: var(--muted); }

.footer-copy {
    font-size: 13px;
    color: var(--dim);
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 700px) {
    nav { padding: 0 16px; }

    .report-inner {
        grid-template-columns: 1fr;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .preview-card.wide {
        grid-column: 1;
    }

    section { padding: 72px 16px; }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
