/* ===== Variables ===== */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --warning: #f59e0b;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }

.logo-mark {
  background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px;
  padding: 4px 8px; border-radius: 6px;
}

.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--text); }

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

.nav a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; }
.nav a:hover { color: var(--text); }

.nav-highlight {
  background: var(--primary-light); color: var(--primary) !important;
  padding: 6px 14px; border-radius: 6px; font-weight: 600 !important;
}

.nav-cta { padding: 8px 18px !important; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.88rem; cursor: pointer;
  transition: var(--transition); border: none; text-decoration: none;
  font-family: var(--font);
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); background: var(--bg-alt); color: var(--text); }

.btn-block { width: 100%; }

.btn-xl { padding: 14px 28px; font-size: 1rem; }

/* ===== Hero ===== */
.hero { padding: 60px 0 40px; }

.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}

.hero-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 4px 12px; border-radius: 16px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 16px;
}

.hero-title { font-size: 2.4rem; font-weight: 800; line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.5px; }

.hero-subtitle { font-size: 1rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }

.hero-buttons { display: flex; gap: 10px; margin-bottom: 32px; }

.hero-stats { display: flex; gap: 28px; }

.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ===== Hero Panel (Free Card) ===== */
.hero-panel { display: flex; justify-content: center; }

.free-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.free-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 3px 10px; border-radius: 10px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; margin-bottom: 12px;
}

.free-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }

.free-card > p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; }

.free-card .btn { margin-bottom: 16px; }

.free-list { list-style: none; }
.free-list li {
  padding: 6px 0; font-size: 0.85rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.free-list li:last-child { border-bottom: none; }
.free-list li::before { content: '✓ '; color: var(--primary); font-weight: 700; }

/* ===== Section ===== */
.section-title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 0.92rem; color: var(--text-secondary); text-align: center; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Features ===== */
.features-section { padding: 60px 0; }

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

.compact-grid .feature-card { padding: 24px 20px; }

.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }

.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }

.feature-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.feature-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== Comparison ===== */
.comparison-section { padding: 60px 0; background: var(--bg-alt); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 0 auto; }

.compare-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; transition: var(--transition);
}
.compare-card:hover { box-shadow: var(--shadow-md); }

.plan-badge {
  display: inline-block; background: var(--bg-alt); color: var(--text-secondary);
  padding: 3px 10px; border-radius: 10px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; margin-bottom: 10px;
}

.pro-badge { background: var(--primary); color: #fff; }

.compare-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }

.compare-card ul { list-style: none; margin: 16px 0; }
.compare-card li {
  padding: 5px 0; font-size: 0.85rem; color: var(--text-secondary);
}
.compare-card li::before { content: '✓ '; color: var(--primary); font-weight: 700; }

.compare-card .btn { margin-top: 8px; }

.price { margin-bottom: 12px; }
.currency { font-size: 1rem; color: var(--text-secondary); vertical-align: top; }
.amount { font-size: 2.5rem; font-weight: 900; color: var(--text); }
.cents { font-size: 1rem; color: var(--text-secondary); }

/* ===== How it Works ===== */
.how-it-works-section { padding: 60px 0; }

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

.step { text-align: center; padding: 24px 16px; }

.step-number {
  width: 48px; height: 48px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff; margin: 0 auto 14px;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== FAQ ===== */
.faq-section { padding: 60px 0; background: var(--bg-alt); }

.faq-list { max-width: 650px; margin: 0 auto; }

.faq-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 8px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }

.faq-question {
  width: 100%; padding: 16px 18px; background: transparent; border: none;
  color: var(--text); font-size: 0.9rem; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); transition: var(--transition);
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--primary); font-weight: 300; transition: var(--transition); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 18px 16px; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 24px 0; }

.footer-simple {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.footer-simple .logo { pointer-events: none; }

.footer-simple p { font-size: 0.8rem; color: var(--text-muted); text-align: right; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-panel { margin-top: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-simple { flex-direction: column; text-align: center; }
  .footer-simple p { text-align: center; }
  .hero-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; align-items: center; }
}
