/* Skylumo - Soft Pastel Gradient Theme (Linear + Duolingo) */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg-primary: #fbfbfd;
  --bg-card: #ffffff;
  --text-main: #1e1b4b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --grad-lavender: #c7d2fe;
  --grad-peach: #fecdd3;
  --grad-mint: #bbf7d0;
  --primary-accent: #6366f1;
  --primary-hover: #4f46e5;
  --border-soft: rgba(226, 232, 240, 0.8);
  --shadow-soft: 0 16px 36px -6px rgba(199, 210, 254, 0.35), 0 6px 16px -4px rgba(254, 205, 211, 0.25);
  --shadow-hover: 0 22px 45px -8px rgba(99, 102, 241, 0.25), 0 10px 22px -5px rgba(254, 205, 211, 0.35);
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Floating background decorative shapes */
.floating-bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.shape-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--grad-lavender) 0%, rgba(199,210,254,0.1) 70%);
  top: -100px;
  left: -80px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--grad-peach) 0%, rgba(254,205,211,0.1) 70%);
  top: 35%;
  right: -120px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.shape-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--grad-mint) 0%, rgba(187,247,208,0.1) 70%);
  bottom: 5%;
  left: 15%;
  animation-duration: 25s;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(40px, 35px) scale(1.08) rotate(15deg); }
  100% { transform: translate(-30px, 50px) scale(0.95) rotate(-10deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & White Capsule Nav */
.header-wrapper {
  padding-top: 24px;
  position: sticky;
  top: 16px;
  z-index: 100;
}

.capsule-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 28px -6px rgba(100, 116, 139, 0.08);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-dot {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-accent);
}

.nav-btn-insights {
  color: #8b5cf6 !important;
  background: rgba(199, 210, 254, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.nav-btn-insights:hover {
  background: rgba(199, 210, 254, 0.6);
}

.nav-cta {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  box-shadow: 0 8px 18px -4px rgba(99, 102, 241, 0.45);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(236, 72, 153, 0.5);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 70px 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 205, 211, 0.45);
  border: 1px solid rgba(254, 205, 211, 0.9);
  color: #be185d;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #d946ef 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn-primary-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f43f5e 100%);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px -6px rgba(99, 102, 241, 0.45);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-primary-gradient:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -6px rgba(236, 72, 153, 0.55);
}

.btn-secondary-soft {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px -4px rgba(100, 116, 139, 0.08);
  transition: var(--transition);
}

.btn-secondary-soft:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: var(--primary-accent);
}

/* Hero Region Check Button: STRICTLY clean dofollow for PBN SEO */
.btn-hero-check {
  background: linear-gradient(135deg, #bbf7d0 0%, #93c5fd 100%);
  color: #065f46;
  border: 1px solid rgba(187, 247, 208, 0.9);
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px -5px rgba(187, 247, 208, 0.6);
  transition: var(--transition);
}

.btn-hero-check:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(147, 197, 253, 0.65);
  color: #047857;
}

/* Confetti Particle */
.confetti-particle {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall 1.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(var(--rotation));
  }
}

/* White Card: Dot Matrix World Map */
.map-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px 28px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  margin-top: 30px;
  position: relative;
}

.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.map-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid #a7f3d0;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dot-matrix-container {
  width: 100%;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(199, 210, 254, 0.15) 0%, transparent 70%);
  border-radius: 18px;
  overflow: hidden;
}

.dot-matrix-svg {
  width: 100%;
  height: 100%;
  max-width: 900px;
}

.matrix-dot {
  fill: #cbd5e1;
  transition: fill 0.6s ease, r 0.6s ease, filter 0.6s ease;
}

.matrix-dot.active-glow {
  fill: #6366f1;
  filter: drop-shadow(0 0 6px #6366f1);
  r: 4.5;
}

/* Speed Playground */
.speed-playground {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  margin-top: 36px;
}

.playground-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.5rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 24px;
}

.speed-region-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.region-btn {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-btn:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.region-btn.active {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
  box-shadow: 0 8px 18px -4px rgba(99, 102, 241, 0.45);
}

.speed-meter-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.speed-number-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.speed-num {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--primary-accent);
  letter-spacing: -1px;
}

.speed-unit {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
}

