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

:root {
  --bg: #0d0d14;
  --bg-2: #14141e;
  --bg-card: #1a1a28;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-glow: rgba(245, 158, 11, 0.3);
  --fg: #f0ede8;
  --fg-2: #a8a49c;
  --fg-3: #6b6760;
  --border: rgba(240, 237, 232, 0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1.0625rem; line-height: 1.7; }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-2);
  font-weight: 400;
}

/* ===== HERO ===== */
.hero {
  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.hero-text h1 {
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: var(--fg-2);
  font-size: 1.125rem;
  max-width: 480px;
}

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  position: relative;
  width: 280px;
  background: #111119;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.08), 0 40px 80px rgba(0,0,0,0.5);
}
.phone-notch {
  width: 80px;
  height: 20px;
  background: #111119;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 12px;
  border: 1px solid rgba(245,158,11,0.2);
  border-top: none;
}
.phone-screen {
  background: #0d0d18;
  border-radius: 20px;
  padding: 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.voice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
}
.voice-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.chat-area { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg {
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 90%;
}
.user-msg {
  background: rgba(245, 158, 11, 0.12);
  color: var(--fg);
  align-self: flex-end;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.ai-msg {
  background: #14141e;
  color: var(--fg-2);
  align-self: flex-start;
  border: 1px solid var(--border);
  font-size: 0.72rem;
}
.voice-wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px 0 4px;
}
.voice-wave span {
  width: 3px;
  height: 16px;
  background: var(--amber);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.voice-wave span:nth-child(2) { animation-delay: 0.1s; height: 24px; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; height: 20px; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { animation-delay: 0.5s; height: 12px; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.15), transparent 70%);
  pointer-events: none;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-label { font-size: 0.8125rem; color: var(--fg-3); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== HOW IT WORKS ===== */
.hiw {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.hiw-header h2 { color: var(--fg); }
.hiw-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.hiw-step { position: relative; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(245, 158, 11, 0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon { margin: 1.25rem 0; }
.hiw-step h3 { color: var(--fg); margin-bottom: 0.75rem; }
.hiw-step p { color: var(--fg-2); font-size: 0.9375rem; }

/* ===== TRADES ===== */
.trades {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.trades-header { margin-bottom: 3rem; }
.trades-header h2 { color: var(--fg); max-width: 600px; }
.trades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trade-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.trade-card:hover {
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 0 30px rgba(245,158,11,0.06);
}
.trade-icon { margin-bottom: 1.25rem; }
.trade-card h3 {
  font-family: var(--font-display);
  color: var(--fg);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.trade-card ul { list-style: none; }
.trade-card ul li {
  font-size: 0.875rem;
  color: var(--fg-2);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.trade-card ul li:last-child { border-bottom: none; }

/* ===== DIFFERENTIATION ===== */
.diff {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.diff-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.diff-text h2 { color: var(--fg); margin-bottom: 1.5rem; }
.diff-text h2 em { color: var(--amber); font-style: normal; }
.diff-lead { color: var(--fg-2); margin-bottom: 2.5rem; font-size: 1.0625rem; }
.diff-points { display: flex; flex-direction: column; gap: 1.5rem; }
.diff-point { display: flex; gap: 1rem; align-items: flex-start; }
.diff-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--amber);
  margin-top: 2px;
}
.diff-point strong { color: var(--fg); font-weight: 600; display: block; margin-bottom: 0.25rem; }
.diff-point p { color: var(--fg-2); font-size: 0.9rem; }

/* Comparison table */
.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.875rem;
}
.comp-header, .comp-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  padding: 0.875rem 1.25rem;
  gap: 0.5rem;
}
.comp-header {
  background: rgba(245,158,11,0.06);
  border-bottom: 1px solid var(--border);
}
.comp-col-label, .comp-col-ts, .comp-col-other {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.comp-col-ts { color: var(--amber); text-align: center; }
.comp-row { border-bottom: 1px solid var(--border); }
.comp-row:last-child { border-bottom: none; }
.comp-row span:first-child { color: var(--fg-2); }
.yes { color: #4ade80; text-align: center; }
.no { color: #ef4444; text-align: center; }
.maybe { color: var(--fg-3); text-align: center; font-size: 0.75rem; }

/* ===== CERTIFICATIONS ===== */
.certs { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.certs-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.certs-text h2 { color: var(--fg); margin-bottom: 1rem; }
.certs-text p { color: var(--fg-2); font-size: 1.0625rem; }
.certs-list { display: flex; flex-direction: column; gap: 1rem; }
.cert-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.3s;
}
.cert-badge:hover { border-color: rgba(245,158,11,0.3); }
.cert-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber);
  font-size: 0.9375rem;
}
.cert-desc { font-size: 0.8125rem; color: var(--fg-2); }

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #111118 100%);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.closing-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2rem;
}
.closing h2 {
  color: var(--fg);
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.closing-body { color: var(--fg-2); font-size: 1.125rem; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.closing-vision {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg-3);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.footer-desc { font-size: 0.875rem; color: var(--fg-3); max-width: 300px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 0.5rem;
}
.footer-col span { font-size: 0.875rem; color: var(--fg-2); cursor: default; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--fg-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid, .diff-inner, .certs-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .trades-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .comp-header, .comp-row { grid-template-columns: 1fr 80px 80px; }
}
@media (max-width: 600px) {
  .trades-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6rem; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
  .phone-mockup { width: 240px; }
  .footer-links { grid-template-columns: 1fr; }
  .comp-header, .comp-row { grid-template-columns: 1fr 60px 60px; font-size: 0.8rem; }
}