/* ==========================================================================
   LinkCube (linkcube.buzz) - 3D Parametric Bio-Cube UI Design System
   Eco-Cyber Palette: Chlorophyll Dark, Luminous Emerald & Mint-Frost Acrylic
   Strictly Zero Generic AI Bot Icons | Pure Native Performance
   ========================================================================== */

/* --- CSS Variables & Eco-Cyber Palette --- */
:root {
  /* Day Mode (Default) - Translucent Mint-Frost & Eco-Jade */
  --bg-primary: #f4fbf7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eaf6ef;
  --bg-acrylic: rgba(255, 255, 255, 0.78);
  --bg-card: rgba(255, 255, 255, 0.9);
  
  --border-acrylic: rgba(16, 185, 129, 0.22);
  --border-subtle: rgba(209, 236, 222, 0.8);
  --border-hover: #10b981;

  --text-primary: #082216;
  --text-secondary: #264a37;
  --text-muted: #567866;
  --text-inverse: #ffffff;

  /* Eco-Cyber Brand Colors */
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-deep: #059669;
  --mint-frost: #34d399;
  --chlorophyll-base: #07140e;
  --laser-core: #10b981;
  
  --gradient-bio: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  --gradient-acrylic: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(234, 246, 239, 0.6) 100%);
  --gradient-glow: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.12) 0%, rgba(244, 251, 247, 0) 70%);

  --shadow-sm: 0 2px 8px rgba(7, 20, 14, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(7, 20, 14, 0.06), 0 0 15px rgba(16, 185, 129, 0.08);
  --shadow-lg: 0 20px 35px -8px rgba(7, 20, 14, 0.1), 0 0 25px rgba(16, 185, 129, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode - Deep Chlorophyll Cyber Grid (#07140e) */
[data-theme="dark"] {
  --bg-primary: #07140e;
  --bg-secondary: #0b1f17;
  --bg-tertiary: #102b20;
  --bg-acrylic: rgba(11, 31, 23, 0.75);
  --bg-card: rgba(13, 35, 26, 0.85);

  --border-acrylic: rgba(52, 211, 153, 0.22);
  --border-subtle: rgba(16, 185, 129, 0.15);
  --border-hover: #34d399;

  --text-primary: #ecfdf5;
  --text-secondary: #a7f3d0;
  --text-muted: #6ee7b7;
  --text-inverse: #07140e;

  --emerald: #34d399;
  --emerald-glow: rgba(52, 211, 153, 0.45);
  --emerald-deep: #10b981;
  --mint-frost: #6ee7b7;
  --laser-core: #34d399;

  --gradient-bio: linear-gradient(135deg, #34d399 0%, #10b981 60%, #059669 100%);
  --gradient-acrylic: linear-gradient(135deg, rgba(16, 43, 32, 0.85) 0%, rgba(7, 20, 14, 0.6) 100%);
  --gradient-glow: radial-gradient(circle at 50% 12%, rgba(52, 211, 153, 0.18) 0%, rgba(7, 20, 14, 0) 75%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(52, 211, 153, 0.25);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle Bio-Cyber Background Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 50% 0%, var(--emerald-glow) 0%, transparent 60%),
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-deep);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

[data-theme="dark"] .section-tag {
  color: var(--mint-frost);
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

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

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-acrylic);
  border-bottom: 1px solid var(--border-acrylic);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px var(--emerald-glow));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
  transform: rotate(-5deg) scale(1.08);
}

.nav-badge-sub {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-full);
  color: var(--emerald-deep);
  font-weight: 600;
  margin-left: 4px;
}

[data-theme="dark"] .nav-badge-sub {
  color: var(--mint-frost);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 4px;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.25s ease, left 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Recommended News link special highlight */
.nav-link-special {
  position: relative;
  color: var(--emerald);
  font-weight: 650;
}

.nav-link-special::before {
  content: "HOT";
  position: absolute;
  top: -6px;
  right: -18px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  background: var(--gradient-bio);
  color: #ffffff;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

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

/* Translucent Micro-Glass Day/Night Switch Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-acrylic);
  border: 1px solid var(--border-acrylic);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 14px var(--emerald-glow);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s ease;
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

/* --- Buttons & Calls to Action --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-bio);
  color: #ffffff;
  box-shadow: 0 6px 20px -4px var(--emerald-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px var(--emerald-glow);
  color: #ffffff;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-acrylic);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

/* --- Hero Section with 3D Bio-Cube Isometric Matrix --- */
.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--emerald-deep);
  margin-bottom: 22px;
  box-shadow: 0 0 16px var(--emerald-glow);
}

[data-theme="dark"] .hero-pill {
  color: var(--mint-frost);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-glow);
  animation: pulseCore 2.2s infinite ease-in-out;
}

@keyframes pulseCore {
  0% { transform: scale(0.95); box-shadow: 0 0 0 2px var(--emerald-glow); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 2px var(--emerald-glow); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-brand-highlight {
  background: var(--gradient-bio);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hero-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 580px;
}

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

.hero-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-meta-item svg {
  color: var(--emerald);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* 3D Bio-Cube Canvas Container */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 1200px;
}

.cube-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: 470px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  box-shadow: var(--shadow-lg), 0 0 35px var(--emerald-glow);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  transform-style: preserve-3d;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.cube-showcase-wrapper:hover {
  box-shadow: var(--shadow-lg), 0 0 50px var(--emerald-glow);
}

.cube-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}

.cube-render-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  animation: floatBreathing 5s infinite ease-in-out;
}

@keyframes floatBreathing {
  0% { transform: scale(1) translateY(0); filter: brightness(1); }
  50% { transform: scale(1.025) translateY(-4px); filter: brightness(1.06); }
  100% { transform: scale(1) translateY(0); filter: brightness(1); }
}

