/* ===========================================================
   WEBGOD — premium web studio
   Design tokens: Ink #0F0C1A · Paper #FAFAFC · Violet #7C5CFC
   Violet Deep #5B3FE0 · Violet Light #A78BFA · Slate #5B5E73
   Display: Poppins · Body/UI: Inter · Utility: IBM Plex Mono
   =========================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
html { -webkit-text-size-adjust: 100%; }

/* ---------- Fonts ---------- */
:root {
  --f-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ---------- Tokens — Light ---------- */
:root {
  --ink: #0F0C1A;
  --graphite: #1A1530;
  --paper: #FAFAFC;
  --linen: #EAE6F6;
  --violet: #7C5CFC;
  --violet-deep: #5B3FE0;
  --violet-light: #A78BFA;
  --violet-soft: rgba(124,92,252,0.12);
  --slate: #5B5E73;

  --bg: var(--paper);
  --bg-elevated: #FFFFFF;
  --surface: var(--linen);
  --surface-2: #DFD9F0;
  --text: #15131F;
  --text-muted: #5C5A6B;
  --text-faint: #918FA0;
  --border: #E4E1F0;
  --border-strong: #CFC9E6;
  --accent: var(--violet);
  --accent-text: #5B3FE0;
  --on-accent: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(20,15,40,0.05), 0 2px 8px rgba(20,15,40,0.06);
  --shadow-2: 0 10px 28px rgba(20,15,40,0.10), 0 3px 8px rgba(20,15,40,0.06);
  --shadow-3: 0 26px 64px rgba(20,15,40,0.16), 0 10px 22px rgba(20,15,40,0.08);
  --shadow-accent: 0 14px 32px rgba(124,92,252,0.28), 0 4px 12px rgba(124,92,252,0.16);
  --grain-opacity: 0.035;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;
}

[data-theme="dark"] {
  --bg: var(--ink);
  --bg-elevated: var(--graphite);
  --surface: #1F1A38;
  --surface-2: #261F47;
  --text: #F3F1FA;
  --text-muted: #B3AFC7;
  --text-faint: #7B7693;
  --border: #2C2650;
  --border-strong: #3D3568;
  --accent: #9B7BFF;
  --accent-text: #B79CFF;
  --on-accent: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.35), 0 2px 10px rgba(0,0,0,0.4);
  --shadow-2: 0 12px 32px rgba(0,0,0,0.5), 0 3px 10px rgba(0,0,0,0.35);
  --shadow-3: 0 32px 76px rgba(0,0,0,0.6), 0 12px 26px rgba(0,0,0,0.4);
  --shadow-accent: 0 16px 38px rgba(155,123,255,0.35), 0 5px 14px rgba(155,123,255,0.2);
  --grain-opacity: 0.05;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
section { position: relative; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
}
.eyebrow::before { content:""; width: 18px; height: 1px; background: currentColor; opacity:.7; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); line-height: 1.7; font-size: 1.02rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 540px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.section-pad { padding: 120px 0; }
@media (max-width: 720px){ .section-pad{ padding: 80px 0; } }

i.ic { width: 22px; height: 22px; display: inline-block; }
i.ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1){transition-delay:.03s}
.reveal-group .reveal:nth-child(2){transition-delay:.11s}
.reveal-group .reveal:nth-child(3){transition-delay:.19s}
.reveal-group .reveal:nth-child(4){transition-delay:.27s}
.reveal-group .reveal:nth-child(5){transition-delay:.35s}
.reveal-group .reveal:nth-child(6){transition-delay:.43s}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 600;
  font-size: .95rem; padding: 14px 24px; border-radius: 100px; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s var(--ease), background-position .6s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  position: relative; overflow: hidden;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  background-size: 160% 160%; background-position: 0% 50%;
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); background-position: 100% 50%; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; transition: height .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled { height: 64px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); box-shadow: var(--shadow-1); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; }
.brand .mark { width: 30px; height: 30px; }
.brand .mark path { stroke: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--text-muted); position: relative; padding: 6px 0; transition: color .3s var(--ease); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--accent); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { position: relative; }
.lang-current { display:flex; align-items:center; gap:6px; font-family: var(--f-mono); font-size:.8rem; letter-spacing:.05em; color: var(--text-muted); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); }
.lang-current:hover{ color: var(--text); border-color: var(--border-strong); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; padding: 6px; min-width: 130px; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s var(--ease); }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button { display: flex; width: 100%; padding: 9px 10px; border-radius: 8px; font-size: .85rem; text-align: left; gap: 8px; }
.lang-menu button:hover { background: var(--surface); }
.lang-menu button[aria-current="true"] { color: var(--accent-text); font-weight: 600; }

