/* ==========================================================
   ECHELON v3 — VOID GOLD
   Philosophy: Obsidian darkness · Liquid gold metallics
                Editorial gravity · Razor geometry
   Fonts: Cormorant Garamond (display) + Barlow (body) + JetBrains Mono
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Barlow:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  /* Gold palette */
  --primary:   #c9a96e;
  --primary-l: #e8d0a0;
  --primary-d: #9a7a42;
  --gold-shine: #f5e6b8;

  /* Accent colors */
  --crimson:  #e83f6f;
  --teal:     #00c9b1;
  --violet:   #9b6dff;
  --emerald:  #00c97d;
  --amber:    #f0b429;

  /* Gradients */
  --grad:       linear-gradient(135deg, #c9a96e 0%, #f5e6b8 50%, #c9a96e 100%);
  --grad-v:     linear-gradient(135deg, #9b6dff 0%, #c9a96e 100%);
  --grad-hot:   linear-gradient(135deg, #e83f6f 0%, #c9a96e 100%);
  --grad-gold:  linear-gradient(135deg, #f5e6b8 0%, #c9a96e 50%, #9a7a42 100%);
  --grad-teal:  linear-gradient(135deg, #00c9b1 0%, #c9a96e 100%);

  /* Fonts */
  --font-d: 'Cormorant Garamond', 'Georgia', serif;
  --font-b: 'Barlow', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', 'Courier New', monospace;

  /* Easings */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --smooth: cubic-bezier(.16, 1, .3, 1);
  --ease:   cubic-bezier(.65, 0, .35, 1);
  --expo:   cubic-bezier(.19, 1, .22, 1);

  /* Radii — sharper, more architectural */
  --r1: 2px;
  --r2: 4px;
  --r3: 6px;
  --r4: 10px;
  --r5: 16px;
  --r6: 999px;
}

/* ── DARK THEME (default) ── */
.dark {
  --bg:       #050408;
  --bg2:      #090710;
  --surf:     #0f0c18;
  --card:     #130f1e;
  --card-h:   #1a1528;
  --glass:    rgba(19, 15, 30, 0.7);
  --glass-l:  rgba(255, 255, 255, 0.025);
  --border:   rgba(201, 169, 110, 0.1);
  --border-h: rgba(201, 169, 110, 0.25);
  --b-acc:    rgba(201, 169, 110, 0.3);
  --text1:    #f2ece0;
  --text2:    #8a7d6a;
  --text3:    #3d3528;
  --glow:     rgba(201, 169, 110, 0.15);
  --glow-c:   rgba(0, 201, 177, 0.1);
  --sh:       0 30px 80px rgba(0, 0, 0, 0.7);
  --sh-g:     0 0 60px rgba(201, 169, 110, 0.12);
  color-scheme: dark;
}

/* ── LIGHT THEME ── */
:root:not(.dark) {
  --bg:       #faf8f4;
  --bg2:      #f2ede3;
  --surf:     #e8e0d0;
  --card:     #ffffff;
  --card-h:   #fdf9f3;
  --glass:    rgba(255, 255, 255, 0.8);
  --glass-l:  rgba(255, 255, 255, 0.5);
  --border:   rgba(201, 169, 110, 0.15);
  --border-h: rgba(201, 169, 110, 0.35);
  --b-acc:    rgba(201, 169, 110, 0.4);
  --text1:    #0d0a07;
  --text2:    #5a4e3a;
  --text3:    #a89878;
  --glow:     rgba(201, 169, 110, 0.08);
  --glow-c:   rgba(0, 201, 177, 0.06);
  --sh:       0 20px 60px rgba(201, 169, 110, 0.08);
  --sh-g:     0 0 50px rgba(201, 169, 110, 0.08);
  color-scheme: light;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text1);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .5s var(--ease), color .5s var(--ease);
  font-weight: 400;
  font-size: 16px;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── A11Y ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100%; left: 1rem; padding: .6rem 1.2rem; background: var(--primary); color: #000; font-weight: 700; font-size: .8rem; border-radius: 0 0 var(--r2) var(--r2); z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 1px solid var(--primary); outline-offset: 4px; border-radius: var(--r1); }

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity .8s var(--expo), visibility .8s var(--expo);
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.pl-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--r2);
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  animation: plPulse 2s ease-in-out infinite alternate;
  position: relative;
  box-shadow: 0 0 40px rgba(201,169,110,.25), inset 0 0 40px rgba(201,169,110,.04);
}
.pl-logo::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(201,169,110,.15);
  border-radius: calc(var(--r2) + 4px);
}
@keyframes plPulse {
  from { box-shadow: 0 0 20px rgba(201,169,110,.2), inset 0 0 20px rgba(201,169,110,.03); }
  to   { box-shadow: 0 0 60px rgba(201,169,110,.4), inset 0 0 40px rgba(201,169,110,.06); }
}

.pl-bar { width: 200px; height: 1px; background: var(--border); border-radius: 0; overflow: hidden; }
.pl-fill { height: 100%; background: var(--grad); border-radius: 0; width: 0; animation: plLoad 1.8s var(--expo) forwards; }
@keyframes plLoad { to { width: 100%; } }
.pl-text { font-size: .65rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--text3); font-family: var(--font-m); }