.speed-bar-track {
  height: 16px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.speed-bar-fill {
  height: 100%;
  width: 94.2%;
  background: linear-gradient(90deg, #6366f1 0%, #ec4899 50%, #10b981 100%);
  border-radius: var(--radius-pill);
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.speed-stats-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* 4 Pastel Core Feature Cards */
.section-wrapper {
  padding: 70px 0 30px;
}

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

.section-tag {
  display: inline-block;
  background: rgba(199, 210, 254, 0.45);
  color: #4338ca;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.pastel-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pastel-card {
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pastel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-lavender {
  background: linear-gradient(145deg, #ffffff 30%, #eef2ff 100%);
  border: 1px solid rgba(199, 210, 254, 0.8);
  box-shadow: 0 14px 28px -6px rgba(199, 210, 254, 0.4);
}

.card-peach {
  background: linear-gradient(145deg, #ffffff 30%, #fff1f2 100%);
  border: 1px solid rgba(254, 205, 211, 0.8);
  box-shadow: 0 14px 28px -6px rgba(254, 205, 211, 0.4);
}

.card-mint {
  background: linear-gradient(145deg, #ffffff 30%, #f0fdf4 100%);
  border: 1px solid rgba(187, 247, 208, 0.8);
  box-shadow: 0 14px 28px -6px rgba(187, 247, 208, 0.4);
}

.card-lemon {
  background: linear-gradient(145deg, #ffffff 30%, #fefce8 100%);
  border: 1px solid rgba(254, 240, 138, 0.8);
  box-shadow: 0 14px 28px -6px rgba(254, 240, 138, 0.4);
}

.pastel-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: #ffffff;
  box-shadow: 0 8px 18px -4px rgba(100, 116, 139, 0.12);
}

.pastel-card h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.pastel-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Streaming & AI Support Cards */
.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.media-ai-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.media-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.media-ai-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.media-ai-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(199, 210, 254, 0.3);
}

.media-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.media-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Pricing Cards + Capsule Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.capsule-toggle {
  background: #e2e8f0;
  padding: 5px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.toggle-opt {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--transition);
}

.toggle-opt.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15);
}

.pricing-discount-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 2px solid #818cf8;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  box-shadow: 0 20px 45px -8px rgba(99, 102, 241, 0.3);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.plan-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-val {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.price-val.bounce {
  animation: priceBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes priceBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.price-cycle {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 14px;
}

.check-icon {
  color: #10b981;
  font-weight: 800;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.plan-btn-default {
  background: #f1f5f9;
  color: var(--text-main);
}

.plan-btn-default:hover {
  background: #e2e8f0;
  color: var(--primary-accent);
}

.plan-btn-featured {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.45);
}

.plan-btn-featured:hover {
  box-shadow: 0 14px 28px -4px rgba(236, 72, 153, 0.55);
  transform: translateY(-2px);
}

/* User Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-lavender), var(--grad-peach));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #4f46e5;
}

.reviewer-name {
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.95rem;
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 18px -4px rgba(100, 116, 139, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 28px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-accent);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 280px;
  padding: 0 28px 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Footer: STRICTLY ONLY 4 TITLES */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 36px;
  margin-top: 80px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--primary-accent);
}

.footer-copy {
  color: var(--text-light);
  font-size: 0.88rem;
}

/* Secondary Pages & Article Layout */
.page-header-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  margin-top: 36px;
  margin-bottom: 36px;
  text-align: center;
}

.article-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px 42px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  margin-bottom: 60px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.article-content h2 {
  font-family: 'Fredoka', cursive, sans-serif;
  color: var(--text-main);
  font-size: 1.6rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(199, 210, 254, 0.4);
}

.article-content h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  color: #312e81;
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin-bottom: 22px;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-content th, .article-content td {
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.article-content th {
  background: #f1f5f9;
  font-weight: 800;
  color: var(--text-main);
}

.article-content tr:nth-child(even) {
  background: #f8fafc;
}

.article-content code {
  background: #f1f5f9;
  color: #be185d;
  padding: 2px 6px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.92em;
}

.article-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 20px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 20px 0;
}

.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* News Hub Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
}

.news-hub-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.news-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-hub-card h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-hub-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--primary-accent);
  font-weight: 800;
}

/* Diagnostics Table in check.html */
.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
}

.matrix-table th {
  background: #f1f5f9;
  padding: 16px 20px;
  font-weight: 800;
  color: var(--text-main);
  text-align: left;
}

.matrix-table td {
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
}

.level-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
}

.level-extreme {
  background: #fee2e2;
  color: #b91c1c;
}

.level-strict {
  background: #fef3c7;
  color: #b45309;
}

.level-moderate {
  background: #e0f2fe;
  color: #0369a1;
}

/* Mobile Media Queries */
@media (max-width: 768px) {
  .capsule-nav {
    padding: 10px 18px;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 48px 0 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-gradient, .btn-secondary-soft, .btn-hero-check {
    width: 100%;
    justify-content: center;
  }
  .dot-matrix-container {
    height: 200px;
  }
  .speed-number-display {
    flex-wrap: wrap;
  }
  .speed-num {
    font-size: 2.6rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .article-content {
    padding: 28px 20px;
  }
}
