/* ─── RESET & TOKENS ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:      #6C46FA;
  --purple-mid:  #8B68FB;
  --purple-dark: #24145F;
  --purple-soft: #F2EEFF;
  --navy:        #081131;
  --navy-2:      #0d1838;

  --bg:        #ffffff;
  --bg-2:      #f6f7fb;
  --bg-3:      #eef1f8;
  --surface:   #ffffff;
  --surface-2: #f6f7fb;
  --border:    rgba(15,23,42,.09);
  --border-2:  rgba(15,23,42,.06);
  --text-1:    #0b1020;
  --text-2:    #334155;
  --text-3:    #64748b;
  --text-4:    #94a3b8;

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 8px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.12);
  --shadow-xl: 0 40px 110px rgba(15,23,42,.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text-1);
  scroll-behavior: smooth;
}

[data-theme="dark"] {
  --bg:        #070b15;
  --bg-2:      #0b1120;
  --bg-3:      #0e1526;
  --surface:   #0f1729;
  --surface-2: #131c30;
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.05);
  --text-1:    #f3f5f9;
  --text-2:    #cbd5e1;
  --text-3:    #94a3b8;
  --text-4:    #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 8px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --shadow-xl: 0 40px 110px rgba(0,0,0,.65);
}

html { background: var(--navy); overflow-x: clip; }
body { background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; border-radius: 999px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer; border: none; white-space: nowrap; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 22px rgba(108,70,250,.38); }
.btn-primary:hover { background: var(--purple-mid); box-shadow: 0 10px 32px rgba(108,70,250,.5); }
.btn-ghost { background: var(--surface); color: var(--text-1); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-2); transition: background .2s;
}
[data-theme="dark"] .nav { background: rgba(7,11,21,.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; display: block; }
[data-theme="dark"] .nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) { padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: color .15s, background .15s; }
.nav-links a:not(.btn):hover { color: var(--text-1); background: var(--bg-2); }

.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-3); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; margin: 0 4px; transition: background .15s, color .15s; }
.theme-toggle:hover { color: var(--text-1); background: var(--surface-2); }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-right-mobile { display: none; align-items: center; gap: 8px; }
.nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; align-items: center; background: var(--surface); border: 1.5px solid var(--border); border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .15s; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.menu-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(8,12,24,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.menu-backdrop.open { opacity: 1; visibility: visible; }

.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(360px, 86vw); height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -30px 0 80px rgba(8,12,24,.25);
  display: flex; flex-direction: column;
  padding: 20px 22px 28px;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.menu-panel.open { transform: translateX(0); }

.menu-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--border-2); }
.menu-panel-logo { height: 32px; }
[data-theme="dark"] .menu-panel-logo { filter: brightness(0) invert(1); }
.menu-close { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.menu-close:hover { background: var(--surface-2); color: var(--text-1); }

.menu-links { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.menu-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 14px; border-radius: var(--radius-md);
  color: var(--text-1); text-decoration: none;
  font-size: 16px; font-weight: 600;
  transition: background .15s;
}
.menu-links a:hover { background: var(--bg-2); }
.menu-link-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; }
[data-theme="dark"] .menu-link-icon { background: rgba(108,70,250,.15); }
.menu-link-text { flex: 1; }
.menu-link-chev { color: var(--text-4); }

/* staggered entrance */
.menu-links a { opacity: 0; transform: translateX(16px); }
.menu-panel.open .menu-links a { opacity: 1; transform: translateX(0); transition: opacity .3s ease, transform .3s ease, background .15s; transition-delay: calc(.12s + var(--i) * .05s); }

.menu-panel-foot { margin-top: auto; padding-top: 24px; }
.menu-cta { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }
.menu-foot-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.menu-foot-badges span { font-size: 11px; font-weight: 600; color: var(--text-4); background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

body.menu-open { overflow: hidden; }

/* ─── SECTION HEAD ─── */
.section-head { max-width: 720px; }
.section-label { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.section-title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--text-1); margin-bottom: 18px; }
.section-sub { font-size: 18px; color: var(--text-3); line-height: 1.6; }

