/* ==========================================================================
   socloud (socloud.shop) — Pure Native CSS | Starry Night & Meteor Theme
   Zero JS dependencies | Fast Loading | Responsive Mobile-First
   ========================================================================== */

:root {
  --bg-deep: #040714;
  --bg-mid: #0a122a;
  --bg-elevated: rgba(15, 25, 56, 0.72);
  --bg-card: rgba(16, 27, 60, 0.65);
  --bg-card-hover: rgba(24, 39, 84, 0.85);
  --border-subtle: rgba(148, 179, 255, 0.16);
  --border-glow: rgba(125, 211, 252, 0.45);
  --text-primary: #f1f5ff;
  --text-secondary: #b4c3e8;
  --text-muted: #7f91bd;
  --accent-moon: #fef3c7;
  --accent-gold: #fbbf24;
  --accent-cyan: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-violet: #a78bfa;
  --accent-emerald: #34d399;
  --gradient-cta: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #8b5cf6 100%);
  --gradient-cta-hover: linear-gradient(135deg, #7dd3fc 0%, #818cf8 55%, #a78bfa 100%);
  --shadow-glow: 0 10px 35px -8px rgba(56, 189, 248, 0.38);
  --shadow-card: 0 12px 32px rgba(2, 6, 23, 0.55);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: radial-gradient(ellipse at 78% 12%, #18295c 0%, #0b1430 40%, #050919 75%, #02040d 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Night Sky Background: Moon, Dynamic Twinkling Stars & Meteor Showers
   ========================================================================== */

.night-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(254, 243, 199, 0.14) 0%, rgba(129, 140, 248, 0.08) 22%, transparent 55%),
    radial-gradient(circle at 18% 72%, rgba(56, 189, 248, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

/* Glowing Moon */
.moon {
  position: absolute;
  top: 78px;
  right: 9%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbeb 0%, #fef3c7 48%, #fde68a 78%, #d97706 100%);
  box-shadow:
    0 0 28px rgba(254, 243, 199, 0.72),
    0 0 75px rgba(253, 230, 138, 0.35),
    0 0 140px rgba(129, 140, 248, 0.24),
    inset -18px -12px 24px rgba(180, 130, 60, 0.32);
  animation: moonFloat 10s ease-in-out infinite;
}

.moon::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 26px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(217, 175, 102, 0.25);
  box-shadow:
    34px 12px 0 -4px rgba(217, 175, 102, 0.22),
    16px 40px 0 3px rgba(217, 175, 102, 0.2),
    46px 46px 0 -6px rgba(217, 175, 102, 0.18),
    -4px 32px 0 -7px rgba(217, 175, 102, 0.16);
}

.moon::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.18) 0%, transparent 70%);
  animation: moonPulse 6s ease-in-out infinite;
}

@keyframes moonFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes moonPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.09); }
}

/* Dense Multi-Layer Twinkling Starfields (Pure CSS box-shadow) */
.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.stars-small {
  width: 2px;
  height: 2px;
  background: #ffffff;
  box-shadow:
    4vw 8vh #fff, 9vw 24vh #dbeafe, 14vw 5vh #fff, 19vw 42vh #fef3c7,
    24vw 16vh #fff, 29vw 62vh #bae6fd, 33vw 9vh #fff, 38vw 34vh #fff,
    43vw 78vh #e0e7ff, 48vw 18vh #fff, 53vw 48vh #fef3c7, 58vw 12vh #fff,
    63vw 67vh #fff, 68vw 28vh #bae6fd, 72vw 83vh #fff, 77vw 44vh #fff,
    83vw 61vh #e0e7ff, 88vw 31vh #fff, 93vw 74vh #fef3c7, 97vw 19vh #fff,
    6vw 72vh #fff, 12vw 89vh #bae6fd, 21vw 79vh #fff, 27vw 93vh #fff,
    36vw 55vh #fef3c7, 45vw 91vh #fff, 56vw 85vh #dbeafe, 65vw 94vh #fff,
    79vw 92vh #fff, 91vw 88vh #bae6fd, 17vw 29vh #fff, 61vw 37vh #fff,
    40vw 11vh #bae6fd, 75vw 53vh #fef3c7, 86vw 46vh #fff, 3vw 48vh #fff;
  animation: twinkleSlow 4.2s ease-in-out infinite;
}

.stars-medium {
  width: 3px;
  height: 3px;
  background: #e0f2fe;
  box-shadow:
    7vw 15vh 1px #fff, 16vw 58vh 2px #bae6fd, 25vw 31vh 1px #fef3c7,
    34vw 76vh 2px #fff, 42vw 22vh 1px #c7d2fe, 51vw 64vh 2px #fff,
    59vw 26vh 2px #fef3c7, 67vw 52vh 1px #fff, 74vw 14vh 2px #bae6fd,
    85vw 72vh 2px #fff, 94vw 38vh 1px #fef3c7, 11vw 41vh 2px #fff,
    29vw 12vh 1px #c7d2fe, 47vw 84vh 2px #bae6fd, 63vw 8vh 1px #fff,
    81vw 27vh 2px #fef3c7, 92vw 58vh 2px #fff, 22vw 66vh 1px #bae6fd,
    39vw 46vh 2px #fff, 70vw 77vh 2px #c7d2fe, 5vw 86vh 1px #fff;
  animation: twinkleMid 3.1s ease-in-out infinite 0.8s;
}

