/* ==========================================================================
   Konektify — Design System  (light · trusted blue + white)
   Palette: ink #0B1220 · trust blue #0D9488 · deep azure #115E59
            signal cyan #5EEAD4 · sky tint #EFF4FF · slate #64748B
   Type:    Space Grotesk (display) · Inter (body) · JetBrains Mono (codes)
   Signature: the perforated voucher ticket (.voucher-ticket)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
    /* brand tokens */
    --blue: #0D9488;
    --blue-deep: #115E59;
    --blue-700: #0F766E;
    --cyan: #5EEAD4;
    --ink: #0B1220;
    --sky: #EFF4FF;
    --surface: #F8FAFC;
    --surface-2: #F1F5F9;
    --white: #FFFFFF;
    --slate: #64748B;
    --slate-700: #475569;
    --border: #E2E8F0;

    /* legacy aliases (kept so older pages keep working) */
    --primary-color: #0D9488;
    --secondary-color: #0F766E;
    --accent-color: #F59E0B;
    --dark-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-light: #0B1220;
    --text-muted: #64748B;

    --gradient-1: linear-gradient(135deg, #115E59 0%, #0D9488 100%);
    --gradient-2: linear-gradient(135deg, #0D9488 0%, #5EEAD4 100%);
    --gradient-3: linear-gradient(135deg, #0F766E 0%, #0D9488 100%);
    --gradient-hero: linear-gradient(135deg, #115E59 0%, #0D9488 55%, #0F766E 100%);

    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

    --radius: 16px;
    --radius-lg: 22px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(30, 58, 138, .18);
    --ring: 0 0 0 4px rgba(13, 148, 136, .18);
    --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .logo {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-weight: 700;
}

a { color: var(--blue); }
img { max-width: 100%; display: block; }

/* legacy animated bg -> neutral on light theme */
.animated-bg { display: none; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 2px;
    background: var(--cyan);
    border-radius: 2px;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================== NAV ============================== */
nav, .site-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: .85rem 0;
}
.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.logo .logo-mark {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--gradient-1);
    display: grid; place-items: center;
    color: #fff; box-shadow: var(--shadow-sm);
}
.logo .logo-dot { color: var(--cyan); }
.logo img.logo-img { height: 34px; width: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.footer-brand .logo { color: #fff; }
.footer-brand .logo img.logo-img { box-shadow: none; }

.nav-links { display: flex; gap: 1.9rem; list-style: none; }
.nav-links a {
    color: var(--slate-700);
    text-decoration: none;
    font-weight: 500;
    font-size: .96rem;
    position: relative;
    transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    height: 2px; width: 0; background: var(--gradient-2);
    transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-buttons { display: flex; gap: .65rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ============================== BUTTONS ============================== */
.btn {
    --_pad: .8rem 1.4rem;
    padding: var(--_pad);
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .96rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 148, 136, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13, 148, 136, .38); }
.btn-secondary {
    background: #fff;
    color: var(--blue);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: #5eead4; }
.btn-ghost { background: transparent; color: var(--slate-700); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* on dark hero */
.on-dark .btn-secondary,
.hero .btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
    box-shadow: none;
    backdrop-filter: blur(6px);
}
.hero .btn-secondary:hover { background: rgba(255, 255, 255, .18); }
.hero .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 30px rgba(2, 6, 23, .25); }
.hero .btn-primary:hover { background: var(--sky); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ============================== HERO ============================== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: #fff;
    padding: 9.5rem 0 5rem;
    overflow: hidden;
}
.hero::before { /* signal dot grid */
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 40%, transparent 75%);
    mask-image: radial-gradient(120% 90% at 70% 0%, #000 40%, transparent 75%);
    opacity: .6;
}
.hero::after { /* cyan glow */
    content: "";
    position: absolute; width: 520px; height: 520px;
    right: -120px; top: -160px;
    background: radial-gradient(circle, rgba(34, 211, 238, .35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: center;
}
.hero .eyebrow { color: #a7f3d0; }
.hero .eyebrow::before { background: var(--cyan); }
.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    margin: 1rem 0 1.1rem;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, #5eead4, #99f6e4);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead {
    color: rgba(255, 255, 255, .9);
    font-size: 1.12rem;
    max-width: 33rem;
    margin-bottom: 1.8rem;
}
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-trust {
    display: flex; align-items: center; gap: .6rem;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }

.hero-visual { position: relative; }
.hero-visual img,
.hero-visual video {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .25);
    background: #0b3b36;
    object-fit: cover;
}
/* gradient fallback when the hero image is missing */
.hero-visual.is-fallback {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)),
        var(--gradient-3);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .25);
}

/* ============================== SECTIONS ============================== */
.section { padding: 5rem 0; }
.section.alt { background: var(--surface); }
.section.sky { background: var(--sky); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: .8rem 0 .6rem; }
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* trust strip / stats */
.trust-strip {
    margin-top: -2.6rem;
    position: relative; z-index: 3;
}
.stat-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat-cell { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: 0; }
.stat-cell .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--blue-deep); }
.stat-cell .lbl { color: var(--slate); font-size: .86rem; }

/* features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #5eead4; }
.feature-card .art {
    width: 72px; height: 72px; border-radius: 16px;
    background: #fff; border: 1px solid var(--border);
    display: grid; place-items: center;
    margin-bottom: 1.1rem; overflow: hidden;
}
.feature-card .art img { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; }
.feature-card .art iconify-icon, .feature-card .art i { font-size: 1.9rem; color: var(--blue); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature-card p { color: var(--slate); font-size: .95rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.8rem; text-align: center; position: relative;
}
.step .step-no {
    position: absolute; top: 1rem; right: 1.1rem;
    font-family: var(--font-mono); font-weight: 700; color: #cbd5e1; font-size: 1rem;
}
.step .art { width: 110px; height: 110px; margin: 0 auto 1.1rem; }
.step .art img { width: 110px; height: 110px; object-fit: contain; }
.step h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.step p { color: var(--slate); font-size: .95rem; }

/* ============================== PRICING (voucher ticket signature) ============================== */
.pricing-grid { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; align-items: stretch; }

.voucher-ticket {
    --notch: 18px;
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.9rem;
    width: 340px; max-width: 100%;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.voucher-ticket.featured {
    border: 1.5px solid var(--blue);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, #fff, var(--sky));
}
.voucher-ticket .plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .35rem .85rem; border-radius: 30px; box-shadow: var(--shadow-sm);
}
.voucher-ticket .plan-name { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.voucher-ticket .price { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: .35rem 0 .1rem; }
.voucher-ticket .price .amt { font-size: 3rem; }
.voucher-ticket .price .per { font-size: .95rem; color: var(--slate); font-family: var(--font-body); font-weight: 500; }
/* perforation divider */
.voucher-ticket .perf {
    position: relative; height: 1px; margin: 1.3rem -1.9rem;
    border-top: 2px dashed var(--border);
}
.voucher-ticket .perf::before,
.voucher-ticket .perf::after {
    content: ""; position: absolute; top: 50%; width: var(--notch); height: var(--notch);
    border-radius: 50%; background: var(--surface); transform: translateY(-50%);
    border: 1px solid var(--border);
}
.voucher-ticket .perf::before { left: calc(var(--notch) / -2); }
.voucher-ticket .perf::after { right: calc(var(--notch) / -2); }
.section.alt .voucher-ticket .perf::before,
.section.alt .voucher-ticket .perf::after { background: var(--surface); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.plan-features li { display: flex; gap: .6rem; align-items: flex-start; color: var(--slate-700); font-size: .95rem; }
.plan-features li::before { content: "✓"; color: var(--blue); font-weight: 800; }
.voucher-ticket .btn { margin-top: auto; }

/* ============================== INTEGRATIONS ============================== */
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.integration-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.7rem; text-align: left;
}
.integration-card .ico {
    width: 54px; height: 54px; border-radius: 13px; background: var(--sky);
    display: grid; place-items: center; color: var(--blue); font-size: 1.6rem; margin-bottom: 1rem;
}
.integration-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.integration-card p { color: var(--slate); font-size: .93rem; }

/* ============================== FAQ ============================== */
.faq-list { max-width: 50rem; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ink); font-size: 1rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-body);
}
.faq-q .chev { transition: transform .25s; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--slate); }
.faq-a .faq-a-inner { padding: 0 1.3rem 1.2rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* ============================== NEWSLETTER / CTA band ============================== */
.cta-band {
    background: var(--gradient-hero); color: #fff; border-radius: var(--radius-lg);
    padding: 3rem; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 34rem; margin: .6rem auto 1.6rem; }
.subscribe-form { display: flex; gap: .6rem; max-width: 30rem; margin: 0 auto; flex-wrap: wrap; }
.subscribe-form input {
    flex: 1; min-width: 200px; padding: .85rem 1rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .14); color: #fff; font-size: .98rem;
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .75); }
.subscribe-form input:focus { background: rgba(255, 255, 255, .22); outline: none; }

