/* ===================================================
   Flybit 机场官网 - 莫兰迪冷灰 (Morandi Cool Grey) 极速科技风格
   Domain: flybitvpn.cfd
=================================================== */

:root {
  /* Morandi Cool Grey Palette */
  --bg-primary: #0e1116;
  --bg-secondary: #161a22;
  --bg-tertiary: #1f2530;
  --bg-card: rgba(28, 34, 44, 0.75);
  --bg-card-hover: rgba(38, 46, 60, 0.9);
  --border-morandi: rgba(148, 163, 184, 0.16);
  --border-morandi-glow: rgba(56, 189, 248, 0.4);
  
  /* Morandi Slate & Greys */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Cool Morandi Tech Accents */
  --accent-cyan: #38bdf8;
  --accent-ice: #67e8f9;
  --accent-indigo: #818cf8;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-rose: #fb7185;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --grad-morandi: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  --grad-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.12), transparent 40%);

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.25);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1e2634 0%, #0e1116 70%);
  min-height: 100vh;
}

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

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

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

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common */
.section {
  padding: 85px 0;
  position: relative;
}

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

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

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

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

/* Primary Tech Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #0d1117;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border-morandi);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-2px);
}

/* ===================================================
   Header & Navigation
=================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-morandi);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(14, 17, 22, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

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

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

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

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

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

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* ===================================================
   Hero Section (H1)
=================================================== */
.hero-section {
  padding: 90px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.hero-title .brand-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-tag {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-morandi);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-morandi);
}

.metric-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Cyber Terminal Mockup */
.hero-visual {
  position: relative;
}

.cyber-panel {
  background: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.1);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(14, 17, 22, 0.6);
  border-bottom: 1px solid var(--border-morandi);
}

.panel-dots {
  display: flex;
  gap: 6px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.panel-title {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-muted);
}

.panel-body {
  padding: 20px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(31, 38, 48, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: var(--transition-fast);
}

.panel-node-row:hover {
  border-color: var(--accent-cyan);
  background: rgba(38, 47, 61, 0.8);
}

.node-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.node-flag {
  font-size: 1.1rem;
}

.node-ping {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.node-ping.fast { color: var(--accent-emerald); }
.node-ping.mid { color: var(--accent-cyan); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ===================================================
   Directive 4: H2 Articles Vertical Kinetic Stream
=================================================== */
.articles-stream-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.article-stream-card {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.article-stream-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.article-stream-card:hover {
  transform: translateY(-4px) scale(1.01);
  background: var(--bg-card-hover);
  border-color: var(--border-morandi-glow);
  box-shadow: var(--shadow-glow);
}

.article-stream-card:hover::before {
  opacity: 1;
}

.article-card-thumb {
  height: 140px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e2634 0%, #2d3748 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.article-card-thumb .thumb-icon {
  font-size: 2.8rem;
  margin-bottom: 6px;
}

.article-card-thumb .thumb-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.article-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.article-tag-badge {
  color: var(--accent-cyan);
  font-weight: 600;
}

.article-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  transition: var(--transition-fast);
}

.article-stream-card:hover .article-card-title {
  color: var(--accent-cyan);
}

.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-keywords-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.mini-kw {
  font-size: 0.75rem;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
}

.article-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  color: var(--accent-cyan);
  font-size: 1.1rem;
  border: 1px solid var(--border-morandi);
  transition: var(--transition-smooth);
}

.article-stream-card:hover .article-card-btn {
  background: var(--accent-cyan);
  color: #0d1117;
  transform: translateX(4px);
}

/* ===================================================
   Directive 5: H3 Dynamic Kinetic Horizontal Pricing
=================================================== */
.pricing-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.pricing-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(35, 45, 60, 0.95) 0%, rgba(20, 26, 36, 0.95) 100%);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #0d1117;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.pricing-header h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

.pricing-cost {
  margin: 24px 0 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

.pricing-cost .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

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

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ===================================================
   Directive 6: H4 Dual Section (Left: Auto Testimonials / Right: Live Speedtest)
=================================================== */
.live-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Left: Reviews Card */
.reviews-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.reviews-carousel-box {
  position: relative;
  min-height: 220px;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s ease-in-out;
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0d1117;
  font-size: 1.1rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-morandi);
}

.review-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.review-dot.active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: var(--radius-full);
}

/* Right: Speedtest Radar */
.speedtest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(14px);
  position: relative;
}

.speedtest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.speedtest-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.node-speed-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speed-row {
  display: grid;
  grid-template-columns: 140px 1fr 90px 90px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.speed-row:hover {
  background: rgba(30, 38, 48, 0.9);
  border-color: rgba(56, 189, 248, 0.3);
}

.speed-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

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

.speed-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.speed-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: right;
  font-family: monospace;
}