/* ── SCROLL PROGRESS ── */
#scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 200;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .1s linear;
}

/* ── GRAIN ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── CURSOR ── */
.cur-dot, .cur-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  will-change: left, top;
  transform: translate(-50%, -50%);
  left: -200px;
  top: -200px;
}
.cur-dot { width: 5px; height: 5px; background: var(--primary); transition: opacity .3s, width .2s, height .2s; }
.cur-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,169,110,.4);
  transition: opacity .3s, width .35s var(--spring), height .35s var(--spring), border-color .3s, background .3s;
}
.cur-ring.hovering { width: 56px; height: 56px; border-color: var(--primary); background: rgba(201,169,110,.06); }
.cur-ring.clicking { width: 26px; height: 26px; background: rgba(201,169,110,.12); }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201,169,110,.25); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── CANVAS BG ── */
#hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ── BACK TO TOP ── */
#btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: var(--r2);
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--smooth);
}
#btt.show { opacity: 1; visibility: visible; }
#btt:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201,169,110,.3);
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 72px;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
#navbar.scrolled {
  height: 60px;
  background: rgba(5, 4, 8, 0.92);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(201,169,110,.06);
}
.dark #navbar.scrolled {
  background: rgba(5, 4, 8, 0.92);
}
:root:not(.dark) #navbar.scrolled {
  background: rgba(250, 248, 244, 0.92);
}

.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--r2);
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform .4s var(--spring), box-shadow .4s;
  box-shadow: 0 0 15px rgba(201,169,110,.2);
}
.nav-logo:hover .logo-badge {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 0 30px rgba(201,169,110,.4);
}
.badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the logo doesn't stretch or distort */
  padding: 4px; /* Gives the logo a little breathing room away from the glowing border */
}
.logo-name {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text1);
}

.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-link {
  padding: .4rem 1rem;
  border-radius: var(--r1);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text2);
  transition: color .2s;
  position: relative;
  font-family: var(--font-b);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: var(--primary);
  transition: left .3s var(--smooth), right .3s var(--smooth);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }

