/* ==========================================================================
   StreaMax IPTV PRO — Official Website Stylesheet (v2.2 PRO)
   Brand Palette: Deep Obsidian (#070A12), Surface (#111728),
   Electric Cyan (#00C6FF -> #0072FF), Crimson MAX (#FF1E42 -> #DD2476)
   ========================================================================== */

:root {
  --bg-deep: #060912;
  --bg-dark: #0a0e17;
  --bg-card: #121829;
  --bg-card-hover: #172036;
  --bg-surface: #1e2638;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 198, 255, 0.35);

  --cyan-start: #00c6ff;
  --cyan-end: #0072ff;
  --red-start: #ff1e42;
  --red-end: #dd2476;
  --purple-start: #8e2de2;
  --purple-end: #4a00e0;
  --green-start: #11998e;
  --green-end: #38ef7d;
  --amber: #f59e0b;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow-cyan: 0 0 35px rgba(0, 198, 255, 0.22);
  --shadow-glow-red: 0 0 35px rgba(255, 30, 66, 0.22);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glows & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(0, 198, 255, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(255, 30, 66, 0.11) 0%, transparent 40%),
    radial-gradient(circle at 50% 65%, rgba(142, 45, 226, 0.08) 0%, transparent 45%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Typography & Brand Text */
.brand-text-strea {
  color: var(--cyan-start);
  font-weight: 800;
}

.brand-text-max {
  color: var(--red-start);
  font-weight: 900;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #00e1ff 0%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-fire {
  background: linear-gradient(135deg, #ff385c 0%, #ff7b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.28);
  color: var(--cyan-start);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sticky Top Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 198, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.version-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red-start), var(--red-end));
  color: #fff;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

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

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

.nav-links a:hover {
  color: #fff;
}

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

.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-start) 0%, var(--cyan-end) 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 114, 255, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 198, 255, 0.52);
}

.btn-accent {
  background: linear-gradient(135deg, var(--red-start) 0%, var(--red-end) 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 30, 66, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 30, 66, 0.52);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--cyan-start);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 72px 0 60px;
  position: relative;
}

.hero-top {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 48px;
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(18, 24, 41, 0.9);
  border: 1px solid rgba(0, 198, 255, 0.32);
  font-size: 0.86rem;
  color: #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(0, 198, 255, 0.14);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 10px #38ef7d;
  animation: pulse 1.8s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  font-weight: 900;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 30px;
}

.hero-price-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(0, 198, 255, 0.12), rgba(255, 30, 66, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 22px;
  border-radius: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.price-tag-highlight {
  font-size: 1.45rem;
  font-weight: 900;
  color: #38ef7d;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.os-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.os-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 10px;
  background: rgba(18, 24, 41, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ==========================================================================
   Interactive StreaMax App Simulator Window
   ========================================================================== */
.app-showcase-wrapper {
  background: linear-gradient(180deg, rgba(0, 198, 255, 0.18), rgba(255, 30, 66, 0.12), transparent);
  padding: 2px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.app-window {
  background: #0b101d;
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #070b14;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.app-window-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.app-window-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(0, 198, 255, 0.4);
  background: rgba(0, 198, 255, 0.12);
  color: #fff;
  transition: all 0.2s ease;
}

.profile-switch-btn.kids-active {
  background: rgba(56, 239, 125, 0.16);
  border-color: #38ef7d;
  color: #38ef7d;
}

.engine-indicator {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-family: monospace;
}

.app-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #0e1424;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.app-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.app-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.app-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.25));
  color: #fff;
  border-color: rgba(0, 198, 255, 0.45);
  box-shadow: 0 4px 15px rgba(0, 198, 255, 0.15);
}

.app-viewport {
  padding: 24px;
  min-height: 410px;
  background: radial-gradient(circle at top right, rgba(0, 198, 255, 0.06), transparent 60%);
}

.preview-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

.preview-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Preview Dashboard Grid */
.sim-grid-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

.sim-sidebar {
  background: #080c17;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
}

.sim-sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.sim-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 4px;
  cursor: pointer;
}

.sim-cat-item.active,
.sim-cat-item:hover {
  background: rgba(0, 198, 255, 0.14);
  color: var(--cyan-start);
  font-weight: 600;
}

.sim-cat-count {
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.sim-main-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-player-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 14px;
  border: 1px solid rgba(0, 198, 255, 0.3);
  padding: 20px;
  position: relative;
  aspect-ratio: 16 / 7.2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.sim-player-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #e11d48;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.quality-badges {
  display: flex;
  gap: 6px;
}

.q-badge {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38ef7d;
}

.sim-player-center {
  text-align: center;
  z-index: 2;
}

.sim-player-center h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.sim-player-center p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.sim-seekbar-wrap {
  z-index: 2;
  background: rgba(6, 9, 18, 0.75);
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.sim-seekbar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sim-seekbar-fill {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-start), var(--red-start));
}

.sim-seekbar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #94a3b8;
}

