/* =========================================================
   Setapp — modern SaaS design system
   Dark theme, glassmorphism, gradient accents
   ========================================================= */

:root{
    --bg:          #2a1130;
    --bg-2:        #1c0a23;
    --surface:     rgba(255,255,255,0.06);
    --surface-2:   rgba(255,255,255,0.08);
    --border:      rgba(255,255,255,0.10);
    --border-2:    rgba(255,255,255,0.18);

    --text:        #f5ebf2;
    --text-muted:  rgba(245,235,242,0.78);
    --text-dim:    rgba(245,235,242,0.58);
    --heading:     #ffffff;

    --brand:       #601853;
    --brand-2:     #a32a8d;
    --primary:     #d8b4fe;
    --primary-2:   #f0c9ff;
    --accent:      #f472b6;
    --accent-2:    #ec4899;
    --cyan:        #38bdf8;
    --green:       #4ade80;
    --orange:      #fb923c;

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-sm: 0 10px 25px -10px rgba(0,0,0,0.5);
    --shadow:    0 25px 60px -25px rgba(236,72,153,0.45);
    --shadow-lg: 0 40px 80px -30px rgba(236,72,153,0.55);

    --max-w: 1200px;
    --header-h: 76px;
}

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

html,body{
    margin:0; padding:0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body{
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover{ color: var(--primary); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; border:none; background:none; color: inherit; }

h1,h2,h3,h4,h5{ color: var(--heading); margin:0 0 14px; line-height:1.18; font-weight:800; letter-spacing:-0.01em; }
h1{ font-size: clamp(34px, 5vw, 60px); }
h2{ font-size: clamp(28px, 3.6vw, 44px); }
h3{ font-size: clamp(22px, 2.4vw, 30px); }
h4{ font-size: 18px; }
p{ margin:0 0 14px; color: var(--text-muted); }

/* ---------- Background mesh ---------- */
.page-bg{
    position: fixed; inset:0; z-index:0; pointer-events:none;
    background:
        radial-gradient(960px 580px at 10% -10%, rgba(216,180,254,0.45), transparent 60%),
        radial-gradient(820px 540px at 110% 4%, rgba(244,114,182,0.38), transparent 60%),
        radial-gradient(760px 620px at 50% 110%, rgba(163,42,141,0.55), transparent 65%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body > main, body > section, body > footer{ position: relative; }

/* ---------- Container ---------- */
.container{
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-outline{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600; font-size: 14px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary{
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    box-shadow: 0 18px 40px -18px rgba(236,72,153,0.7);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(236,72,153,0.85); color:#fff; }

.btn-ghost{
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--border-2);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.10); transform: translateY(-2px); color: var(--text); }

.btn-outline{
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(192,132,252,0.4);
}
.btn-outline:hover{ background: rgba(192,132,252,0.10); color: #fff; transform: translateY(-2px); }

.btn-lg{ padding: 14px 26px; font-size: 15px; border-radius: 14px; }

/* ---------- Eyebrow ---------- */
.eyebrow{
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-2);
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.32);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-weight: 600;
}

/* ---------- Glass card ---------- */
.glass{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.glass:hover{
    transform: translateY(-4px);
    border-color: rgba(192,132,252,0.45);
    box-shadow: var(--shadow);
}

/* ---------- Gradient icon backgrounds ---------- */
.grad-blue   { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.grad-purple { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.grad-cyan   { background: linear-gradient(135deg, #22d3ee, #0ea5e9); }
.grad-pink   { background: linear-gradient(135deg, #f472b6, #db2777); }
.grad-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.grad-green  { background: linear-gradient(135deg, #4ade80, #16a34a); }
.grad-brand  { background: linear-gradient(135deg, #601853, #ec4899); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
    position: sticky; top:0; z-index: 150;
    border-bottom: 1px solid var(--border);
    transition: border-color .25s ease;
}
.site-header::before{
    content: '';
    position: absolute; inset: 0;
    background: rgba(42, 17, 48, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background .25s ease;
    z-index: -1;
}
.site-header.scrolled::before{
    background: rgba(42, 17, 48, 0.92);
}
.nav-container{
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo{
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800; color: #fff; font-size: 18px;
    letter-spacing: -0.01em;
}
.logo:hover{ color: #fff; }
.header-logo-img{
    max-height: 32px;
    width: auto;
    display: block;
}
.logo-mark{
    width: 32px; height: 32px;
    border-radius: 9px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff; font-weight: 800; font-size: 16px;
    box-shadow: 0 8px 24px -8px rgba(236,72,153,0.6);
}

/* Nav list */
.nav-main{ flex: 1; display: flex; justify-content: center; }
.nav-list{
    display: flex; gap: 4px; align-items: center;
}
.nav-item{ position: relative; }
/* Invisible bridge anchored to the LI itself, so the cursor never leaves the LI's hover
   tree when crossing from the link down to the absolutely-positioned panel. */
.has-mega::after, .has-dropdown::after{
    content: ''; position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    width: 200%; min-width: 200px;
    height: 18px;
}
.has-mega.is-open::after, .has-dropdown.is-open::after{ height: 18px; }
.nav-link{
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 16px; font-weight: 500;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.nav-link:hover{ color: #fff; background: rgba(255,255,255,0.04); }
.nav-caret{ font-size: 9px; transition: transform .25s ease; }

/* Mega panel */
.mega-panel, .dropdown-panel{
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0; visibility: hidden;
    background: #2a1130;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 200;
}
.has-mega.is-open .mega-panel,
.has-dropdown.is-open .dropdown-panel{
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.has-mega.is-open .nav-caret,
.has-dropdown.is-open .nav-caret{ transform: rotate(180deg); }

/* Dropdown */
.has-dropdown .dropdown-panel{ width: 280px; padding: 10px; }
.dropdown-item{
    display: grid; grid-template-columns: 38px 1fr; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .2s ease;
}
.dropdown-item:hover{ background: rgba(192,132,252,0.10); color: var(--text); }
.dropdown-item strong{ display: block; color: #fff; font-size: 14px; }
.dropdown-item span{ color: var(--text-dim); font-size: 12px; }
.dropdown-icon{
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--primary);
    background: rgba(192,132,252,0.12);
    border: 1px solid rgba(192,132,252,0.28);
    font-size: 15px;
}

/* CTA group */
.nav-cta{ display: flex; gap: 10px; align-items: center; }

.lang-switch{ position: relative; }
.lang-current{
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    font-weight: 600; font-size: 13px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.lang-current:hover{
    background: rgba(255,255,255,0.08);
    border-color: rgba(192,132,252,0.45);
}
.lang-current i.fa-globe{ font-size: 12px; color: var(--text-muted); }
.lang-caret{ font-size: 9px; transition: transform .25s ease; }
.lang-switch.is-open .lang-caret{ transform: rotate(180deg); }
.lang-menu{
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 180px;
    padding: 6px;
    background: #2a1130;
    border: 1px solid var(--border-2);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 200;
}
.lang-switch.is-open .lang-menu{
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu li a{
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13px;
    transition: background .2s, color .2s;
}
.lang-menu li a:hover{ background: rgba(192,132,252,0.10); color: #fff; }
.lang-menu li a.is-active{
    background: rgba(192,132,252,0.14);
    color: #fff;
}
.lang-menu .lang-code{
    font-size: 11px; font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(192,132,252,0.18);
    color: var(--primary-2);
    letter-spacing: 0.06em;
    min-width: 32px; text-align: center;
}
.lang-menu .lang-name{ flex: 1; }

/* Burger */
.nav-burger{
    display: none;
    width: 40px; height: 40px;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    background: rgba(255,255,255,0.04);
}
.nav-burger span{
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
    margin-top: 80px;
    padding: 64px 0 32px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
    border-top: 1px solid var(--border);
}
.footer-grid{
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo{ margin-bottom: 16px; }
.footer-logo-img{
    max-height: 36px;
    width: auto;
    display: block;
}
.footer-tag{
    color: var(--text-dim);
    font-size: 14px;
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.footer-social{ display: flex; gap: 10px; }
.footer-social a{
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-2);
    color: var(--text-muted);
    font-size: 14px;
    transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover{
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff; border-color: transparent;
    transform: translateY(-2px);
}

.footer-col h2,
.footer-col h5{
    color: #fff; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin: 0 0 16px;
}
.footer-col-spacer{ height: 29px; }
@media (max-width: 720px){ .footer-col-spacer{ display: none; } }
.footer-col ul li{ margin-bottom: 10px; }
.footer-col ul li a{
    color: var(--text-dim); font-size: 14px;
}
.footer-col ul li a:hover{ color: #fff; }

.footer-bottom{
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 13px;
    flex-wrap: wrap; gap: 12px;
}

/* =========================================================
   SECTION DEFAULTS
   ========================================================= */
section{ padding: 90px 0; position: relative; }
.section-head{ max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2{ margin-bottom: 14px; }
.section-head p{ font-size: 17px; color: var(--text-muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
    padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 60px);
    text-align: center;
    position: relative;
}
.hero-eyebrow{ margin-bottom: 22px; }
.hero h1{
    max-width: 920px; margin: 0 auto 22px;
    font-size: 50px;
}
.hero-gradient{
    background: linear-gradient(90deg, #ffffff 0%, #e9b3ff 45%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub{
    max-width: 640px; margin: 0 auto 36px;
    font-size: 18px;
    color: var(--text-muted);
}
.hero-cta{
    display: inline-flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
}
.hero-trust{
    margin-top: 28px;
    color: var(--text-dim);
    font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust i{ color: var(--green); }

.hero-split{ text-align: left; }
.hero-split .hero-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}
.hero-split h1{ max-width: none; margin: 0 0 22px; }
.hero-split .hero-sub{ max-width: 560px; margin: 0 0 36px; }
.hero-split .hero-cta{ justify-content: flex-start; }
.hero-media{ position: relative; }
.hero-media img{
    width: 100%; height: auto; display: block;
    border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 8px 24px -8px rgba(216,180,254,0.12);
    border: 1px solid var(--border);
    background: var(--surface);
}
@media (max-width: 900px){
    .hero-split{ text-align: center; }
    .hero-split .hero-grid{ grid-template-columns: 1fr; gap: 32px; }
    .hero-split h1{ margin: 0 auto 22px; max-width: 920px; }
    .hero-split .hero-sub{ margin: 0 auto 36px; }
    .hero-split .hero-cta{ justify-content: center; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust{ padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-head{
    text-align: center;
    color: var(--text-dim); font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 28px;
}
.trust-stats{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    text-align: center;
}
.trust-stat .num{
    font-size: clamp(28px, 3vw, 42px); font-weight: 800;
    background: linear-gradient(90deg, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}
.trust-stat .lbl{ color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }

/* =========================================================
   FEATURES GRID (modules)
   ========================================================= */
.features-grid{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card{ padding: 26px; }
.feature-card .feature-icon{
    width: 52px; height: 52px;
    border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; font-size: 20px;
    margin-bottom: 18px;
    box-shadow: 0 18px 32px -14px rgba(0,0,0,0.6);
}
.feature-card h2,
.feature-card h3{ font-size: 19px; margin: 0 0 10px; }
.feature-card p{ font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.feature-card .feature-link{
    color: var(--primary); font-weight: 600; font-size: 13px;
    display: inline-flex; align-items: center; gap: 6px;
}
.feature-card .feature-link i{ transition: transform .2s ease; }
.feature-card:hover .feature-link i{ transform: translateX(4px); }

.features-more{
    text-align: center;
    margin-top: 36px;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    counter-reset: step;
}
.step{
    padding: 28px 22px;
    text-align: left;
    position: relative;
}
.step::before{
    counter-increment: step;
    content: "0" counter(step);
    position: absolute; top: 18px; right: 22px;
    font-size: 38px; font-weight: 800;
    background: linear-gradient(135deg, rgba(192,132,252,0.55), rgba(236,72,153,0.3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.75;
}
.step .step-icon{
    width: 46px; height: 46px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(192,132,252,0.14);
    border: 1px solid rgba(192,132,252,0.32);
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 16px;
}
.step h3{ font-size: 17px; margin: 0 0 8px; }
.step p{ font-size: 14px; line-height: 1.6; margin: 0; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits{
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.benefit-card{ padding: 30px; display: flex; gap: 18px; align-items: flex-start; }
.benefit-card .b-icon{
    width: 50px; height: 50px; flex-shrink: 0;
    border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; font-size: 19px;
}
.benefit-card h3{ font-size: 19px; margin-bottom: 8px; }
.benefit-card p{ margin: 0; font-size: 14px; line-height: 1.6; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final{
    padding: 100px 0;
}
.cta-box{
    text-align: center;
    padding: 64px 32px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(620px 360px at 20% 0%, rgba(216,180,254,0.45), transparent 60%),
        radial-gradient(540px 360px at 80% 100%, rgba(244,114,182,0.4), transparent 60%),
        radial-gradient(440px 300px at 50% 60%, rgba(163,42,141,0.45), transparent 70%),
        rgba(48, 22, 56, 0.55);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}
.cta-box h2{ max-width: 640px; margin: 0 auto 16px; }
.cta-box p{ max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-box .cta-actions{ display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   INNER PAGE COMPONENTS
   ========================================================= */

/* Page hero — smaller than home hero, used on /modules, /about, etc */
.page-hero{
    padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
    text-align: center;
    position: relative;
}
.page-hero.tall{
    padding: clamp(100px, 12vw, 140px) 0;
}

/* Demo first section sits closer to hero */
.demo-section-top{ padding-top: 20px; }

/* Section directly under page-hero — no extra top padding */
.section-flush{ padding-top: 0; }

/* Centered prose variant (used for empty states) */
.prose-center{ text-align: center; }

/* Honeypot field — visually hidden but still in DOM for bots */
.honeypot{
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.page-hero h1{ max-width: 820px; margin: 0 auto 20px; }
.page-hero p{ max-width: 640px; margin: 0 auto 28px; font-size: 17px; }
.page-hero .hero-cta{ display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Split section: text + visual */
.split{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
.split h2{ font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.split p{ font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.split ul{ list-style: none; padding: 0; margin: 18px 0 0; }
.split ul li{
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 15px;
    display: flex; align-items: flex-start; gap: 12px;
    border-top: 1px solid var(--border);
}
.split ul li:first-child{ border-top: none; padding-top: 0; }
.split ul li i{
    color: var(--primary); font-size: 13px;
    margin-top: 5px;
    width: 18px; height: 18px;
    border-radius: 6px;
    display: inline-grid; place-items: center;
    background: rgba(192,132,252,0.14);
    border: 1px solid rgba(192,132,252,0.32);
    flex-shrink: 0;
}

/* About prose — same typography as .prose but no glass card chrome (sits in split layout) */
.prose-bare{
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}
.prose-bare h1, .prose-bare h2, .prose-bare h3{ color: #fff; margin: 24px 0 12px; }
.prose-bare h2{ font-size: 22px; }
.prose-bare h3{ font-size: 18px; }
.prose-bare p{ margin: 0 0 14px; color: var(--text-muted); }
.prose-bare ul{ padding-left: 22px; margin: 0 0 16px; list-style: disc; }
.prose-bare ul li{ margin-bottom: 8px; color: var(--text-muted); }
.prose-bare strong{ color: #fff; }
.prose-bare a{ color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* About image (real photo, not a mock) */
.about-image-frame{
    padding: 14px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(216,180,254,0.10), rgba(244,114,182,0.05));
    border: 1px solid var(--border-2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}
.about-image-frame img{
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Visual block — gradient card with mock UI */
.split-visual{
    padding: 22px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(216,180,254,0.10), rgba(244,114,182,0.05));
    border: 1px solid var(--border-2);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}
.split-visual .vmock{
    background: linear-gradient(180deg, #2e1336, #1f0d28);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border);
}
.vmock h5{ color: #fff; font-size: 15px; margin: 0 0 12px; }
.vmock .vrow{
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px;
    border-radius: 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    margin-bottom: 6px;
    font-size: 13px;
}
.vmock .vrow .vleft{ display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.vmock .vrow .vdot{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
}
.vmock .vrow .vdot.warn{ background: var(--orange); }
.vmock .vrow .vdot.dim{ background: rgba(255,255,255,0.25); }
.vmock .vrow .vamt{ color: #fff; font-weight: 700; }
.vmock .vbar{
    height: 6px; border-radius: 3px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    margin: 4px 0 12px;
}
.vmock .vbar > i{
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* Highlight cards (3-up small cards on inner pages) */
.highlight-grid{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.highlight-card{ padding: 26px; }
.highlight-card .h-icon{
    width: 44px; height: 44px;
    border-radius: 11px;
    display: grid; place-items: center;
    color: var(--primary); font-size: 17px;
    background: rgba(192,132,252,0.14);
    border: 1px solid rgba(192,132,252,0.30);
    margin-bottom: 16px;
}
.highlight-card h3,
.highlight-card h4{ font-size: 17px; margin: 0 0 8px; }
.highlight-card p{ font-size: 14px; line-height: 1.6; margin: 0; }

/* Pairs-with strip (small modules ribbon at bottom of module pages) */
.pairs{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pair-card{
    padding: 18px;
    display: grid; grid-template-columns: 38px 1fr;
    gap: 14px; align-items: center;
}
.pair-card .pair-icon{
    width: 38px; height: 38px;
    border-radius: 10px;
    display: grid; place-items: center;
    color: #fff; font-size: 15px;
    flex-shrink: 0;
}
.pair-card h3,
.pair-card h5{ margin: 0 0 2px; font-size: 14px; }
.pair-card p{ margin: 0; font-size: 12px; color: var(--text-dim); }

/* FAQ list */
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{
    padding: 22px 26px;
    margin-bottom: 14px;
    cursor: pointer;
}
.faq-item summary{
    display: flex; justify-content: space-between; align-items: center;
    list-style: none;
    font-size: 16px; font-weight: 600; color: #fff;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
    content: '+';
    font-size: 22px; color: var(--primary);
    transition: transform .25s ease;
    line-height: 1;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Demo form */
.demo-grid{
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: start;
}
.demo-side h2,
.demo-side h3{ font-size: 22px; margin: 0 0 12px; }
.demo-side p{ font-size: 15px; margin-bottom: 28px; }
.demo-side ul{ padding: 0; list-style: none; }
.demo-side ul li{
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border);
}
.demo-side ul li:first-child{ border-top: none; padding-top: 0; }
.demo-side ul li i{
    color: var(--primary);
    width: 22px; height: 22px;
    border-radius: 6px;
    display: inline-grid; place-items: center;
    background: rgba(192,132,252,0.14);
    border: 1px solid rgba(192,132,252,0.32);
    font-size: 11px;
    flex-shrink: 0;
}

.demo-form{ padding: 32px; }
.demo-form .field{ margin-bottom: 16px; }
.demo-form label{
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
}
.demo-form input,
.demo-form select,
.demo-form textarea{
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus{
    outline: none;
    border-color: rgba(192,132,252,0.6);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 4px rgba(192,132,252,0.12);
}
.demo-form textarea{ resize: vertical; min-height: 100px; }
.demo-form .row-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form .submit-row{ margin-top: 8px; }
.demo-form .submit-row button{ width: 100%; justify-content: center; }
.demo-form .demo-alert{
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}
.demo-form .demo-alert.ok{
    background: rgba(74,222,128,0.10);
    border: 1px solid rgba(74,222,128,0.30);
    color: var(--green);
}
.demo-form .demo-alert.err{
    background: rgba(244,114,182,0.10);
    border: 1px solid rgba(244,114,182,0.30);
    color: var(--accent);
}

/* Testimonial-like quote */
.quote-block{
    text-align: center;
    max-width: 720px; margin: 0 auto;
    padding: 42px 32px;
}
.quote-block blockquote{
    font-size: 22px; line-height: 1.5;
    color: #fff;
    font-weight: 600;
    margin: 0 0 22px;
}
.quote-block .quote-by{ color: var(--text-muted); font-size: 14px; }
.quote-block .quote-by strong{ color: #fff; }

/* Prose (Terms / Privacy / About text) */
.prose{
    max-width: 800px; margin: 0 auto;
    padding: 36px 38px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}
.prose h1, .prose h2, .prose h3{ color: #fff; margin: 32px 0 14px; }
.prose h2{ font-size: 24px; }
.prose h3{ font-size: 19px; }
.prose p{ margin: 0 0 16px; color: var(--text-muted); }
.prose ul{ padding-left: 22px; margin: 0 0 18px; list-style: disc; }
.prose ul li{ margin-bottom: 8px; color: var(--text-muted); }
.prose strong{ color: #fff; }
.prose a{ color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Contact info cards */
.contact-grid{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    margin-bottom: 40px;
}
.contact-card{
    padding: 28px;
    text-align: center;
}
.contact-card .c-icon{
    width: 52px; height: 52px;
    border-radius: 13px;
    display: grid; place-items: center;
    color: #fff; font-size: 19px;
    margin: 0 auto 16px;
}
.contact-card h2,
.contact-card h4{ font-size: 17px; margin: 0 0 6px; }
.contact-card a, .contact-card span{
    color: var(--text-muted); font-size: 14px;
}
.contact-card a:hover{ color: var(--primary); }

.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible{ opacity: 1; transform: translateY(0); }

@media (max-width: 1024px){
    section{ padding: 70px 0; }
    .cta-final{ padding: 80px 0; }
    .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
    .footer-brand{ grid-column: span 4; max-width: 520px; }
    .features-grid{ grid-template-columns: 1fr 1fr; }
    .steps{ grid-template-columns: repeat(2, 1fr); }
    .trust-stats{ grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .highlight-grid{ grid-template-columns: 1fr 1fr; }
    .contact-grid{ grid-template-columns: repeat(2, 1fr); }
    .has-mega .mega-panel{ width: 600px; }
}

@media (max-width: 900px){
    .nav-burger{ display: flex; }
    .nav-cta .btn-ghost{ display: none; }
    .nav-main{
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: calc(var(--header-h) + 24px) 22px 40px;
        opacity: 0; visibility: hidden;
        transition: opacity .25s, visibility .25s;
        overflow-y: auto;
        z-index: 200;
    }
    .nav-main.open{ opacity: 1; visibility: visible; }
    .site-header .logo,
    .site-header .nav-cta,
    .site-header .nav-burger{
        position: relative;
        z-index: 250;
    }
    .nav-list{
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .nav-link{
        padding: 14px 16px;
        font-size: 15px;
        justify-content: space-between;
        width: 100%;
    }
    .has-mega::after, .has-dropdown::after{ display: none; }
    .mega-panel, .dropdown-panel{
        position: static; transform: none;
        width: 100% !important;
        opacity: 1; visibility: visible;
        background: rgba(255,255,255,0.03);
        border: 1px solid var(--border);
        box-shadow: none;
        padding: 0;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease, padding .3s ease;
    }
    .nav-item.expanded .mega-panel,
    .nav-item.expanded .dropdown-panel{
        max-height: 800px;
        padding: 10px;
    }
    .mega-grid{ grid-template-columns: 1fr; gap: 4px; }

    .split{ grid-template-columns: 1fr; gap: 36px; }
    .split.reverse{ direction: ltr; }
    .demo-grid{ grid-template-columns: 1fr; gap: 32px; }
    .pairs{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px){
    h1{ font-size: clamp(30px, 6vw, 44px); }
    h2{ font-size: clamp(24px, 5vw, 34px); }
    section{ padding: 64px 0; }
    .section-head{ margin-bottom: 40px; }

    .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand{ grid-column: span 2; }

    .benefits{ grid-template-columns: 1fr; gap: 18px; }
    .highlight-grid{ grid-template-columns: 1fr; }
    .contact-grid{ grid-template-columns: 1fr; }
    .cta-final{ padding: 64px 0; }
    .cta-box{ padding: 48px 26px; }
    .quote-block{ padding: 32px 22px; }
    .quote-block blockquote{ font-size: 19px; }
    .prose{ padding: 30px 26px; }
}

@media (max-width: 640px){
    body{ font-size: 15px; }
    section{ padding: 52px 0; }

    .hero-cta{ width: 100%; flex-direction: column; align-items: stretch; }
    .hero-cta .btn-primary,
    .hero-cta .btn-ghost{ width: 100%; justify-content: center; }
    .hero-sub{ font-size: 16px; }

    .features-grid{ grid-template-columns: 1fr; gap: 18px; }
    .steps{ grid-template-columns: 1fr; gap: 16px; }
    .pairs{ grid-template-columns: 1fr; }
    .trust-stats{ grid-template-columns: 1fr 1fr; gap: 22px; }

    .feature-card,
    .benefit-card,
    .step,
    .highlight-card,
    .contact-card{ padding: 22px; }
    .benefit-card{ flex-direction: column; gap: 12px; }
    .step::before{ font-size: 32px; top: 14px; right: 18px; }

    .cta-box{ padding: 40px 20px; border-radius: var(--radius-lg); }
    .cta-box p{ font-size: 16px; }
    .cta-box .cta-actions{ width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-box .cta-actions .btn-primary,
    .cta-box .cta-actions .btn-ghost{ width: 100%; justify-content: center; }

    .demo-form{ padding: 22px; }
    .demo-form .row-2{ grid-template-columns: 1fr; gap: 0; }

    .faq-item{ padding: 18px 20px; }
    .faq-item summary{ font-size: 15px; gap: 12px; }
    .prose{ padding: 24px 20px; font-size: 15px; }
    .prose-bare{ font-size: 15px; }

    .footer-grid{ grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
    .footer-brand{ grid-column: span 1; }
    .footer-bottom{ justify-content: center; text-align: center; }
    .site-footer{ padding: 48px 0 24px; margin-top: 40px; }

    .page-hero{ padding: clamp(50px, 12vw, 80px) 0 clamp(28px, 7vw, 48px); }
}

@media (max-width: 480px){
    .container{ padding: 0 16px; }
    .nav-container{ gap: 12px; }
    .nav-cta{ gap: 6px; }
    .nav-cta .btn-primary{ padding: 9px 14px; font-size: 13px; }
    .nav-cta .btn-primary i{ display: none; }
    .header-logo-img{ max-height: 28px; }
    .lang-current{ padding: 7px 10px; font-size: 12px; }
    .lang-current i.fa-globe,
    .lang-caret{ display: none; }

    .btn-lg{ padding: 13px 22px; font-size: 14px; }
    .eyebrow{ font-size: 10px; padding: 4px 10px; }

    .hero-trust{ font-size: 12px; }
    .quote-block blockquote{ font-size: 17px; }
    .pair-card{ padding: 14px; }
    .pair-card .pair-icon{ width: 34px; height: 34px; font-size: 14px; }

    .cta-box{ padding: 32px 18px; }
    .cta-box h2{ font-size: 22px; }

    .demo-form{ padding: 18px; }
    .demo-form input,
    .demo-form select,
    .demo-form textarea{ font-size: 16px; } /* prevent iOS zoom on focus */
}