.nav-actions { display: flex; align-items: center; gap: .875rem; }
.theme-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r2);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: .85rem;
  display: grid;
  place-items: center;
  transition: transform .3s var(--spring), border-color .2s, color .2s;
}
.theme-btn:hover { transform: scale(1.1); border-color: var(--primary); color: var(--primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5rem 1.5rem;
  border-radius: var(--r1);
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .25s, color .25s, box-shadow .3s, transform .3s var(--spring);
}
.nav-cta:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,110,.3);
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--r2);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text1);
  transition: border-color .2s;
}
.ham:hover { border-color: var(--primary); }
.ham span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  border-radius: 0;
  transition: transform .35s var(--smooth), opacity .3s, width .3s;
}
.ham span:last-child { width: 12px; align-self: flex-end; }
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* Mobile nav */
#mobile-nav { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
#mobile-nav.open { visibility: visible; }
.mn-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 8, .85);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
#mobile-nav.open .mn-backdrop { opacity: 1; }
.mn-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--smooth);
}
#mobile-nav.open .mn-panel { transform: none; }
.mn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 72px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.mn-close {
  width: 34px;
  height: 34px;
  border-radius: var(--r2);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text1);
  display: grid;
  place-items: center;
  transition: border-color .2s, color .2s;
}
.mn-close:hover { border-color: var(--primary); color: var(--primary); }
.mn-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 2rem; gap: .25rem; }
.mn-link {
  display: block;
  padding: .875rem 1rem;
  border-radius: var(--r1);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text2);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s, transform .2s, padding .2s;
}
.mn-link:hover { color: var(--primary); border-color: var(--border); transform: translateX(8px); padding-left: 1.5rem; }
.mn-foot { padding: 1.5rem; border-top: 1px solid var(--border); }

/* ══════════════════════════════════════════
   SECTION SCAFFOLD
══════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.container     { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
.container-sm  { max-width: 900px;  margin: 0 auto; padding: 0 2.5rem; }
.container-xs  { max-width: 680px;  margin: 0 auto; padding: 0 2.5rem; }

.sec-header { max-width: 600px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-header.centered {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-family: var(--font-m);
}
.sec-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}
.sec-tag::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.0;
  color: var(--text1);
  margin-bottom: 1.25rem;
}
.sec-title em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-sub {
  font-size: .95rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 480px;
  font-weight: 400;
}
.centered .sec-sub { text-align: center; }

.div-border { border-top: 1px solid var(--border); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: .875rem 2rem;
  border-radius: var(--r1);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .3s var(--smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-b);
}
.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.2);
  transform: scaleX(0);
  transition: transform .4s var(--smooth);
}
.btn:hover::after { transform: scaleX(1); }

.btn-primary {
  background: var(--primary);
  color: #000;
  font-weight: 800;
}
.btn-primary:hover {
  background: var(--gold-shine);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,169,110,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(201,169,110,.08);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(201,169,110,.15);
}

.btn-sm  { padding: .5rem 1.25rem; font-size: .6rem; }
.btn-lg  { padding: 1.1rem 2.5rem; font-size: .7rem; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
}

/* Orbs — warmer, more dramatic */
.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.orb-1 {
  width: min(800px, 100vw);
  height: min(800px, 100vw);
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 65%);
  top: -30%;
  left: -20%;
  animation: orbDrift 22s ease-in-out infinite;
}
.orb-2 {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: radial-gradient(circle, rgba(232,63,111,.08) 0%, transparent 65%);
  top: 30%;
  right: -15%;
  animation: orbDrift 16s ease-in-out infinite reverse;
  animation-delay: -6s;
}
.orb-3 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(0,201,177,.07) 0%, transparent 65%);
  bottom: -15%;
  left: 25%;
  animation: orbDrift 24s ease-in-out infinite;
  animation-delay: -12s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(50px, -60px) scale(1.05); }
  66%       { transform: translate(-35px, 40px) scale(.96); }
}

/* Grid — finer, more refined */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,169,110,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, black 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 3rem; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: var(--font-m);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--primary); }
  50%       { opacity: .4; box-shadow: 0 0 0 var(--primary); }
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: .92;
  color: var(--text1);
  margin-bottom: 2rem;
}
.hero-title .line { display: block; }
.hero-title .grad-line {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-desc {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--text2);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 0;
}
.stat-item { padding: .875rem 2.5rem .875rem 0; min-width: 90px; }
.stat-item:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-d);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -.04em;
  color: var(--text1);
  line-height: 1;
}
.stat-num span.unit { font-size: 1.5rem; color: var(--primary); }
.stat-lbl {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: .35rem;
  font-family: var(--font-m);
}
.stat-sep { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; margin: 0 0; }
@media (max-width: 480px) {
  .stat-sep { display: none; }
  .stat-item { flex: 1 1 45%; border-bottom: 1px solid var(--border); padding: 1rem 0; }
}

