/* Styling Tokens & Custom Variables (Blue-to-Green Theme) */
:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Courier New', Courier, monospace;

  /* Colors - Light Theme with Dark Gradient Hero */
  --bg-dark: #f8fafc;
  --bg-panel: rgba(255, 255, 255, 0.8);
  --bg-panel-solid: #ffffff;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-glow: rgba(16, 185, 129, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  
  --primary-glow: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(14, 165, 233, 0) 70%);
  --gradient-primary: linear-gradient(135deg, #0b4d7c 0%, #0c7062 50%, #16a34a 100%); /* Blue-to-Green from image */
  --gradient-accent: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  --gradient-text: linear-gradient(135deg, #0284c7 0%, #0d9488 50%, #16a34a 100%);
  
  --emerald: #10b981;
  --green: #16a34a;
  --blue: #0284c7;
  --dark-blue: #0b4d7c;
  --gray: #e2e8f0;
  
  /* Layout */
  --header-height: 72px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.06);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glowing Blobs */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

.blob-1 {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
  top: -150px;
  right: -100px;
}

.blob-2 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
  top: 600px;
  left: -200px;
}

.blob-3 {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
  bottom: 100px;
  right: -100px;
}

/* Grid & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Typography elements */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
  transition: var(--transition-normal);
}

.logo-group:hover {
  transform: translateY(-1px);
}

.nav-logo,
.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4)) brightness(1.15);
  transition: var(--transition-normal);
}

.logo-group:hover .nav-logo,
.logo-group:hover .footer-logo {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.7)) brightness(1.25);
}

.logo-text {
  font-weight: 800;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.github-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-normal);
}

.github-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.github-icon {
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: #ffffff;
  color: var(--dark-blue);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Section - Styled Exactly Like User Image */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: var(--gradient-primary);
  color: #ffffff;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  min-height: 400px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cffafe;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #a7f3d0 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 600px;
  line-height: 1.6;
}

/* ── World-Class Hero Tagline Block ─────────────────────────────── */
.hero-tagline-block {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 22px;
  max-width: 600px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(10, 10, 20, 0.85) 0%,
    rgba(11, 77, 124, 0.2) 50%,
    rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.08),
    0 8px 40px rgba(16, 185, 129, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: taglinePulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-tagline-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #10b981, #06b6d4, #8b5cf6);
  border-radius: 3px 0 0 3px;
}

@keyframes taglinePulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08), 0 8px 40px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
  50%       { box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18), 0 12px 60px rgba(16, 185, 129, 0.16), inset 0 1px 0 rgba(255,255,255,0.08); }
}

.tagline-quote-mark {
  font-size: 1.8rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, serif;
  flex-shrink: 0;
  margin-top: -4px;
  opacity: 0.75;
}

.hero-tagline-text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.65;
  background: linear-gradient(100deg, #e2e8f0 0%, #10b981 60%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.01em;
  font-style: italic;
}

/* ── Scrolling Marquee Ribbon ────────────────────────────────────── */
.tagline-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(90deg,
    rgba(16, 185, 129, 0.04) 0%,
    rgba(6, 182, 212, 0.04) 50%,
    rgba(16, 185, 129, 0.04) 100%);
  position: relative;
  mask-image: linear-gradient(90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%);
}

.tagline-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  width: max-content;
}

.tagline-marquee-wrapper:hover .tagline-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tmark-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-main);
  transition: color 0.3s;
}

.tmark-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  opacity: 0.6;
  flex-shrink: 0;
}


.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.platform-chip:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  display: inline-block;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-glowing-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-glowing-wrapper::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(129, 140, 248, 0.08) 55%, transparent 75%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

.hero-large-logo {
  width: 220px;
  height: 220px;
  z-index: 2;
  animation: float-animation 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 40px rgba(129, 140, 248, 0.25)) brightness(1.2) contrast(1.1);
}

/* Metrics Strip */
.metrics-strip {
  background-color: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  width: 100%;
}

.metrics-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.divider {
  width: 1px;
  height: 48px;
  background-color: var(--border-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Comparison Table styling */
.compare-wrapper {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, 
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.compare-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-table td {
  font-size: 0.98rem;
  color: var(--text-muted);
  vertical-align: middle;
}

.compare-label {
  color: var(--text-main) !important;
  font-weight: 600;
}

.highlight-column {
  background-color: rgba(16, 185, 129, 0.03);
  color: var(--text-main) !important;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.font-bold {
  font-weight: 700;
}

.text-teal {
  color: #059669 !important; /* Emerald green text for success */
}

/* Multi-Language Comparison Grid */
.lang-compare-header {
  margin-top: 48px;
  margin-bottom: 24px;
  text-align: center;
}

.lang-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.lang-card {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.lang-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-lg);
}

.lang-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.lang-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-main);
}

.lang-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.lang-vs-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.vs-traditional {
  background: rgba(239, 68, 68, 0.06);
  border-left: 3px solid #ef4444;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  color: #991b1b;
}

.vs-traditional-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #dc2626;
}

.vs-etherflow {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  color: #065f46;
}

.vs-etherflow-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #059669;
}

/* Benchmark Simulator Widget */
.benchmark-widget {
  max-width: 900px;
  margin: 0 auto;
}