.sim-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sim-channel-card {
  background: #101729;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  transition: all 0.2s ease;
}

.sim-channel-card:hover {
  border-color: var(--cyan-start);
  transform: translateY(-2px);
}

.sim-channel-card h5 {
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.sim-channel-card span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* MultiView 4x Grid Simulator */
.multiview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.mv-layout-btns {
  display: flex;
  gap: 8px;
}

.mv-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: #131c31;
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.mv-btn.active {
  background: var(--cyan-end);
  border-color: var(--cyan-start);
  color: #fff;
}

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

.multiview-grid.layout-2x {
  grid-template-columns: repeat(2, 1fr);
}
.multiview-grid.layout-3x {
  grid-template-columns: repeat(3, 1fr);
}

.mv-cell {
  background: linear-gradient(145deg, #11192c, #0a0f1d);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.mv-cell.audio-active {
  border-color: var(--cyan-start);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.22);
}

/* Radio Visualizer Canvas Box */
.radio-sim-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: stretch;
}

.radio-canvas-card {
  background: #070b14;
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#radioVisualizerCanvas {
  width: 100%;
  height: 210px;
  border-radius: 10px;
  background: #050811;
}

.vis-mode-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 14, 23, 0.65);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Important Features Bento Grid
   ========================================================================== */
.features-section {
  padding: 96px 0;
}

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

.feature-card {
  background: rgba(18, 24, 41, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(0, 198, 255, 0.12);
  border: 1px solid rgba(0, 198, 255, 0.28);
}

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

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

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

.f-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   Device Compatibility & OS Ecosystem Section
   ========================================================================== */
.compatibility-section {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent, rgba(14, 19, 34, 0.7), transparent);
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.25s ease;
}

.platform-card:hover {
  border-color: var(--cyan-start);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-4px);
}

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

.platform-icon-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.platform-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.platform-header span {
  font-size: 0.82rem;
  color: var(--cyan-start);
  font-weight: 600;
}

.device-checklist {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.check-icon {
  color: #38ef7d;
  font-weight: 900;
  flex-shrink: 0;
}

.device-chips-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 700;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.device-chip {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(0, 198, 255, 0.08);
  border: 1px solid rgba(0, 198, 255, 0.2);
  color: #e2e8f0;
  font-weight: 600;
}

/* Feature Parity Table */
.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.matrix-table-wrap {
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th,
.matrix-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table th {
  background: #090d18;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.matrix-table td {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Pricing Section ($10 / Year Subscription)
   ========================================================================== */
.pricing-section {
  padding: 96px 0;
}

.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-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #16203a 0%, #0f1629 100%);
  border: 2px solid var(--cyan-start);
  box-shadow: var(--shadow-glow-cyan), var(--shadow-card);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-start), var(--red-end));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(255, 30, 66, 0.4);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

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

.price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan-start);
}

.price-amount {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.price-subnote {
  font-size: 0.82rem;
  color: #38ef7d;
  font-weight: 600;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

/* ==========================================================================
   Downloads & Terminal Installation Section
   ========================================================================== */
.downloads-section {
  padding: 96px 0;
  background: rgba(10, 14, 23, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.install-tabs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.install-tab-btn {
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.install-tab-btn.active {
  background: linear-gradient(135deg, var(--cyan-start), var(--cyan-end));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.35);
}

.install-pane {
  display: none;
  max-width: 920px;
  margin: 0 auto;
}

.install-pane.active {
  display: block;
}

.download-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.dl-package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.terminal-card {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0d1322;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.copy-cmd-btn {
  background: rgba(0, 198, 255, 0.15);
  border: 1px solid rgba(0, 198, 255, 0.35);
  color: var(--cyan-start);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.terminal-code {
  padding: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.86rem;
  color: #38ef7d;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.65;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 96px 0;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Subscription Checkout Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.84);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #0e1322;
  border: 1px solid rgba(0, 198, 255, 0.4);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #121829;
  border: 1px solid #24304f;
  color: #fff;
  font-size: 0.94rem;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan-start);
}

/* Footer */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: #04070e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--cyan-start);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .features-grid,
  .platform-cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .sim-grid-layout,
  .radio-sim-container {
    grid-template-columns: 1fr;
  }
  .sim-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #080c17;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .download-box-grid,
  .stats-grid,
  .footer-grid,
  .multiview-grid {
    grid-template-columns: 1fr;
  }
}
