/* ============================================================
   Airshift Stream — Light Mode Design System
   Clean professional IPTV landing (Airshift Business inspired)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:        #1e40af;
  --primary-dark:   #1e3a8a;
  --primary-light:  #3b82f6;
  --accent:         #0ea5e9;
  --success:        #059669;

  --bg-page:        #ffffff;
  --bg-soft:        #f8fafc;
  --bg-muted:       #f1f5f9;
  --bg-card:        #ffffff;

  --text-primary:   #111827;
  --text-secondary: #4b5563;
  --text-muted:     #6b7280;

  --border:         #e5e7eb;
  --border-strong:  #d1d5db;

  --header-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #1e3a8a 70%, #1d4ed8 100%);

  --font-display:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.10);
  --shadow-card:    0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);

  --transition:     all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}
.text-center .section-sub { margin: 0 auto; }

.highlight-text { color: var(--primary); }
.gradient-text {
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-muted);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ─── Navigation ────────────────────────────────────────── */
#navbar {
  background: var(--header-gradient);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.logo-text span { color: #93c5fd; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  padding: 9px 16px;
  font-size: 0.82rem;
}
.nav-actions .btn-ghost:hover {
  background: #fff;
  color: var(--text-primary);
  border-color: #fff;
}
.nav-actions .btn-primary {
  padding: 9px 16px;
  font-size: 0.82rem;
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.nav-actions .btn-primary:hover {
  background: transparent;
  color: #fff;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: #fff;
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.mobile-menu .nav-link:hover { background: none; color: var(--primary); }
.mobile-menu .btn { width: 100%; margin-top: 12px; justify-content: center; }

/* ─── Hero ──────────────────────────────────────────────── */
.as-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  overflow: hidden;
}
.as-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248,250,252,0.97) 0%, rgba(248,250,252,0.85) 45%, rgba(248,250,252,0.4) 70%, transparent 100%),
    url('https://images.unsplash.com/photo-1522869635100-9f4c5e86aa37?w=1400&q=80&fit=crop') right center / cover no-repeat;
}
.as-hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
  max-width: 620px;
}
.as-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.as-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.as-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.as-hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}
.as-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.as-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.as-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.as-hero-trust-item svg { color: var(--success); flex-shrink: 0; }

