/* ==========================================================================
   365VPN Official Landing Page Stylesheet
   Pure Vanilla CSS - High Performance & Second-Open Speed
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #070913;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(28, 38, 60, 0.85);
  --bg-nav: rgba(7, 9, 19, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --primary-glow: rgba(56, 189, 248, 0.25);
  
  --secondary: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.3);
  
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-purple: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Layout */
  --container-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    var(--bg-main);
}

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

img, svg {
  display: block;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title .text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

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

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.brand-text span {
  color: var(--primary);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav Actions (CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.btn-ghost {
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Menu State */
#mobile-menu-checkbox {
  display: none;
}

#mobile-menu-checkbox:checked ~ .site-header .mobile-toggle span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
#mobile-menu-checkbox:checked ~ .site-header .mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scale(0.2);
}
#mobile-menu-checkbox:checked ~ .site-header .mobile-toggle span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: #fbbf24;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  animation: pulse-badge 2.5s infinite;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 10px #f59e0b;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  }
  50% {
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.5);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .brand-highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
  max-width: 880px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.trust-item .val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.trust-item .lbl {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Dynamic Cards Section (Core Advantages & Streaming/AI)
   ========================================================================== */
.features-section {
  padding: 80px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.15);
}

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

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-card:nth-child(2) .card-icon {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #818cf8;
}

.feature-card:nth-child(3) .card-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

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

/* Streaming & AI Support Cards Row */
.streaming-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.media-ai-card {
  background: linear-gradient(145deg, rgba(18, 24, 38, 0.8), rgba(13, 17, 28, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.media-ai-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.media-ai-card .card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.media-ai-card .badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
}

.media-ai-card:nth-child(2) .badge-icon {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
}

.media-ai-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.media-ai-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Platform Badges Pill Cluster */
.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 500;
}

.platform-pill svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.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: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* Highlighted VIP2 Card */
.pricing-card.popular {
  background: linear-gradient(160deg, rgba(23, 33, 56, 0.85), rgba(15, 23, 42, 0.95));
  border: 2px solid #38bdf8;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.25);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.35);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 24px;
}

.plan-tier {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.plan-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 12px;
}

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

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

.cycle {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.data-allowance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.plan-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 48px;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

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

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   Why Choose Section (Deep Features & Terminal)
   ========================================================================== */
.why-section {
  padding: 80px 0;
}

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.why-row.reverse {
  direction: rtl;
}

.why-row.reverse > * {
  direction: ltr;
}

.why-content h2,
.why-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 18px;
}

.why-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.why-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.highlight-item strong {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
}

.highlight-item span {
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Visual Dynamic Stats Panel (Row 1 Right) */
.dynamic-stats-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.stat-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-number small {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* Bandwidth Live Bar */
.bandwidth-monitor {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.monitor-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.speed-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.speed-bar-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
  border-radius: var(--radius-full);
  animation: bar-glow 3s ease-in-out infinite alternate;
}

@keyframes bar-glow {
  0% { filter: brightness(1); width: 84%; }
  100% { filter: brightness(1.2); width: 92%; }
}

/* Geek Terminal Block (Row 2 Left) */
.terminal-block {
  background: #090d16;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.1);
}

.terminal-titlebar {
  background: #0d121f;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #eab308; }
.control-dot.green { background: #22c55e; }

.terminal-filename {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.code-comment { color: #64748b; }
.code-keyword { color: #f472b6; }
.code-func { color: #38bdf8; }
.code-str { color: #34d399; }
.code-sys { color: #fbbf24; font-weight: 700; }
.code-pass { color: #10b981; font-weight: 700; }

/* ==========================================================================
   Testimonials Marquee Section
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  animation: marquee-scroll 32s linear infinite;
  padding-right: 24px;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.review-card {
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
}

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

.review-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Secondary CTA Section
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0 90px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%), var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.15);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

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

.cta-guarantee-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.guarantee-item svg {
  color: var(--accent-green);
}

/* ==========================================================================
   FAQ Section (Accordion with <details> and <summary>)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(22, 30, 48, 0.85);
}

.faq-summary {
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

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

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #04060c;
  padding: 60px 0 40px;
  margin-top: 60px;
}

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

.footer-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dark);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   Subpages Style (About, Terms, Privacy, Sitemap)
   ========================================================================== */
.subpage-hero {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   SEO Articles Hub Styles (recommend-8d7e.html)
   ========================================================================== */
.articles-hub-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 50px 0 100px;
}

/* Sticky TOC Sidebar */
.toc-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

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

.toc-item a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toc-item a:hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  transform: translateX(4px);
}

/* Main Articles Feed */
.articles-feed {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.seo-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  scroll-margin-top: calc(var(--nav-height) + 24px);
  transition: border-color var(--transition-fast);
}

.seo-article-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

/* Article Header */
.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.article-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-tag.brand {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-tag.hot {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-tag.guide {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-tag.tech {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.article-title {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

/* Article Body Typography */
.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.article-body h4 {
  font-size: 1.12rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 22px 0 10px;
}

.article-body p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}

.article-body strong {
  color: #f1f5f9;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

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

/* Callout Box */
.seo-callout {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 22px 0;
  display: flex;
  gap: 14px;
}

.seo-callout.tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

.callout-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
  margin-top: 2px;
}

.seo-callout.tip .callout-icon {
  color: var(--accent-green);
}

.callout-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.callout-text strong {
  color: #ffffff;
}

/* High Visibility SEO Links */
.seo-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(56, 189, 248, 0.4);
  transition: all var(--transition-fast);
}

.seo-link:hover {
  color: #7dd3fc;
  text-decoration-color: #38bdf8;
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

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

.seo-table th, .seo-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.seo-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 700;
}

.seo-table td {
  color: var(--text-muted);
}

.seo-table tr:hover td {
  background: rgba(56, 189, 248, 0.04);
}

.status-badge-good {
  color: var(--accent-green);
  font-weight: 600;
}

.status-badge-warn {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Code Snippets */
.code-inline {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.article-code-block {
  background: #090d16;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
  margin: 20px 0;
}

/* Footer Tag Cluster in Article */
.article-tags-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.tag-label {
  font-size: 0.82rem;
  color: var(--text-dark);
}

.tag-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Responsive adjustment for SEO Hub */
@media (max-width: 1024px) {
  .articles-hub-container {
    grid-template-columns: 1fr;
  }
  .toc-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 24px;
  }
}


.subpage-content {
  padding: 60px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}

.legal-article h2 {
  font-size: 1.6rem;
  color: #ffffff;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.legal-article p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.legal-article ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.legal-article ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-article ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}

.about-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.about-feature-box h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.sitemap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 14px;
}

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

.sitemap-card a {
  color: #cbd5e1;
  font-size: 0.95rem;
  display: inline-block;
  transition: color var(--transition-fast);
}

.sitemap-card a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .why-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 60px;
  }
  .why-row.reverse {
    direction: ltr;
  }

  .streaming-ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  /* When checkbox is checked, expand mobile drawer */
  #mobile-menu-checkbox:checked ~ .site-header .nav-drawer {
    display: flex;
  }

  .nav-drawer {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #090d18;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-drawer .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
  }

  .nav-drawer .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

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

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

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

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