/* ===========================
   VELOCITYAI THEME
   =========================== */

:root {
  --bg: #0d0d12;
  --bg-raised: #13131b;
  --bg-card: #1a1a26;
  --fg: #f0ede8;
  --fg-muted: #8a8799;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(240, 237, 232, 0.08);
  --green: #4ade80;
  --red: #f87171;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 18, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.logo-accent { color: var(--accent); }
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Section base */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 48px;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 40px 100px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
}

/* Automate widget */
.automate-widget {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,166,35,0.1);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.widget-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.widget-title {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
  font-family: 'DM Mono', monospace;
}
.widget-body { padding: 20px; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}
.flow-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-icon.in { background: rgba(245,166,35,0.15); color: var(--accent); }
.flow-icon.ai { background: rgba(74,222,128,0.12); color: var(--green); }
.flow-icon.out { background: rgba(99,102,241,0.12); color: #818cf8; }
.flow-status {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-display);
}
.flow-status.done { background: rgba(74,222,128,0.15); color: var(--green); }
.flow-status.live { background: rgba(99,102,241,0.2); color: #818cf8; }
.flow-arrow {
  text-align: center;
  color: var(--fg-muted);
  font-size: 18px;
  padding: 8px 0;
  opacity: 0.4;
}
.widget-time {
  margin-top: 16px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
}

/* Problem section */
.problem { padding: 80px 40px; background: var(--bg-raised); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 48px 0;
}
.problem-stat {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}
.problem-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.problem-quote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--fg-muted);
  font-style: italic;
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

/* Process */
.process { padding: 80px 40px; }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: flex;
  align-items: center;
  gap: 40px;
}
.process-step { flex: 1; }
.process-step-arrow { color: var(--fg-muted); flex-shrink: 0; opacity: 0.5; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* What You Get */
.what-you-get { padding: 80px 40px; background: var(--bg-raised); }
.wyg-inner { max-width: 1200px; margin: 0 auto; }
.wyg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wyg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.wyg-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.wyg-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.wyg-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }
.wyg-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* Pricing */
.pricing { padding: 80px 40px; }
.pricing-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 340px;
  text-align: left;
  position: relative;
}
.pricing-card.card-featured {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.2), 0 20px 40px rgba(245,166,35,0.08);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0d0d12;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.card-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.price-sub {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.6;
}
.card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.card-features svg { color: var(--green); flex-shrink: 0; }
.pricing-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--bg-raised);
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Closing */
.closing {
  padding: 100px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #111118 100%);
}
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-content { max-width: 640px; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.closing-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
}
.closing-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.closing-stat { text-align: left; }
.cstat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.cstat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.site-footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 40px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .problem-grid { flex-direction: column; gap: 0; }
  .problem-divider { width: 80px; height: 1px; }
  .process-steps { flex-direction: column; }
  .process-step-arrow { transform: rotate(90deg); }
  .wyg-grid { grid-template-columns: 1fr; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 400px; }
  .closing-stats { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .site-nav, .hero, .problem, .process, .what-you-get, .pricing, .closing { padding-left: 20px; padding-right: 20px; }
}