/* -------------------------------------------------------------
 * THE CONTENT ARCHITECTURE — DESIGN SYSTEM & STYLESHEET
 * ------------------------------------------------------------- */

:root {
  --bg-dark: #0d0e11;
  --bg-dark-card: #15171c;
  --bg-dark-border: rgba(255, 255, 255, 0.1);
  --bg-cream: #f4f1ea;
  --bg-cream-accent: #e9e5db;
  
  --text-dark: #111317;
  --text-dark-muted: #5e6472;
  --text-light: #f3f4f6;
  --text-light-muted: #8b92a1;
  
  --accent-gold: #d4af37;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  
  --nav-height: 56px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* -------------------------------------------------------------
 * BACKGROUND MATRIX WALLPAPER
 * ------------------------------------------------------------- */
.matrix-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.04;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffffff;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-all;
  user-select: none;
}

/* -------------------------------------------------------------
 * FLOATING NAVIGATION BAR
 * ------------------------------------------------------------- */
.floating-nav-container {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.floating-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(18, 20, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 8px 16px 8px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition-fast);
}

.floating-nav:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(22, 25, 32, 0.92);
}

.nav-logo {
  color: #fff;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Odometer / Rolling Text Effect */
.roll-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

.roll-link::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.roll-link:hover {
  color: transparent;
}

.roll-link:hover::after {
  transform: translateY(-100%);
}

.nav-cta-btn {
  background: #ffffff;
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta-btn:hover {
  background: #e2e8f0;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------
 * HERO SECTION SPLIT
 * ------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* Left Hero: Cream Off-White */
.hero-left {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  padding: 140px 64px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-tag-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 28px;
  max-width: 540px;
  cursor: pointer;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #383c46;
  margin-bottom: 36px;
  max-width: 500px;
  font-weight: 400;
}

.hero-target-audience {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #727885;
  margin-bottom: 28px;
}

.hero-action-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.btn-dark {
  background: #111317;
  color: #ffffff !important;
  border: 1px solid #111317;
}

.btn-dark:hover {
  background: #252831;
  border-color: #252831;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-left .btn-outline {
  color: #111317 !important;
  border-color: #111317;
}

.hero-left .btn-outline:hover {
  border-color: #111317;
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Status Pills Bar */
.hero-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  color: #4a505e;
}

.status-pill .val {
  font-weight: 700;
  color: #111317;
}

/* Right Hero: Dark HTML5 Canvas Spotlight + Concentric Spiral */
.hero-right {
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 64px;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.spiral-container {
  width: 90%;
  max-width: 650px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.spiral-container::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

.spiral-group {
  transform-origin: 400px 400px;
  transform-box: fill-box;
  animation: rotateSpiral 60s linear infinite;
}

@keyframes rotateSpiral {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-right-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* -------------------------------------------------------------
 * COMMON CONTAINER & SECTION LAYOUT
 * ------------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #ffffff;
  cursor: pointer;
}

/* -------------------------------------------------------------
 * MISSION SECTION
 * ------------------------------------------------------------- */
.mission-section {
  padding: 120px 0;
  background-color: #0b0c0e;
  border-bottom: 1px solid var(--bg-dark-border);
}

.mission-header {
  max-width: 860px;
}

.mission-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
  cursor: pointer;
}

.mission-description {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-light-muted);
}

/* -------------------------------------------------------------
 * FEATURES SECTION (001 - 009)
 * ------------------------------------------------------------- */
.features-section {
  padding: 120px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--bg-dark-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.feature-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.feature-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a3a8b5;
  padding: 3px 8px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
 * REPO EXPLORER SECTION
 * ------------------------------------------------------------- */
.repo-section {
  padding: 120px 0;
  background: #090a0c;
  border-bottom: 1px solid var(--bg-dark-border);
}

.repo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.repo-subtitle {
  color: var(--text-light-muted);
  font-size: 16px;
}

.repo-action-badge code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--accent-blue);
}

.code-explorer-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--bg-dark-border);
  border-radius: 12px;
  background: #111318;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tree-pane {
  border-right: 1px solid var(--bg-dark-border);
  background: #0e0f13;
  padding: 16px;
}

.pane-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light-muted);
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-left: 8px;
}

.tree-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tree-item {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #a0a6b4;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.tree-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-weight: 600;
}

.code-pane {
  display: flex;
  flex-direction: column;
  background: #111318;
  min-width: 0;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bg-dark-border);
  background: #0e1014;
}

.active-file-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.copy-code-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.code-content-box {
  padding: 24px;
  overflow-x: auto;
  max-height: 480px;
}

.code-content-box pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #d1d5db;
}

/* -------------------------------------------------------------
 * SHOWCASE SECTION (ASCII TO IMAGE HOVER REVEAL)
 * ------------------------------------------------------------- */
.showcase-section {
  padding: 120px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--bg-dark-border);
}

