/* ClipFlow Landing Page */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --bg: #0f0f14;
  --bg-card: #1a1a24;
  --text: #e4e4e7;
  --text-muted: #a1a1aa;
  --border: #27272a;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
.nav { position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(15,15,20,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.2em; font-weight: 700; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9em; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Hamburger */
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5em; cursor: pointer; padding: 4px 8px; line-height: 1; }

/* Mobile menu overlay */
.nav-mobile { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,15,20,0.95); backdrop-filter: blur(16px); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text); text-decoration: none; font-size: 1.2em; padding: 12px 24px; border-radius: 8px; transition: background 0.2s; }
.nav-mobile a:hover { background: var(--bg-card); }
.nav-mobile .btn { font-size: 1.1em; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9em; transition: all 0.2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 0.85em; }

/* Hero */
.hero { text-align: center; padding: 160px 24px 80px; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5em; font-weight: 800; line-height: 1.1; margin-bottom: 20px; background: linear-gradient(135deg, #fff 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.2em; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.hero-note { font-size: 0.85em; color: var(--text-muted); }

/* Features */
.features { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 2em; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s; }
.feature-card:hover { border-color: var(--primary); }
.feature-icon { font-size: 2em; display: block; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9em; }

/* How it works */
.how-it-works { padding: 80px 24px; max-width: 800px; margin: 0 auto; text-align: center; }
.how-it-works h2 { font-size: 2em; margin-bottom: 48px; }
.steps { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2em; margin: 0 auto 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9em; }

/* Pricing */
.pricing { padding: 80px 24px; max-width: 1100px; margin: 0 auto; text-align: center; }
.pricing h2 { font-size: 2em; margin-bottom: 8px; }
.pricing-sub { color: var(--text-muted); margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: left; position: relative; }
.price-card.featured { border-color: var(--primary); }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.75em; font-weight: 600; }
.price-card h3 { margin-bottom: 8px; }
.price-card .price { font-size: 2.5em; font-weight: 800; margin-bottom: 20px; }
.price-card .price span { font-size: 0.4em; color: var(--text-muted); font-weight: 400; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li { padding: 6px 0; color: var(--text-muted); font-size: 0.9em; }
.price-card li::before { content: "✓ "; color: var(--primary); }
.price-card .btn { width: 100%; text-align: center; }
.pricing-note { margin-top: 24px; color: var(--text-muted); font-size: 0.85em; }

/* Annual pricing badge */
.price-annual { font-size: 0.85em; color: var(--text-muted); margin-top: -12px; margin-bottom: 16px; }
.save-badge { background: #059669; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.85em; font-weight: 600; }

/* Pain Points */
.pain-points { padding: 80px 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.pain-points h2 { font-size: 2em; margin-bottom: 48px; }
.pain-grid { display: flex; flex-direction: column; gap: 20px; max-width: 700px; margin: 0 auto; }
.pain-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: left; }
.pain-icon { display: inline; font-size: 1em; }
.pain-text { color: var(--text-muted); margin-bottom: 8px; }
.pain-arrow { color: var(--primary); font-size: 1.2em; margin-bottom: 4px; }
.pain-solution { color: var(--text); font-weight: 600; }

/* Social Proof */
.social-proof { padding: 80px 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.proof-tagline { font-size: 1.3em; margin-bottom: 40px; color: var(--text-muted); }
.proof-stats { display: flex; gap: 40px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.proof-stat { display: flex; flex-direction: column; align-items: center; }
.proof-num { font-size: 2.2em; font-weight: 800; background: linear-gradient(135deg, #7c3aed, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.proof-label { color: var(--text-muted); font-size: 0.85em; }
.proof-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: left; }
.quote-card p { color: var(--text); font-style: italic; margin-bottom: 12px; }
.quote-author { color: var(--text-muted); font-size: 0.85em; }

/* FAQ */
.faq { padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 2em; margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.2em; color: var(--text-muted); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.9em; line-height: 1.7; }

/* Download */
.download { padding: 80px 24px; text-align: center; }
.download h2 { font-size: 2em; margin-bottom: 32px; }
.download-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-btn { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 14px 28px; color: var(--text); text-decoration: none; font-weight: 500; transition: border-color 0.2s; }
.download-btn:hover { border-color: var(--primary); }

/* Footer */
.footer { padding: 60px 24px 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 400px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85em; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9em; }
.footer-links a:hover { color: var(--text); }
.footer-copy { text-align: center; color: var(--text-muted); font-size: 0.8em; margin-top: 40px; }

/* Responsive — Tablet */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2em; }
  .hero-sub { font-size: 1em; }
  .hero-actions { flex-direction: column; align-items: center; }
  .steps { flex-direction: column; align-items: center; }

  .pain-points { padding: 60px 16px; }
  .pain-points h2 { font-size: 1.5em; margin-bottom: 32px; }
  .social-proof { padding: 60px 16px; }
  .proof-stats { gap: 24px; }
  .proof-num { font-size: 1.8em; }
  .faq { padding: 60px 16px; }
  .faq h2 { font-size: 1.5em; margin-bottom: 32px; }

  /* Nav: show hamburger, hide desktop links */
  .nav-hamburger { display: block; }
  .nav-links { display: none; }
}

/* Responsive — Mobile */
@media (max-width: 480px) {
  .hero { padding: 120px 16px 60px; }
  .hero h1 { font-size: 1.8em; }
  .hero-sub { font-size: 0.95em; }

  .features { padding: 60px 16px; }
  .features h2 { font-size: 1.5em; margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .how-it-works { padding: 60px 16px; }
  .how-it-works h2 { font-size: 1.5em; }

  .pricing { padding: 60px 16px; }
  .pricing h2 { font-size: 1.5em; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 24px; }

  .pain-points h2, .social-proof .proof-tagline { font-size: 1.3em; }
  .proof-stats { flex-direction: column; gap: 16px; }
  .proof-quotes { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 18px; font-size: 0.95em; }
  .faq-item p { padding: 0 18px 16px; }

  .download { padding: 60px 16px; }
  .download h2 { font-size: 1.5em; }
  .download-grid { flex-direction: column; align-items: center; }
  .download-btn { width: 100%; max-width: 280px; text-align: center; }

  .footer { padding: 40px 16px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
