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

:root {
  --bg-primary: #0a0a0f;
  --bg-card: #14141a;
  --bg-card-hover: #1c1c24;
  --bg-footer: #08080c;
  --text-primary: #f0f0f5;
  --text-secondary: #9999aa;
  --text-muted: #666677;
  --accent: #3399ff;
  --accent-light: #d8f9b8;
  --green: #22c55e;
  --border: #252530;
  --border-hover: #3a3a48;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inconsolata', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Highlight text === */
.highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12));
  padding: 2px 14px;
  border-radius: 8px;
  font-style: italic;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Thin luxury divider === */
.section-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  margin: 0 auto 20px;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font);
  position: relative;
}

.logo span {
  color: var(--text-primary);
  font-weight: 300;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-right: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.lang-toggle:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  width: 100%;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
}

.mobile-lang {
  margin: 8px 0;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius);
  padding: 12px 28px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-white {
  background: #ffffff;
  color: #000000;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline-light:hover {
  border-color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.btn-nav {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.hero-h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: left;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 300;
}

/* Stats card */
.hero-stats-inline {
  margin-bottom: 28px;
}

.stats-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.stats-card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.stats-main {
  display: flex;
  flex-direction: column;
}

.stats-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.stats-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

.stats-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.stats-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stats-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.stats-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 8px;
  border-radius: 100px;
}

.stats-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero canvas animation */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image canvas {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1;
}

/* === Sections Common === */
.features, .how-it-works, .corridors, .contact {
  padding: 120px 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 64px;
  font-weight: 300;
}

.section-title-left {
  text-align: left;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.section-sub-left {
  text-align: left;
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0 0 56px 0;
  max-width: none;
  font-weight: 300;
}

/* === Features === */
.features {
  border-top: 1px solid var(--border);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

/* === How It Works === */
.how-it-works {
  border-top: 1px solid var(--border);
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--border-hover);
}

.step-number-badge {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

/* === Corridors === */
.corridors {
  border-top: 1px solid var(--border);
}

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

.corridor-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.corridor-group:hover {
  border-color: var(--border-hover);
}

.corridor-group h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.corridor-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.corridor-group li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  padding-left: 16px;
  position: relative;
}

.corridor-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--border-hover);
  border-radius: 50%;
}

/* === Contact / CTA === */
.contact {
  padding: 80px 0 120px;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.cta-card::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  margin-bottom: 16px;
}

.cta-card .section-sub {
  margin-bottom: 36px;
}

/* === Footer === */
.footer {
  background: var(--bg-footer);
  color: var(--text-secondary);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: left;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-primary);
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 32px;
  font-weight: 300;
}

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

.footer-copyright p {
  font-size: 0.8rem;
  color: var(--text-primary);
}

.footer-logo {
  font-size: 1rem;
}

.footer-logo::after {
  display: none;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links, .btn-nav {
    display: none;
  }

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

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-h2 {
    text-align: center;
  }

  .hero-description {
    text-align: center;
  }

  .hero-stats-inline {
    display: flex;
    justify-content: center;
  }

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

  .hero-image {
    order: -1;
  }

  .hero-image canvas {
    max-width: 300px;
  }

  .hero-text h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-h2 {
    font-size: 1.3rem;
  }

  .features-grid,
  .steps-grid,
  .corridors-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-card {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-h2 {
    font-size: 1.1rem;
  }

  .feature-card, .step-card {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .stats-card-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-divider {
    width: 100%;
    height: 1px;
  }
}