/* ============================== LEGACY PAGE COMPONENTS (light) ============================== */
.page-hero {
    padding: 9rem 1.5rem 3.5rem; text-align: center;
    background: var(--sky); border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .8rem; }
.page-hero p { color: var(--slate); max-width: 40rem; margin: 0 auto; }

.content-section { padding: 4.5rem 0; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; align-items: center; }
.content-text h2 { font-size: 2rem; margin-bottom: 1.2rem; }
.content-text p { color: var(--slate); margin-bottom: 1.5rem; line-height: 1.8; }

.feature-list { display: flex; flex-direction: column; gap: 1.4rem; }
.feature-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.feature-number {
    width: 46px; height: 46px; background: var(--gradient-1); color: #fff; border-radius: 12px;
    display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
.feature-item h4 { margin-bottom: .35rem; }
.feature-item p { color: var(--slate); margin: 0; }

.stats-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
    box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.stat { text-align: center; }
.stat h3 { font-size: 2.4rem; color: var(--blue-deep); margin-bottom: .3rem; }
.stat p { color: var(--slate); margin: 0; }

.mission-vision { padding: 4.5rem 0; background: var(--surface); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.mv-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.4rem 2rem; text-align: center; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #5eead4; }
.mv-card i, .mv-card iconify-icon { font-size: 2.6rem; color: var(--blue); margin-bottom: 1rem; }
.mv-card h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.mv-card p { color: var(--slate); line-height: 1.8; }

/* ============================== FOOTER (ink) ============================== */
footer, .site-footer {
    background: var(--ink); color: #cbd5e1; padding: 3.5rem 0 1.6rem;
}
.footer-container {
    max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-section h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; font-family: var(--font-display); }
.footer-section p, .footer-section a { color: #94a3b8; text-decoration: none; display: block; margin-bottom: .55rem; font-size: .93rem; transition: color .2s; }
.footer-section a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: .9rem; }
.footer-social { display: flex; gap: .6rem; margin-top: .8rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08);
    display: grid; place-items: center; color: #cbd5e1; margin: 0;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.copyright {
    max-width: var(--maxw); margin: 2.6rem auto 0; padding: 1.4rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1); color: #94a3b8; text-align: center; font-size: .88rem;
}

