/* v1.0.0 | Last modified: 20260422202800 | Marketing website styles */
/* Fantomo Marketing — Premium dark theme with indigo accents. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --brand: #6366F1;
  --brand-hover: #4F46E5;
  --brand-light: #818CF8;
  --brand-subtle: rgba(99,102,241,0.08);
  --brand-surface: rgba(99,102,241,0.12);
  --bg-primary: #09090B;
  --bg-secondary: #111113;
  --bg-surface: #18181B;
  --bg-surface-hover: #27272A;
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --border: #27272A;
  --border-hover: #3F3F46;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --transition: 200ms ease;
  --max-width: 1120px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── Typography ─────────────────────────────────── */

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.125rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--brand-light), #A78BFA, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a { color: var(--brand-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #C4B5FD; }

/* ─── Buttons ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,0.25); color: #fff; }
.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-hover); }
.btn-secondary:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }

/* ─── Navigation ─────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ─── Hero ────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-surface);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { margin-bottom: 20px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-bottom: 64px; }
.hero-metrics { display: flex; justify-content: center; gap: 48px; }
.hero-metric { text-align: center; }
.hero-metric-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero-metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ─── Trust Bar ──────────────────────────────────── */

.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.trust-logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-tag {
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ─── Section Headers ────────────────────────────── */

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-light);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ─── Features ───────────────────────────────────── */

.features { padding: 100px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 10px; font-size: 16px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── How It Works ───────────────────────────────── */

.how-it-works { padding: 100px 0; background: var(--bg-secondary); }
.steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.step-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--brand-light), rgba(99,102,241,0.2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 72px;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ─── Pricing ────────────────────────────────────── */

.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-card {
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, var(--bg-secondary) 60%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--brand);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pricing-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FAQ ─────────────────────────────────────────── */

.faq { padding: 100px 0; background: var(--bg-secondary); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: color var(--transition);
}
.faq-item summary:hover { color: var(--brand-light); }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── CTA Section ────────────────────────────────── */

.cta-section { padding: 100px 0; }
.cta-card {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.06) 50%, rgba(192,132,252,0.04) 100%);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-xl);
}
.cta-card h2 { margin-bottom: 12px; font-size: 2rem; }
.cta-card p { color: var(--text-secondary); font-size: 16px; margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; }

/* ─── Footer ─────────────────────────────────────── */

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ─── Responsive ─────────────────────────────────── */

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-metrics { gap: 28px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .mobile-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 12px; }
  .step-number { font-size: 36px; width: auto; }
}

/* ─── Animations (GSAP-enhanced, CSS fallback) ──── */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