.showcase-subtitle {
  color: var(--text-light-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.showcase-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.showcase-preview-box {
  position: relative;
  width: 100%;
  height: 190px;
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.showcase-ascii {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  color: #64748b;
  text-align: center;
  padding: 12px;
  user-select: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.35s ease-in-out;
}

.showcase-card:hover .showcase-img {
  opacity: 1 !important;
}

.showcase-award {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.showcase-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.showcase-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------------------------------------------------
 * PRICING SECTION
 * ------------------------------------------------------------- */
.pricing-section {
  padding: 120px 0;
  background: #090a0c;
  border-bottom: 1px solid var(--bg-dark-border);
}

.pricing-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px auto;
}

.pricing-subtitle {
  color: var(--text-light-muted);
  font-size: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: 16px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 32px;
  background: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 1px;
}

.pricing-tier-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 16px;
}

.price-period {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-light-muted);
  font-weight: 400;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-light-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features .check {
  color: var(--accent-green);
  font-weight: bold;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-block {
  width: 100%;
}

.pricing-footer-notes {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-light-muted);
}

/* -------------------------------------------------------------
 * FAQ ACCORDION SECTION
 * ------------------------------------------------------------- */
.faq-section {
  padding: 120px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--bg-dark-border);
}

.faq-header {
  margin-bottom: 56px;
}

.faq-subtitle {
  color: var(--text-light-muted);
  font-size: 16px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px 28px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--text-light-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 28px 24px 28px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light-muted);
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------
 * FOOTER & HORIZONTAL SCROLL TICKER
 * ------------------------------------------------------------- */
.footer {
  padding-bottom: 64px;
  background: #07080a;
}

.footer-ticker-bar {
  width: 100%;
  overflow: hidden;
  background: #0a0b0e;
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
  padding: 16px 0;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}

.footer-ticker-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light-muted);
  animation: tickerMarquee 35s linear infinite;
  will-change: transform;
}

.ticker-item {
  display: inline-block;
  white-space: nowrap;
}

@keyframes tickerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-left p {
  font-size: 13px;
  color: var(--text-light-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* -------------------------------------------------------------
 * EARLY ACCESS SECTION (FORM & CONTAINER)
 * ------------------------------------------------------------- */
.early-access-section {
  padding: 120px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--bg-dark-border);
  position: relative;
}

.early-access-container {
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.early-access-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.early-access-subtitle {
  color: #94a3b8;
  font-family: var(--font-sans);
  font-size: 16px;
  max-width: 600px;
  margin: 16px auto 40px auto;
  line-height: 1.6;
}

.early-access-form {
  max-width: 650px;
  margin: 0 auto 36px auto;
  width: 100%;
}

.form-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 6px 6px 20px;
  border-radius: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-input-wrapper:focus-within {
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.early-access-input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: #ffffff;
  outline: none;
  padding: 12px 12px 12px 0;
  width: 100%;
  box-sizing: border-box;
}

.early-access-input::placeholder {
  color: #64748b;
}

.early-access-submit {
  flex: 0 0 auto;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000 !important;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.early-access-submit:hover {
  background: #e2e8f0;
}

/* Honeypot: off-screen for real users, present in the DOM for bots that
   auto-fill every field. Kept in the stylesheet rather than an inline
   style attribute since the page CSP has no 'unsafe-inline' in style-src. */
.early-access-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 18px;
  min-height: 24px;
}

.form-status.success {
  color: #10b981;
}

.early-access-features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
  margin-top: 12px;
}

.ea-feature-item {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ea-feature-item .check {
  color: #10b981;
  font-weight: bold;
}

/* -------------------------------------------------------------
 * RESPONSIVE BREAKPOINTS
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 120px 32px 64px 32px;
  }

  .hero-right {
    min-height: 380px;
    padding: 40px;
  }

  .features-grid, .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  /* Nav */
  .floating-nav {
    gap: 12px;
  }
  .nav-links {
    display: none;
  }

  /* Hero — hide the decorative canvas pane on mobile */
  .hero-right {
    display: none;
  }
  .hero-split {
    min-height: auto;
  }
  .hero-left {
    padding: 100px 24px 56px 24px;
  }
  .hero-title {
    font-size: 32px !important;
    line-height: 1.15 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-title,
  .mission-title {
    font-size: 28px !important;
    line-height: 1.25 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Container padding tighter on mobile */
  .container {
    padding: 0 20px;
  }

  /* Reduce section vertical padding */
  .mission-section,
  .features-section,
  .repo-section,
  .showcase-section,
  .faq-section,
  .early-access-section {
    padding: 64px 0;
  }

  /* Features + Showcase 1-column */
  .features-grid, .showcase-grid {
    grid-template-columns: 1fr;
  }

  /* Repo header: stack on mobile so badge doesn't overflow */
  .repo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Repo explorer: stack tree above code */
  .code-explorer-container {
    grid-template-columns: 1fr;
  }
  .tree-pane {
    border-right: none;
    border-bottom: 1px solid var(--bg-dark-border);
    max-height: 240px;
    overflow-y: auto;
  }

  /* Early access form: mobile & tablet clean vertical stack */
  .early-access-form {
    width: 100%;
    max-width: 100%;
  }
  .form-input-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 12px !important;
    box-shadow: none !important;
    width: 100% !important;
  }
  .form-input-wrapper:focus-within {
    border-color: transparent !important;
    box-shadow: none !important;
  }
  .early-access-input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 54px !important;
    background: rgba(12, 14, 18, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    color: #ffffff !important;
    outline: none !important;
  }
  .early-access-input::placeholder {
    color: #64748b !important;
  }
  .early-access-input:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
  }
  .early-access-submit {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 54px !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #000000 !important;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
