/* ==========================================================================
   RedditLead Landing Page - Premium Dark Theme Design System
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: #0f131a;
  --bg-card-hover: #161b24;
  --bg-glass: rgba(15, 19, 26, 0.7);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 69, 0, 0.4);
  --border-glow: rgba(255, 69, 0, 0.25);

  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-orange: #ff4500;
  --accent-orange-light: #ff6a33;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1140px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 69, 0, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
              var(--bg-dark);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(255, 69, 0, 0.3);
}

.brand-icon img {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-smooth);
}

.nav-link:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e03d00 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--accent-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 69, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid rgba(255, 69, 0, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: #ff8a65;
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 60px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Demo Showcase */
.demo-showcase {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.1);
  overflow: hidden;
  text-align: left;
}

.browser-chrome {
  background: #141820;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.url-bar {
  flex: 1;
  background: #090c10;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 380px;
}

.reddit-side {
  padding: 24px;
  border-right: 1px solid var(--border-subtle);
  background: #0b0e14;
}

.mock-reddit-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.mock-sub-tag {
  color: var(--accent-orange);
  font-weight: 700;
}

.mock-post-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.mock-post-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.plugin-side {
  padding: 24px;
  background: #11151d;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plugin-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.intent-pill {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 11px;
}

.ai-draft-mock {
  background: #181d26;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   Problem Comparison Matrix
   ========================================================================== */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-smooth);
}

.matrix-card.featured {
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(255, 69, 0, 0.4);
  box-shadow: 0 10px 40px rgba(255, 69, 0, 0.15);
  transform: scale(1.03);
}

.card-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.danger { color: #f87171; }
.card-badge.warning { color: #fbbf24; }
.card-badge.success { color: #34d399; }

.matrix-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.matrix-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.pricing-switch {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.switch-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.switch-btn.active {
  background: var(--accent-orange);
  color: #fff;
}

.discount-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
  gap: 28px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.pro {
  background: linear-gradient(180deg, #161c28 0%, #0d1118 100%);
  border-color: rgba(255, 69, 0, 0.5);
  box-shadow: 0 16px 50px rgba(255, 69, 0, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.pricing-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-currency {
  font-size: 24px;
  font-weight: 700;
}

.price-val {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
}

.price-cycle {
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 36px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 700;
}

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

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-arrow {
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer & Compliance Legal Pages
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  background: #05070a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 10px;
}

.footer-links-group {
  display: flex;
  gap: 48px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-smooth);
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* Legal Documents Layout (Privacy, Terms, Refund) */
.legal-container {
  max-width: 800px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-dim);
}

.legal-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 14px;
}

.legal-body p {
  margin-bottom: 18px;
}

.legal-body ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 38px; }
  .demo-body { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 32px; }
}
