/* --------------------------------------------------------------------------
   ARS ALGO — Official Main Domain Landing Page
   Pure Vanilla CSS (Zero External Frameworks / Build Tools)
   Dark-First Trading Technology SaaS Aesthetic
   -------------------------------------------------------------------------- */

:root {
  /* Light Theme Palette */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-hover: rgba(203, 213, 225, 1);
  --border-accent: rgba(16, 185, 129, 0.35);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-teal: #14b8a6;
  --accent-glow: rgba(16, 185, 129, 0.16);
  --accent-glow-subtle: rgba(16, 185, 129, 0.08);
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.09), 0 10px 15px -3px rgba(15, 23, 42, 0.04);
  --dot-color: rgba(100, 116, 139, 0.2);
  --code-bg: #e2e8f0;
}

[data-theme="dark"] {
  /* Dark Theme Palette (TradingView / Linear Dark Aesthetic) */
  --bg-primary: #070a10;
  --bg-surface: #0e131f;
  --bg-surface-elevated: #131927;
  --bg-glass: rgba(14, 19, 31, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(16, 185, 129, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-teal: #14b8a6;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-glow-subtle: rgba(16, 185, 129, 0.10);
  --card-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.55);
  --card-shadow-hover: 0 22px 48px -6px rgba(0, 0, 0, 0.75), 0 0 30px -4px rgba(16, 185, 129, 0.22);
  --dot-color: rgba(148, 163, 184, 0.12);
  --code-bg: #1a2234;
}

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

/* Prevent any Grid overflow / blowout across all viewports */
.hero-content,
.hero-visual,
.ecosystem-card,
.eco-node,
.pipeline-node,
.flagship-grid > *,
.feature-matrix > *,
.pipeline-cards-grid > *,
.approach-grid > *,
.about-values > * {
  min-width: 0;
}

.pulse-dot.live {
  background-color: var(--accent-emerald);
}

.preview-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Ambient Backdrop & Dot Matrix
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events-none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform;
}

.glow-top {
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 440px;
  background: radial-gradient(circle, var(--accent-emerald) 0%, rgba(20, 184, 166, 0.35) 45%, transparent 75%);
}

.glow-middle {
  top: 45%;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

.glow-bottom {
  bottom: -220px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(20, 184, 166, 0.15) 50%, transparent 75%);
}

.dot-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events-none;
  z-index: 0;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--accent-glow);
  flex-shrink: 0;
}

.brand-icon.small {
  width: 28px;
  height: 28px;
}

.brand-text {
  color: var(--text-primary);
}

.brand-accent {
  color: var(--accent-emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--accent-emerald);
}

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

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent-emerald);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .sun-icon {
  display: block;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="light"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
}

.mobile-cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  opacity: 0.96;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Section Common Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 5.5rem 1.5rem 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  background: var(--accent-glow-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 25%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  border-radius: 14px;
}

.hero-btn-secondary {
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  border-radius: 14px;
}

.hero-footer-note {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.84375rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.note-check {
  width: 17px;
  height: 17px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Hero Visual: Abstract Ecosystem Card
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.ecosystem-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.35s ease;
}

.ecosystem-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-emerald), transparent);
}

.ecosystem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-hover);
}

.mockup-title {
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', monospace;
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
}

.mini-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.ecosystem-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Active Node: ARS ALGO Signals */
.eco-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  transition: all 0.25s ease;
}

.active-node {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(20, 184, 166, 0.02) 100%);
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.15);
}

.node-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.node-icon svg {
  width: 20px;
  height: 20px;
}

.node-icon.dim {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  box-shadow: none;
}

.node-info {
  flex: 1;
  min-width: 0;
}

.node-badge {
  display: inline-block;
  font-size: 0.65625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  margin-bottom: 0.2rem;
  font-family: 'JetBrains Mono', monospace;
}

.node-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.node-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.node-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

