/* ==========================================================================
   GLADOS - Nuclear Fusion / Tokamak Energy Theme
   Deep Space Black (#020617) | Plasma Orange (#F59E0B) | Fusion Red (#EF4444)
   ========================================================================== */

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

:root {
  --bg-primary: #020617;
  --bg-secondary: #080d22;
  --bg-card: #0b1126;
  --bg-card-hover: #101835;
  --bg-card-active: #172248;

  --border-color: rgba(245, 158, 11, 0.15);
  --border-highlight: rgba(245, 158, 11, 0.45);
  --border-red: rgba(239, 68, 68, 0.35);

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.5);

  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  --accent-glow-orange: rgba(245, 158, 11, 0.6);
  --accent-glow-red: rgba(239, 68, 68, 0.85);

  --radius-sm: 6px;
  --radius-md: 8px; /* Strict 8px for CTA buttons */
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.4);

  --max-width: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(245, 158, 11, 0.16) 0%, rgba(239, 68, 68, 0.08) 35%, transparent 70%),
    radial-gradient(circle at 85% 55%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  position: relative;
}

/* ==========================================================================
   Background FX: Grid Overlay, 3 Plasma Lines SVG, 4 Rising Particles
   ========================================================================== */
.fusion-bg-effect {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Edge-Fading Fine Grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 80%);
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 80%);
}

/* 3 Plasma Energy Flow Lines (2s cycle) */
.plasma-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.plasma-path {
  fill: none;
  stroke-dasharray: 140 100;
  stroke-linecap: round;
  animation: plasmaDash 2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
}

.plasma-path.line-1 {
  stroke-width: 2.2;
}

.plasma-path.line-2 {
  stroke-width: 1.8;
  animation-duration: 2s;
  animation-direction: reverse;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
}

.plasma-path.line-3 {
  stroke-width: 2.5;
  animation-duration: 2s;
}

@keyframes plasmaDash {
  from {
    stroke-dashoffset: 240;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* 4 Rising Particles from Bottom with Horizontal Drift */
.fusion-particle {
  position: absolute;
  bottom: -30px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 8px currentColor);
}

.fp-1 {
  left: 12%;
  background: var(--accent-orange);
  color: var(--accent-orange);
  animation: particleRise 7.5s ease-in-out infinite;
  --drift: 50px;
}

.fp-2 {
  left: 36%;
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  color: var(--accent-red);
  animation: particleRise 9s ease-in-out infinite 1.8s;
  --drift: -60px;
}

.fp-3 {
  left: 68%;
  background: var(--accent-orange);
  color: var(--accent-orange);
  animation: particleRise 8.2s ease-in-out infinite 3.5s;
  --drift: 75px;
}

.fp-4 {
  left: 88%;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  color: var(--accent-red);
  animation: particleRise 10s ease-in-out infinite 0.8s;
  --drift: -45px;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-110vh) translateX(var(--drift));
    opacity: 0;
  }
}

/* ==========================================================================
   Typography & General Layout
   ========================================================================== */
a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 85px 0;
  position: relative;
  z-index: 2;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.88);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.logo-badge {
  background: var(--accent-gradient);
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-orange);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Buttons & CTAs
   STRICT REQUIREMENT:
   Orange to red gradient, black text, 8px radius, 30px orange glow, hover red glow
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 8px; /* Strict 8px radius */
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000000 !important;
  font-weight: 800;
  border: none;
  border-radius: 8px; /* Strict 8px radius */
  box-shadow: 0 0 30px var(--accent-glow-orange); /* 30px orange glow */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow-red); /* Hover glow turns RED */
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 8px;
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.1rem;
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section with Left Headline & Right 340x340 Tokamak Fusion Ring
   ========================================================================== */
.hero {
  padding: 80px 0 65px;
  position: relative;
  z-index: 2;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 50px;
}

.hero-left-content {
  text-align: left;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-pill-status {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange), 0 0 18px var(--accent-red);
  animation: corePulse 2s ease-in-out infinite;
}

/* H1 GLADOS with Orbitron 800, Orange-to-Red gradient, dual text-shadow */
.hero-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1.12;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title .brand-name {
  display: block;
  font-size: 4.4rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #FFFFFF 15%, #F59E0B 65%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.65)) drop-shadow(0 0 36px rgba(239, 68, 68, 0.45)); /* Dual-layer shadow */
}