.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.theme-toggle .moon { display:none; }
[data-theme="dark"] .theme-toggle .sun { display:none; }
[data-theme="dark"] .theme-toggle .moon { display:block; }

.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 10px; }
.menu-btn span { width: 18px; height: 1.4px; background: var(--text); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.menu-btn.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2){ opacity: 0; }
.menu-btn.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile nav overlay ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: flex; flex-direction: column; padding: calc(var(--header-h) + 20px) 28px 40px; transform: translateY(-100%); transition: transform .55s var(--ease); }
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-family: var(--f-display); font-size: 2.1rem; padding: 14px 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open a:nth-child(1){transition-delay:.08s} .mobile-nav.is-open a:nth-child(2){transition-delay:.14s}
.mobile-nav.is-open a:nth-child(3){transition-delay:.2s} .mobile-nav.is-open a:nth-child(4){transition-delay:.26s}
.mobile-nav.is-open a:nth-child(5){transition-delay:.32s}
.mobile-nav-foot { margin-top: auto; display: flex; gap: 14px; padding-top: 30px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 64px) 0 100px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 65%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 65%, transparent);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-top: 18px; }
.hero-copy h1 .accent-word {
  font-style: normal; font-weight: 700;
  background: linear-gradient(100deg, var(--violet-light), var(--violet) 45%, var(--violet-deep) 75%, var(--violet-light));
  background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 7s ease-in-out infinite;
}
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-copy p.lede { margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 46px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display:flex; align-items:center; justify-content:center; font-family: var(--f-mono); font-size: .7rem; color: #fff; }
.avatar-stack span:nth-child(1){ background: var(--violet); margin-left:0; }
.avatar-stack span:nth-child(2){ background: var(--violet-deep); }
.avatar-stack span:nth-child(3){ background:#15161B; }
.hero-proof-text { font-size: .85rem; color: var(--text-muted); }
.hero-proof-text strong { color: var(--text); font-family: var(--f-mono); font-weight: 500; }

.hero-art { position: relative; }
.glow-orb { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, var(--violet-soft), transparent 70%); top: -120px; right: -120px; filter: blur(10px); pointer-events: none; transition: transform .2s ease-out; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 0; pointer-events: none; animation: blobFloat 13s ease-in-out infinite; }
.blob-1 { width: 220px; height: 220px; background: var(--violet-light); top: 6px; left: -10px; }
.blob-2 { width: 180px; height: 180px; background: var(--violet-deep); bottom: 10px; right: 18px; animation-delay: -4s; }
[data-theme="dark"] .blob { opacity: .35; }
@keyframes blobFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(18px,-22px) scale(1.12); } }

.hero-floating { position: absolute; z-index: 3; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px; padding: 13px 16px; box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 10px; animation: floatY 5s ease-in-out infinite; }
.hero-floating .ic-wrap { width: 34px; height: 34px; border-radius: 9px; background: var(--violet-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-floating .ic-wrap svg { width: 17px; height: 17px; }
.hero-floating .fnum { font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.1; color: var(--text); }
.hero-floating .flabel { font-family: var(--f-mono); font-size: .63rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }
.badge-rating { top: -32px; left: -36px; animation-delay: .2s; }
.badge-stat { bottom: -28px; right: -30px; animation-delay: 1.1s; }
@media (max-width: 1180px) { .badge-rating{ left: -10px; } .badge-stat{ right: -6px; } }
@media (max-width: 860px) { .hero-floating { padding: 10px 13px; } .badge-rating{ top: -18px; left: 6px; } .badge-stat{ bottom: -18px; right: 6px; } }

/* Browser mockup — signature element */
.browser-mock { position: relative; z-index: 1; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-3); overflow: hidden; animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-bar .url { margin-left: 10px; font-family: var(--f-mono); font-size: .72rem; color: var(--text-faint); background: var(--surface); padding: 4px 12px; border-radius: 6px; flex: 1; max-width: 230px; }
.browser-tag { margin-left: auto; font-family: var(--f-mono); font-size: .68rem; color: var(--accent-text); background: var(--violet-soft); padding: 4px 10px; border-radius: 6px; }
.browser-body { padding: 18px; display: grid; grid-template-columns: 86px 1fr; gap: 16px; min-height: 280px; }
.mock-side { display: flex; flex-direction: column; gap: 10px; }
.mock-side .pill { height: 9px; border-radius: 5px; background: var(--surface-2); }
.mock-side .pill.short { width: 60%; }
.mock-side .av { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); margin-bottom: 6px; }
.mock-main { display: flex; flex-direction: column; gap: 12px; }
.mock-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); transition: background .6s var(--ease), border-color .6s var(--ease); }
.mock-row .av { width: 26px; height: 26px; border-radius: 50%; flex-shrink:0; background: var(--accent); opacity:.85; }
.mock-row .lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.mock-row .lines span { height: 7px; border-radius: 4px; background: var(--surface-2); display: block; }
.mock-row .lines span:nth-child(2){ width: 70%; }
.mock-row .tag { font-family: var(--f-mono); font-size: .6rem; color: var(--accent-text); background: var(--violet-soft); padding: 3px 8px; border-radius: 5px; align-self: flex-start; }