.stars-bright {
  width: 4px;
  height: 4px;
  background: #ffffff;
  box-shadow:
    13vw 19vh 4px #7dd3fc, 28vw 48vh 5px #fef3c7, 46vw 14vh 4px #c4b5fd,
    62vw 41vh 5px #7dd3fc, 76vw 68vh 4px #fef3c7, 90vw 15vh 5px #fff,
    18vw 82vh 4px #93c5fd, 54vw 74vh 5px #fef3c7, 84vw 84vh 4px #c4b5fd,
    35vw 24vh 4px #fff, 69vw 33vh 5px #7dd3fc, 8vw 63vh 4px #fef3c7;
  animation: twinkleBright 2.6s ease-in-out infinite 1.5s;
}

/* Individual 4-point Sparkle Stars */
.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  animation: sparklePop 4.5s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: radial-gradient(circle, #ffffff 0%, rgba(125, 211, 252, 0.8) 40%, transparent 75%);
  transform: translate(-50%, -50%);
}

.sparkle::before { width: 14px; height: 2px; }
.sparkle::after  { width: 2px; height: 14px; }

.sparkle-1 { top: 14%; left: 18%; animation-delay: 0.2s; animation-duration: 3.8s; }
.sparkle-2 { top: 26%; left: 44%; animation-delay: 1.4s; animation-duration: 4.6s; }
.sparkle-3 { top: 18%; left: 71%; animation-delay: 2.3s; animation-duration: 3.4s; }
.sparkle-4 { top: 52%; left: 12%; animation-delay: 0.9s; animation-duration: 5.0s; }
.sparkle-5 { top: 64%; left: 84%; animation-delay: 2.9s; animation-duration: 4.1s; }
.sparkle-6 { top: 38%; left: 62%; animation-delay: 1.8s; animation-duration: 3.9s; }
.sparkle-7 { top: 76%; left: 32%; animation-delay: 3.1s; animation-duration: 4.8s; }
.sparkle-8 { top: 82%; left: 68%; animation-delay: 0.5s; animation-duration: 4.2s; }

@keyframes twinkleSlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

@keyframes twinkleMid {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes twinkleBright {
  0%, 100% { opacity: 0.55; }
  45% { opacity: 1; }
  70% { opacity: 0.4; }
}

@keyframes sparklePop {
  0%, 100% { opacity: 0.15; transform: scale(0.65) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(20deg); }
}

/* Meteor Shower (Shooting Stars) */
.meteor {
  position: absolute;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(125, 211, 252, 0.7) 35%, transparent 100%);
  border-radius: 999px;
  opacity: 0;
  transform: rotate(-32deg);
  filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.85));
}

.meteor::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
  box-shadow: 0 0 10px 2px #bae6fd;
}

.meteor-1 { top: 6%;  left: 68%; animation: meteorFall 7.5s linear infinite 1.2s; }
.meteor-2 { top: 14%; left: 88%; animation: meteorFall 9.2s linear infinite 4.0s; width: 180px; }
.meteor-3 { top: 4%;  left: 42%; animation: meteorFall 11.4s linear infinite 6.8s; width: 130px; }
.meteor-4 { top: 24%; left: 95%; animation: meteorFall 8.6s linear infinite 2.5s; width: 165px; }
.meteor-5 { top: 10%; left: 56%; animation: meteorFall 13.0s linear infinite 9.2s; width: 195px; }
.meteor-6 { top: 30%; left: 78%; animation: meteorFall 10.5s linear infinite 5.5s; width: 140px; }

@keyframes meteorFall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-32deg);
  }
  4% {
    opacity: 1;
  }
  16% {
    opacity: 0.9;
  }
  24% {
    opacity: 0;
    transform: translate3d(-480px, 300px, 0) rotate(-32deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(-480px, 300px, 0) rotate(-32deg);
  }
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */

.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

main {
  flex: 1;
}

section {
  padding: 84px 0;
}

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

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 10%, #dbeafe 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Pure CSS Responsive Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.brand-logo img {
  width: 32px;
  height: 32px;
}