/* "DOS" specifically in orange-to-red gradient */
.hero-title .brand-dos {
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .hero-subtitle-tag {
  display: block;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-top: 10px;
}

.hero-intro {
  margin-bottom: 34px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-desc-detail {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ==========================================================================
   Tokamak Nuclear Fusion Ring Animation (340x340px)
   3 concentric rings + 1 plasma layer, all rotateX 75°
   Outer 320px orange (8s), Middle 260px red dashed (6s rev), Inner 200px orange (4s),
   Plasma 280px conic-gradient blur(15px) (5s), Core 80px white->orange->red (2s pulse)
   4 glowing particles orbiting along 140px radius track (4s)
   ========================================================================== */
.hero-right-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tokamak-wrapper {
  width: 340px;
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

/* 3D Tilted Scene (rotateX 75°) */
.tokamak-3d-scene {
  position: absolute;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(75deg);
  transform-style: preserve-3d;
}

/* Outer Ring: 320px Orange Solid Ring (8s Clockwise) */
.ring-outer {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5), inset 0 0 16px rgba(245, 158, 11, 0.35);
  animation: ringClockwise 8s linear infinite;
}

/* Plasma Layer: 280px conic-gradient Orange/Red loop + blur(15px) (5s Clockwise) */
.plasma-layer {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #F59E0B, #EF4444, #F59E0B, #EF4444, #F59E0B);
  filter: blur(15px);
  -webkit-mask: radial-gradient(circle, transparent 40%, black 50%, black 72%, transparent 80%);
  mask: radial-gradient(circle, transparent 40%, black 50%, black 72%, transparent 80%);
  opacity: 0.85;
  animation: ringClockwise 5s linear infinite;
}

/* Middle Ring: 260px Red Dashed Ring (6s Reverse / Counter-Clockwise) */
.ring-middle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed var(--accent-red);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6), inset 0 0 16px rgba(239, 68, 68, 0.35);
  animation: ringCounter 6s linear infinite;
}

/* Inner Ring: 200px Orange Solid Ring (4s Clockwise) */
.ring-inner {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.65), inset 0 0 14px rgba(245, 158, 11, 0.4);
  animation: ringClockwise 4s linear infinite;
}

/* 4 Orbiting Particles along 140px Radius (280px Track, 4s Cycle) */
.orbit-track {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  animation: ringClockwise 4s linear infinite;
  pointer-events: none;
}

.orbit-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.op-1 {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange), 0 0 20px var(--accent-red);
}

.op-2 {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-orange);
}

.op-3 {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange), 0 0 20px var(--accent-red);
}

.op-4 {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-orange);
}

/* Center Fusion Core: 80px White -> Orange -> Red Radial Gradient */
/* (2s Breathing Pulse + Dual Box-Shadow Glow) */
.fusion-core {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, #F59E0B 45%, #EF4444 85%, transparent 100%);
  box-shadow: 0 0 30px var(--accent-orange), 0 0 65px var(--accent-red);
  animation: corePulse 2s ease-in-out infinite;
  z-index: 6;
  pointer-events: none;
}

@keyframes ringClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringCounter {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(0.92);
    box-shadow: 0 0 25px #F59E0B, 0 0 55px #EF4444;
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 45px #FFFFFF, 0 0 85px #F59E0B, 0 0 110px #EF4444;
  }
}

/* ==========================================================================
   Hero Stats
   ========================================================================== */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.stat-val span {
  color: var(--accent-orange);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Core Features (3 Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(245, 158, 11, 0.15);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-orange);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag-item {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   Streaming & AI Support Cards
   ========================================================================== */
.unlock-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.unlock-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
}

.unlock-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.unlock-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.unlock-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.unlock-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.unlock-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.service-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}

.service-badge:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.service-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, #121832 0%, #0c1228 100%);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.3);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #000;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pricing-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.pricing-plan-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 40px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 6px;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.pricing-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-cycles-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px 0 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.pricing-cycles-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pricing-cycles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
}

.pricing-cycles-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pricing-cycles-item strong {
  color: #fff;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 9px 0;
}

.pricing-feature-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.pricing-feature-item.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.edu-perk-banner {
  max-width: 950px;
  margin: 40px auto 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.edu-perk-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.edu-perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.edu-perk-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.edu-perk-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   User Testimonials
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c243f, #12182c);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 0.95rem;
}