/* theme cycle skins applied via JS class swap on .browser-mock */
.skin-aurora .mock-row .av, .skin-aurora .browser-tag { background: #7C5CFC; }
.skin-aurora .browser-tag{ background: var(--violet-soft); color: var(--accent-text); }
.skin-violet .mock-row .av, .skin-violet .browser-tag { background: #6D6FB0; color:#fff; }
.skin-violet .browser-tag{ background:#6D6FB026; color:#5557A0; }
.skin-emerald .mock-row .av, .skin-emerald .browser-tag { background: #3F8F6B; }
.skin-emerald .browser-tag{ background:#3F8F6B26; color:#2E6B4F; }
.skin-rose .mock-row .av, .skin-rose .browser-tag { background: #A35F62; }
.skin-rose .browser-tag{ background:#A35F6226; color:#8C4A4D; }
.browser-mock, .mock-row, .browser-tag { transition: background-color .7s var(--ease), border-color .7s var(--ease), color .7s var(--ease); }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-grid .num { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--text); }
.trust-grid .lbl { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-top: 6px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.feature-card { background: var(--bg-elevated); padding: 36px 30px; transition: background-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); position: relative; z-index: 0; }
.feature-card:hover { background: var(--surface); transform: translateY(-4px); box-shadow: var(--shadow-accent); z-index: 1; }
.feature-card .ic-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--violet-soft); color: var(--accent-text); display:flex; align-items:center; justify-content:center; margin-bottom: 22px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .95rem; }

/* ---------- Products / tabs ---------- */
.tab-bar { display: inline-flex; padding: 5px; border: 1px solid var(--border); border-radius: 100px; gap: 4px; position: relative; margin-bottom: 44px; }
.tab-bar button { padding: 10px 20px; border-radius: 100px; font-size: .88rem; font-weight: 600; color: var(--text-muted); position: relative; z-index: 1; transition: color .3s var(--ease); }
.tab-bar button[aria-selected="true"] { color: var(--on-accent); }
.tab-indicator { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); background: var(--accent); border-radius: 100px; transition: transform .45s var(--ease), width .45s var(--ease); z-index: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid[hidden] { display: none; }
.product-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-accent); border-color: var(--accent); }
.product-thumb { height: 140px; border-radius: 10px; background: linear-gradient(135deg, var(--surface), var(--surface-2)); margin-bottom: 20px; position: relative; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.product-thumb::after{ content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent 30%, var(--violet-soft) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.product-card:hover .product-thumb::after{ transform: translateX(100%); }
.product-thumb svg{ width:40px; height:40px; stroke: var(--accent-text); fill:none; stroke-width:1.4; opacity:.8; }
.product-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.product-card h3 { font-size: 1.08rem; }
.product-ver { font-family: var(--f-mono); font-size: .72rem; color: var(--text-faint); }
.product-card p { font-size: .9rem; margin: 10px 0 18px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--f-mono); font-weight: 500; color: var(--text); }
.price span { color: var(--text-faint); font-size: .75rem; }
.stars { font-size: .78rem; color: var(--accent-text); font-family: var(--f-mono); }

/* ---------- Live demo ---------- */
.demo-wrap { display: grid; grid-template-columns: 1fr; gap: 0; }
.demo-frame { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-3); overflow: hidden; }
.demo-frame .browser-body { min-height: 360px; }
.badge-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.badge-pill { font-family: var(--f-mono); font-size: .76rem; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border); color: var(--text-muted); display:flex; align-items:center; gap:7px; }
.badge-pill::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; flex-wrap: wrap; gap: 16px; }

