/* ============================================================
   Social Master by Mogacode — Landing Page
   Premium SaaS design, inspired by Linear + Vercel + Stripe
   ============================================================ */

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Core palette — light theme */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-subtle: #f8f9fb;
  --bg-card: #f3f4f6;
  --bg-card-hover: #ebedf0;
  --border: #e2e4e9;
  --border-subtle: #eef0f3;

  /* Text */
  --text: #111827;
  --text-dim: #4b5563;
  --text-muted: #9ca3af;

  /* Accent — indigo to violet gradient */
  --accent: #6366f1;
  --accent-bright: #7c3aed;
  --gradient-start: #6366f1;
  --gradient-mid: #8b5cf6;
  --gradient-end: #a855f7;

  /* Status */
  --success: #16a34a;
  --warning: #d97706;
  --info: #2563eb;

  /* Sizing */
  --max-w: 1200px;
  --nav-h: 64px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Gradient text utility ── */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-white {
  background: linear-gradient(180deg, #111827 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glow effects ── */
.glow {
  position: relative;
}
.glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.glow:hover::before {
  opacity: 0.15;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: all 0.2s;
  border: none;
  background: none;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-card);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.btn-primary svg { width: 14px; height: 14px; }

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--text-dim);
  background: var(--bg-card);
}

.btn-outline svg { width: 16px; height: 16px; }

/* ── Mobile nav ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 24px; height: 24px; }

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 16px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 101;
}

.nav-links.open a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-links.open a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Radial glow behind hero */
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 32px;
  position: relative;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-badge span { color: var(--accent); font-weight: 600; }

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  position: relative;
}

/* Hero visual — dashboard mockup */
.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.05),
    0 20px 60px -15px rgba(0,0,0,0.15),
    0 0 60px rgba(99, 102, 241, 0.08);
}