.review-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.review-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (6 Questions)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px 24px;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: var(--bg-card-hover);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.faq-q-badge {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-orange);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.3;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 28px;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, #10162e 0%, #151d38 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin: 40px auto 80px;
  max-width: 1000px;
}

.final-cta h2 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   Footer
   STRICT REQUIREMENT: Only 4 Links, Each Opens in New Page
   1. 网站地图 (sitemap.html)
   2. 关于我们 (about.html)
   3. 服务条款 (terms.html)
   4. 隐私政策 (privacy.html)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #010410;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

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

.footer-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 6px 10px;
}

.footer-link:hover {
  color: var(--accent-orange);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpages Style (About, Terms, Privacy, Sitemap, Tech Wiki)
   ========================================================================== */
.subpage-hero {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: rgba(11, 17, 38, 0.65);
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.subpage-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.subpage-content {
  padding: 60px 0 90px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.subpage-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-bottom: 32px;
}

.subpage-box h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 10px;
}

.subpage-box p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.subpage-box p:last-child {
  margin-bottom: 0;
}

.subpage-box ul, .subpage-box ol {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.subpage-box li {
  margin-bottom: 10px;
}

.subpage-box strong {
  color: var(--text-primary);
}

.alert-box {
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.alert-box.info {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fef3c7;
}

.alert-box.warning {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fee2e2;
}

.sitemap-group {
  margin-bottom: 30px;
}

.sitemap-group h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  border-left: 3px solid var(--accent-orange);
  padding-left: 10px;
}

.sitemap-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-left: 0;
}

.sitemap-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.sitemap-item a:hover {
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-orange);
  border-color: rgba(245, 158, 11, 0.35);
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-orange);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.back-home-link:hover {
  text-decoration: underline;
}

.inline-seo-link {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
  padding: 1px 4px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.08);
}

/* ==========================================================================
   FAQ Details & Accordion (Default Expanded)
   ========================================================================== */
.faq-details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-details[open] {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.faq-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  list-style: none;
  background: rgba(245, 158, 11, 0.05);
  transition: var(--transition);
}

.faq-summary:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-orange);
}

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

.faq-summary .faq-badge {
  color: var(--accent-orange);
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.faq-details-answer {
  padding: 14px 20px 18px 46px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .faq-details-answer {
    padding: 14px 16px 16px 20px;
  }
}

/* ==========================================================================
   Responsive Breakpoints (@media queries)
   Strict Mobile Adaptations: Single Column, Large Touch Targets
   ========================================================================== */
@media (max-width: 992px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-left-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-intro {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .unlock-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .edu-perk-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .navbar {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 45px 0 35px;
  }

  .hero-title .brand-name {
    font-size: 3.2rem;
  }

  .hero-title .hero-subtitle-tag {
    font-size: 1.15rem;
  }

  .tokamak-wrapper {
    transform: scale(0.85);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 14px;
  }

  .stat-val {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-badge-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 40px 20px;
    margin: 20px auto 60px;
  }

  .final-cta h2 {
    font-size: 1.7rem;
  }

  .final-cta .btn {
    width: 100%;
    min-height: 50px;
  }

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

  .footer-link {
    font-size: 1.05rem;
    padding: 10px 18px;
  }

  .subpage-box {
    padding: 28px 20px;
  }

  .subpage-hero h1 {
    font-size: 1.9rem;
  }

  .sitemap-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title .brand-name {
    font-size: 2.6rem;
  }

  .tokamak-wrapper {
    transform: scale(0.72);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}


/* ================= Accessibility & UX Improvements (Phase 2) ================= */

/* Skip Link for Keyboard Navigation */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--accent-orange);
  color: #020617;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus, .skip-link:focus-visible {
  top: 16px;
  outline: 3px solid #ffffff;
}

/* Scroll Margin for Sticky Header Offset */
html {
  scroll-behavior: smooth;
}
section[id], article[id], div[id], h1[id], h2[id], h3[id] {
  scroll-margin-top: 85px;
}

/* Clear Keyboard Focus Styles */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .tokamak-ring-outer,
  .tokamak-ring-mid,
  .tokamak-ring-inner,
  .tokamak-plasma,
  .tokamak-core,
  .fusion-particle,
  .plasma-path,
  .btn-plasma-primary::after {
    animation: none !important;
  }
}