.brand-logo span {
  background: linear-gradient(90deg, #fef3c7 0%, #7dd3fc 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.main-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  background: rgba(125, 211, 252, 0.12);
}

.main-nav a.nav-highlight {
  color: var(--accent-moon);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.main-nav a.nav-highlight:hover {
  background: rgba(251, 191, 36, 0.22);
  color: #ffffff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  color: #ffffff;
  background: var(--gradient-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  color: #ffffff;
  background: var(--gradient-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 179, 255, 0.3);
}

.btn-secondary:hover {
  color: #ffffff;
  background: rgba(125, 211, 252, 0.14);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

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

.hero {
  padding: 96px 0 76px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-moon);
  background: rgba(254, 243, 199, 0.1);
  border: 1px solid rgba(254, 243, 199, 0.3);
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 auto 22px;
  max-width: 920px;
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 35%, #7dd3fc 75%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  font-weight: 600;
  color: #e2e8f0;
}

.hero-desc {
  margin: 0 auto 36px;
  max-width: 720px;
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-box {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-moon);
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Core Advantages (3 Cards)
   ========================================================================== */

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

.feature-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Streaming & AI Support Cards
   ========================================================================== */

.media-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.media-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.media-card h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  font-weight: 700;
  color: #ffffff;
}

.media-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.media-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing Section (Cards + Comparison Table)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 42px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.price-card.popular {
  background: linear-gradient(180deg, rgba(30, 50, 108, 0.88) 0%, rgba(15, 25, 60, 0.9) 100%);
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 18px 44px rgba(56, 189, 248, 0.25);
  transform: translateY(-6px);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #041024;
  background: linear-gradient(90deg, #fef08a 0%, #38bdf8 100%);
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #ffffff;
}

.plan-tagline {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.price-amount .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-moon);
}

.price-amount .num {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-amount .period {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px dashed rgba(148, 179, 255, 0.12);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--accent-cyan);
  font-size: 0.82rem;
}

/* Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(148, 179, 255, 0.12);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #ffffff;
}

.compare-table thead th {
  background: rgba(30, 48, 98, 0.65);
  color: var(--accent-moon);
  font-weight: 700;
}

.compare-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.06);
}

.compare-table td {
  color: var(--text-secondary);
}

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

/* ==========================================================================
   User Reviews
   ========================================================================== */

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

.review-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 179, 255, 0.12);
  padding-top: 12px;
}

.review-author strong {
  color: #ffffff;
}

/* ==========================================================================
   FAQ (Zero-JS Native <details>/<summary>)
   ========================================================================== */

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

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-glow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent-moon);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid rgba(148, 179, 255, 0.1);
  padding-top: 14px;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  padding: 52px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(28, 49, 108, 0.82) 0%, rgba(15, 23, 56, 0.88) 100%);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: var(--shadow-card);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #ffffff;
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 640px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer — Strictly 4 Headings Opening Dedicated New Pages
   ========================================================================== */

.site-footer {
  margin-top: 40px;
  padding: 36px 0;
  background: rgba(3, 6, 18, 0.88);
  border-top: 1px solid var(--border-subtle);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}

.footer-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-moon);
  background: rgba(254, 243, 199, 0.08);
}

/* ==========================================================================
   Subpages, News Hub & SEO Articles Styling
   ========================================================================== */

.subpage-hero {
  padding: 64px 0 36px;
  text-align: center;
}

.subpage-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 50%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subpage-hero p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--text-secondary);
}

.content-card {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 40px 42px;
  border-radius: var(--radius-lg);
  background: rgba(12, 21, 48, 0.82);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.content-card h2 {
  margin: 32px 0 14px;
  font-size: 1.42rem;
  color: var(--accent-moon);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 12px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  color: #ffffff;
}

.content-card p {
  margin: 0 0 16px;
  color: #d6e1fa;
  font-size: 1.01rem;
  line-height: 1.85;
}

.content-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #d6e1fa;
}

.content-card li {
  margin-bottom: 8px;
}

/* Articles Hub Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-tag {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.14);
}

.article-card h2 {
  margin: 0 0 12px;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #ffffff;
}

.article-card h2 a {
  color: #ffffff;
}

.article-card h2 a:hover {
  color: var(--accent-cyan);
}

.article-card p {
  margin: 0 0 18px;
  font-size: 0.91rem;
  color: var(--text-secondary);
  flex: 1;
}

.article-readmore {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-moon);
}

/* Article Detail Header & Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-cta-box {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.55) 0%, rgba(49, 46, 129, 0.55) 100%);
  border: 1px solid rgba(125, 211, 252, 0.35);
  text-align: center;
}

.article-cta-box h3 {
  margin: 0 0 8px;
  color: var(--accent-moon);
}

.article-cta-box p {
  margin: 0 0 18px;
  font-size: 0.94rem;
}

.related-links {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.related-links h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--accent-cyan);
}

.related-links ul {
  margin: 0;
  padding-left: 18px;
}

/* ==========================================================================
   Responsive Media Queries (@media) — Mobile Single Column & Tap Friendly
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .moon {
    width: 86px;
    height: 86px;
    right: 6%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 68px;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .header-cta {
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
  }

  .hero {
    padding: 58px 0 46px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1.02rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cards-3,
  .media-ai-grid,
  .pricing-grid,
  .reviews-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .price-card.popular {
    transform: none;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .content-card {
    padding: 24px 18px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav a {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .moon {
    top: 86px;
    right: 16px;
    width: 68px;
    height: 68px;
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moon,
  .moon::after,
  .stars-small,
  .stars-medium,
  .stars-bright,
  .sparkle,
  .meteor {
    animation: none;
  }
}