/* Hero visual — floating card */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
@media (max-width: 960px) { .hero-visual { display: none; } }

.float-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 2rem;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--sh-g), var(--sh);
  animation: cardFloat 7s ease-in-out infinite;
  position: relative;
}
.float-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  border-radius: var(--r3) var(--r3) 0 0;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(.5deg); }
  50%       { transform: translateY(-18px) rotate(-.5deg); }
}

.fc-head { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.5rem; }
.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r2);
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.1rem;
}
.fc-title { font-family: var(--font-d); font-size: .95rem; font-weight: 600; color: var(--text1); }
.fc-sub { font-size: .65rem; color: var(--text3); font-family: var(--font-m); letter-spacing: .06em; margin-top: 2px; }
.fc-bar { height: 1px; background: var(--border); border-radius: 0; overflow: hidden; margin-bottom: .875rem; }
.fc-bar-fill { height: 100%; border-radius: 0; background: var(--grad); animation: barGrow 3s var(--smooth) 1.5s both; }
@keyframes barGrow { from { width: 0; } }
.fc-row { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text3); margin-bottom: .625rem; font-family: var(--font-m); }
.fc-row strong { color: var(--primary); font-weight: 600; }
.fc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1rem; }
.fc-tag {
  font-size: .58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-m);
  transition: border-color .2s, color .2s;
}
.fc-tag:hover { border-color: var(--primary); }

/* Floating badges */
.badge-float {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: .5rem 1rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text1);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: badgeFloat 5s ease-in-out infinite;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-m);
}
.badge-float.bf-1 { top: -1.5rem; right: -2rem; animation-delay: 0s; }
.badge-float.bf-2 { bottom: 2rem; left: -2.5rem; animation-delay: -2.5s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.bf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 6px var(--emerald); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .25;
  z-index: 2;
}
.scroll-hint span { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text3); font-family: var(--font-m); }
.scroll-mouse {
  width: 18px;
  height: 30px;
  border: 1px solid var(--text3);
  border-radius: var(--r6);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel { width: 1px; height: 5px; background: var(--primary); border-radius: 1px; animation: scrollW 2s ease-in-out infinite; }
@keyframes scrollW {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   TRUST MARQUEE
══════════════════════════════════════════ */
#trust {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1.75rem;
  font-family: var(--font-m);
}
.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; white-space: nowrap; }
.m-uni {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 0 2rem;
  transition: color .2s;
  font-family: var(--font-b);
}
.m-uni:hover { color: var(--primary); }
.m-dot { color: var(--text3); opacity: .3; font-size: .5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
}
@media (max-width: 768px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--card);
  overflow: hidden;
  padding: 2.75rem;
  cursor: default;
  transition: background .3s var(--smooth);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  border-radius: 0;
  border: none;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .4s var(--smooth);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { background: var(--card-h); }
.svc-card--offset { margin-top: 0; }

.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--spring);
  background: transparent;
  font-size: 1.2rem;
}
.svc-card:hover .svc-icon {
  transform: scale(1.1) rotate(-5deg);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(201,169,110,.2);
}
.svc-num {
  font-family: var(--font-d);
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: -.06em;
  color: var(--text1);
  opacity: .03;
  line-height: 1;
}
.svc-label {
  display: inline-block;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0;
  margin-bottom: 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  font-family: var(--font-m);
}
.svc-name {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--text1);
  margin-bottom: .875rem;
  line-height: 1.2;
}
.svc-desc { font-size: .875rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.75rem; }
.svc-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-stack li {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  background: transparent;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 0;
  transition: color .2s, border-color .2s;
  font-family: var(--font-m);
}
.svc-card:hover .svc-stack li { color: var(--primary); border-color: var(--b-acc); }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
#features { background: var(--bg2); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  padding: 2rem;
  border-radius: 0;
  background: var(--card);
  border: none;
  transition: background .3s;
  position: relative;
}
.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .4s var(--smooth);
}
.feat-card:hover { background: var(--card-h); }
.feat-card:hover::after { transform: scaleX(1); }

