@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* --- Design Tokens --- */
:root {
  --font-family: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette */
  --bg-dark: #060913;
  --bg-dark-accent: #0b0f1d;
  --card-bg: rgba(15, 23, 42, 0.55);
  --card-bg-hover: rgba(22, 38, 77, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(59, 130, 246, 0.4);
  
  --primary: #1d4ed8;
  --primary-glow: rgba(29, 78, 216, 0.35);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
  
  /* Text Colors */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  
  /* Functional Colors */
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --warning: #f59e0b;
  
  /* Spacing */
  --container-max-width: 1200px;
  --transition-speed: 0.3s;
}

/* --- Base & Resets --- */
*, *::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-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Decorative Background Glows */
body::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  top: 45%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  letter-spacing: -0.01em;
}

h2 .gradient-text {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  background: none;
  -webkit-text-fill-color: initial;
}

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

p {
  color: var(--text-muted);
}

/* --- Buttons & Links --- */
a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  left: 125%;
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 15px rgba(6, 182, 212, 0.3);
}

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

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

/* --- Header Section --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  background: rgba(6, 9, 19, 0.7);
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: url(#logo-grad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

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

/* --- Hero Section --- */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  animation: pulse-border 3s infinite alternate;
}

.hero-badge span.dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero .lead {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Hero Network Visualizer Mockup */
.hero-visualizer {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(37, 99, 235, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

.visualizer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.visualizer-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visualizer-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: all var(--transition-speed);
}

.node-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.node-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.node-latency {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.node-latency::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.speed-gauge-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(37, 99, 235, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  padding: 2rem 1rem;
  position: relative;
}

.gauge-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.03);
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: rotate-gauge 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
  margin-bottom: 1rem;
}

.gauge-circle span.value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.gauge-circle span.unit {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.gauge-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.gauge-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Features Section --- */
.features {
  padding: 8rem 0;
  background-color: var(--bg-dark-accent);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border) 50%, transparent);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.1);
  background: var(--card-bg-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all var(--transition-speed);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Speed Latency Display Map --- */
.latency-promo {
  padding: 8rem 0;
  position: relative;
}

.latency-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.latency-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.latency-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.features-mini-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mini-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mini-item-icon {
  color: var(--accent-cyan);
  margin-top: 2px;
}
.mini-item-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-item-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.mini-item-text p {
  font-size: 0.85rem;
  margin: 0;
}

.latency-visual {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.visual-title-box {
  margin-bottom: 2rem;
}

.visual-title-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.visual-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.bar-name {
  font-weight: 500;
}

.bar-value {
  font-weight: 600;
  font-family: monospace;
}

.bar-bg {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.5s ease-in-out;
}

.bar-fill.accent-cyan {
  background: var(--gradient-primary);
  width: 12%; /* Low latency is short */
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.bar-fill.normal-blue {
  background: #3b82f6;
  width: 45%;
}

.bar-fill.gray-slow {
  background: #4b5563;
  width: 90%;
}

.bar-container.best .bar-value {
  color: var(--accent-cyan);
}

.bar-container.best .bar-name {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Pricing Section --- */
.pricing {
  padding: 8rem 0;
  background-color: var(--bg-dark-accent);
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border) 50%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-speed) ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-card.featured {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(13, 25, 54, 0.6);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15), 0 0 30px rgba(6, 182, 212, 0.05);
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  border-color: var(--accent-cyan);
}

.pricing-card:not(.featured):hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-price {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.plan-price .amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.plan-features li.disabled {
  color: var(--text-dark);
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-features li.disabled svg {
  stroke: var(--text-dark);
}

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

/* --- FAQ Section --- */
.faq {
  padding: 8rem 0;
  position: relative;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

details {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

details[open] {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(13, 20, 38, 0.4);
}

summary {
  list-style: none;
  padding: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Hide standard arrows */
summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition-speed) ease;
}

details[open] summary::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2306b6d4' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
}

/* --- Call To Action Footer Banner --- */
.cta-banner {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 24px;
  padding: 4.5rem 2rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.cta-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.cta-banner-card h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.cta-banner-card p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
}

/* --- Footer Section --- */
footer {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 280px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* --- Keyframe Animations --- */
@keyframes rotate-gauge {
  0% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(20deg);
  }
}

@keyframes pulse-border {
  0% {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  100% {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
  }
}

/* --- Responsive Media Queries (Mobile-First Optimization) --- */

/* Tablets / Small Desktops */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  
  .latency-wrapper {
    gap: 2.5rem;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  
  .nav-links {
    display: none; /* Hide on mobile to simplify header, user can use CTAs directly */
  }
  
  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 3rem auto;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .visualizer-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .latency-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .latency-content {
    text-align: center;
  }
  
  .latency-content h2 {
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none; /* Don't float cards on mobile */
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand p {
    margin: 1rem auto 0 auto;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* --- Blog Page Styles --- */
.blog-content {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.article-body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.article-text h2 {
  font-size: 1.75rem;
  text-align: left;
  margin: 2.5rem 0 1rem 0;
  color: #fff;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 0.75rem;
}

.article-text h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem 0;
  color: #fff;
}

.article-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.article-text strong {
  color: var(--accent-cyan);
}

.article-text blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(37, 99, 235, 0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
}

/* Sidebar conversion */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 6rem;
}

.sidebar-cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sidebar-cta-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.sidebar-cta-card p {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.sidebar-post-list {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
}

.sidebar-post-list h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.sidebar-post-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-post-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.sidebar-post-list a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .blog-sidebar {
    position: relative;
    top: 0;
  }
}