.cube-showcase-wrapper:hover .cube-render-img {
  transform: scale(1.04);
}

.cube-radial-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 65% 65%, rgba(52, 211, 153, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating Holographic Telemetry HUD Badges */
.hud-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-acrylic);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md), 0 0 14px var(--emerald-glow);
  white-space: nowrap;
  pointer-events: none;
  animation: hudBob 4s infinite ease-in-out;
}

.hud-badge-top {
  top: -12px;
  left: 18px;
  animation-delay: 0s;
}

.hud-badge-bottom-left {
  bottom: 24px;
  left: -14px;
  animation-delay: 1.3s;
}

.hud-badge-bottom-right {
  top: 36%;
  right: -16px;
  animation-delay: 2.5s;
}

@keyframes hudBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.canvas-hint-pill {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text-secondary);
  background: var(--bg-acrylic);
  border: 1px solid var(--border-acrylic);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  z-index: 11;
}

.canvas-hint-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseCore 1.5s infinite;
}

/* --- Core Advantages (3 Graphic Cards) with Volumetric Extrusion --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bio);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  margin-bottom: 24px;
  box-shadow: 0 0 16px var(--emerald-glow);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.spec-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* --- Showcase: Streaming & AI Dual Cards --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  color: var(--emerald-deep);
}

[data-theme="dark"] .showcase-badge {
  color: var(--mint-frost);
}

.showcase-badge svg {
  color: var(--emerald);
}

.showcase-title {
  font-size: 1.65rem;
  font-weight: 850;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.showcase-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.pill-item:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.showcase-footer-box {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-left: 4px solid var(--emerald);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Real Pricing Section (Updated to authentic market rates) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

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

.pricing-card.featured {
  border: 2px solid var(--emerald);
  box-shadow: 0 12px 35px -8px var(--emerald-glow);
  transform: scale(1.03);
  z-index: 2;
}

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

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-bio);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px var(--emerald-glow);
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.currency {
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--text-primary);
}

.price-num {
  font-size: 3.1rem;
  font-weight: 950;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

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

.plan-features {
  flex-grow: 1;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.feature-line svg {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-line strong {
  color: var(--text-primary);
}

/* Extra On-Demand Banner */
.on-demand-banner {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px dashed var(--border-acrylic);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.on-demand-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.on-demand-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

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

.stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-bio);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 12px var(--emerald-glow);
}

.reviewer-meta h4 {
  font-size: 0.96rem;
  font-weight: 750;
  color: var(--text-primary);
}

.reviewer-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.06rem;
  font-weight: 750;
  color: var(--text-primary);
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--emerald);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 360px;
  padding: 0 26px 24px;
}

/* --- Bottom CTA Banner --- */
.cta-banner {
  background: var(--gradient-bio);
  border-radius: var(--radius-lg);
  padding: 64px 44px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 45px -12px var(--emerald-glow);
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-banner-title {
  font-size: 2.35rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.12rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn-white {
  background: #ffffff;
  color: #059669;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  color: #047857;
}

/* --- Footer (Strictly keeping ONLY 4 titles, new window) --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-acrylic);
  padding: 56px 0 38px;
  margin-top: 70px;
}

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

.footer-link {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  padding: 4px 0;
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

/* --- Secondary Pages & Recommended News Article Cards --- */
.subpage-hero {
  padding: 68px 0 44px;
  text-align: center;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-acrylic);
  margin-bottom: 44px;
}

.subpage-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.subpage-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  line-height: 1.85;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--text-primary);
  margin: 38px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-primary);
  margin: 26px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.article-body ul {
  margin: 0 0 22px 24px;
  list-style: disc;
}

.article-body li {
  margin-bottom: 8px;
}

.article-highlight-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 26px 0;
  color: var(--text-primary);
  box-shadow: 0 0 14px var(--emerald-glow);
}

.article-highlight-box strong {
  color: var(--emerald);
}

/* Recommended Articles News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-category {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--emerald-deep);
  font-weight: 700;
  border: 1px solid var(--border-acrylic);
}

[data-theme="dark"] .news-category {
  color: var(--mint-frost);
}

.news-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Long-Form SEO Article Components --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--emerald);
}

.breadcrumbs span.separator {
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumbs span.current {
  color: var(--emerald);
  font-weight: 600;
}

.table-of-contents {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 36px;
  box-shadow: var(--shadow-sm);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.toc-header svg {
  color: var(--emerald);
  width: 20px;
  height: 20px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-item {
  font-size: 0.95rem;
}

.toc-item a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  transition: var(--transition-fast);
}

.toc-item a:hover {
  color: var(--emerald);
  transform: translateX(4px);
}

.toc-item a::before {
  content: "§";
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.85rem;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-acrylic);
  background: var(--bg-card);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.article-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 750;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table tr:hover td {
  background: var(--bg-tertiary);
}

.article-faq-box {
  margin: 44px 0 24px;
  border-top: 2px dashed var(--border-acrylic);
  padding-top: 32px;
}

.related-reading-box {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.related-reading-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-acrylic);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.related-card h4 {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.45;
}

.related-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.related-link {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Responsive Adaptations (@media) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-meta-strip {
    justify-content: center;
  }
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-menu {
    display: none; /* Clean mobile simplicity */
  }

  .hero {
    padding: 44px 0 50px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

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

  .cube-showcase-wrapper {
    max-width: 330px;
    height: 330px;
    padding: 10px;
  }

  .hud-badge-bottom-left {
    left: 4px;
    bottom: 12px;
  }

  .hud-badge-bottom-right {
    display: none; /* Keep mobile view clean */
  }

  .grid-3, .showcase-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pricing-card.featured {
    order: -1;
  }

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

  .article-body {
    padding: 26px 20px;
  }
}
