:root {
    --bg: #e8eef2;
    --bg-elevated: #f4f7f9;
    --surface: #ffffff;
    --ink: #0f1c24;
    --ink-soft: #3d4f5c;
    --muted: #6a7d8a;
    --accent: #1a6b63;
    --accent-deep: #0f4a45;
    --accent-soft: rgba(26, 107, 99, 0.12);
    --line: rgba(15, 28, 36, 0.1);
    --hero-glow: #9ec5c1;
    --font-display: "Plus Jakarta Sans", sans-serif;
    --font-body: "Manrope", sans-serif;
    --radius: 4px;
    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(244, 247, 249, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(244, 247, 249, 0.96);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-h);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.language-switcher {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn,
.mobile-lang-btn {
    background: transparent;
    border: 1px solid var(--line);
    padding: 5px 9px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-soft);
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover,
.mobile-lang-btn.active,
.mobile-lang-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Hero */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: calc(var(--nav-h) + 28px) 24px 56px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(158, 197, 193, 0.55), transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(26, 107, 99, 0.18), transparent 50%),
        linear-gradient(165deg, #d5e2e8 0%, #eef3f5 45%, #c8d8dc 100%);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    animation: heroIn 1s ease both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-company {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 12px;
}

.hero-brand {
    font-size: clamp(3.2rem, 10vw, 6.2rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hero-tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 28px;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

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

/* Sections */
section {
    padding: 96px 0;
}

.section-header {
    margin-bottom: 48px;
    max-width: 40rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 14px;
    color: var(--ink);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Challenge */
.challenge {
    background: var(--surface);
}

.challenge-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.challenge-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.challenge-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: 4px;
}

.challenge-item p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 46rem;
}

/* Solutions spectrum */
.solutions {
    background: var(--bg-elevated);
}

.spectrum {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.spectrum-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 28px;
    row-gap: 8px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.spectrum-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.spectrum-item h3 {
    grid-column: 2;
    font-size: 1.35rem;
    margin-bottom: 0;
}

.spectrum-item p {
    grid-column: 2;
    color: var(--muted);
    max-width: 40rem;
}

/* Ecosystem */
.ecosystem {
    background: var(--ink);
    color: #e8eef2;
}

.ecosystem .section-header h2 {
    color: #fff;
}

.ecosystem .section-header p {
    color: rgba(232, 238, 242, 0.7);
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.eco-module {
    background: #14232c;
    padding: 28px 24px;
}

.eco-module-wide {
    grid-column: 1 / -1;
}

.eco-module h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
}

.eco-module p {
    color: rgba(232, 238, 242, 0.72);
    font-size: 0.95rem;
}

.eco-note {
    margin-top: 36px;
    color: rgba(232, 238, 242, 0.65);
    font-size: 0.98rem;
    max-width: 42rem;
    border-left: 3px solid var(--accent);
    padding-left: 18px;
}

/* Heidi */
.heidi {
    background: var(--surface);
}

.heidi-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.heidi-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--accent-deep);
}

.heidi-step p {
    color: var(--ink-soft);
}

.heidi-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
}

.heidi-roles h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--ink);
}

.heidi-roles p {
    color: var(--muted);
    font-size: 0.95rem;
}

.heidi-second h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.heidi-second p {
    color: var(--ink-soft);
    max-width: 44rem;
}

.disclaimer {
    margin-top: 28px;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

/* Academy */
.academy {
    background:
        linear-gradient(180deg, #dfe9ec 0%, #eef3f5 100%);
}

.academy-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.academy-audience span {
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: var(--radius);
}

.academy-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.academy-features h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.academy-features p {
    color: var(--muted);
}

.academy-core {
    max-width: 44rem;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-weight: 500;
}

/* Clinics */
.clinics {
    background: var(--surface);
}

.value-table {
    border-top: 1px solid var(--line);
}

.value-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.value-row strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--accent-deep);
}

.value-row span {
    color: var(--ink-soft);
}

/* Partnership */
.partnership {
    background: var(--bg-elevated);
}

/* Contact */
.contact {
    background: var(--surface);
}

.contact-simple {
    display: flex;
    justify-content: flex-start;
}

.contact-btn i {
    font-size: 1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    border-top: 1px solid var(--line);
    padding-top: 36px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

a.contact-detail:hover .contact-detail-value {
    color: var(--accent);
}

.contact-detail-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-detail-value {
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* Footer */
.footer {
    background: #0a141a;
    color: rgba(232, 238, 242, 0.75);
    padding: 64px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 16px;
}

.footer-section h3 {
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    text-decoration: none;
    color: rgba(232, 238, 242, 0.7);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--hero-glow);
}

.footer-section p a,
.footer-bottom a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-section p a:hover,
.footer-bottom a:hover {
    color: var(--hero-glow);
    border-bottom-color: var(--hero-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 0.88rem;
}

/* Mobile lang */
.mobile-lang-switcher {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(244, 247, 249, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    z-index: 1000;
}

.mobile-lang-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--ink);
    cursor: pointer;
}

@media (max-width: 900px) {
    .eco-grid {
        grid-template-columns: 1fr 1fr;
    }

    .heidi-flow,
    .heidi-roles,
    .academy-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        border-bottom: 1px solid var(--line);
        gap: 16px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-lang-switcher {
        display: block;
    }

    body {
        padding-bottom: 64px;
    }

    .hero {
        align-items: flex-start;
        padding: calc(var(--nav-h) + 20px) 20px 48px;
    }

    .spectrum-item,
    .challenge-item {
        grid-template-columns: 88px 1fr;
        column-gap: 16px;
    }

    .eco-grid {
        grid-template-columns: 1fr;
    }

    .eco-module-wide {
        grid-column: auto;
    }

    section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 2.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
