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

:root {
  --bg:        #0D0D12;
  --surface:   #16161F;
  --border:    #222230;
  --fg:        #E8E4DC;
  --fg-muted:  #7A786E;
  --accent:    #F59E0B;
  --accent-dim:#F59E0B1A;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --radius:    12px;
  --max-w:     1100px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { line-height: 1.65; color: var(--fg-muted); }
em  { font-style: italic; color: var(--fg); }

/* ---- NAV ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(13,13,18,0.7); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.nav-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 0.25rem 0.75rem; }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%); top: -100px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%); bottom: 0; right: -50px; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--accent); border: 1px solid rgba(245,158,11,0.25); border-radius: 30px; padding: 0.35rem 0.85rem; margin-bottom: 1.75rem; width: fit-content; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-headline { font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-accent { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.05rem; max-width: 480px; color: var(--fg-muted); line-height: 1.7; }

/* Hero Visual */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.velocity-ring { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid; animation: spin linear infinite; }
.ring-1 { width: 220px; height: 220px; border-color: rgba(245,158,11,0.15); animation-duration: 20s; }
.ring-2 { width: 170px; height: 170px; border-color: rgba(245,158,11,0.25); animation-duration: 14s; animation-direction: reverse; }
.ring-3 { width: 120px; height: 120px; border-color: rgba(245,158,11,0.4); animation-duration: 9s; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ring-center { position: relative; z-index: 2; width: 70px; height: 70px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.stat-cards { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: baseline; gap: 0.75rem; }
.stat-val { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--accent); flex-shrink: 0; }
.stat-lbl { font-size: 0.8rem; color: var(--fg-muted); }

/* ---- PROBLEM ---- */
.problem { padding: 7rem 2rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: var(--max-w); margin: 0 auto; }
.problem-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.problem-headline { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.25; margin-bottom: 4rem; color: var(--fg); }
.problem-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.problem-col { padding: 0 2rem; }
.problem-icon { color: var(--accent); margin-bottom: 1rem; }
.problem-col h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--fg); }
.problem-col p { font-size: 0.9rem; line-height: 1.6; color: var(--fg-muted); }
.problem-divider { width: 1px; align-self: stretch; background: var(--border); }

/* ---- SERVICES ---- */
.services { padding: 7rem 2rem; background: var(--bg); }
.services-inner { max-width: var(--max-w); margin: 0 auto; }
.services-header { margin-bottom: 4rem; }
.services-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.services-headline { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.2; color: var(--fg); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.service-card { background: var(--surface); padding: 2.5rem; transition: background 0.2s; }
.service-card:hover { background: #1c1c28; }
.service-card-accent { background: #181820; }
.service-icon-wrap { margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--fg); }
.service-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.5rem; }
.service-detail { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-detail span { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245,158,11,0.15); border-radius: 20px; padding: 0.25rem 0.65rem; }

/* ---- HOW ---- */
.how { padding: 7rem 2rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-inner { max-width: var(--max-w); margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 5rem; }
.how-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.how-headline { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; margin-bottom: 1rem; color: var(--fg); }
.how-sub { font-size: 1rem; color: var(--fg-muted); max-width: 480px; margin: 0 auto; }
.how-steps { display: flex; align-items: center; gap: 0; }
.step { flex: 1; padding: 0 2rem; }
.step-num { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: rgba(245,158,11,0.2); margin-bottom: 1rem; line-height: 1; }
.step-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--fg); }
.step-body p { font-size: 0.9rem; line-height: 1.65; color: var(--fg-muted); }
.step-connector { width: 80px; flex-shrink: 0; height: 1px; background: linear-gradient(90deg, var(--border), rgba(245,158,11,0.3), var(--border)); margin-top: -2rem; }

/* ---- RESULTS ---- */
.results { padding: 7rem 2rem; background: var(--bg); }
.results-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.results-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.results-headline { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 1.5rem; color: var(--fg); }
.results-body { font-size: 1rem; line-height: 1.7; color: var(--fg-muted); }
.results-right { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.metric { padding: 1.75rem 2rem; border-bottom: 1px solid var(--border); }
.metric:last-child { border-bottom: none; }
.metric-val { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.metric-lbl { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; }

/* ---- CLOSING ---- */
.closing { padding: 8rem 2rem; background: var(--surface); border-top: 1px solid var(--border); position: relative; overflow: hidden; text-align: center; }
.closing::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%); pointer-events: none; }
.closing-inner { max-width: 680px; margin: 0 auto; position: relative; }
.closing-decoration { margin-bottom: 3rem; display: flex; justify-content: center; opacity: 0.6; }
.closing-headline { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.5rem; color: var(--fg); }
.closing-sub { font-size: 1.05rem; line-height: 1.75; color: var(--fg-muted); }

/* ---- FOOTER ---- */
.footer { padding: 2.5rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.footer-tagline { flex: 1; font-size: 0.8rem; color: var(--fg-muted); }
.footer-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--fg-muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { flex-direction: row; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
  .velocity-ring { width: 140px; height: 140px; }
  .ring-1 { width: 140px; height: 140px; }
  .ring-2 { width: 105px; height: 105px; }
  .ring-3 { width: 70px; height: 70px; }
  .stat-cards { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1 1 auto; }
  .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
  .problem-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; gap: 2rem; }
  .step { padding: 0; }
  .step-connector { display: none; }
  .results-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding-top: 7rem; }
  .desktop-only { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero { padding: 6rem 1.25rem 4rem; }
  .services, .how, .results, .closing, .problem { padding-left: 1.25rem; padding-right: 1.25rem; }
  .service-card { padding: 1.75rem; }
  .hero-visual { flex-direction: column; }
  .stat-card { width: 100%; }
}