/* ==========================================================================
   一枝红杏 (yizhihongxingjc.homes) - Design System & Modern Cyber Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette */
  --bg-dark: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 42, 109, 0.3);
  
  --primary: #ff2a6d;
  --primary-hover: #ff5388;
  --primary-glow: rgba(255, 42, 109, 0.4);
  --secondary: #05d9e8;
  --secondary-glow: rgba(5, 217, 232, 0.3);
  --accent: #7b2cbf;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(255, 42, 109, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 42, 109, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(5, 217, 232, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(123, 44, 191, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography & Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--secondary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 42, 109, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 42, 109, 0.3);
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.15);
}

.badge-cyan {
  background: rgba(5, 217, 232, 0.12);
  color: var(--secondary);
  border-color: rgba(5, 217, 232, 0.3);
}

/* Buttons & Direct CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d61c55 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 42, 109, 0.5);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #e0245e 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-cyan {
  background: linear-gradient(135deg, var(--secondary) 0%, #00b4d8 100%);
  color: #0b0f19;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(5, 217, 232, 0.3);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(5, 217, 232, 0.5);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section & Live 3s Dashboard */
.hero {
  padding: 5rem 0 4rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 1.2rem 0 1.5rem 0;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-features-list {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-features-list span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-features-list i {
  color: var(--success);
}

/* Dashboard Technical Trust Card */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--success); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--secondary);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Latency Radar List */
.node-radar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.node-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 42, 109, 0.2);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.flag {
  font-size: 1.1rem;
}

.node-line {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(123, 44, 191, 0.2);
  color: #c084fc;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ping-bar-bg {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.ping-bar-fill {
  height: 100%;
  background: var(--success);
}

/* Cards Grid Sections */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 42, 109, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 42, 109, 0.2);
}

.feature-card:nth-child(2n) .feature-icon {
  background: rgba(5, 217, 232, 0.1);
  color: var(--secondary);
  border-color: rgba(5, 217, 232, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

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

/* Target Audience Scenarios Section */
.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.scenario-card:hover {
  border-color: rgba(5, 217, 232, 0.4);
  transform: translateY(-4px);
}

.scenario-badge {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.2) 0%, rgba(123, 44, 191, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
}

.scenario-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.scenario-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.scenario-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scenario-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--secondary);
}

/* Pricing Section */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: rgba(25, 20, 36, 0.85);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.93rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li i {
  color: var(--success);
}

/* Article Hub Section */
.article-search-bar {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.article-search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.article-search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 42, 109, 0.2);
}

.article-search-bar i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

.article-categories {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cat-btn {
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.cat-btn:hover, .cat-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 217, 232, 0.4);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.article-tag {
  color: var(--secondary);
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;

  /* Line clamp 2 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;

  /* Line clamp 3 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* FAQ Accordion Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

/* Article Modal Overlay System */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.7);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
}

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

.article-full-body h1 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.article-full-body h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-full-body h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 1.5rem 0 0.8rem 0;
}

.article-full-body p {
  margin-bottom: 1.2rem;
}

.article-full-body ul, .article-full-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.article-full-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: rgba(255, 42, 109, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.8rem 0;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 42, 109, 0.15) 0%, rgba(5, 217, 232, 0.15) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

/* Sticky Conversion Floating Bar */
.floating-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--primary-glow);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.floating-text {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer Section */
.footer {
  background: #070a12;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-geo-tags {
  display: flex;
  gap: 0.8rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .dash-metrics {
    grid-template-columns: 1fr;
  }
  
  .floating-bar {
    width: 92%;
    justify-content: space-between;
    padding: 0.6rem 1rem;
  }
  
  .floating-text span {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 1.5rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .compare-table-wrapper {
    overflow-x: scroll;
  }
}

/* ==========================================================================
   Interactive Component Extensions
   ========================================================================== */

/* Hero Speed Test Action Bar */
.dash-speed-test {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-color);
}

.btn-speed-test {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(5, 217, 232, 0.08);
  border: 1px solid rgba(5, 217, 232, 0.3);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-speed-test:hover {
  background: rgba(5, 217, 232, 0.18);
  box-shadow: 0 0 20px rgba(5, 217, 232, 0.3);
}

.speed-results-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.speed-metric {
  text-align: center;
}

.speed-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.speed-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
}

/* Compare Table Section */
.compare-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.compare-table th, .compare-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.compare-table th {
  background: rgba(0, 0, 0, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.compare-table th.highlight-col {
  background: rgba(255, 42, 109, 0.15);
  color: var(--primary);
  font-size: 1.05rem;
}

.compare-table td.highlight-col {
  background: rgba(255, 42, 109, 0.04);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.status-pass {
  color: var(--success);
}

.status-fail {
  color: var(--text-dim);
}

.status-warn {
  color: var(--warning);
}

/* Calculator Section */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-group {
  margin-bottom: 1.75rem;
}

.calc-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.calc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.calc-chip.active {
  background: rgba(5, 217, 232, 0.12);
  border-color: rgba(5, 217, 232, 0.4);
  color: var(--secondary);
}

.calc-chip input {
  display: none;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--secondary);
}

.calc-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-result-box {
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid rgba(255, 42, 109, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 42, 109, 0.15);
}

.result-header {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.result-gb-val {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--primary);
  line-height: 1;
}

.result-gb-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.recommended-plan-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Client Setup Hub */
.client-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.client-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.client-tab-btn.active, .client-tab-btn:hover {
  background: rgba(255, 42, 109, 0.12);
  border-color: rgba(255, 42, 109, 0.4);
  color: #fff;
}

.tab-pane {
  display: none;
}

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

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.client-card:hover {
  border-color: rgba(5, 217, 232, 0.3);
  transform: translateY(-3px);
}

.client-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.client-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.client-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.client-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.client-features i {
  color: var(--success);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Testimonial Section */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255, 42, 109, 0.3);
  transform: translateY(-4px);
}

.test-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.test-user h4 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.test-user span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.test-stars {
  color: var(--warning);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.test-badge {
  font-size: 0.78rem;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