.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  background: transparent;
  transition: border-color .3s;
  font-size: 1rem;
}
.feat-card:hover .feat-icon { border-color: var(--primary); box-shadow: 0 0 15px rgba(201,169,110,.15); }
.feat-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text1);
  margin-bottom: .625rem;
  letter-spacing: -.01em;
}
.feat-desc { font-size: .83rem; color: var(--text2); line-height: 1.75; }

/* ══════════════════════════════════════════
   PROCESS
══════════════════════════════════════════ */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
@media (max-width: 900px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .proc-grid { grid-template-columns: 1fr; } }

.proc-connector {
  position: absolute;
  top: 27px;
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 1px;
  background: var(--border);
  z-index: 0;
  overflow: hidden;
}
.proc-connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform: translateX(-100%);
  transition: transform 1.5s var(--ease);
}
.proc-connector.animated::after { transform: translateX(0); }
@media (max-width: 900px) { .proc-connector { display: none; } }

.proc-step { position: relative; z-index: 1; }
.proc-node {
  width: 54px;
  height: 54px;
  border-radius: var(--r2);
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  transition: border-color .35s, background .35s, transform .35s var(--spring), box-shadow .35s;
  position: relative;
}
.proc-step:hover .proc-node {
  border-color: var(--primary);
  background: rgba(201,169,110,.06);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(201,169,110,.2);
}
.proc-node span {
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 700;
  color: var(--text3);
  transition: color .35s;
}
.proc-step:hover .proc-node span { color: var(--primary); }
.proc-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text1);
  margin-bottom: .5rem;
}
.proc-desc { font-size: .83rem; color: var(--text2); line-height: 1.75; }

.trust-row {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
}
@media (max-width: 768px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }

.trust-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.5rem;
  border-radius: 0;
  background: var(--card);
  border: none;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text2);
  transition: background .3s, color .3s;
  font-family: var(--font-m);
}
.trust-pill:hover { background: var(--card-h); color: var(--primary); }
.trust-pill-icon { font-size: 1.2rem; }

/* ══════════════════════════════════════════
   VAULT (PORTFOLIO)
══════════════════════════════════════════ */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
}
@media (max-width: 900px) { .vault-grid { grid-template-columns: 1fr; } }

.vault-card {
  grid-column: span 5;
  border-radius: 0;
  overflow: hidden;
  background: var(--card);
  border: none;
  transition: background .3s var(--smooth);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.vault-card--wide { grid-column: span 7; }
@media (max-width: 900px) {
  .vault-card,
  .vault-card--wide { grid-column: span 1; }
}
.vault-card:hover { background: var(--card-h); }

.vault-bar { height: 1px; width: 100%; }
.vault-body { padding: 2rem; }
.vault-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.vault-chip {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 0;
  font-family: var(--font-m);
}
.vault-title {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--text1);
  line-height: 1.3;
  margin-bottom: .625rem;
}
.vault-desc { font-size: .83rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; }
.vault-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.vault-stack span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: transparent;
  padding: 3px 9px;
  border-radius: 0;
  border: 1px solid var(--b-acc);
  font-family: var(--font-m);
  transition: background .2s;
}
.vault-card:hover .vault-stack span { background: rgba(201,169,110,.06); }

.grade-badge {
  position: absolute;
  top: 3.5rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(201,169,110,.2);
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
}
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  padding: 2.25rem;
  border-radius: 0;
  background: var(--card);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background .3s var(--smooth);
  position: relative;
}
.testi-card:hover { background: var(--card-h); }
.testi-featured {
  background: var(--card-h);
  position: relative;
}
.testi-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
}
.stars { font-size: .8rem; color: var(--primary); letter-spacing: 3px; }
.testi-quote {
  font-family: var(--font-d);
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  flex: 1;
}
.testi-featured .testi-quote { color: var(--text1); }
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testi-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  font-family: var(--font-d);
  background: transparent;
}
.testi-name { font-size: .8rem; font-weight: 700; color: var(--text1); letter-spacing: .02em; }
.testi-meta { font-size: .65rem; color: var(--text3); margin-top: 3px; font-family: var(--font-m); letter-spacing: .05em; }

