/* ============================================================
   NEXA STUDIO — style.css
   Dark, futuristic, motion-rich design system
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Outfit:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600;700;800&family=Sora:wght@400;500;600&display=swap');

:root {
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eaeefb;
  --text-dim: #9aa3bd;
  --accent: #6c5ce7;
  --accent-2: #00d4ff;
  --accent-3: #ff5e9c;
  --grad: linear-gradient(120deg, #00d4ff, #6c5ce7 55%, #ff5e9c);
  --radius: 18px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

.bg-orb {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(110px); opacity: 0.5; pointer-events: none;
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.orb-1 { width: 560px; height: 560px; top: -180px; left: -120px; background: radial-gradient(circle, #6c5ce755, transparent 65%); }
.orb-2 { width: 480px; height: 480px; bottom: -160px; right: -120px; background: radial-gradient(circle, #00d4ff40, transparent 65%); animation-delay: -9s; }

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

.cursor-glow {
  position: fixed; z-index: -1; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50vw; top: 30vh;
  transition: left 0.25s ease-out, top 0.25s ease-out;
}

/* ============================================================
   THEME SYSTEM — 4 palettes with distinct colors + animations
   ============================================================ */
/* Switcher control (top-left) */
.theme-switch {
  position: fixed; top: 84px; left: 20px; z-index: 95;
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 12px 13px; border-radius: 16px;
  background: rgba(12, 14, 22, 0.7); border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: themeDockIn 0.7s var(--ease) 0.3s both;
}
@keyframes themeDockIn { from { opacity: 0; transform: translateX(-24px); } }
.theme-switch-label {
  font-family: var(--font-display); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim);
  text-align: center;
}
.theme-swatches { display: flex; gap: 8px; }
.theme-swatch {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; position: relative; padding: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  outline: none;
}
.theme-swatch:hover { transform: scale(1.18); }
.theme-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.2), 0 4px 14px rgba(0,0,0,0.4); }
.sw-aurora  { background: linear-gradient(135deg, #00d4ff, #6c5ce7 55%, #ff5e9c); }
.sw-ember   { background: linear-gradient(135deg, #ffb347, #ff6a00 50%, #ff2d6f); }
.sw-emerald { background: linear-gradient(135deg, #a3e635, #10b981 55%, #22d3ee); }
.sw-luxe    { background: linear-gradient(135deg, #e8cf7a, #c9a227 50%, #9b6dff); }

/* extra animated FX layer (per-theme) */
.theme-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 0.6s; }

/* ---------- THEME: EMBER — bold editorial, warm, Syne font ---------- */
body.theme-ember {
  --bg: #0c0705; --bg-soft: #19100a;
  --surface: rgba(255, 180, 120, 0.05); --surface-2: rgba(255, 180, 120, 0.10);
  --border: rgba(255, 150, 90, 0.16);
  --text: #fbeee6; --text-dim: #cba893;
  --accent: #ff6a00; --accent-2: #ffb347; --accent-3: #ff2d6f;
  --grad: linear-gradient(120deg, #ffb347, #ff6a00 50%, #ff2d6f);
  --font-display: "Syne", sans-serif; --font-body: "DM Sans", sans-serif;
}
body.theme-ember h1, body.theme-ember h2, body.theme-ember h3, body.theme-ember h4 { letter-spacing: -0.02em; font-weight: 800; }
body.theme-ember .nav.scrolled { background: rgba(12, 7, 5, 0.78); }
body.theme-ember .bg-grid { opacity: 0; }
body.theme-ember .orb-1 { background: radial-gradient(circle, #ff6a0055, transparent 65%); animation-duration: 12s; }
body.theme-ember .orb-2 { background: radial-gradient(circle, #ff2d6f44, transparent 65%); animation-duration: 12s; }
body.theme-ember .theme-fx {
  opacity: 1;
  background: conic-gradient(from 0deg at 70% 30%, transparent, rgba(255,106,0,0.10), transparent 30%, rgba(255,45,111,0.08), transparent 60%);
  animation: emberSpin 22s linear infinite;
}
@keyframes emberSpin { to { transform: rotate(360deg); } }
body.theme-ember .reveal { transform: scale(0.93) translateY(22px); }
body.theme-ember .reveal.visible { transform: scale(1) translateY(0); }

/* ---------- THEME: EMERALD — fresh, rounded, Outfit font ---------- */
body.theme-emerald {
  --bg: #04100b; --bg-soft: #07160f;
  --surface: rgba(160, 255, 200, 0.05); --surface-2: rgba(160, 255, 200, 0.10);
  --border: rgba(80, 220, 150, 0.16);
  --text: #e9fff3; --text-dim: #84b9a0;
  --accent: #10b981; --accent-2: #34d399; --accent-3: #a3e635;
  --grad: linear-gradient(120deg, #a3e635, #10b981 55%, #22d3ee);
  --font-display: "Outfit", sans-serif; --font-body: "Outfit", sans-serif;
}
body.theme-emerald h1, body.theme-emerald h2, body.theme-emerald h3, body.theme-emerald h4 { font-weight: 700; letter-spacing: -0.015em; }
body.theme-emerald .nav.scrolled { background: rgba(4, 16, 11, 0.8); }
body.theme-emerald .bg-grid {
  background-image: radial-gradient(rgba(52,211,153,0.12) 1.4px, transparent 1.5px);
  background-size: 38px 38px;
}
body.theme-emerald .orb-1 { background: radial-gradient(circle, #10b98155, transparent 65%); animation-duration: 20s; }
body.theme-emerald .orb-2 { background: radial-gradient(circle, #22d3ee40, transparent 65%); animation-duration: 20s; }
body.theme-emerald .theme-fx { opacity: 1; }
body.theme-emerald .theme-fx::before,
body.theme-emerald .theme-fx::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, #a3e635aa, transparent),
    radial-gradient(2px 2px at 65% 70%, #34d399aa, transparent),
    radial-gradient(1.6px 1.6px at 80% 20%, #22d3eeaa, transparent),
    radial-gradient(1.6px 1.6px at 40% 85%, #a3e635aa, transparent),
    radial-gradient(2px 2px at 90% 60%, #34d399aa, transparent);
  animation: particleRise 14s linear infinite;
}
body.theme-emerald .theme-fx::after { animation-duration: 21s; animation-delay: -7s; opacity: 0.6; }
@keyframes particleRise { from { transform: translateY(40px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateY(-60px); opacity: 0; } }
body.theme-emerald .reveal { transform: translateX(-34px); }
body.theme-emerald .reveal.visible { transform: translateX(0); }

/* ---------- THEME: LUXE — elegant serif (Playfair), gold + violet ---------- */
body.theme-luxe {
  --bg: #0a0810; --bg-soft: #14101f;
  --surface: rgba(232, 207, 122, 0.05); --surface-2: rgba(232, 207, 122, 0.10);
  --border: rgba(201, 162, 39, 0.20);
  --text: #f5efe0; --text-dim: #b4a589;
  --accent: #c9a227; --accent-2: #e8cf7a; --accent-3: #9b6dff;
  --grad: linear-gradient(120deg, #e8cf7a, #c9a227 50%, #9b6dff);
  --font-display: "Playfair Display", serif; --font-body: "Inter", sans-serif;
}
body.theme-luxe h1, body.theme-luxe h2, body.theme-luxe h3, body.theme-luxe h4 { font-weight: 700; letter-spacing: 0; }
body.theme-luxe .eyebrow { font-family: "Inter", sans-serif; }
body.theme-luxe .nav.scrolled { background: rgba(10, 8, 16, 0.8); }
body.theme-luxe .bg-grid { opacity: 0.4; mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 20%, transparent 70%); }
body.theme-luxe .orb-1 { background: radial-gradient(circle, #c9a22744, transparent 65%); animation-duration: 24s; }
body.theme-luxe .orb-2 { background: radial-gradient(circle, #9b6dff3a, transparent 65%); animation-duration: 24s; }
body.theme-luxe .theme-fx {
  opacity: 1;
  background: linear-gradient(105deg, transparent 40%, rgba(232,207,122,0.07) 48%, rgba(255,255,255,0.05) 50%, rgba(232,207,122,0.07) 52%, transparent 60%);
  background-size: 300% 100%;
  animation: luxeShimmer 7s ease-in-out infinite;
}
@keyframes luxeShimmer { 0%, 60% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
body.theme-luxe .reveal { filter: blur(7px); transform: translateY(20px); }
body.theme-luxe .reveal.visible { filter: blur(0); transform: translateY(0); }

@media (max-width: 980px) {
  .theme-switch { top: auto; bottom: 18px; left: 50%; transform: translateX(-50%); flex-direction: row; align-items: center; gap: 10px; }
  .theme-switch-label { display: none; }
}

/* ============================================================
   CHARACTER POPUP (random persuasive tips)
   ============================================================ */
.char-pop {
  position: fixed; bottom: 24px; left: 24px; z-index: 120;
  width: 330px; max-width: calc(100vw - 36px);
  display: flex; align-items: flex-end; gap: 12px;
  opacity: 0; transform: translateY(46px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.char-pop.show { opacity: 1; transform: none; pointer-events: auto; }
.char-avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px;
  background: var(--grad); background-size: 160% 160%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  animation: charWiggle 2.6s ease-in-out infinite, gradShift 6s ease infinite;
}
@keyframes charWiggle { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.char-bubble {
  position: relative; flex: 1;
  background: var(--surface-2); border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 16px 16px 16px 5px;
  padding: 13px 16px 14px; color: var(--text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.char-bubble::after {
  content: ""; position: absolute; left: -7px; bottom: 8px;
  width: 14px; height: 14px; background: var(--surface-2);
  border-left: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transform: rotate(45deg); backdrop-filter: blur(16px);
}
.char-eyebrow {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block; margin-bottom: 5px;
}
.char-text { font-size: 13.5px; line-height: 1.5; margin: 0; }
.char-src {
  display: inline-grid; place-items: center; width: 19px; height: 19px;
  margin-left: 6px; border-radius: 50%; vertical-align: -4px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--accent-2); font-weight: 700; font-size: 11.5px;
  text-decoration: none; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.char-src:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.18); }
.char-close {
  position: absolute; top: -9px; right: -9px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 13px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: color 0.2s, transform 0.2s;
}
.char-close:hover { color: var(--text); transform: scale(1.12); }
@media (max-width: 680px) {
  .char-pop { bottom: 88px; left: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  background: var(--grad); background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.35);
  animation: gradShift 6s ease infinite;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 44px rgba(108, 92, 231, 0.55); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

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

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 10px;
}
.logo-thin { font-weight: 400; color: var(--text-dim); }
.logo-mark {
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--grad); display: inline-block;
  box-shadow: 0 0 16px rgba(108, 92, 231, 0.8);
  animation: markPulse 3s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { transform: rotate(0deg); box-shadow: 0 0 14px rgba(108,92,231,.7); }
  50% { transform: rotate(135deg); box-shadow: 0 0 24px rgba(0,212,255,.8); }
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px; color: var(--text-dim); position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Language switch */
.lang-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(10px);
}
.lang-btn {
  padding: 6px 13px; border-radius: 999px; border: none;
  background: transparent; color: var(--text-dim);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.4);
}

.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  max-width: 1200px; margin: 0 auto;
  padding: 160px 28px 80px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 48px;
  position: relative;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--text-dim);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc97; position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #3ddc97; animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  from { transform: scale(0.6); opacity: 1; }
  to   { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700; margin-bottom: 24px;
}

.gradient-text {
  background: var(--grad); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 5s ease infinite;
}

.hero-sub {
  font-size: 18px; color: var(--text-dim);
  max-width: 480px; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* Secret portal — intriguing link to the hidden "Orbit" page */
.secret-portal {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 40px; padding: 11px 20px 11px 16px;
  border-radius: 999px; position: relative; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(120deg, rgba(108,92,231,0.10), rgba(0,212,255,0.06));
  backdrop-filter: blur(10px);
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  transition: color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s;
  overflow: hidden;
}
.secret-portal::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.14) 50%, transparent 65%);
  background-size: 250% 100%; transform: translateX(-30%);
  animation: portalSheen 5.5s ease-in-out infinite;
}
@keyframes portalSheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.secret-portal .sp-orb {
  width: 13px; height: 13px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff, #6c5ce7 55%, #00d4ff);
  box-shadow: 0 0 14px rgba(108,92,231,0.9); position: relative;
  animation: spOrbPulse 3s ease-in-out infinite;
}
.secret-portal .sp-orb::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.6); animation: ping 2.4s ease-out infinite;
}
@keyframes spOrbPulse { 50% { transform: scale(1.18); box-shadow: 0 0 20px rgba(0,212,255,0.95); } }
.secret-portal .sp-arrow { transition: transform .3s var(--ease); opacity: .7; }
.secret-portal:hover {
  color: var(--text); transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 38px rgba(108, 92, 231, 0.28), 0 0 26px rgba(0, 212, 255, 0.18);
}
.secret-portal:hover .sp-arrow { transform: translateX(4px); opacity: 1; }

.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat p { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; max-width: 130px; line-height: 1.4; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.stat-unit { font-family: var(--font-display); font-size: 18px; color: var(--accent-2); font-weight: 600; margin-left: 2px; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

/* Hero visual: browser mockup */
.hero-visual { position: relative; perspective: 1200px; }

.browser-window {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #11131f, #0a0c14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(108, 92, 231, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.float-anim { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.browser-url {
  flex: 1; margin-left: 12px; text-align: center;
  font-size: 12px; color: var(--text-dim);
  background: rgba(255,255,255,0.05); border-radius: 8px; padding: 5px 14px;
}

.browser-body { padding: 22px; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mock-logo { width: 76px; height: 14px; border-radius: 6px; background: var(--grad); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 34px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.14); }
.mock-btn-sm { width: 64px; height: 24px; border-radius: 999px; background: rgba(108,92,231,0.7); }

.mock-hero { margin-bottom: 24px; }
.mock-line { height: 18px; border-radius: 8px; background: rgba(255,255,255,0.16); margin-bottom: 11px; }
.mock-line.thin { height: 9px; background: rgba(255,255,255,0.09); }
.w70 { width: 70%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mock-cta-row { display: flex; gap: 12px; margin-top: 18px; }
.mock-cta { width: 96px; height: 30px; border-radius: 999px; background: var(--grad); }
.mock-cta.outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); }

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card {
  height: 72px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
}
.rise-1 { animation: cardRise 3.2s ease-in-out infinite; }
.rise-2 { animation: cardRise 3.2s ease-in-out 0.4s infinite; }
.rise-3 { animation: cardRise 3.2s ease-in-out 0.8s infinite; }
@keyframes cardRise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); background: linear-gradient(150deg, rgba(108,92,231,0.28), rgba(255,255,255,0.04)); }
}

.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shimmerSweep 3.4s ease infinite;
}
@keyframes shimmerSweep { to { transform: translateX(120%); } }

.floating-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(14, 16, 26, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: chipFloat 5.5s ease-in-out infinite;
}
.chip-1 { top: -18px; right: 8%; animation-delay: -1s; }
.chip-2 { bottom: 22%; left: -34px; animation-delay: -2.6s; }
.chip-3 { bottom: -16px; right: 14%; animation-delay: -4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--accent-2);
  animation: scrollDrop 1.8s ease infinite;
}
@keyframes scrollDrop {
  0% { top: 7px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 7px; opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
  background: rgba(255,255,255,0.015);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--text-dim); white-space: nowrap; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 110px 28px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

.eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}

.work-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.2s ease-out, box-shadow 0.4s var(--ease), border-color 0.4s;
  transform-style: preserve-3d;
}
.work-card:hover {
  border-color: rgba(108, 92, 231, 0.5);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 60px rgba(108,92,231,0.14);
}

.work-preview {
  height: 280px; padding: 22px 26px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-preview { transform: scale(1.03); }

.work-preview.cafe       { background: linear-gradient(150deg, #2b1c12, #120b06); }
.work-preview.gym        { background: linear-gradient(150deg, #101622, #05070d); }
.work-preview.salon      { background: linear-gradient(150deg, #241222, #100711); }
.work-preview.contractor { background: linear-gradient(150deg, #14201c, #070d0b); }

.wp-nav { display: flex; align-items: center; justify-content: space-between; }
.wp-nav b { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.04em; }
.wp-links { display: flex; gap: 8px; }
.wp-links i { width: 26px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); }

.wp-hero h4 { font-size: 24px; margin-bottom: 14px; line-height: 1.2; }
.wp-btn {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; width: fit-content;
}
.cafe .wp-btn       { background: #e8a44c; color: #221204; }
.gym .wp-btn        { background: #4c8dff; color: #04101f; }
.salon .wp-btn      { background: #f06ea9; color: #2b0716; }
.contractor .wp-btn { background: #45d6a3; color: #04211a; }

.wp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.wp-tile { height: 52px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); }

.work-info {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px; border-top: 1px solid var(--border);
}
.work-info h3 { font-size: 18px; }
.work-info p { font-size: 13.5px; color: var(--text-dim); margin-top: 3px; }
.work-tag {
  font-size: 12px; font-weight: 600; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-dim);
}

/* Category headers on work page */
.cat-head {
  display: flex; align-items: center; gap: 22px;
  margin: 0 0 34px;
}
.cat-head.cat-advanced { margin-top: 90px; }
.cat-num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  color: var(--accent-2);
}
.cat-advanced .cat-num {
  border-color: rgba(108, 92, 231, 0.55);
  box-shadow: 0 0 24px rgba(108, 92, 231, 0.3);
}
.cat-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px; }
.cat-head p { color: var(--text-dim); font-size: 14.5px; }

/* Advanced webshop preview card */
.advanced-card { border-color: rgba(108, 92, 231, 0.35); }
.advanced-card:hover { box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 70px rgba(212, 255, 63, 0.1); }
.work-preview.shop { background: linear-gradient(150deg, #15172b, #0a0a12); }
.shop .wp-btn { background: #d4ff3f; color: #1a2003; }
.shop .wp-nav b { color: #d4ff3f; }
.adv-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(90deg, #d4ff3f, #41e6ff); color: #10210a;
  animation: chipFloat 4s ease-in-out infinite;
}
.shop-shoe {
  position: absolute; right: 8%; bottom: 26%; font-size: 64px;
  filter: drop-shadow(0 14px 24px rgba(139, 92, 246, 0.5));
  transform: rotate(-14deg);
  animation: chipFloat 5s ease-in-out infinite;
}

/* APEX coaching preview card */
.work-preview.coach { background: linear-gradient(150deg, #1d1410, #0b0d10); }
.coach .wp-btn { background: linear-gradient(90deg, #ff6a00, #ff2d55); color: #fff; }
.coach .wp-nav b { color: #ff6a00; }
.adv-badge-coach { background: linear-gradient(90deg, #ff6a00, #ff2d55); color: #fff; }
.coach-emoji {
  position: absolute; right: 8%; bottom: 26%; font-size: 64px;
  filter: drop-shadow(0 14px 24px rgba(255, 106, 0, 0.5));
  transform: rotate(8deg);
  animation: chipFloat 5s ease-in-out infinite;
}

/* Signature category + Lumière card */
.cat-head.cat-signature { margin-top: 90px; }
.cat-signature .cat-num {
  border-color: rgba(201, 162, 39, 0.6); color: #e6c869;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.3);
}
.signature-text {
  background: linear-gradient(90deg, #e6c869, #c9a227, #e6c869);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 4s ease infinite;
}
.signature-card {
  grid-column: 1 / -1;
  border-color: rgba(201, 162, 39, 0.4);
}
.signature-card:hover {
  border-color: rgba(201, 162, 39, 0.7);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(201, 162, 39, 0.14);
}
.work-preview.resto {
  background:
    radial-gradient(ellipse at 80% 100%, rgba(201, 162, 39, 0.14), transparent 55%),
    linear-gradient(150deg, #1c1812, #0f0c08);
  height: 320px;
}
.resto .wp-nav b { color: #e6c869; font-family: var(--font-display); letter-spacing: 0.18em; }
.resto .wp-btn { background: transparent; border: 1px solid #c9a227; color: #e6c869; }
.resto-stars { color: #c9a227; letter-spacing: 6px; font-size: 12px; margin-bottom: 8px; }
.sig-badge { background: linear-gradient(90deg, #e6c869, #c9a227); color: #1c1812; }
.resto-emoji {
  position: absolute; right: 7%; bottom: 26%; font-size: 64px;
  filter: drop-shadow(0 0 26px rgba(201, 162, 39, 0.6));
  animation: chipFloat 5s ease-in-out infinite;
}

/* Coming-soon locked card */
.locked-card { border-style: dashed; }
.locked-card:hover { border-color: var(--border); box-shadow: none; }
.work-preview.locked {
  background:
    radial-gradient(circle at 70% 20%, rgba(108, 92, 231, 0.12), transparent 55%),
    linear-gradient(150deg, #0d0f18, #07080d);
  display: grid; place-items: center; cursor: default;
}
.locked-inner { text-align: center; }
.locked-ico {
  font-size: 40px; display: inline-block; margin-bottom: 14px;
  animation: chipFloat 4.5s ease-in-out infinite;
}
.locked-inner h4 { font-size: 22px; margin-bottom: 8px; }
.locked-inner p { color: var(--text-dim); font-size: 14px; }

/* Demo launch button + tag on preview */
.work-preview { position: relative; cursor: pointer; }
.work-preview .work-tag {
  position: absolute; top: 14px; right: 14px;
  background: rgba(10, 12, 20, 0.6); backdrop-filter: blur(8px);
  color: var(--text);
}
.demo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
  transition: all 0.3s var(--ease);
}
.demo-btn svg { transition: transform 0.3s var(--ease); }
.demo-btn:hover {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 26px rgba(108, 92, 231, 0.4); transform: translateY(-2px);
}
.demo-btn:hover svg { transform: translate(2px, -2px); }

/* ---------- Demo overlay window ---------- */
.demo-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  visibility: hidden; pointer-events: none;
}
.demo-overlay.open { visibility: visible; pointer-events: auto; }

.demo-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 4, 8, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.demo-overlay.open .demo-backdrop { opacity: 1; }

.demo-window {
  position: relative; width: 80vw; height: 85vh;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0d15;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.75), 0 0 90px rgba(108, 92, 231, 0.2);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(46px) scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.demo-overlay.open .demo-window { opacity: 1; transform: translateY(0) scale(1); }

.demo-window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; flex: none;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
}
.demo-window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-url {
  flex: 1; margin: 0 10px; text-align: center;
  font-size: 12.5px; color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 5px 14px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-badge-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(108, 92, 231, 0.22); border: 1px solid rgba(108, 92, 231, 0.5);
  color: #b9aef7; white-space: nowrap;
}
.demo-close {
  width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font-size: 17px; line-height: 1; display: grid; place-items: center;
  transition: all 0.25s var(--ease);
}
.demo-close:hover { background: #ff5e7a; border-color: transparent; transform: rotate(90deg); }

/* Device toggle (desktop / mobile) */
.device-toggle {
  display: inline-flex; gap: 3px; padding: 3px;
  border-radius: 9px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.device-btn {
  width: 30px; height: 26px; display: grid; place-items: center;
  border: none; border-radius: 7px; background: transparent;
  color: var(--text-dim); transition: all 0.25s var(--ease);
}
.device-btn:hover { color: var(--text); }
.device-btn.active {
  background: var(--grad); color: #fff;
  box-shadow: 0 2px 10px rgba(108, 92, 231, 0.45);
}

/* Stage + phone shell */
.demo-stage {
  flex: 1; min-height: 0;
  display: flex; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, #11131f, #07080d 75%);
}
.phone-shell {
  position: relative; width: 100%; height: 100%;
  display: flex; overflow: hidden;
  transition: width 0.55s var(--ease), height 0.55s var(--ease),
    border-radius 0.55s var(--ease), margin 0.55s var(--ease),
    border-color 0.55s, box-shadow 0.55s;
  border: 0 solid transparent;
}
.demo-frame { flex: 1; width: 100%; border: none; background: #fff; }

.demo-window.mobile .demo-stage { padding: 16px 0; }
.demo-window.mobile .phone-shell {
  width: min(390px, 90%); height: calc(100% - 32px);
  margin: auto 0;
  border-radius: 34px; border: 3px solid #2c3140;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(108, 92, 231, 0.15);
}
.demo-window.mobile .phone-shell::after {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 20px; border-radius: 11px;
  background: #2c3140; pointer-events: none; z-index: 2;
}

body.demo-open { overflow: hidden; }

@media (max-width: 680px) {
  .demo-window { width: 94vw; height: 88vh; }
  .device-toggle { display: none; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  position: relative; overflow: hidden;
  padding: 34px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(108,92,231,0.16), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(108,92,231,0.45); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  font-size: 28px; width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px; background: var(--surface-2);
  border: 1px solid var(--border); margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Process ---------- */
.process-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.process-line {
  position: absolute; top: 26px; left: 6%; right: 6%;
  height: 2px; background: var(--border); border-radius: 2px;
}
.process-line-fill {
  height: 100%; width: 0%; border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(108,92,231,0.8);
  transition: width 1.6s var(--ease);
}
.process-step { position: relative; padding-top: 0; }
.step-num {
  width: 54px; height: 54px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  border-radius: 50%; margin-bottom: 22px;
  background: var(--bg-soft); border: 1px solid var(--border);
  position: relative; z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.process-step:hover .step-num {
  border-color: var(--accent-2);
  box-shadow: 0 0 24px rgba(0,212,255,0.35);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-dim); }

/* ---------- Testimonials ---------- */
.testimonial-slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.testimonial-track {
  display: flex; transition: transform 0.7s var(--ease);
}
.testimonial {
  min-width: 100%; padding: 44px 48px;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  text-align: center;
}
.testimonial p {
  font-family: var(--font-display); font-size: 21px; line-height: 1.5;
  margin-bottom: 28px;
}
.testimonial footer { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.testimonial b { display: block; font-size: 15px; }
.testimonial span { font-size: 13px; color: var(--text-dim); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  background: var(--grad); color: #fff;
}
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: none;
  background: var(--border); transition: all 0.35s var(--ease);
}
.slider-dots button.active { width: 28px; background: var(--grad); }

/* ---------- CTA ---------- */
.cta-section { max-width: 1200px; margin: 0 auto; padding: 40px 28px 120px; }
.cta-card {
  position: relative; overflow: hidden;
  text-align: center; padding: 90px 40px;
  border-radius: 28px;
  background: linear-gradient(170deg, #11131f, #0a0c14);
  border: 1px solid var(--border);
}
.cta-glow {
  position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 420px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(108,92,231,0.35), transparent 70%);
  animation: glowBreath 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}
.cta-card h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 18px; position: relative; }
.cta-card p { color: var(--text-dim); font-size: 17px; margin-bottom: 36px; position: relative; }
.cta-card .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 28px 34px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto 42px;
  display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 0.8fr; gap: 40px;
}
.f-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); margin-bottom: 18px;
}
.f-col p, .f-col a { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 9px; }
.f-col a { transition: color 0.25s; width: fit-content; }
.f-col a:hover { color: var(--text); }
.f-brand .logo { margin-bottom: 14px; display: inline-flex; }
.f-brand .f-legal { font-size: 12.5px; color: #586079; margin-top: 14px; max-width: 280px; }
.f-col .f-label { color: #586079; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 22px;
  text-align: center;
}
.footer small { color: #586079; font-size: 12.5px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Contact page ---------- */
.contact-wrap { max-width: 1060px; margin: 0 auto; padding: 150px 28px 60px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.contact-card {
  display: block; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.contact-card:hover {
  transform: translateY(-6px); border-color: rgba(108, 92, 231, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 92, 231, 0.12);
}
.contact-card .c-ico {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 25px;
  border-radius: 15px; background: var(--surface-2); border: 1px solid var(--border);
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
.contact-card .c-link { font-weight: 600; font-size: 15px; color: var(--accent-2); word-break: break-all; }

.contact-panels { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.contact-panel {
  padding: 36px 32px; border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
}
.contact-panel h3 { font-size: 20px; margin-bottom: 12px; }
.contact-panel > p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 18px; }
.address-block { font-style: normal; font-size: 15px; line-height: 1.8; color: var(--text); }
.map-chip {
  margin-top: 22px; height: 120px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface-2);
  display: grid; place-items: center; font-size: 34px;
}
.map-chip span { animation: chipFloat 4s ease-in-out infinite; }
.info-rows .row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.info-rows .row:last-child { border-bottom: none; }
.info-rows .row span { color: var(--text-dim); }
.info-rows .row b { font-weight: 600; text-align: right; }
.contact-cta { text-align: center; padding: 70px 28px 100px; }
.contact-cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 26px; }

@media (max-width: 860px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-panels { grid-template-columns: 1fr; }
}

/* ---------- 3D metal business card (contact page) ---------- */
.mc-section { margin-top: 80px; }
.mc-hint { animation: hintPulse 3s ease infinite; }
@keyframes hintPulse { 50% { opacity: 0.4; } }
.mc-scene { perspective: 1400px; display: grid; place-items: center; padding: 10px 0 30px; }
.mc-card {
  position: relative; width: min(560px, 92vw); aspect-ratio: 856 / 540;
  transform-style: preserve-3d; cursor: pointer;
  transition: transform 0.9s var(--ease);
  animation: mcBreathe 6s ease-in-out infinite;
}
@keyframes mcBreathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mc-face {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  backface-visibility: hidden;
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(88deg, rgba(0,0,0,0.25) 0 2px, transparent 2px 5px),
    linear-gradient(115deg, #2b2d33 0%, #17181d 30%, #232529 48%, #101114 70%, #1d1f24 100%);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.7), 0 16px 40px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -1px 0 rgba(0,0,0,0.8);
  display: grid; place-items: center;
}
.mc-back { transform: rotateY(180deg); display: block; }
.mc-glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: radial-gradient(380px circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,0.5), transparent 60%);
}
.mc-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(232,207,122,0.1) 48%, rgba(255,255,255,0.16) 50%, rgba(232,207,122,0.1) 52%, transparent 62%);
  background-size: 280% 100%; animation: mcSheen 5.5s ease-in-out infinite;
}
@keyframes mcSheen { 0%, 55% { background-position: 130% 0; } 90%, 100% { background-position: -50% 0; } }
.mc-slit {
  position: absolute; top: 0; right: 50px; width: 3px; height: 66px;
  transform: rotate(38deg); transform-origin: top center;
  background: linear-gradient(rgba(232,207,122,0.95), rgba(232,207,122,0.1));
  box-shadow: 0 0 14px rgba(232,207,122,0.8); border-radius: 3px;
}
.mc-gold {
  background: linear-gradient(170deg, #e8cf7a 10%, #c9a227 45%, #8a6d14 75%, #e8cf7a 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.9)) drop-shadow(0 0 6px rgba(201,162,39,0.25));
  animation: mcGold 6s ease-in-out infinite;
}
@keyframes mcGold { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 90%; } }
.mc-front-inner { text-align: center; }
.mc-monogram {
  width: 84px; height: 84px; margin: 0 auto 22px; position: relative;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
}
.mc-monogram::before, .mc-monogram::after { content: ""; position: absolute; inset: 0; border: 1.5px solid #c9a227; opacity: 0.9; }
.mc-monogram::after { inset: 7px; opacity: 0.35; }
.mc-wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4vw, 36px); letter-spacing: 0.34em; padding-left: 0.34em; }
.mc-subline { font-size: clamp(8px, 1.4vw, 11px); letter-spacing: 0.58em; padding-left: 0.58em; margin-top: 13px; color: #6e6342; text-transform: uppercase; }
.mc-back-pad { position: absolute; inset: 0; padding: 9% 10%; display: flex; flex-direction: column; }
.mc-mini { width: 48px; height: 48px; font-size: 19px; margin: 0 0 auto; }
.mc-contact { margin-top: auto; }
.mc-site { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2.8vw, 24px); letter-spacing: 0.12em; }
.mc-rule { width: 60px; height: 1.5px; background: linear-gradient(90deg, #e8cf7a, transparent); margin: 12px 0 14px; }
.mc-lines { display: grid; gap: 6px; font-size: clamp(10px, 1.8vw, 14px); letter-spacing: 0.06em; color: #b9ab7d; }
.mc-lines span { display: flex; align-items: center; gap: 11px; }
.mc-lines i { font-style: normal; color: #c9a227; width: 14px; text-align: center; font-size: 11px; }
.mc-kvk { position: absolute; right: 10%; bottom: 9%; font-size: clamp(7px, 1.2vw, 10px); letter-spacing: 0.18em; color: #5c543b; text-transform: uppercase; }
.mc-edge-num { position: absolute; top: 9%; right: 10%; font-family: var(--font-display); font-size: clamp(8px, 1.3vw, 10px); letter-spacing: 0.3em; color: #564e36; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.60s; }
.reveal[data-delay="6"] { transition-delay: 0.72s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FORM PAGE (start.html)
   ============================================================ */
.form-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 150px 28px 100px;
}
.form-intro { text-align: center; margin-bottom: 48px; }
.form-intro h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 16px; }
.form-intro p { color: var(--text-dim); font-size: 17px; max-width: 540px; margin: 0 auto; }

.form-card {
  border-radius: 24px; padding: 44px;
  background: linear-gradient(170deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.45);
}

/* Progress */
.form-progress { margin-bottom: 40px; }
.progress-steps { display: flex; align-items: center; gap: 12px; }
.p-step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 64px; }
.p-step span {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.45s var(--ease);
}
.p-step label { font-size: 11.5px; color: var(--text-dim); white-space: nowrap; }
.p-step.active span {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 0 22px rgba(108,92,231,0.55);
  transform: scale(1.08);
}
.p-step.done span { background: rgba(61,220,151,0.18); border-color: #3ddc97; color: #3ddc97; }
.p-bar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 22px; }
.p-bar-fill { height: 100%; width: 0%; background: var(--grad); transition: width 0.6s var(--ease); }

/* Steps */
.form-step { display: none; border: none; animation: stepIn 0.55s var(--ease); }
.form-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(34px); }
  to   { opacity: 1; transform: translateX(0); }
}
.form-step h2 { font-size: 24px; margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 9px;
}
.field label em { color: var(--accent-3); font-style: normal; }
.field label small { color: var(--text-dim); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px;
  border-radius: 13px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa3bd' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #11131f; color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #5b637c; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.18);
  background: rgba(255,255,255,0.06);
}
.field.invalid input, .field.invalid select { border-color: #ff5e7a; box-shadow: 0 0 0 4px rgba(255,94,122,0.12); }
.field-error {
  display: none; font-size: 12.5px; color: #ff8197; margin-top: 7px;
}
.field.invalid .field-error { display: block; animation: stepIn 0.3s var(--ease); }

/* Chips */
.chip-group { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 10px 19px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-dim); font-size: 13.5px; font-weight: 600;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.chip.selected {
  background: rgba(108,92,231,0.2); border-color: var(--accent);
  color: #fff; box-shadow: 0 0 18px rgba(108,92,231,0.25);
}

.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 34px; gap: 14px;
}
.form-fineprint { text-align: center; font-size: 12.5px; color: #5b637c; margin-top: 20px; }

/* Success */
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: stepIn 0.6s var(--ease); }
.form-success h2 { font-size: 28px; margin: 26px 0 14px; }
.form-success p { color: var(--text-dim); margin-bottom: 30px; max-width: 440px; margin-inline: auto; }

.success-check { width: 84px; margin: 0 auto; }
.success-check svg { width: 84px; height: 84px; }
.check-circle {
  stroke: #3ddc97; stroke-width: 2.5;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: drawCircle 0.8s var(--ease) 0.2s forwards;
}
.check-mark {
  stroke: #3ddc97; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: drawCircle 0.5s var(--ease) 0.9s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
  .process-line { display: none; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(5,6,10,0.96); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    font-size: 22px;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-cta { display: none; }
  .burger { display: flex; z-index: 100; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .p-step label { display: none; }
  .floating-chip { display: none; }
  .testimonial { padding: 32px 24px; }
  .testimonial p { font-size: 17px; }
  .stat-divider { display: none; }
  .hero-stats { gap: 20px; }
  .cursor-glow { display: none; }
}

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