/* ─── HERO ─── */
.hero { padding: 100px 0 88px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 1100px; height: 760px; background: radial-gradient(ellipse at center, rgba(108,70,250,.15) 0%, transparent 64%); pointer-events: none; }
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--purple-soft); color: var(--purple-dark); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 32px; border: 1px solid rgba(108,70,250,.18); }
[data-theme="dark"] .hero-badge { background: rgba(108,70,250,.15); color: #c4b5fd; border-color: rgba(108,70,250,.3); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.8)} }
.hero-headline { font-size: clamp(40px, 6.2vw, 78px); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; color: var(--text-1); margin-bottom: 26px; }
.gradient-text { background: linear-gradient(120deg, var(--purple) 0%, var(--purple-mid) 55%, #b084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-3); max-width: 680px; margin: 0 auto 40px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trusted { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; color: var(--text-4); font-size: 13px; font-weight: 500; }
.trusted-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.trusted-pill { background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-sm); }

.hero-screenshot { margin-top: 64px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl), 0 0 0 1px var(--border); background: #141824; max-width: 1000px; margin-left: auto; margin-right: auto; }
.screenshot-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: #1a2035; border-bottom: 1px solid rgba(255,255,255,.06); }
.screenshot-chrome.dark { background: #0d0d0d; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c840; }
.chrome-title { flex: 1; text-align: center; font-size: 13px; color: rgba(255,255,255,.35); font-weight: 500; margin-right: 44px; }
.screenshot-img { display: block; width: 100%; height: auto; }

/* ─── REPLACE STRIP ─── */
.replace-strip { padding: 56px 0; background: var(--bg-2); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); text-align: center; }
.replace-intro { font-size: 14px; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.replace-items { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; font-size: clamp(17px, 2.4vw, 24px); font-weight: 700; color: var(--text-2); letter-spacing: -.01em; }
.replace-dot { color: var(--purple); font-weight: 800; }
.replace-outro { font-size: clamp(17px, 2.4vw, 24px); font-weight: 700; color: var(--text-1); margin-top: 18px; letter-spacing: -.01em; }
.replace-outro strong { color: var(--purple); }

/* ─── ENGINE ─── */
.engine { padding: 100px 0; }
.engine .section-head { margin: 0 auto; text-align: center; }
.engine-flow { margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 8px; align-items: center; }
.engine-node { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.engine-input { border-color: rgba(108,70,250,.28); background: linear-gradient(160deg, var(--purple-soft), var(--surface)); }
[data-theme="dark"] .engine-input { background: linear-gradient(160deg, rgba(108,70,250,.12), var(--surface)); }
.engine-node-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.engine-node h4 { font-size: 16px; font-weight: 800; color: var(--text-1); margin-bottom: 16px; letter-spacing: -.01em; }
.engine-rows { display: flex; flex-direction: column; gap: 10px; }
.engine-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--text-3); }
.engine-row strong { color: var(--text-1); font-weight: 700; white-space: nowrap; }
.engine-row em { font-style: normal; font-size: 12px; color: var(--text-4); }
.engine-row-meta { padding-top: 10px; border-top: 1px dashed var(--border); }
.engine-row-total { padding-top: 12px; margin-top: 2px; border-top: 2px solid var(--border); font-weight: 700; }
.engine-row-total span { color: var(--text-2); font-weight: 600; }
.engine-row-total strong { color: var(--purple); font-size: 16px; }
.engine-arrows { display: flex; align-items: center; justify-content: center; color: var(--purple); opacity: .55; padding: 0 4px; }
.engine-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.engine-out-tag { font-size: 12px; font-weight: 700; color: var(--purple); margin-bottom: 10px; letter-spacing: .01em; }
.engine-output-artist .engine-out-tag { color: #0ea5a4; }
.engine-output-artist .engine-row-total strong { color: #0ea5a4; }
.engine-format { margin-top: 16px; font-size: 11px; font-weight: 600; color: var(--text-4); background: var(--bg-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; display: inline-block; }
.engine-note { margin: 40px auto 0; max-width: 760px; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-3); line-height: 1.6; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; }
.engine-note svg { color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.engine-note strong { color: var(--text-2); }

/* ─── PROVISION + MARGIN ─── */
.provision { padding: 100px 0; background: var(--bg-2); }
.provision-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.provision-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.provision-list li { display: flex; gap: 14px; align-items: flex-start; }
.provision-list svg { color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.provision-list strong { display: block; font-size: 16px; color: var(--text-1); margin-bottom: 3px; }
.provision-list span { font-size: 14px; color: var(--text-3); line-height: 1.55; }

.margin-calc { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.margin-calc-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); background: var(--purple-soft); padding: 5px 13px; border-radius: 999px; margin-bottom: 18px; }
[data-theme="dark"] .margin-calc-badge { background: rgba(108,70,250,.15); }
.margin-calc h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.18; color: var(--text-1); margin-bottom: 12px; }
.margin-calc > p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 24px; }
.margin-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.margin-label { font-size: 14px; color: var(--text-3); font-weight: 500; }
.margin-value { font-size: 18px; font-weight: 800; color: var(--text-1); }
.margin-highlight { color: var(--purple); }
.margin-divider { height: 1px; background: var(--border); margin: 4px 0; }
.margin-result { background: var(--purple-soft); border-radius: var(--radius-md); padding: 16px 18px; margin-top: 8px; }
[data-theme="dark"] .margin-result { background: rgba(108,70,250,.12); }
.margin-result .margin-value { color: var(--purple); font-size: 22px; }
.margin-foot { font-size: 12px; color: var(--text-4); margin-top: 16px; text-align: center; }

/* ─── LOKALE KI ─── */
.ki-section { padding: 104px 0; background: linear-gradient(160deg, #060a16 0%, #0a1230 55%, var(--navy-2) 100%); position: relative; overflow: hidden; }
.ki-glow { position: absolute; top: -80px; left: -250px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(108,70,250,.22) 0%, transparent 60%); pointer-events: none; }
.ki-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ki-label { color: #a78bfa; }
.ki-title { font-size: clamp(34px, 4vw, 58px); font-weight: 900; line-height: 1.06; letter-spacing: -.03em; color: #fff; margin-bottom: 24px; }
.ki-gradient { background: linear-gradient(120deg, #a78bfa 0%, #7c3aed 50%, var(--purple-mid) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ki-sub { font-size: 17px; color: #94a3b8; line-height: 1.7; margin-bottom: 28px; }
.ki-dsgvo { display: flex; align-items: flex-start; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 28px; }
.ki-dsgvo svg { color: #a78bfa; flex-shrink: 0; margin-top: 2px; }
.ki-dsgvo strong { display: block; color: #e2e8f0; font-size: 14px; margin-bottom: 5px; }
.ki-dsgvo span { font-size: 13px; color: #7d8aa0; line-height: 1.6; }
.ki-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.ki-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #cbd5e1; font-weight: 500; }
.ki-list li svg { color: #a78bfa; flex-shrink: 0; }
.ki-models { display: flex; flex-direction: column; gap: 8px; }
.ki-model { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.ki-model-active { background: rgba(108,70,250,.16); border-color: rgba(108,70,250,.32); }
.ki-model-name { font-size: 14px; font-weight: 700; color: #e2e8f0; }
.ki-model-desc { font-size: 12px; color: #64748b; flex: 1; }
.ki-model-badge { font-size: 11px; font-weight: 700; color: #a78bfa; background: rgba(108,70,250,.2); padding: 3px 10px; border-radius: 999px; }
.ki-screenshots { display: flex; flex-direction: column; gap: 14px; }
.ki-ss-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.07); }
.ki-ss-wrap img { display: block; width: 100%; height: auto; }
.ki-ss-sub { opacity: .9; }

/* ─── FEATURES ─── */
.features { padding: 100px 0; }
.features .section-head { margin: 0 auto; text-align: center; }
.features-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 50px; height: 50px; background: var(--purple-soft); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--purple); margin-bottom: 20px; }
[data-theme="dark"] .feature-icon { background: rgba(108,70,250,.15); }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* ─── GALLERY ─── */
.gallery { padding: 100px 0; }
.gallery .section-head { margin: 0 auto; text-align: center; }
.gallery-tabs { display: flex; gap: 6px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.gallery-tab { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--text-3); border: 1.5px solid var(--border); cursor: pointer; font-family: inherit; transition: all .15s; }
.gallery-tab:hover { color: var(--text-1); background: var(--surface); }
.gallery-tab.active { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: 0 6px 18px rgba(108,70,250,.3); }
.gallery-screen { margin-top: 24px; }
.gallery-frame { display: none; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl), 0 0 0 1px var(--border); background: #141824; }
.gallery-frame.active { display: block; }
.gallery-frame img { display: block; width: 100%; height: auto; }

/* ─── SECURITY ─── */
.security { padding: 100px 0; background: var(--bg-2); }
.security .section-head { margin: 0 auto; text-align: center; }
.security-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.security-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.security-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
[data-theme="dark"] .security-icon { background: rgba(108,70,250,.15); }
.security-card h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.security-card p { font-size: 14px; color: var(--text-3); line-height: 1.6; }

/* ─── VALUE ─── */
.value { padding: 100px 0; }
.value .section-head { margin: 0 auto; text-align: center; }
.value-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.value-num { font-size: 34px; font-weight: 900; letter-spacing: -.03em; background: linear-gradient(120deg, var(--purple), var(--purple-mid)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 14px; }
.value-card p { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.value-cta { margin-top: 48px; text-align: center; }
.value-cta p { max-width: 720px; margin: 0 auto; font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; color: var(--text-1); line-height: 1.5; letter-spacing: -.01em; }

/* ─── WORKFLOW ─── */
.workflow { padding: 100px 0; background: var(--bg-2); }
.steps { margin-top: 56px; display: flex; flex-direction: column; max-width: 700px; }
.step { display: flex; gap: 28px; align-items: flex-start; }
.step-number { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--purple-soft); border: 2px solid rgba(108,70,250,.22); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--purple); letter-spacing: .05em; }
[data-theme="dark"] .step-number { background: rgba(108,70,250,.15); border-color: rgba(108,70,250,.3); }
.step-content { padding-top: 10px; padding-bottom: 32px; }
.step-content h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-3); line-height: 1.65; }
.step-connector { width: 2px; height: 32px; background: rgba(108,70,250,.18); margin-left: 24px; }

/* ─── FAQ ─── */
.faq { padding: 100px 0; }
.faq .section-head { margin: 0 auto; text-align: center; }
.faq-list { max-width: 800px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(108,70,250,.32); box-shadow: var(--shadow-md); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-size: 17px; font-weight: 700; color: var(--text-1); letter-spacing: -.01em; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex-shrink: 0; width: 11px; height: 11px; border-right: 2.4px solid var(--purple); border-bottom: 2.4px solid var(--purple); transform: rotate(45deg); margin-right: 4px; margin-top: -4px; transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { font-size: 15px; color: var(--text-3); line-height: 1.7; max-width: 660px; }

/* ─── WAITLIST ─── */
.waitlist { padding: 120px 0; background: var(--purple-soft); }
[data-theme="dark"] .waitlist { background: rgba(108,70,250,.07); }
.waitlist-inner { text-align: center; }
.waitlist-badge { display: inline-block; background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 28px; }
.waitlist h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; color: var(--text-1); margin-bottom: 18px; }
.waitlist-inner > p { font-size: 18px; color: var(--text-3); max-width: 540px; margin: 0 auto 40px; line-height: 1.6; }
.waitlist-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.waitlist-form input { flex: 1; min-width: 220px; padding: 15px 22px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-1); font-size: 16px; font-family: inherit; box-shadow: var(--shadow-sm); outline: none; transition: border-color .15s, box-shadow .15s; }
.waitlist-form input::placeholder { color: var(--text-4); }
.waitlist-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,70,250,.15); }
.waitlist-hint { font-size: 13px; color: var(--text-4); margin-top: 16px; }
.waitlist-success { margin: 24px auto 0; background: rgba(34,197,94,.1); border: 1.5px solid rgba(34,197,94,.25); color: #166534; padding: 14px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; max-width: 400px; }
[data-theme="dark"] .waitlist-success { color: #4ade80; }
.waitlist-error { margin: 16px auto 0; background: rgba(239,68,68,.1); border: 1.5px solid rgba(239,68,68,.25); color: #b91c1c; padding: 14px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 14px; max-width: 440px; }
[data-theme="dark"] .waitlist-error { color: #fca5a5; }

/* ─── FOOTER ─── */
.footer { background: var(--navy); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo-img { height: 34px; display: block; filter: brightness(0) invert(1); opacity: .75; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.38); text-decoration: none; font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.22); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1000px) {
  .engine-flow { grid-template-columns: 1fr; gap: 20px; }
  .engine-arrows { transform: rotate(90deg); height: 50px; }
  .ki-inner { grid-template-columns: 1fr; gap: 48px; }
  .ki-screenshots { flex-direction: row; gap: 12px; }
  .ki-ss-wrap { flex: 1; }
  .provision-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
  .hero { padding: 56px 0 56px; }
  .hero-headline { font-size: clamp(32px, 8.5vw, 46px); letter-spacing: -.025em; }
  .engine-outputs { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .ki-screenshots { flex-direction: column; }
  .margin-calc { padding: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form input { width: 100%; min-width: unset; }
  .gallery-tab { font-size: 13px; padding: 7px 14px; }
  .replace-items { font-size: 16px; gap: 8px; }
}
