/* ═══════════════════════════════════════════════════════════
   7homAIs — Design System
   Futuristic · Technical · Circuit DNA · Neon Glow
   Fonts: Clash Display (display) · Satoshi (body)
═══════════════════════════════════════════════════════════ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Core palette — extracted directly from brand logos */
  --bg:           #0a0a16;
  --bg-surface:   #0e0e1f;
  --bg-card:      rgba(16, 16, 36, 0.70);
  --bg-card-2:    rgba(20, 20, 44, 0.75);
  --border:       rgba(168, 85, 247, 0.15);
  --border-mid:   rgba(168, 85, 247, 0.3);
  --border-hot:   rgba(168, 85, 247, 0.6);
  --divider:      rgba(255,255,255,0.05);

  /* Text */
  --text:         #f0eeff;
  --text-muted:   #b8aee0;
  --text-dim:     #6e64a0;

  /* Purple — primary accent (from the "7" circuit logo) */
  --purple:       #a855f7;
  --purple-light: #c084fc;
  --purple-dim:   #7c3aed;
  --purple-glow:  rgba(168, 85, 247, 0.4);
  --purple-soft:  rgba(168, 85, 247, 0.1);
  --purple-trace: rgba(168, 85, 247, 0.06);

  /* Cyan — secondary accent (from the "homais" neon text) */
  --cyan:         #67e8f9;
  --cyan-glow:    rgba(103, 232, 249, 0.3);
  --cyan-soft:    rgba(103, 232, 249, 0.08);

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #a855f7 0%, #67e8f9 100%);
  --grad-neon:    linear-gradient(90deg, #a855f7 0%, #c084fc 50%, #67e8f9 100%);
  --grad-card:    linear-gradient(160deg, rgba(168,85,247,0.08) 0%, rgba(103,232,249,0.04) 100%);
  --grad-glow:    radial-gradient(ellipse at center, rgba(168,85,247,0.18) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body:    'Satoshi', 'Inter', sans-serif;

  /* Type scale */
  --sz-xs:    clamp(0.7rem,   0.65rem + 0.2vw,  0.8rem);
  --sz-sm:    clamp(0.85rem,  0.8rem  + 0.2vw,  0.95rem);
  --sz-base:  clamp(1rem,     0.95rem + 0.2vw,  1.1rem);
  --sz-lg:    clamp(1.1rem,   1rem    + 0.5vw,  1.4rem);
  --sz-xl:    clamp(1.4rem,   1.1rem  + 1vw,    2rem);
  --sz-2xl:   clamp(1.8rem,   1.2rem  + 2vw,    3rem);
  --sz-3xl:   clamp(2.4rem,   1rem    + 4vw,    5rem);
  --sz-hero:  clamp(2.2rem,   0.6rem  + 4vw,    4.6rem);

  /* Spacing */
  --s1:0.25rem; --s2:0.5rem;  --s3:0.75rem; --s4:1rem;
  --s5:1.25rem; --s6:1.5rem;  --s8:2rem;    --s10:2.5rem;
  --s12:3rem;   --s16:4rem;   --s20:5rem;   --s24:6rem;

  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.16,1,0.3,1);
  --t-base: 250ms cubic-bezier(0.16,1,0.3,1);
  --t-slow: 500ms cubic-bezier(0.16,1,0.3,1);

  --w-max: 1160px;
}

/* ─── STARFIELD CANVAS (full-page fixed) ─────────────────── */
#starfield {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* All page content sits above the starfield */
.nav, section, footer {
  position: relative;
  z-index: 1;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--sz-base);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100dvh;
}

img, video, canvas { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
p, li { text-wrap: pretty; }

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

/* ─── UTILITIES ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(var(--s5), 5vw, var(--s16));
}

/* Neon gradient text */
.neon-text {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-purple { color: var(--purple-light); }

/* Desktop line break */
.d-break { display: block; }
@media (max-width: 600px) { .d-break { display: none; } }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease var(--delay, 0s), transform 0.65s ease var(--delay, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer layer */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn--primary:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  box-shadow: 0 0 35px var(--purple-glow), 0 0 70px rgba(168,85,247,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-mid);
}
.btn--outline:hover {
  background: var(--purple-soft);
  border-color: var(--purple);
  color: var(--purple-light);
  box-shadow: 0 0 20px var(--purple-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--divider);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.03);
}

.btn--lg  { padding: var(--s4) var(--s8); font-size: var(--sz-sm); }
.btn--xl  { padding: var(--s4) var(--s10); font-size: var(--sz-base); }
.btn--full { width: 100%; justify-content: center; }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s4) clamp(var(--s5), 5vw, var(--s16));
  max-width: var(--w-max);
  margin-inline: auto;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__icon {
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
  object-fit: contain;
  /* Subtle neon halo to match the hero wordmark */
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
  transition: filter var(--t-base), transform var(--t-base);
}
.nav__logo:hover .nav__icon {
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.75));
  transform: scale(1.05);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s8);
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: transform var(--t-base);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--text); }

