/* ============================================
   TheNewsGroups.com — Modern Stylesheet (2026)
   ============================================ */

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

:root {
  /* Color Palette */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #1f2a42;
  --border-color: #2a3a5a;
  
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #1a2236 50%, #0f1729 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-card: linear-gradient(180deg, rgba(59,130,246,0.05) 0%, transparent 100%);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 58, 90, 0.3);
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Text logo fallback (replaces img when it looks bad at small sizes) */
.nav-logo-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: var(--gradient-accent);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: linear-gradient(160deg, #070b14 0%, #0d1a3a 30%, #0a1628 60%, #060a14 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-3xl);
}



.hero-text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 640px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: #fff;
}

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

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.05);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: linear-gradient(170deg, rgba(13, 26, 58, 0.9) 0%, rgba(10, 22, 40, 0.98) 50%, rgba(7, 11, 20, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow:
    0 0 80px rgba(59, 130, 246, 0.08),
    0 0 200px rgba(59, 130, 246, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-graphic {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.hero-graphic-ring {
  position: absolute;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  animation: pulse-ring 4s ease-in-out infinite;
}

.hero-graphic-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.hero-graphic-ring:nth-child(2) {
  width: 75%;
  height: 75%;
  top: 12.5%;
  left: 12.5%;
  animation-delay: 1s;
}

.hero-graphic-ring:nth-child(3) {
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
  animation-delay: 2s;
}

.hero-graphic-center {
  position: absolute;
  width: 30%;
  height: 30%;
  top: 35%;
  left: 35%;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
  font-size: 2rem;
  color: #fff;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

/* --- Server Rack SVG Hero Visual --- */
.server-rack-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Logo above the server rack */
.rack-logo-overlay {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.rack-logo-overlay img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.3));
}





.server-rack-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 60px rgba(59, 130, 246, 0.15));
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
}

.server-rack-svg .rack-unit {
  transition: fill 0.3s ease;
}
.server-rack-svg .rack-unit:hover {
  fill: rgba(59, 130, 246, 0.25);
}

/* Server LED animations */
.led-dot {
  animation: led-blink 2s ease-in-out infinite;
}
.led-dot:nth-child(even) { animation-delay: 1s; }
.led-dot:nth-child(3n) { animation-delay: 0.5s; color: #22c55e; }

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Data flow animation lines */
.data-flow {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.data-flow-line {
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 8;
  animation: data-march 3s linear infinite;
}

@keyframes data-march {
  to { stroke-dashoffset: -24; }
}

/* Server rack glowing background effect */
.rack-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Section --- */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header p {
  margin: var(--space-md) auto 0;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Providers Section --- */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.provider-card.featured {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.provider-card.featured::after {
  content: 'TOP RATED';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.provider-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-lg);
}

.provider-logo-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.provider-card h3 {
  margin-bottom: var(--space-sm);
}

.provider-card .rating {
  color: var(--warning);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.provider-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  margin: var(--space-md) 0;
}

.provider-card .price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.provider-features {
  list-style: none;
  margin: var(--space-md) 0;
  text-align: left;
}

.provider-features li {
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-bottom: 1px solid rgba(42, 58, 90, 0.3);
}

.provider-features li:last-child {
  border-bottom: none;
}

.provider-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* --- Comparison Table --- */
.comparison-wrapper {
  overflow-x: auto;
  margin-top: var(--space-2xl);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.comparison-table th {
  background: var(--bg-card);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.comparison-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(42, 58, 90, 0.3);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(59, 130, 246, 0.03);
}

.comparison-table .check {
  color: var(--success);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--danger);
}

/* --- Server Rack Background Pattern --- */
.rack-pattern {
  position: relative;
}

.rack-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(59, 130, 246, 0.02) 40px,
      rgba(59, 130, 246, 0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(59, 130, 246, 0.015) 80px,
      rgba(59, 130, 246, 0.015) 81px
    );
  pointer-events: none;
}

/* Equipment Cabinet Decorative Element */
.rack-deco {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: rgba(59, 130, 246, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.06);
  border-radius: 4px;
}

.rack-deco-row {
  display: flex;
  gap: 3px;
}

.rack-deco-unit {
  width: 12px;
  height: 8px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 1px;
  position: relative;
}

.rack-deco-unit::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #22c55e;
  animation: led-blink 2s ease-in-out infinite;
}

.rack-deco-unit:nth-child(2)::after { animation-delay: 0.7s; }
.rack-deco-unit:nth-child(3)::after { animation-delay: 1.4s; }

/* Fiber optic line decorative element */
.fiber-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.08;
  margin: 2rem 0;
  position: relative;
}

.fiber-line::before,
.fiber-line::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.3;
}

.fiber-line::before { left: 10%; }
.fiber-line::after { right: 10%; }

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-hero);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA server rack silhouette */
.cta-section::after {
  content: '⎔ ⎔ ⎔ ⎔ ⎔';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  letter-spacing: 1.5rem;
  color: var(--accent-primary);
  opacity: 0.04;
  pointer-events: none;
  font-family: var(--font-mono);
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* --- FAQ --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-md);
  max-width: 300px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer ul a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 120px 0 var(--space-3xl);
  background: var(--gradient-hero);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Page Styles --- */
.content-page {
  padding: var(--space-3xl) 0;
}

.content-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.content-page h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.content-page p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.content-page ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.content-page ul li {
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.6;
}

.content-page ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Affiliate Page Specific --- */
.commission-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.commission-tier {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.commission-tier.highlight {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.commission-percent {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .commission-tiers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .hero-visual {
    display: block;
    max-width: 340px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    flex-direction: column;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    gap: var(--space-md);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .providers-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .comparison-table {
    font-size: 0.8125rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm) var(--space-md);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
}

/* --- Utility --- */
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* --- Old style.css cleanup notice (inline will override) --- */
