/* ---------- Tokens ---------- */
:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eaf1ff;
  --muted: #9bb0cf;
  --accent: #6fd2ff;
  --accent-2: #a78bfa;
  --accent-3: #5eead4;
  --radius: 18px;
  --maxw: 1140px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, sans-serif;
  --display: "Sora", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Animated background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(1200px 800px at 70% -10%, rgba(111,210,255,0.10), transparent 60%),
  radial-gradient(900px 700px at 10% 10%, rgba(167,139,250,0.10), transparent 55%),
  var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.blob-1 { width: 480px; height: 480px; background: #2f6bff; top: -120px; left: -80px; animation: drift 22s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #7c3aed; bottom: -140px; right: -60px; animation: drift 26s ease-in-out infinite reverse; }
.blob-3 { width: 360px; height: 360px; background: #14b8a6; top: 40%; left: 50%; animation: drift 30s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 11, 20, 0.7); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-thin { font-weight: 500; color: var(--muted); margin-left: 4px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--accent); }
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #061018; font-weight: 600; font-family: var(--display); padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; box-shadow: 0 10px 30px -12px rgba(111, 210, 255, 0.6); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; color: var(--accent); background: var(--surface); border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; margin-bottom: 26px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; margin-bottom: 22px; }
.gradient-text { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-3) 45%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { max-width: 620px; margin: 0 auto 36px; color: var(--muted); font-size: 1.12rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.hero-stats strong { font-family: var(--display); font-size: 2.4rem; font-weight: 800; display: block; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--muted); opacity: 0.55; white-space: nowrap; letter-spacing: 0.05em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-tag { color: var(--accent); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform 0.3s, border-color 0.3s, background 0.3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(111, 210, 255, 0.4); background: var(--surface-2); }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(120deg, rgba(111,210,255,0.2), rgba(167,139,250,0.2)); font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Trades ---------- */
.trades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trade { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: transform 0.3s, border-color 0.3s, background 0.3s; }
.trade:hover { transform: translateY(-6px); border-color: rgba(111, 210, 255, 0.4); background: var(--surface-2); }
.trade-icon { font-size: 2.1rem; line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 6px 14px rgba(111, 210, 255, 0.25)); }
.trade h3 { font-size: 1.05rem; }
.trade p { color: var(--muted); font-size: 0.85rem; }
.trade-more { background: linear-gradient(180deg, rgba(111,210,255,0.1), rgba(167,139,250,0.06)); border-color: rgba(111, 210, 255, 0.35); }

/* ---------- Work ---------- */
.work-hint { text-align: center; color: var(--muted); margin: -28px 0 32px; font-size: 0.95rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform 0.3s, border-color 0.3s; }
.work:hover { transform: translateY(-6px); border-color: rgba(111, 210, 255, 0.4); }
.work-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.work-thumb span { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: rgba(255,255,255,0.92); z-index: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25)); }
.thumb-a { background: linear-gradient(135deg, #ff9a8b, #a18cd1); }
.thumb-b { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.thumb-c { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.thumb-d { background: linear-gradient(135deg, #30cfd0, #330867); }
.work-meta { padding: 20px 22px; }
.work-meta h3 { font-size: 1.15rem; }
.work-meta p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px 24px; border-left: 2px solid var(--border); position: relative; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.4px var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Quote ---------- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; letter-spacing: -0.02em; }
.quote em { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; }
.quote figcaption { color: var(--muted); margin-top: 22px; }
.quote figcaption strong { color: var(--text); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: transform 0.3s; }
.price:hover { transform: translateY(-6px); }
.price-featured { background: linear-gradient(180deg, rgba(111,210,255,0.1), rgba(167,139,250,0.06)); border-color: rgba(111, 210, 255, 0.4); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #061018; font-family: var(--display); font-weight: 700; font-size: 0.78rem; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 1.3rem; margin-bottom: 14px; }
.price-tag { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.price-tag span { font-size: 1.3rem; vertical-align: super; color: var(--muted); margin-right: 2px; }
.price-tag .price-per { font-size: 1rem; vertical-align: baseline; margin-left: 2px; margin-right: 0; }
.price-desc { color: var(--muted); margin: 10px 0 22px; font-size: 0.95rem; }
.price ul { list-style: none; margin-bottom: 26px; }
.price li { padding: 9px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.price li::before { content: "✓"; color: var(--accent-3); font-weight: 700; margin-right: 10px; }

/* ---------- CTA / form ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 50px; }
.cta-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-copy > p { color: var(--muted); margin-bottom: 24px; }
.cta-points { list-style: none; display: grid; gap: 10px; }
.cta-points li { color: var(--text); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; color: var(--text); font-family: var(--font); font-size: 0.96rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111, 210, 255, 0.15); }
.field textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.9rem; color: var(--accent-3); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; }
.brand-footer { font-size: 1.3rem; margin-bottom: 8px; }
.footer-inner p { color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .pricing { grid-template-columns: 1fr 1fr; }
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 34px; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: rgba(7,11,20,0.96); backdrop-filter: blur(14px); padding: 24px; gap: 18px; border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform 0.35s; }
  .nav-links.open { transform: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards, .pricing, .work-grid, .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .section { padding: 64px 0; }
}

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