.nav__cta { margin-left: var(--s4); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  width: 38px; height: 38px;
  justify-content: center;
  border-radius: var(--r-md);
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-base);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--purple-light); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--purple-light); }

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--s4) clamp(var(--s5), 5vw, var(--s16)) var(--s6);
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--sz-base);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--divider);
  transition: color var(--t-fast);
}
.nav__mobile a:last-child { border: none; margin-top: var(--s4); }
.nav__mobile a:hover { color: var(--purple-light); }

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__scanlines {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}
.hero__glow--purple {
  width: 70vw; height: 70vw;
  max-width: 1000px; max-height: 1000px;
  top: -25%;
  left: -20%;
  background: radial-gradient(circle, rgba(168,85,247,0.14) 0%, transparent 65%);
  transition: transform 0.8s ease;
}
.hero__glow--cyan {
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(103,232,249,0.09) 0%, transparent 65%);
  transition: transform 0.8s ease;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(var(--s16), 8vw, var(--s24));
}

/* Wordmark */
.hero__logo-wrap {
  margin-bottom: var(--s8);
}
.hero__wordmark {
  height: clamp(320px, 50vw, 680px);
  width: auto;
  max-width: 1000px;
  object-fit: contain;
  margin-inline: auto;
  display: block;
  /* Soft halo behind the transparent PNG */
  filter:
    drop-shadow(0 0 40px rgba(168, 85, 247, 0.50))
    drop-shadow(0 0 90px rgba(103, 232, 249, 0.22));
  animation: wm-pulse 4.5s ease-in-out infinite;
}
@keyframes wm-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 40px rgba(168, 85, 247, 0.50))
      drop-shadow(0 0 90px rgba(103, 232, 249, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 0 60px rgba(168, 85, 247, 0.75))
      drop-shadow(0 0 130px rgba(103, 232, 249, 0.38));
  }
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s5);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  background: var(--purple-trace);
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: var(--s6);
}
.hero__pulse {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0 var(--purple-glow);
  animation: pulseRing 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(168,85,247,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(168,85,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
}

/* Headline */
.hero__headline {
  font-size: var(--sz-hero);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s6);
  line-height: 1.0;
}

.hero__sub {
  font-size: var(--sz-lg);
  color: var(--text-muted);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--s10);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s16);
}

/* Stats bar */
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  padding: var(--s5) var(--s10);
  background: rgba(12, 12, 24, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.hero__stats::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: var(--grad-card);
  pointer-events: none;
}
.hstat { text-align: center; position: relative; z-index: 1; }
.hstat__n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--sz-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat__l {
  display: block;
  font-size: var(--sz-xs);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.hstat__sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--s8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  z-index: 2;
  animation: fadeInUp 1s ease 2s both;
}
.hero__scroll-label {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-track {
  width: 20px; height: 34px;
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.hero__scroll-dot {
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: 5px; opacity: 1; }
  80%  { top: 20px; opacity: 0; }
  100% { top: 5px; opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── SECTIONS (shared) ───────────────────────────────────── */
.section {
  padding-block: clamp(var(--s16), 8vw, var(--s24));
  position: relative;
}
/* Semi-transparent so the fixed starfield bleeds through */
.section:nth-child(odd)  { background: rgba(10, 10, 22, 0.55); }
.section:nth-child(even) { background: rgba(14, 14, 31, 0.60); }

/* Override specific sections */
.preview  { background: rgba(10, 10, 22, 0.55) !important; }
.packages { background: rgba(14, 14, 31, 0.60) !important; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(var(--s12), 5vw, var(--s20));
}
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: var(--s4);
}
.section-title {
  font-size: var(--sz-3xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s4);
}
.section-sub {
  font-size: var(--sz-base);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── PROCESS ─────────────────────────────────────────────── */
.steps {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s8);
  padding-block: var(--s8);
  position: relative;
}
.step + .step { border-top: 1px solid var(--divider); }

.step__num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--s1);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--sz-2xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.step__line {
  flex: 1;
  width: 1px;
  margin-top: var(--s3);
  background: linear-gradient(to bottom, var(--border-mid), transparent);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--sz-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s3);
}
.step__text {
  font-size: var(--sz-base);
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── WORK ────────────────────────────────────────────────── */
.cases { margin-bottom: var(--s8); }

.case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s12);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s8);
  transition: border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  pointer-events: none;
  border-radius: inherit;
}
.case:hover { border-color: var(--border-mid); }