/* ============================== SCROLL REVEAL ============================== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .hero-visual { order: 2; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .integration-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
    .nav-links, .nav-desktop-only { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 1rem;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .steps, .stat-row, .features-grid { grid-template-columns: 1fr; }
    .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
    .stat-cell:last-child { border-bottom: 0; }
    .section { padding: 3.5rem 0; }
    .hero { padding: 8rem 0 3.5rem; }
    .footer-container { grid-template-columns: 1fr; }
}

/* ===== a11y + polish (gap-finder fixes 2026-06-23) ===== */
:root { --gradient-4: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%); }
[data-reveal-delay="4"] { transition-delay: .32s; }
/* visible keyboard focus that hover box-shadow can't override (WCAG 2.4.7) */
.btn:focus-visible, .faq-q:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; box-shadow: none; }
.nav-links a:focus-visible, .footer-social a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero .btn:focus-visible { outline-color: #fff; }
.subscribe-form input:focus { box-shadow: 0 0 0 3px rgba(153, 246, 228, .7); border-color: var(--cyan); }

/* ============================== THEME TOGGLE + DARK MODE ============================== */
.theme-toggle {
    width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border);
    background: var(--surface); color: var(--slate-700); cursor: pointer;
    display: inline-grid; place-items: center; font-size: 1rem; flex-shrink: 0;
    transition: background .2s, color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--blue); }
.theme-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.theme-toggle .icon-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-light { display: inline; }
[data-theme="dark"] .theme-toggle .icon-dark { display: none; }

/* Dark palette — overrides the role tokens; brand hues brightened for contrast on dark. */
:root[data-theme="dark"] {
    --ink: #e7edf8;
    --white: #0b1220;
    --surface: #0f1a2e;
    --surface-2: #15233e;
    --sky: #0e1c34;
    --slate: #9fb0c9;
    --slate-700: #c8d4e8;
    --border: #243149;
    --blue: #2dd4bf;
    --blue-deep: #5eead4;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 10px 28px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
}
/* Surfaces that hardcode #fff -> dark card. */
[data-theme="dark"] .stat-row,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .feature-card .art,
[data-theme="dark"] .step,
[data-theme="dark"] .integration-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .stats-card,
[data-theme="dark"] .mv-card,
[data-theme="dark"] .voucher-ticket,
[data-theme="dark"] .btn-secondary { background: #111d33; }
[data-theme="dark"] .voucher-ticket.featured { background: linear-gradient(180deg, #15233e, #0e1c34); }
[data-theme="dark"] .voucher-ticket .perf::before,
[data-theme="dark"] .voucher-ticket .perf::after { background: var(--white); }
/* Glass nav + mobile dropdown. */
[data-theme="dark"] nav.site-nav,
[data-theme="dark"] .site-nav { background: rgba(11, 18, 32, .85); }
[data-theme="dark"] .nav-links.open { background: #0e1830; }
/* Footer stays dark even though --ink (its bg) flips to light text elsewhere. */
[data-theme="dark"] footer,
[data-theme="dark"] .site-footer { background: #070e1c; }
/* Hover accent borders that used light indigo. */
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .mv-card:hover,
[data-theme="dark"] .btn-secondary:hover { border-color: #3b56a8; }
[data-theme="dark"] .step .step-no { color: #3a4a66; }