.ping-val {
  font-size: 0.82rem;
  color: var(--accent-emerald);
  text-align: right;
  font-family: monospace;
  font-weight: 600;
}

/* ===================================================
   Directive 7: H5 Side-by-Side Dynamic FAQ
=================================================== */
.faq-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: rgba(148, 163, 184, 0.3);
}

.faq-card.open {
  border-color: var(--border-morandi-glow);
  background: var(--bg-card-hover);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.faq-card.open .faq-header h4 {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-card.open .faq-content {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

/* ===================================================
   Directive 8: H6 All Devices Protected Section
=================================================== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.device-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
}

.device-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.device-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.device-protocol {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.device-btn {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-top: 4px;
}

/* ===================================================
   Article Detail Page Template Styles
=================================================== */
.article-header {
  padding: 60px 0 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-morandi);
  background: radial-gradient(circle at 50% 0%, #1e2634 0%, #0e1116 70%);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.3;
}

.article-main-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 60px 0;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-morandi);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin: 28px 0 12px 0;
}

.article-body p {
  margin-bottom: 18px;
}

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

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

.article-body blockquote {
  border-left: 4px solid var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.article-body th, .article-body td {
  border: 1px solid var(--border-morandi);
  padding: 12px 16px;
  text-align: left;
}

.article-body th {
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-primary);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
}

.article-cta-box h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-morandi);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-nav-item a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: var(--transition-fast);
}

.sidebar-nav-item a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

/* ===================================================
   Footer
=================================================== */
.site-footer {
  background: #090c10;
  border-top: 1px solid var(--border-morandi);
  padding: 60px 0 30px 0;
  margin-top: 60px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================================================
   Responsive Breakpoints
=================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .live-dual-grid {
    grid-template-columns: 1fr;
  }
  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .article-stream-card {
    grid-template-columns: 1fr;
  }
  .pricing-track {
    grid-template-columns: 1fr;
  }
  .faq-dual-grid {
    grid-template-columns: 1fr;
  }
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   Client Download Modal & Download Center Styles
   Morandi Cool Grey Tech Palette
=================================================== */

body.modal-open {
  overflow: hidden !important;
}

/* Modal Wrapper */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.download-modal.active {
  visibility: visible;
  opacity: 1;
}

.download-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.download-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  background: linear-gradient(180deg, #181e28 0%, #10141d 100%);
  border: 1px solid var(--border-morandi-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.2);
  padding: 32px 28px;
  color: var(--text-primary);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.download-modal.active .download-modal-dialog {
  transform: translateY(0) scale(1);
}

.download-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-morandi);
  transition: var(--transition-fast);
  cursor: pointer;
}

.download-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.download-modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.download-modal-header .modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.download-modal-header .modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.download-modal-header .modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-selected-plan {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 14px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Platform Cards - Android & iOS Only */
.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  background: rgba(26, 32, 44, 0.75);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(38, 46, 60, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.2);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.platform-info {
  flex: 1;
  margin-bottom: 16px;
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.platform-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.btn-download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  background: var(--grad-primary);
  color: #0b1017;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.platform-card:hover .btn-download-action {
  filter: brightness(1.12);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}

/* Steps Guide */
.modal-steps-guide {
  background: rgba(14, 17, 22, 0.6);
  border: 1px dashed var(--border-morandi);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.download-modal-footer {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-morandi);
}

.download-center-link {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 600;
  transition: var(--transition-fast);
}

.download-center-link:hover {
  text-decoration: underline;
  color: var(--accent-ice);
}

/* ===================================================
   Download Center Dedicated Page Styles (/download/)
=================================================== */

.download-hero {
  padding: 70px 0 40px 0;
  text-align: center;
  position: relative;
}

.download-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.download-hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto 60px auto;
  text-align: left;
}

.download-platform-box {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-smooth);
}

.download-platform-box:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.2);
}

.download-platform-box .rec-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.download-platform-box .box-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.download-platform-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.download-platform-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.download-specs-list {
  list-style: none;
  margin-bottom: 26px;
  border-top: 1px solid var(--border-morandi);
  padding-top: 14px;
}

.download-specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.1);
}

.download-specs-list li span {
  color: var(--text-dim);
}

.download-specs-list li strong {
  color: var(--text-secondary);
}

.download-guide-section {
  padding: 50px 0 70px 0;
  background: rgba(18, 22, 29, 0.5);
  border-top: 1px solid var(--border-morandi);
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-morandi);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition-fast);
}

.step-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #0c1017;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .platform-cards {
    grid-template-columns: 1fr;
  }
  .modal-steps-guide {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .download-modal-dialog {
    padding: 24px 18px;
  }
  .download-hero-title {
    font-size: 2rem;
  }
  .download-platforms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

