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

/* ==========================================================================
   1. RESET & BASE (Zero Horizontal Overflow Guarantee)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
}

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

button, input, select {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* ==========================================================================
   2. RESTRAINED AMBIENT GRID
   ========================================================================== */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 25%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 25%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   3. LAYOUT UTILITIES & TYPOGRAPHY
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.section {
  padding-block: var(--space-4xl);
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
  padding-inline: 0.5rem;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #18181c;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: 100%;
}

.eyebrow-badge .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-status);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: var(--space-md);
  word-break: break-word;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ==========================================================================
   4. CLEAN HARDWARE CARD SYSTEM
   ========================================================================== */
.double-bezel {
  border-radius: var(--radius-outer);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-smooth);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.double-bezel:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.double-bezel-inner {
  border-radius: calc(var(--radius-outer) - 1px);
  background: transparent;
  height: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   5. SOLID TACTILE BUTTON ARCHITECTURE
   ========================================================================== */
.btn-island-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 0.625rem 0.625rem 1.5rem;
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  border: 1px solid #ffffff;
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 44px;
}

.btn-island-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  transform: translateY(-1px);
}

.btn-island-primary:active {
  transform: translateY(0);
}

.btn-icon-wrapper {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: transform var(--duration-fast) var(--ease-spring);
  flex-shrink: 0;
}

.btn-island-primary:hover .btn-icon-wrapper {
  transform: translateX(2px) translateY(-1px);
}

.btn-island-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  color: #f4f4f5;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-smooth);
  min-height: 44px;
}

.btn-island-secondary:hover {
  background: #27272a;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-island-secondary:active {
  transform: translateY(0);
}

/* ==========================================================================
   6. FLOATING ISLAND NAVIGATION
   ========================================================================== */
.nav-island-wrapper {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 1.25rem;
  pointer-events: none;
  box-sizing: border-box;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 980px;
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all var(--duration-normal) var(--ease-smooth);
  box-sizing: border-box;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand-logo svg {
  width: 15px;
  height: 15px;
  fill: #09090b;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.nav-github-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.8rem;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.nav-github-pill:hover {
  background: #27272a;
  color: #ffffff;
  border-color: var(--border-hover);
}

.nav-cta-btn {
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #09090b;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.nav-cta-btn:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  padding: 9px 8px;
  flex-shrink: 0;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-spring);
}

.mobile-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-smooth);
  padding: 2rem;
  box-sizing: border-box;
}

.mobile-menu-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--space-4xl) + 2rem);
  padding-bottom: var(--space-3xl);
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #141418;
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-announcement-badge {
  background: #27272a;
  color: #f4f4f5;
  font-weight: 600;
  font-size: 0.6875rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.hero-announcement-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 920px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: #ffffff;
  word-break: break-word;
}

.hero-headline .hero-highlight {
  color: #a1a1aa;
}

.hero-description {
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  width: 100%;
}

/* Key Metrics Counter Bar */
.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  background: #121216;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-subtle);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-number span.unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ==========================================================================
   8. INTERACTIVE LIVE NEURAL PLAYGROUND
   ========================================================================== */
.playground-section {
  padding-bottom: var(--space-4xl);
}

.playground-wrapper {
  background: #0d0d12;
  border-radius: var(--radius-inner);
  overflow: hidden;
  border: 1px solid var(--border-card);
  width: 100%;
  box-sizing: border-box;
}

.playground-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #14141a;
  border-bottom: 1px solid var(--border-subtle);
  min-width: 0;
  box-sizing: border-box;
}