.hero-visual img {
  width: 100%;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ============================================================
   TRUSTED BY / LOGOS
   ============================================================ */

.logos-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.logos-grid svg {
  height: 28px;
  width: auto;
  color: var(--text-dim);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  padding: 80px 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats-bar-item {
  background: var(--bg-card);
  padding: 40px;
  text-align: center;
}

.stats-bar-value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stats-bar-label {
  font-size: 14px;
  color: var(--text-dim);
}

/* ============================================================
   SECTION — reusable
   ============================================================ */

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label svg { width: 16px; height: 16px; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ============================================================
   FEATURES GRID (content types)
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px;
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-icon.carousel { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.feature-icon.story { background: rgba(244, 114, 182, 0.12); color: #f472b6; }
.feature-icon.reel { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.feature-icon.ai { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.feature-icon.analytics { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }
.feature-icon.engagement { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-top: 16px;
}

.feature-tag.auto { background: rgba(52, 211, 153, 0.12); color: var(--success); }
.feature-tag.smart { background: rgba(99, 102, 241, 0.12); color: var(--accent); }

/* ============================================================
   PIPELINE (How it works)
   ============================================================ */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pipeline-step {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.pipeline-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.1);
}

.pipeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.pipeline-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pipeline-step p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.pipeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.pipeline-tech span {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
}

/* Arrow connectors between steps */
.pipeline-step::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--border);
  z-index: 1;
}

.pipeline-step:last-child::after {
  display: none;
}

/* ============================================================
   BENTO GRID (Key capabilities)
   ============================================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bento-card {
  background: var(--bg-card);
  padding: 40px;
  transition: background 0.3s;
}

.bento-card:hover { background: var(--bg-card-hover); }

.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-7 { grid-column: span 7; }

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
}

.bento-icon svg { width: 20px; height: 20px; }

/* ============================================================
   PROMPT PREVIEW (code-like block)
   ============================================================ */

.prompt-preview {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.prompt-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.prompt-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.prompt-preview-dot.r { background: #ff5f57; }
.prompt-preview-dot.y { background: #febc2e; }
.prompt-preview-dot.g { background: #28c840; }

.prompt-preview-title {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-left: 8px;
}

.prompt-preview-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
  white-space: pre-wrap;
  max-height: 240px;
  overflow-y: auto;
}

.prompt-preview-body .key { color: var(--accent); font-weight: 600; }
.prompt-preview-body .str { color: #16a34a; }
.prompt-preview-body .comment { color: var(--text-muted); font-style: italic; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border-radius: 100px;
}

.pricing-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.pricing-btn.primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.pricing-btn.primary:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.pricing-btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.pricing-btn.ghost:hover {
  border-color: var(--text-dim);
  background: var(--bg-card-hover);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  padding: 32px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo svg { width: 14px; height: 14px; color: white; }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* ============================================================
   TECH STACK STRIP
   ============================================================ */

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.2s;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.tech-pill svg { width: 14px; height: 14px; }

/* ============================================================
   SPLIT SECTION (text + visual)
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini metrics mockup */
.metrics-mock {
  width: 100%;
}

.metrics-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.metrics-row:last-child { border-bottom: none; }

.metrics-label {
  font-size: 13px;
  color: var(--text-dim);
  width: 100px;
  flex-shrink: 0;
}

.metrics-bar {
  flex: 1;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}

.metrics-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.metrics-bar-fill.indigo { background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid)); }
.metrics-bar-fill.pink { background: linear-gradient(90deg, #ec4899, #f472b6); }
.metrics-bar-fill.purple { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.metrics-bar-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }

.metrics-value {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
  width: 50px;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline-step::after { display: none; }
  .bento-card.span-8,
  .bento-card.span-4,
  .bento-card.span-5,
  .bento-card.span-7 { grid-column: span 6; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { height: 52px; }
  .hero { padding: 100px 0 48px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; padding: 12px 24px; font-size: 15px; }
  .hero-actions .btn-outline { width: 100%; justify-content: center; padding: 11px 24px; font-size: 15px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 20px; }
  .pipeline { grid-template-columns: 1fr; gap: 14px; }
  .pipeline-step { padding: 24px 20px; }
  .pipeline-step::after { display: none; }
  .bento-card.span-8,
  .bento-card.span-4,
  .bento-card.span-5,
  .bento-card.span-6,
  .bento-card.span-7 { grid-column: span 12; }
  .bento-card { padding: 28px 20px; }
  .pricing-grid { grid-template-columns: 1fr !important; max-width: 400px; margin: 0 auto; gap: 16px; }
  .pricing-card { padding: 28px 24px; }
  .pricing-price { font-size: 40px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item { padding: 24px 16px; }
  .stats-bar-value { font-size: 28px; }
  .stats-bar-label { font-size: 12px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-lg { width: 100%; justify-content: center; }
  .cta-actions .btn-outline { width: 100%; justify-content: center; }
  .logos-grid { gap: 24px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { margin-bottom: 12px; }
  .section-desc { font-size: 15px; }
  .content-preview { grid-template-columns: 1fr; gap: 16px; }
  .content-card-visual { height: 160px; }
  .split { gap: 28px; }
  .split-visual { min-height: 260px; padding: 20px; }
  .tech-strip { gap: 8px; margin-top: 20px; }
  .tech-pill { padding: 6px 10px; font-size: 11px; }
  .hero-badge { font-size: 12px; margin-bottom: 20px; }
  .prompt-preview-body { font-size: 11px; max-height: 180px; padding: 14px; }
  .container { padding: 0 16px; }
  .cta-section { padding: 64px 0; }

  /* Landing mobile bottom CTA bar */
  .landing-mobile-bar {
    display: flex !important;
  }

  /* Adjust WA widget position */
  .wa-widget {
    bottom: 76px !important;
    right: 12px !important;
    top: auto !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* ============================================================
   LANDING MOBILE STICKY BAR
   ============================================================ */

.landing-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding: 0 16px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.landing-mobile-bar .btn-ghost {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
}

.landing-mobile-bar .btn-primary {
  flex: 2;
  text-align: center;
  justify-content: center;
  padding: 10px;
  font-size: 14px;
  border-radius: 10px;
}

.landing-mobile-bar .btn-primary svg { display: none; }

/* ============================================================
   ANIMATIONS — scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CONTENT TYPE PREVIEW CARDS
   ============================================================ */

.content-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
}

.content-card-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.content-card-visual.carousel-bg {
  background: linear-gradient(135deg, #1e1b4b, #312e81, #4338ca);
}

.content-card-visual.story-bg {
  background: linear-gradient(135deg, #4a1942, #831843, #be185d);
}

.content-card-visual.reel-bg {
  background: linear-gradient(135deg, #2e1065, #581c87, #7e22ce);
}

.content-card-visual-inner {
  position: absolute;
  inset: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.2);
}

.content-card-visual-inner svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.7);
}

.content-card-visual-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
}

.content-card-body {
  padding: 24px;
}

.content-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-card-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.content-card-specs {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.content-card-spec {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--mono);
}

.content-card-spec strong {
  color: var(--text-dim);
  font-weight: 600;
}