/* Ecosystem Connector */
.eco-connector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.connector-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px dashed var(--border-hover);
  background: var(--bg-surface);
  font-family: 'JetBrains Mono', monospace;
}

/* Future Pipeline Nodes */
.eco-pipeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pipeline-node {
  padding: 0.95rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.pipeline-node .node-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.pipeline-node .node-icon svg {
  width: 16px;
  height: 16px;
}

.pipeline-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.2rem;
}

.pipeline-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.pipeline-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Abstract Metric Bar */
.eco-footer-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
}

.mono-label {
  color: var(--text-muted);
  font-weight: 600;
}

.mono-val {
  color: var(--accent-emerald);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.products-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem 6rem;
}

.products-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Flagship Card (Product 01: ARS ALGO Signals) */
.product-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flagship-card {
  padding: 3.25rem;
}

.product-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--accent-emerald) 50%, transparent 95%);
  opacity: 0.8;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-id {
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
}

.badge-success {
  background: var(--accent-glow-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.badge-dim {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.flagship-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.flagship-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Feature Matrix (2x2) */
.feature-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin: 0.5rem 0;
}

.feature-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.feature-box-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-box-icon svg {
  width: 17px;
  height: 17px;
}

.feature-box-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.feature-box-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.feature-box-text span {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Flagship CTA */
.flagship-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.flagship-btn {
  padding: 0.85rem 1.75rem;
  font-size: 0.9375rem;
}

.platform-link-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* Flagship Preview Mockup */
.flagship-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-mockup {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.product-card:hover .preview-mockup {
  transform: scale(1.02);
  border-color: rgba(16, 185, 129, 0.35);
}

.preview-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Future Pipeline Cards Grid */
.pipeline-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.future-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-hover);
  transition: all 0.3s ease;
}

.future-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.future-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.future-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.future-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.future-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.future-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.future-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  width: fit-content;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
}

/* --------------------------------------------------------------------------
   Our Approach Section
   -------------------------------------------------------------------------- */
.approach-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem 6rem;
}

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

.approach-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.75rem 2.25rem 2.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.approach-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.approach-step-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, rgba(20, 184, 166, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.approach-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.approach-step-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.approach-bar {
  width: 100%;
  height: 3px;
  background: var(--bg-surface-elevated);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.approach-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-teal));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.approach-card:hover .approach-bar::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem 6rem;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  box-shadow: var(--card-shadow);
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-heading {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 900px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

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

.value-bullet {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.3;
}

.value-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Final Call To Action Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  position: relative;
  z-index: 10;
  padding: 2rem 1.5rem 6rem;
}

.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 28px;
  padding: 5rem 2.5rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events-none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.cta-heading {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-subheading {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.cta-button-row {
  display: flex;
  justify-content: center;
}

.cta-btn {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-wrapper {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-glass);
  padding: 4.5rem 0 2.5rem;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 340px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-nav-col {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.35rem;
}

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

.footer-nav-group a:hover {
  color: var(--accent-emerald);
}

.footer-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-emerald) !important;
  font-weight: 600;
}

.mini-ext-icon {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

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

.copyright {
  font-weight: 500;
}

.domain-badge a {
  color: var(--accent-emerald);
  font-weight: 600;
}

.domain-badge a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    max-width: 640px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-footer-note {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .ecosystem-card {
    max-width: 580px;
  }

  .flagship-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-card {
    padding: 3rem 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 860px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pipeline-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .flagship-card {
    padding: 2.25rem 1.75rem;
  }

  .feature-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {

  .hero-section {
    padding: 4rem 1.25rem 3.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .flagship-title {
    font-size: 1.75rem;
  }

  .cta-heading {
    font-size: 1.85rem;
  }

  .final-cta-card {
    padding: 3.5rem 1.5rem;
  }

  .footer-nav-col {
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .eco-pipeline-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .flagship-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .flagship-btn {
    width: 100%;
    justify-content: center;
  }
}