.mac-buttons {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mac-dot.close { background: #3f3f46; }
.mac-dot.minimize { background: #3f3f46; }
.mac-dot.expand { background: #3f3f46; }

.playground-model-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.65rem;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e4e4e7;
  flex-shrink: 0;
}

.playground-stats-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-val {
  color: #f4f4f5;
  font-weight: 600;
}

/* Playground Body */
.playground-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 440px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.playground-sidebar {
  padding: 1.25rem;
  background: #101015;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.preset-prompts-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.preset-prompt-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem;
  background: #141419;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--duration-fast);
  width: 100%;
  box-sizing: border-box;
}

.preset-prompt-btn:hover {
  background: #1a1a22;
  border-color: var(--border-hover);
}

.preset-prompt-btn.active {
  background: #1f1f28;
  border-color: #52525b;
}

.preset-tag {
  font-size: 0.6875rem;
  color: #a1a1aa;
  font-weight: 600;
  text-transform: uppercase;
}

.preset-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.playground-controls {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.playground-terminal-area {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  background: #09090e;
  font-family: var(--font-mono);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
}

.terminal-tabs {
  display: flex;
  gap: 0.5rem;
}

.terminal-tab-btn {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.terminal-tab-btn.active {
  background: #18181c;
  color: #f4f4f5;
  border: 1px solid var(--border-subtle);
}

.terminal-output-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  max-height: 340px;
  padding-right: 0.5rem;
  min-width: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.terminal-code {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
}

.code-keyword { color: #f43f5e; }
.code-function { color: #38bdf8; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.code-number { color: #fbbf24; }

.streaming-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background-color: #ffffff;
  vertical-align: middle;
  margin-left: 3px;
  animation: blinkCursor 1s step-start infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.playground-run-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
  width: 100%;
  box-sizing: border-box;
}

.playground-run-btn:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

/* ==========================================================================
   9. ASYMMETRICAL BENTO GRID ARCHITECTURE
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.bento-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-outer);
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.bento-col-8 { grid-column: span 8; min-width: 0; }
.bento-col-4 { grid-column: span 4; min-width: 0; }
.bento-col-6 { grid-column: span 6; min-width: 0; }
.bento-col-12 { grid-column: span 12; min-width: 0; }

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Visual Components inside Bento Cards */
.bento-swarm-visual {
  height: 180px;
  background: #0d0d12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.swarm-node {
  position: absolute;
  padding: 0.4rem 0.75rem;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.node-1 { top: 18%; left: 12%; }
.node-2 { bottom: 18%; left: 24%; }
.node-3 { top: 22%; right: 14%; }
.node-center { 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  border-color: #52525b;
  background: #27272a;
  color: #ffffff;
  font-weight: 600;
}

/* Speedometer & Benchmark Visual */
.bento-speed-bars {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: auto;
  width: 100%;
}

.speed-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.bar-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
}

.bar-track {
  height: 6px;
  background: #18181c;
  border-radius: var(--radius-pill);
  overflow: hidden;
  width: 100%;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
}

.fill-nexus {
  background: #ffffff;
}

.fill-legacy {
  background: #3f3f46;
}

/* SDK Code Snippet Card */
.sdk-preview-box {
  background: #09090d;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  position: relative;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.sdk-preview-box pre {
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: pre;
  padding-bottom: 0.5rem;
  box-sizing: border-box;
}

.sdk-preview-box code {
  display: block;
  min-width: 0;
  font-family: inherit;
  font-size: inherit;
}

.copy-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.3rem 0.6rem;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  color: var(--text-muted);
  transition: all var(--duration-fast);
  z-index: 2;
}

.copy-btn:hover {
  color: #ffffff;
  border-color: var(--border-hover);
}

/* ==========================================================================
   10. INTERACTIVE BENCHMARK & COMPARISON TABLE
   ========================================================================== */
.benchmarks-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-outer);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

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

.benchmarks-table th, 
.benchmarks-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmarks-table th {
  background: #141418;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.benchmarks-table th.col-highlight,
.benchmarks-table td.col-highlight {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.benchmarks-table td {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.benchmarks-table tr:last-child td {
  border-bottom: none;
}

.benchmarks-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.badge-tag-speed {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-status);
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ==========================================================================
   11. INTERACTIVE PRICING CALCULATOR & PLANS
   ========================================================================== */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.billing-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.billing-label.active {
  color: #ffffff;
  font-weight: 600;
}

.toggle-switch {
  width: 46px;
  height: 24px;
  background: #18181c;
  border-radius: var(--radius-pill);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: background-color var(--duration-fast);
  flex-shrink: 0;
}

.toggle-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #71717a;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--duration-fast) var(--ease-spring), background-color var(--duration-fast);
}

.toggle-switch.is-annual .toggle-knob {
  transform: translateX(22px);
  background-color: #ffffff;
}

.discount-tag {
  padding: 0.15rem 0.5rem;
  background: #27272a;
  color: #f4f4f5;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
}

/* Dynamic Usage Slider */
.slider-container {
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  text-align: center;
  box-sizing: border-box;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slider-value-display {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #27272a;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform var(--duration-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Pricing Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.pricing-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-outer);
  min-width: 0;
  box-sizing: border-box;
}

.pricing-card.featured {
  background: #141419;
  border-color: #52525b;
}

.featured-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.85rem;
  background: #ffffff;
  color: #09090b;
  font-weight: 700;
  font-size: 0.6875rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #ffffff;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-item svg {
  width: 15px;
  height: 15px;
  fill: #a1a1aa;
  flex-shrink: 0;
}

/* ==========================================================================
   12. SOCIAL PROOF & REVIEWS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-card {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-outer);
  min-width: 0;
  box-sizing: border-box;
}

.quote-icon {
  width: 20px;
  height: 20px;
  fill: #71717a;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #e4e4e7;
}

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

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #18181c;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #f4f4f5;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
}

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

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 780px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-sizing: border-box;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: border-color var(--duration-fast);
  width: 100%;
  box-sizing: border-box;
}

.faq-item.is-open {
  border-color: #52525b;
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  box-sizing: border-box;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-spring);
  fill: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  fill: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-spring), padding var(--duration-normal);
  padding-inline: 1.5rem;
}

.faq-item.is-open .faq-content {
  padding-bottom: 1.25rem;
}

.faq-answer {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   14. BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner {
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius-outer);
  background: #121216;
  border: 1px solid var(--border-card);
  width: 100%;
  box-sizing: border-box;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
  word-break: break-word;
}

.cta-banner-desc {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ==========================================================================
   15. DEVELOPER FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #070709;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: #141418;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  width: fit-content;
}

.status-indicator .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-status);
  flex-shrink: 0;
}

.footer-col-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  background: #141418;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: #ffffff;
  outline: none;
  transition: border-color var(--duration-fast);
  min-width: 0;
}

.newsletter-input:focus {
  border-color: #71717a;
}

.newsletter-btn {
  padding: 0.55rem 0.95rem;
  background: #ffffff;
  color: #09090b;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: opacity var(--duration-fast);
  flex-shrink: 0;
}

.newsletter-btn:hover {
  opacity: 0.9;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.footer-social-links {
  display: flex;
  gap: 1.25rem;
}

.footer-social-link {
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-social-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   16. SCROLL REVEAL & KINETIC CHOREOGRAPHY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  filter: blur(5px);
  transition: 
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(4px);
  transition: 
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(4px);
  transition: 
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .playground-grid {
    grid-template-columns: 1fr;
  }
  .playground-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .bento-col-8, .bento-col-4, .bento-col-6, .bento-col-12 {
    grid-column: span 12;
  }
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .section {
    padding-block: var(--space-3xl);
  }
  .hero-section {
    padding-top: calc(var(--space-3xl) + 2rem);
  }
  .hero-headline {
    font-size: clamp(2rem, 6.5vw, 3rem);
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .metric-item:not(:last-child)::after {
    display: none;
  }
  .playground-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
  }
  .playground-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.7rem;
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }
  .nav-island-wrapper {
    padding-inline: 0.75rem;
    top: 0.75rem;
  }
  .nav-island {
    padding: 0.5rem 0.65rem 0.5rem 1rem;
  }
  .hero-announcement {
    max-width: calc(100% - 1rem);
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero-cta-group .btn-island-primary,
  .hero-cta-group .btn-island-secondary {
    width: 100%;
    justify-content: center;
  }
  .bento-card {
    padding: 1.5rem 1rem;
  }
  .pricing-card {
    padding: 1.75rem 1rem;
  }
  .slider-container {
    padding: 1.25rem 1rem;
  }
  .slider-label-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .cta-banner {
    padding: 2.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  .hero-description {
    font-size: 0.9375rem;
  }
  .metric-number {
    font-size: 1.75rem;
  }
  .footer-newsletter-form {
    flex-direction: column;
  }
  .newsletter-btn {
    width: 100%;
    text-align: center;
  }
  .swarm-node {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  .node-1 { top: 12%; left: 4%; }
  .node-2 { bottom: 12%; left: 6%; }
  .node-3 { top: 14%; right: 4%; }
}