/* Browser mockup */
.case__browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card-2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  position: relative;
  z-index: 1;
}
.case__chrome {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}
.case__dots { display: flex; gap: var(--s2); }
.case__dots span { width: 10px; height: 10px; border-radius: 50%; }
.case__url-bar {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 3px var(--s3);
}

.case__screen { background: #0a0a0a; }
.case__mock { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }

.mock__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s2) var(--s3);
  background: #111;
  border-radius: var(--r-sm);
}
.mock__logo-bar {
  width: 72px; height: 14px;
  background: linear-gradient(90deg, #68ccd1, transparent);
  border-radius: 2px;
}
.mock__nav-links { display: flex; gap: var(--s3); }
.mock__nav-links span { width: 28px; height: 7px; background: rgba(255,255,255,0.12); border-radius: 2px; }

.mock__hero { padding: var(--s5) var(--s3); display: flex; flex-direction: column; gap: var(--s3); }
.mock__eyebrow { width: 88px; height: 10px; background: rgba(104,204,209,0.4); border-radius: 100px; }
.mock__h1     { width: 75%;  height: 16px; background: rgba(255,255,255,0.75); border-radius: 3px; }
.mock__h2     { width: 55%;  height: 12px; background: rgba(104,204,209,0.55); border-radius: 3px; }
.mock__btns   { display: flex; gap: var(--s2); margin-top: var(--s2); }
.mock__btns span:first-child { width: 72px; height: 28px; background: #68ccd1; border-radius: var(--r-sm); }
.mock__btns span:last-child  { width: 72px; height: 28px; background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-sm); }

.mock__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.mock__card { height: 52px; background: linear-gradient(135deg, #1a1a2e, #16213e); border: 1px solid rgba(104,204,209,0.15); border-radius: var(--r-sm); }

/* Case info */
.case__info { position: relative; z-index: 1; }
.case__tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.tag {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s1) var(--s3);
  border-radius: 100px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.tag--purple { background: var(--purple-soft); border-color: var(--border-mid); color: var(--purple-light); }
.case__title {
  font-size: var(--sz-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s4);
}
.case__desc {
  font-size: var(--sz-base);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--s6);
}
.case__link { width: fit-content; }

.work__note {
  text-align: center;
  font-size: var(--sz-base);
  color: var(--text-muted);
}
.work__note a { color: var(--purple-light); transition: color var(--t-fast); }
.work__note a:hover { color: var(--text); }

/* ─── PACKAGES ────────────────────────────────────────────── */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-bottom: var(--s10);
  align-items: stretch;
}
@media (max-width: 960px) {
  .pkg-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    gap: var(--s5);
  }
}

/* Hero stat: small "/mo" suffix on the price */
.hstat__period {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 2px;
}

/* Billing 3-step explainer below the single plan card */
.billing-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  max-width: 980px;
  margin: 0 auto;
  padding: var(--s8) var(--s6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.billing-step {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}
.billing-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--sz-base);
  color: var(--purple-light);
  background: var(--purple-soft);
  border: 1px solid var(--border-mid);
}
.billing-step__title {
  font-family: var(--font-display);
  font-size: var(--sz-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s1);
}
.billing-step__sub {
  font-size: var(--sz-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 760px) {
  .billing-note {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
}

.pkg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  position: relative;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}
.pkg::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad-card);
  pointer-events: none;
}
.pkg:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(168,85,247,0.08);
}

