/* ============================================
   BrandPilot Landing Page — Theme CSS
   Dark, AI-native, atmospheric
   ============================================ */

/* Fonts */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --bg: #070B14;
  --bg-surface: #0C1220;
  --bg-card: #111827;
  --fg: #E8EDF5;
  --fg-muted: #8896AB;
  --accent: #00D4FF;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-sm: 8px;
}

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

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;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Radial glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  bottom: -100px;
  left: 10%;
  animation: orbFloat 12s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 32px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #38BDF8 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 32px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 32px 0 0;
}

/* ============================================
   WHAT IT DOES
   ============================================ */
.what-it-does {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.wid-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.wid-header h2,
.hiw-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--fg);
}

.wid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.wid-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.2s ease;
}

.wid-card:hover {
  border-color: rgba(0,212,255,0.25);
}

.wid-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.wid-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.wid-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.hiw-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step:last-child { border-bottom: none; }

.step::before {
  content: '';
  position: absolute;
  left: 39px;
  top: calc(40px + 28px);
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.3), transparent);
}

.step:last-child::before { display: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  padding: 120px 48px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 36px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 680px;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: 140px 48px;
  text-align: center;
}

.closing-inner h2 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.2;
}

.closing-inner p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
}

.footer-sep { color: var(--border); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 100px 24px 60px; }
  .hero-headline { font-size: 42px; }
  .hero-sub { font-size: 16px; }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider { display: none; }
  .stat { padding: 0; }

  .what-it-does,
  .how-it-works,
  .manifesto,
  .closing { padding: 80px 24px; }

  .wid-grid { grid-template-columns: 1fr; }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
  }

  .step::before { display: none; }

  .manifesto-quote { font-size: 20px; }

  footer { padding: 32px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .closing h2 { font-size: 28px; }
}