.benchmark-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.benchmark-btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-webflux {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.15);
  color: #e11d48;
}

.btn-webflux:hover {
  background: rgba(225, 29, 72, 0.15);
  transform: translateY(-1px);
}

.btn-etherflow {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: #059669;
}

.btn-etherflow:hover {
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.btn-clear {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-clear:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-main);
}

.terminal-container {
  background-color: #0c0b11;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.terminal-header {
  background-color: #16151f;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #eab308; }
.dot.green { background-color: #22c55e; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #8b8896;
}

.terminal-timer {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 600;
}

.terminal-body {
  padding: 24px;
  min-height: 280px;
  max-height: 400px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terminal-line {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line.system-msg { color: #575366; font-style: italic; }
.terminal-line.log-info { color: #a1a1aa; }
.terminal-line.log-success { color: #10b981; font-weight: bold; }
.terminal-line.log-warn { color: #f59e0b; }
.terminal-line.log-spring { color: #f43f5e; }
.terminal-line.log-etherflow { color: #10b981; }

/* Interactive Code Playground (Tabbed View) */
.code-playground-container {
  background: #0d0c12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.playground-tabs {
  background-color: #13111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #8b8896;
  padding: 16px 28px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.tab-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: #ffffff;
  background-color: #0d0c12;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

.playground-body {
  padding: 24px;
  overflow-x: auto;
}

.code-block {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre;
  color: #e2e8f0;
}

.code-block.active {
  display: block;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Syntax Highlighting */
.code-block .keyword { color: #38bdf8; font-weight: bold; }
.code-block .string { color: #34d399; }
.code-block .comment { color: #64748b; font-style: italic; }
.code-block .number { color: #fbbf24; }

/* Quickstart Grid & Cards */
.quickstart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.quickstart-card {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.dep-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.dep-tabs::-webkit-scrollbar,
.playground-tabs::-webkit-scrollbar {
  height: 6px;
}

.dep-tabs::-webkit-scrollbar-track,
.playground-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.dep-tabs::-webkit-scrollbar-thumb,
.playground-tabs::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.4);
  border-radius: 4px;
}

.dep-tabs::-webkit-scrollbar-thumb:hover,
.playground-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.8);
}

.playground-tabs {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.dep-tab-btn {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.dep-tab-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-main);
}

.dep-tab-btn.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

.dep-content {
  flex-grow: 1;
}

.dep-content .code-block {
  padding: 16px;
  background-color: #09080c;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.dep-content .code-block.active {
  display: block;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.build-card {
  display: flex;
  flex-direction: column;
}

.build-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.build-step {
  display: none;
  flex-direction: column;
  flex-grow: 1;
}

.build-step.active {
  display: flex;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.build-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.55;
  color: var(--text-main);
}

.build-card .code-block {
  padding: 16px;
  background-color: #09080c;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  flex-grow: 1;
  display: block;
}

/* ============================================
   World-Class Getting Started Section
   ============================================ */

/* Platform Selector Pills Bar */
.qs-platform-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.qs-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 40px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-panel-solid);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.qs-pill:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.qs-pill.active {
  background: linear-gradient(135deg, #0b4d7c 0%, #10b981 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.qs-pill-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Unified QS Panel: Step 1 + Arrow + Step 2 */
.qs-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0;
  background: #07060b;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.qs-step {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 36px 36px;
  gap: 20px;
  min-height: 400px;
}

.qs-step:first-child {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.qs-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qs-step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}

.qs-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.qs-step-sub {
  font-size: 0.85rem;
  color: #575366;
  margin-top: 2px;
}

/* Code Window */
.qs-code-window {
  background: #0c0b11;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  flex: 1;
}

.qs-window-bar {
  background: #13111a;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.qs-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.qs-dot-red    { background: #ef4444; }
.qs-dot-yellow { background: #eab308; }
.qs-dot-green  { background: #22c55e; }

.qs-window-label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #4a4459;
  letter-spacing: 0.03em;
}

.qs-code-body {
  padding: 22px;
  min-height: 180px;
}

.qs-block {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre;
  color: #cbd5e1;
  margin: 0;
}

.qs-block.active {
  display: block;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.qs-block .keyword { color: #38bdf8; font-weight: bold; }
.qs-block .string  { color: #34d399; }
.qs-block .comment { color: #4a5568; font-style: italic; }
.qs-block .number  { color: #fbbf24; }

/* Arrow Divider between steps */
.qs-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: rgba(16, 185, 129, 0.4);
  align-self: center;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .qs-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .qs-step:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .qs-arrow-divider svg {
    transform: none;
  }
  .qs-platform-bar {
    gap: 8px;
  }
}

/* Footer styling */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0;
  background-color: #0c0f13;
  color: #ffffff;
}

.footer .logo-group {
  color: #ffffff;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-normal);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: #64748b;
  font-size: 0.9rem;
}

/* Animations */
@keyframes float-animation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.1; }
  100% { transform: scale(1.05); opacity: 0.25; }
}

/* Responsive Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .quickstart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.1rem;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .metrics-container {
    justify-content: center;
  }
  
  .divider {
    display: none;
  }

  .compare-table th:nth-child(2), 
  .compare-table td:nth-child(2) {
    display: none;
  }
  
  .compare-table th, 
  .compare-table td {
    padding: 16px 12px;
  }
}
