/* ==========================================================================
   xsus - High-Performance Network Accelerator & Airport Landing Page CSS
   Optimized for ultra-fast loading, zero dependencies, pure native CSS
   ========================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #0f1422;
  --bg-tertiary: #151d30;
  --bg-card: rgba(21, 29, 48, 0.7);
  --bg-card-hover: rgba(29, 40, 68, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(0, 198, 255, 0.4);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #0072ff;
  --accent-purple: #7928ca;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #0072ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(0, 114, 255, 0.15) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

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

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.25);

  --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;

  --max-width: 1240px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere Glows */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 30%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: 40%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.25s ease;
}

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 13, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.brand-text {
  background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  margin-left: 6px;
}

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

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

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

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

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

.nav-badge {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  margin-left: 4px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 114, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
  filter: brightness(1.1);
}

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

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

.btn-lg {
  padding: 14px 34px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.badge-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 170px 0 100px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #00f2fe 10%, #4facfe 50%, #0072ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-badges-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
}

/* Hero Network Stats Visual Card */
.hero-stats-panel {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.stat-value.cyan { color: var(--accent-cyan); }
.stat-value.blue { color: #60a5fa; }
.stat-value.green { color: var(--accent-green); }
.stat-value.purple { color: #c084fc; }

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section General
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* ==========================================================================
   Dynamic Cards Section (Core Advantages)
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

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

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-glow);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon-box svg {
  width: 30px;
  height: 30px;
  fill: var(--accent-cyan);
}

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

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

.feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.feature-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-highlights li svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

/* Streaming & AI Cards 2-col */
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: var(--shadow-md);
}

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

.media-title h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.media-title p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

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

.pill-tag.verified {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.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-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

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

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(21, 29, 48, 0.95) 0%, rgba(15, 20, 34, 0.98) 100%);
  border: 2px solid #00f2fe;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

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

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.plan-traffic-highlight {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 242, 254, 0.2);
  margin-bottom: 16px;
}

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

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

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

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

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Section (Deep Features & Terminal)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.row-text h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.row-text p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.feature-checklist li svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Visualization Panel (Row 1 Right) */
.data-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-green);
}

.live-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-glow 1.5s infinite;
}

.latency-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.latency-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.latency-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.latency-info span.ping {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

.bar-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }
.bar-fill.cyan { background: linear-gradient(90deg, #00f2fe, #38bdf8); }
.bar-fill.purple { background: linear-gradient(90deg, #818cf8, #c084fc); }

.panel-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-metric {
  text-align: center;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}

.mini-metric-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.mini-metric-title {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Terminal Block (Row 2 Left) */
.terminal-card {
  background: #06090e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 242, 254, 0.1);
  font-family: var(--font-mono);
}

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

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

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 24px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.terminal-line {
  margin-bottom: 8px;
  word-break: break-all;
}

.t-comment { color: #64748b; }
.t-cmd { color: #38bdf8; font-weight: 600; }
.t-string { color: #34d399; }
.t-key { color: #f472b6; }
.t-success { color: #4ade80; font-weight: bold; }

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

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  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);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

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

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

.testimonial-card {
  width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

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

.stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
}

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

.user-info p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Section (Accordion Details & Summary)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  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: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 242, 254, 0.3);
}

.faq-item[open] {
  border-color: rgba(0, 242, 254, 0.4);
  background: var(--bg-card-hover);
}

.faq-summary {
  padding: 22px 26px;
  font-size: 1.0625rem;
  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-icon {
  width: 22px;
  height: 22px;
  fill: var(--accent-cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

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

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.bottom-cta-section {
  padding: 110px 0;
  position: relative;
}

.cta-box {
  background: radial-gradient(circle at center, rgba(0, 114, 255, 0.25) 0%, rgba(15, 20, 34, 0.9) 75%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 114, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-box p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   Strict requirement: Only 4 titles: 网站地图, 关于我们, 服务条款, 隐私政策
   ========================================================================== */
.footer {
  background: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 35px;
  position: relative;
  z-index: 10;
}

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

.footer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

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

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

/* ==========================================================================
   Content Subpages (About, Terms, Privacy, Recommendations)
   ========================================================================== */
.subpage-hero {
  padding: 150px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at center, rgba(0, 114, 255, 0.1) 0%, rgba(10, 13, 20, 1) 70%);
}

.subpage-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.subpage-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

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

.article-prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-prose h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 32px 0 16px;
}

.article-prose p {
  margin-bottom: 20px;
}

.article-prose ul, .article-prose ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-prose li {
  margin-bottom: 10px;
}

.article-prose a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-prose a:hover {
  color: #38bdf8;
}

.article-prose blockquote {
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 24px;
  background: rgba(0, 242, 254, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  color: #e2e8f0;
  font-style: italic;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
}

.info-table th, .info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.article-card-seo {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
}

.article-card-seo:hover {
  border-color: rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   Responsive Media Queries (@media)
   Mobile-first consideration, single-column layout on phones
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .cards-grid-3, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row:nth-child(2) .row-text {
    order: 1;
  }

  .feature-row:nth-child(2) .terminal-card {
    order: 2;
  }
}

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

  .container {
    padding: 0 18px;
  }

  /* Mobile Navbar */
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 36px;
    gap: 18px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 10px 0;
  }

  .nav-actions {
    margin-right: 12px;
  }

  .nav-actions .btn {
    padding: 6px 14px;
    font-size: 0.8125rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hero Section Mobile */
  .hero {
    padding: 130px 0 70px;
  }

  .hero-title {
    font-size: 2.15rem;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .stat-value {
    font-size: 1.7rem;
  }

  /* Single Column on Mobile for All Grids */
  .cards-grid-3, .cards-grid-2, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

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

  .section-desc {
    font-size: 1rem;
  }

  .cta-box {
    padding: 46px 20px;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  .cta-box p {
    font-size: 1.05rem;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

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

  .testimonial-card {
    width: 310px;
    padding: 22px;
  }

  .article-card-seo {
    padding: 24px 18px;
  }

  .article-prose h2 {
    font-size: 1.5rem;
  }

  .article-prose h3 {
    font-size: 1.2rem;
  }
}