/* ---------- Testimonials ---------- */
.t-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.t-track::-webkit-scrollbar{ display:none; }
.t-card { flex: 0 0 360px; scroll-snap-align: start; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: 30px; display:flex; flex-direction:column; }
.t-stars { color: var(--accent-text); font-family: var(--f-mono); font-size: .85rem; margin-bottom: 16px; }
.t-card p.quote { color: var(--text); font-size: 1rem; line-height: 1.65; flex: 1; }
.t-who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.t-who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display:flex; align-items:center; justify-content:center; font-family: var(--f-mono); font-size: .75rem; color: var(--text-muted); }
.t-who .name { font-size: .88rem; font-weight: 600; }
.t-who .role { font-size: .78rem; color: var(--text-faint); }
.t-controls { display: flex; gap: 10px; margin-top: 26px; justify-content: flex-end; }
.t-controls button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.t-controls button:hover { border-color: var(--accent); transform: translateY(-2px); }
.t-controls svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.showcase-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(150deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); cursor: pointer; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.showcase-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-accent); }
.showcase-item .sc-pattern{ position:absolute; inset:0; opacity:.5; background-image: radial-gradient(circle at 30% 30%, var(--violet-soft), transparent 60%); }
.showcase-item .sc-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,14,18,.82)); display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: opacity .4s var(--ease); }
.showcase-item:hover .sc-overlay { opacity: 1; }
.showcase-item .sc-overlay div h4 { color: #fff; font-family: var(--f-display); font-size: 1.05rem; }
.showcase-item .sc-overlay div span { color: #D8D5CC; font-family: var(--f-mono); font-size: .72rem; }
.showcase-item img, .showcase-item .sc-glyph { position: absolute; inset: 0; display:flex; align-items:center; justify-content:center; }
.showcase-item .sc-glyph svg{ width:64px; height:64px; stroke: var(--accent-text); opacity:.35; fill:none; stroke-width:1.2; transition: transform .5s var(--ease); }
.showcase-item:hover .sc-glyph svg{ transform: scale(1.1); }
.sc-expand { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 2; }
.showcase-item:hover .sc-expand { opacity: 1; transform: scale(1); }
.sc-expand svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 1.8; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,8,20,.62); backdrop-filter: blur(6px); }
.lightbox-panel { position: relative; z-index: 1; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 22px; max-width: 760px; width: 100%; max-height: 86vh; overflow: auto; box-shadow: var(--shadow-3); transform: scale(.94) translateY(14px); transition: transform .4s var(--ease); display: grid; grid-template-columns: 1.1fr .9fr; }
.lightbox.is-open .lightbox-panel { transform: scale(1) translateY(0); }
.lightbox-visual { background: linear-gradient(150deg, var(--surface), var(--surface-2)); display: flex; align-items: center; justify-content: center; position: relative; min-height: 320px; overflow: hidden; }
.lightbox-visual .sc-pattern-lg { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(circle at 30% 30%, var(--violet-soft), transparent 60%); }
.lightbox-visual svg { width: 120px; height: 120px; stroke: var(--accent-text); fill: none; stroke-width: 1.1; opacity: .85; position: relative; z-index: 1; }
.lightbox-info { padding: 34px 32px; display: flex; flex-direction: column; }
.lightbox-info .lightbox-tag { font-family: var(--f-mono); font-size: .72rem; color: var(--accent-text); background: var(--violet-soft); padding: 5px 12px; border-radius: 100px; display: inline-flex; width: max-content; margin-bottom: 14px; }
.lightbox-info h3 { font-size: 1.4rem; margin-bottom: 12px; }
.lightbox-info p { font-size: .95rem; }
.lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.lightbox-close:hover { transform: rotate(90deg); border-color: var(--accent); }
.lightbox-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
@media (max-width: 680px) { .lightbox-panel { grid-template-columns: 1fr; max-height: 90vh; } .lightbox-visual { min-height: 220px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 80px 60px; position: relative; overflow: hidden; text-align: center; }
.cta-band .glow-orb{ background: radial-gradient(circle, rgba(155,123,255,0.35), transparent 70%); width: 600px; height:600px; top:-200px; left:50%; transform:translateX(-50%); }
.cta-band h2 { color: #fff; max-width: 620px; margin: 16px auto 0; }
.cta-band p { color: #C9C5DC; max-width: 480px; margin: 18px auto 0; }
.cta-band .eyebrow{ color: #B79CFF; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; position:relative; z-index:1; }
.cta-band .btn-primary { background: linear-gradient(135deg, #8B6CFC, #5B3FE0); color: #fff; box-shadow: var(--shadow-accent); }
.cta-band .btn-ghost { border-color: #3D3568; color: #fff; }
@media (max-width: 720px){ .cta-band{ padding: 56px 28px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 30px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin-top: 16px; max-width: 280px; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.footer-social a:hover { border-color: var(--accent); transform: translateY(-2px); }
.footer-social svg{ width:15px; height:15px; stroke: currentColor; fill:none; stroke-width:1.6; }
.footer-col h4 { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; font-weight: 500; }
.footer-col a, .footer-col li { display: block; padding: 7px 0; font-size: .9rem; color: var(--text-muted); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--accent-text); }
.news-form { display: flex; margin-top: 16px; border: 1px solid var(--border); border-radius: 100px; padding: 5px; gap: 4px; }
.news-form input { flex: 1; background: transparent; border: none; padding: 8px 14px; font-size: .88rem; outline: none; }
.news-form button { background: var(--ink); color: var(--paper); border-radius: 100px; padding: 8px 18px; font-size: .85rem; font-weight: 600; }
[data-theme="dark"] .news-form button{ background: var(--accent); color: var(--on-accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }
.footer-bottom .flang { display:flex; gap: 14px; }
.footer-bottom .flang button[aria-current="true"]{ color: var(--accent-text); font-weight:600; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; right: 26px; z-index: 2000; background: var(--bg-elevated); border: 1px solid var(--border); box-shadow: var(--shadow-3); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); max-width: 320px; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast .dot { width: 10px; height: 10px; border-radius: 50%; background: #3F8F6B; flex-shrink:0; }
.toast.is-error .dot{ background:#A35F62; }
.toast p{ font-size: .88rem; color: var(--text); margin: 0; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + 70px) 0 60px; }
.page-hero h1 { margin-top: 16px; max-width: 700px; }
.page-hero p.lede{ margin-top:18px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 36px; }
.contact-info-card h3 { margin-bottom: 6px; }
.contact-info-card > p { font-size: .92rem; margin-bottom: 28px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.info-row:first-of-type { border-top: none; }
.info-row .ic-wrap { width: 38px; height: 38px; border-radius: 10px; background: var(--violet-soft); color: var(--accent-text); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-row .label { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.info-row .value { font-size: .96rem; margin-top: 3px; color: var(--text); }
.info-row a.value:hover { color: var(--accent-text); }

.form-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; font-size: .94rem; transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-elevated); box-shadow: 0 0 0 3px var(--violet-soft); }
.field .err { color: #A35F62; font-size: .78rem; margin-top: 6px; min-height: 16px; display:block; }
.field.has-error input, .field.has-error textarea { border-color: #A35F62; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); margin-bottom: 24px; }
.consent input { margin-top: 3px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fallback-link { font-size: .85rem; font-weight: 600; color: #A35F62; text-decoration: underline; text-underline-offset: 3px; }
.fallback-link:hover { color: #8C4A4D; }
.form-note { font-size: .8rem; color: var(--text-faint); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; background: var(--bg-elevated); }
.faq-item h4 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { font-size: .9rem; }

.map-strip { height: 220px; border-radius: 18px; border: 1px solid var(--border); margin-top: 50px; background:
  repeating-linear-gradient(0deg, transparent, transparent 27px, var(--border) 28px),
  repeating-linear-gradient(90deg, transparent, transparent 27px, var(--border) 28px), var(--surface);
  position: relative; display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.map-strip .pin { width:44px; height:44px; border-radius:50%; background: var(--accent); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-accent); animation: floatY 4s ease-in-out infinite; }
.map-strip .pin svg{ width:20px; height:20px; stroke:#fff; fill:none; stroke-width:1.8; }
.map-strip span.city { position:absolute; bottom:18px; left:18px; font-family: var(--f-mono); font-size:.78rem; color: var(--text-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature-grid, .product-grid, .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .feature-grid, .product-grid, .showcase-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .demo-foot { flex-direction: column; align-items: flex-start; }
  .header-actions .lang-switch { display: none; }
  .mobile-nav-foot .lang-switch{ display:block; }
  .cta-band{ border-radius: 20px; }
}