/* ══════════════════════════════════════════
   TERMINAL
══════════════════════════════════════════ */
#terminal { background: var(--bg2); }
.term-box {
  border: 1px solid var(--border);
  border-radius: var(--r3);
  background: var(--surf);
  overflow: hidden;
  box-shadow: var(--sh);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: .875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.term-dots { display: flex; gap: 7px; }
.td { width: 10px; height: 10px; border-radius: 50%; }
.td-r { background: #e8453c; }
.td-y { background: #f4bf4f; }
.td-g { background: #42c84e; }
.term-title { font-family: var(--font-m); font-size: .68rem; color: var(--text3); letter-spacing: .12em; }
.term-body { padding: 1.5rem; }
.term-out { font-family: var(--font-m); font-size: .75rem; margin-bottom: 1.25rem; max-height: 200px; overflow-y: auto; }
.t-line { margin-bottom: 6px; line-height: 1.6; }
.t-success { color: #42c84e; }
.t-warn { color: var(--amber); }
.t-dim { color: var(--text3); }
.t-info { color: var(--primary); }
.term-in-row { display: flex; align-items: center; gap: 10px; }
.term-prompt { font-family: var(--font-m); font-size: .75rem; color: var(--primary); font-weight: 600; white-space: nowrap; }
.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-m);
  font-size: .75rem;
  color: var(--text1);
  caret-color: var(--primary);
}
.term-input::placeholder { color: var(--text3); }
.term-foot { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.btn-run {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .625rem 1.5rem;
  border-radius: var(--r2);
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  font-family: var(--font-m);
}
.btn-run:hover { background: var(--primary); color: #000; box-shadow: 0 4px 20px rgba(201,169,110,.3); transform: translateY(-1px); }
.btn-run:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.spin {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(201,169,110,.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.term-prog { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.term-track { width: 100%; height: 1px; background: var(--border); border-radius: 0; overflow: hidden; margin-bottom: 8px; }
.term-fill { height: 100%; background: var(--grad); border-radius: 0; width: 0; transition: width .3s; }
.term-plbl { font-family: var(--font-m); font-size: .65rem; color: var(--text3); letter-spacing: .1em; }
.term-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; background: var(--border); }
.ts-card {
  padding: 1rem;
  background: var(--card);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: .62rem;
  color: var(--text3);
  font-family: var(--font-m);
  letter-spacing: .06em;
}
.ts-val { font-family: var(--font-d); font-size: 1.5rem; font-weight: 300; color: var(--primary); letter-spacing: -.04em; }
.term-result-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.tr-icon {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(66,200,78,.3);
  border-radius: var(--r2);
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: #42c84e;
  flex-shrink: 0;
}
.tr-title { font-size: .875rem; font-weight: 700; color: var(--text1); display: block; font-family: var(--font-b); }
.tr-sub { font-size: .75rem; color: var(--text2); margin-top: 2px; }

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  background: var(--border);
  align-items: start;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  border-radius: 0;
  padding: 2.5rem;
  background: var(--card);
  border: none;
  transition: background .3s;
}
.price-card:hover { background: var(--card-h); }
.price-card--featured {
  background: var(--card-h);
  position: relative;
}
.price-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 0 0 var(--r2) var(--r2);
  background: var(--primary);
  color: #000;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: var(--font-m);
}
.price-card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
}
.price-tier {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .875rem;
  font-family: var(--font-m);
}
.price-name {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text1);
  margin-bottom: .75rem;
  letter-spacing: -.03em;
}
.price-desc { font-size: .83rem; color: var(--text2); line-height: 1.75; margin-bottom: 2rem; }
.price-cta { margin-bottom: 2rem; }
.price-features {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.price-feat { display: flex; align-items: flex-start; gap: 12px; font-size: .83rem; color: var(--text2); }
.pf-check { color: var(--emerald); flex-shrink: 0; margin-top: 1px; font-size: .85rem; }
.pf-dash { color: var(--text3); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r3); overflow: hidden; }
.faq-item {
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: background .3s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item.open, .faq-item:hover { background: var(--card-h); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  gap: 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text1);
  transition: color .2s;
  user-select: none;
  font-family: var(--font-b);
  letter-spacing: .01em;
}
.faq-item.open .faq-q { color: var(--primary); }
.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: var(--r1);
  background: transparent;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text3);
  font-size: .8rem;
  transition: transform .4s var(--smooth), border-color .3s, color .3s;
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  border-color: var(--primary);
  color: var(--primary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--smooth), padding .4s var(--smooth);
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.85;
  padding: 0 2rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: .25rem 2rem 1.75rem; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r4);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
}
.cform { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-g { display: flex; flex-direction: column; gap: .5rem; position: relative; }
.form-lbl {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text3);
  display: flex;
  gap: 5px;
  font-family: var(--font-m);
}
.req { color: var(--primary); }
.form-ctrl {
  padding: .875rem 1.25rem;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  color: var(--text1);
  font-size: .875rem;
  outline: none;
  width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none;
  font-family: var(--font-b);
}
.form-ctrl:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201,169,110,.1);
  background: var(--card);
}
.form-ctrl.err { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(232,63,111,.1); }
.form-ctrl::placeholder { color: var(--text3); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c9a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-err { font-size: .65rem; color: var(--crimson); min-height: .875rem; font-family: var(--font-m); }
.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) { .form-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.privacy-note { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--text3); line-height: 1.5; }
.form-feedback {
  padding: 1rem 1.5rem;
  border-radius: var(--r2);
  font-size: .83rem;
  font-weight: 500;
  font-family: var(--font-m);
  letter-spacing: .04em;
}
.form-feedback.ok  { background: rgba(0,201,125,.08);  border: 1px solid rgba(0,201,125,.2);  color: var(--emerald); }
.form-feedback.fail { background: rgba(232,63,111,.08); border: 1px solid rgba(232,63,111,.2); color: var(--crimson); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.footer-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r2);
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.footer-brand-name {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text1);
}
.footer-tagline { font-size: .83rem; color: var(--text3); line-height: 1.75; max-width: 260px; margin-bottom: 1.5rem; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a, .footer-contact span { font-size: .78rem; color: var(--text3); transition: color .2s; font-family: var(--font-m); letter-spacing: .04em; }
.footer-contact a:hover { color: var(--primary); }
.footer-head {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 1.25rem;
  font-family: var(--font-m);
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { font-size: .83rem; color: var(--text3); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .7rem;
  color: var(--text3);
  font-family: var(--font-m);
  letter-spacing: .06em;
}
.footer-legal { display: flex; gap: 1.75rem; }
.footer-legal a { color: var(--text3); transition: color .2s; }
.footer-legal a:hover { color: var(--primary); }
.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r2);
  background: transparent;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text3);
  font-size: .85rem;
  transition: border-color .2s, color .2s, transform .3s var(--spring);
}
.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,169,110,.15);
}

/* ══════════════════════════════════════════
   ANIMATION SYSTEM
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--expo), transform 1s var(--expo);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s var(--expo), transform 1s var(--expo);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity 1s var(--expo), transform 1s var(--expo);
}
.reveal-scale.visible { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--expo), transform .8s var(--expo);
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.stagger.visible > *:nth-child(5) { transition-delay: .4s; }
.stagger.visible > *:nth-child(6) { transition-delay: .5s; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.hidden { display: none !important; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .ham { display: flex; }
  .container, .container-sm, .container-xs { padding: 0 1.25rem; }
  .nav-wrap { padding: 0 1.25rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 960px) {
  .hero-inner { padding: 0 1.25rem; }
}
@media (max-width: 480px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .pricing-grid { gap: 1px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .orb { animation: none; }
  .float-card { animation: none; }
  .marquee-track { animation: none; }
}

/* ══════════════════════════════════════════
   PRINT
══════════════════════════════════════════ */
@media print {
  #preloader, #navbar, #mobile-nav, .grain, .cur-dot, .cur-ring, .scroll-hint,
  .marquee-outer, #hero-canvas, #btt { display: none !important; }
  body { color: #000; background: #fff; }
}