.pkg--featured {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple), 0 0 50px rgba(168,85,247,0.15);
  background: linear-gradient(160deg, var(--bg-card-2) 0%, rgba(168,85,247,0.06) 100%);
}
.pkg--featured:hover {
  box-shadow: 0 0 0 1px var(--purple-light), 0 0 70px rgba(168,85,247,0.2), 0 20px 60px rgba(168,85,247,0.12);
}

.pkg__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--s1) var(--s5);
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--purple-glow);
}

.pkg__top { position: relative; z-index: 1; }
.pkg__name {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}
.pkg__price { display: flex; align-items: baseline; gap: var(--s2); margin-bottom: var(--s3); }
.pkg__amount {
  font-size: var(--sz-3xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pkg__period {
  font-size: var(--sz-xs);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pkg__sub {
  font-size: var(--sz-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.pkg__list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
  position: relative;
  z-index: 1;
}
.pkg__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--sz-sm);
  color: var(--text-muted);
  max-width: 100%;
}
.pkg__arrow { color: var(--purple); font-weight: 700; flex-shrink: 0; }
.pkg--featured .pkg__arrow { color: var(--purple-light); }

/* Add-ons */
.addons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s8);
}
.addons__title {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s4);
}
.addons__row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.addon {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s2) var(--s4);
  transition: border-color var(--t-fast);
}
.addon:hover { border-color: var(--border-mid); }
.addon__name { font-family: var(--font-display); font-size: var(--sz-xs); font-weight: 600; color: var(--text-muted); }
.addon__price { font-family: var(--font-display); font-size: var(--sz-xs); font-weight: 700; color: var(--purple-light); }

/* ─── PREVIEW FORM ────────────────────────────────────────── */
.preview {
  position: relative;
  overflow: hidden;
}
.preview::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrap {
  max-width: 760px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(var(--s8), 5vw, var(--s12));
  position: relative;
}
.form-wrap::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(168,85,247,0.06) 0%, rgba(103,232,249,0.03) 100%);
  pointer-events: none;
}

.pform { display: flex; flex-direction: column; gap: var(--s5); position: relative; z-index: 1; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }

.fg { display: flex; flex-direction: column; gap: var(--s2); }
.fg label {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.fg__hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
}
.req { color: var(--purple); }

.fg input,
.fg textarea {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  font-size: var(--sz-base);
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-dim); }
.fg input:focus,
.fg textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-trace), 0 0 16px rgba(168,85,247,0.1);
}
.fg textarea { resize: vertical; min-height: 120px; }

/* Form success */
.pform__success {
  text-align: center;
  padding: var(--s12) var(--s8);
  position: relative;
  z-index: 1;
}
.success__icon { margin: 0 auto var(--s6); width: fit-content; }
.success__icon svg { filter: drop-shadow(0 0 12px var(--purple-glow)); }
.success__title {
  font-family: var(--font-display);
  font-size: var(--sz-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s4);
}
.success__msg {
  font-size: var(--sz-base);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 50ch;
  margin-inline: auto;
}
.success__msg strong { color: var(--purple-light); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: rgba(8, 8, 18, 0.60);
  border-top: 1px solid var(--border);
  padding-top: var(--s12);
  position: relative;
  overflow: hidden;
}
.footer__glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(168,85,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s10);
  padding-bottom: var(--s10);
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer__brand { display: flex; flex-direction: column; gap: var(--s4); }

.footer__logo-lockup {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.footer__logo-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.45));
  flex-shrink: 0;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--sz-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.footer__logo-ai {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer__tagline { font-size: var(--sz-sm); color: var(--text-dim); line-height: 1.65; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s8);
  align-items: flex-start;
}
.footer__nav a {
  font-family: var(--font-display);
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--purple-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s5);
  flex-wrap: wrap;
  gap: var(--s3);
  position: relative;
  z-index: 1;
}
.footer__bottom p { font-size: var(--sz-xs); color: var(--text-dim); letter-spacing: 0.04em; }
.footer__built { font-family: var(--font-display); font-weight: 600; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid .pkg:last-child { grid-column: 1 / -1; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; }
  .pform__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-grid .pkg:last-child { max-width: 100%; grid-column: auto; }
  .hero__stats { gap: var(--s5); padding: var(--s4) var(--s6); }
  .hstat__sep { display: none; }
  .step { grid-template-columns: 56px 1fr; gap: var(--s4); }
  .footer__inner { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