/* ─── Stats Bar ─────────────────────────────────────────── */
.stats-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Feature Cards ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: #eff6ff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Pricing Cards ─────────────────────────────────────── */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.p-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.p-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(30,64,175,0.15), var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.pricing-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }
.pricing-features { margin-bottom: 24px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.pricing-features svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-cta { width: 100%; }

/* ─── Device Section ────────────────────────────────────── */
.devices-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.device-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.device-chip:hover {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

/* ─── Testimonials ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-name { font-weight: 700; font-size: 0.875rem; }
.testimonial-loc { font-size: 0.78rem; color: var(--text-muted); }

/* ─── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: var(--header-gradient);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner .section-label {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cta-banner .section-title { color: #fff; }
.cta-banner .section-sub { color: rgba(255,255,255,0.85); margin: 0 auto 32px; }
.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.cta-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.cta-stat-val { font-size: 1.75rem; font-weight: 800; }
.cta-stat-label { font-size: 0.78rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── Blog Cards ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: block;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.blog-content { padding: 24px; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.blog-card:hover .blog-title { color: var(--primary); }
.blog-excerpt { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 48px;
}
.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 88px;
  align-self: start;
}
.faq-cat-btn {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-cat-btn svg { flex-shrink: 0; color: var(--primary); }
.faq-cat-btn:hover {
  border-color: #bfdbfe;
  background: #f8fafc;
  color: var(--primary);
}
.faq-cat-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}
.faq-cat-btn.active svg { color: #fff; }

.faq-list { max-width: 100%; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item:hover:not(.open) {
  border-color: #d1d5db;
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  gap: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid transparent;
}

/* CTA card on FAQ page */
.cta-card {
  text-align: center;
  padding: 56px 40px;
  background: var(--header-gradient);
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card .cta-title { color: #fff; font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.cta-card .cta-sub { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.cta-card .gradient-text {
  background: linear-gradient(135deg, #93c5fd, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-glow { display: none; }

/* Legal pages — contact box */
.legal-contact-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}
.legal-contact-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.legal-contact-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-categories {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .faq-cat-btn { flex: 1; min-width: 140px; justify-content: center; }
}

/* ─── Footer ────────────────────────────────────────────── */
#footer {
  background: #0f172a;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.contact-item svg { flex-shrink: 0; margin-top: 2px; color: #93c5fd; }
.contact-item a { color: #93c5fd; }
.contact-item a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }

/* ─── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--bg-soft);
  padding: 120px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-sub { margin: 0 auto; }

/* ─── Pricing Tabs ──────────────────────────────────────── */
.tab-strip {
  display: flex;
  gap: 6px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 5px;
  width: fit-content;
  margin: 40px auto 0;
}
.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.pricing-tab-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-tab-cards.has-four { grid-template-columns: repeat(4, 1fr); }
.pricing-tab-cards.has-five { grid-template-columns: repeat(5, 1fr); }

/* ─── Comparison Table ──────────────────────────────────── */
.comp-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table thead th {
  padding: 18px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comp-table thead th:first-child { text-align: left; }
.comp-table thead th.highlight { background: #eff6ff; color: var(--primary); }
.comp-table tbody td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comp-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}
.comp-table tbody td.highlight { background: #f8fbff; }
.comp-icon-yes { color: var(--success); }

/* ─── Blog Post Layout ──────────────────────────────────── */
.post-hero { padding: 120px 0 48px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.post-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.post-breadcrumb a { color: var(--text-muted); }
.post-breadcrumb a:hover { color: var(--primary); }
.post-cat-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.post-h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 780px;
}
.post-meta-row { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; margin-top: 48px; align-items: start; }
.post-intro { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.post-h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; padding-left: 14px; border-left: 3px solid var(--primary); }
.post-section { margin-bottom: 36px; }
.post-section p, .post-section li { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.post-section ul, .post-section ol { padding-left: 20px; }
.post-section li { list-style: disc; }
.post-section strong { color: var(--text-primary); }
.post-cta-inline {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  text-align: center;
}
.post-cta-inline h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.post-cta-inline p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 88px;
}
.sidebar-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-cta-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.sidebar-cta-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.sidebar-cta-ghost {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.sidebar-cta-ghost:hover { border-color: var(--primary); color: var(--primary); }
.toc-list li { margin-bottom: 8px; }
.toc-list a { font-size: 0.84rem; color: var(--text-muted); display: block; padding: 4px 0; }
.toc-list a:hover { color: var(--primary); }

/* ─── Reveal Animations ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ─── Loader ──────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s, visibility 0.4s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.loader-bar { width: 160px; height: 3px; background: var(--border); border-radius: 4px; overflow: hidden; }
.loader-progress { height: 100%; background: var(--primary); animation: loadBar 1.2s ease forwards; }
@keyframes loadBar { from { width: 0; } to { width: 100%; } }

/* Hide dark-theme elements */
.noise-overlay, .theme-toggle { display: none !important; }

/* ─── Homepage SEO Content ─────────────────────────────── */
.home-seo { max-width: 900px; margin: 0 auto; }
.home-seo p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.home-seo h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--text-primary); margin-bottom: 16px; line-height: 1.2; }
.home-seo h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 24px 0 12px; }
.home-seo h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 20px 0 10px; }
.home-seo ul, .home-seo ol { padding-left: 22px; margin-bottom: 16px; }
.home-seo li { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.home-seo ol li { list-style: decimal; }
.home-seo a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.home-seo a:hover { color: var(--primary-dark); }
.home-seo-intro { font-size: 1.08rem; line-height: 1.8; }

.premium-highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px 0;
}
.premium-highlight h3 { margin-top: 0; color: var(--primary); font-size: 1.25rem; }
.premium-highlight ul { columns: 2; column-gap: 32px; margin-bottom: 16px; }
@media (max-width: 640px) { .premium-highlight ul { columns: 1; } }

.how-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.how-step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.how-step-card h4 { margin-top: 0; }
@media (max-width: 768px) { .how-steps { grid-template-columns: 1fr; } }

.content-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.pillar-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pillar-card h3 { margin-top: 0; display: flex; align-items: center; gap: 8px; }
@media (max-width: 768px) { .content-pillars { grid-template-columns: 1fr; } }

.compare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.compare-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.compare-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin-bottom: 10px; }
.compare-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .compare-grid { grid-template-columns: 1fr; } }

.ideal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.ideal-box {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.ideal-box.yes { background: #f0fdf4; border-color: #bbf7d0; }
.ideal-box.no { background: #fef2f2; border-color: #fecaca; }
.ideal-box h3 { margin-top: 0; font-size: 1.05rem; }
.ideal-box li { list-style: none; padding-left: 0; position: relative; padding-left: 22px; }
.ideal-box.yes li::before { content: '✓'; position: absolute; left: 0; color: #059669; font-weight: 700; }
.ideal-box.no li::before { content: '×'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }
@media (max-width: 768px) { .ideal-grid { grid-template-columns: 1fr; } }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; counter-reset: step; }
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}
@media (max-width: 768px) { .steps-row { grid-template-columns: 1fr; } }

.home-faq { max-width: 780px; margin: 40px auto 0; }
.home-faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
}
.home-faq summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--text-primary);
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq details[open] summary { color: var(--primary); background: #eff6ff; border-bottom: 1px solid #bfdbfe; }
.home-faq details p { padding: 16px 22px 20px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

.inline-cta {
  background: var(--header-gradient);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  color: #fff;
  margin: 48px 0 0;
}
.inline-cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.inline-cta p { color: rgba(255,255,255,0.88); margin-bottom: 20px; font-size: 0.95rem; }
.inline-cta .btn-white { margin-right: 8px; }
