:root {
  --bg-deep: #050507;
  --text-primary: #ffffff;
  --text-secondary: #C7C7CC;
  --accent-blue: #64D2FF;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(28, 28, 30, 0.6);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --orb-opacity: 0.4;
}

[data-theme="light"] {
  --bg-deep: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #515154;
  --accent-blue: #0071E3;
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --orb-opacity: 0.15;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: var(--orb-opacity);
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: #0A84FF;
  top: -10vw;
  left: -10vw;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  background: #AF52DE;
  bottom: 0;
  right: -10vw;
  animation-delay: -5s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 30px);
  }
}

/* Header */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 16px;
  font-size: 15px;
  transition: color 0.2s;
}

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

.lang-switch {
  display: flex;
  background: var(--glass-border);
  border-radius: 20px;
  padding: 2px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch button.active {
  background: var(--text-primary);
  color: var(--bg-deep);
}

/* Hero Section */
.hero {
  padding: 100px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

h1 {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1.1;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-deep);
}

.btn-ghost {
  background: var(--glass-border);
  color: var(--text-primary);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Hero Media with Float Effect */
.hero-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  max-width: 1000px;
  width: 100%;
}

.hero-media img {
  width: 100%;
  display: block;
}

.hero-media figcaption {
  display: none;
}

/* Story Grid */
.story-grid {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.story-card.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.story-card.reverse img {
  order: 1;
}

.story-card.reverse .card-copy {
  order: 2;
}

.card-copy h2 {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: 0;
}

.card-copy p {
  font-size: 18px;
  color: var(--text-secondary);
}

.story-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
}

.story-card:hover img {
  transform: translateY(-5px);
}

/* Proof Band (Quick Check) */
.proof-band {
  background: var(--glass-bg);
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.proof-copy {
  max-width: 800px;
  margin: 0 auto 60px;
}

.proof-copy ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.proof-copy li {
  color: var(--accent-blue);
  font-weight: 600;
}

.proof-band img {
  max-width: 900px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Split Final Section */
.split-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 100px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.split-card {
  background: var(--glass-bg);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.split-card img {
  width: 100%;
  border-radius: 12px;
}

.split-card img {
  width: 100%;
  border-radius: 12px;
}

/* Specs Section */
.specs-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 20px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.specs-section h3 {
  font-size: 32px;
  margin-bottom: 60px;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.specs-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.spec-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.spec-label {
  display: block;
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.spec-value {
  display: block;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

[data-theme="light"] .spec-label {
  color: var(--accent-blue);
  font-weight: 800;
}

/* Closing & Footer */
.closing {
  text-align: center;
  padding: 100px 20px;
}

.footer {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
  font-size: 14px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  gap: 20px;
}

.btn-text {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

[data-theme="light"] .btn-text {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-text:hover {
  background: var(--text-primary);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 42px;
  }

  .topbar {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
    background: rgba(5, 5, 7, 0.9);
  }

  .lang-switch {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1002;
  }

  .nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    margin: 0;
  }

  .hero {
    padding-top: 140px;
  }

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

  .hero-actions .btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  .story-card,
  .story-card.reverse,
  .split-final {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Specs Mobile */
  .specs-grid {
    gap: 40px;
  }

  .spec-item {
    min-width: 100%;
  }

  .story-card.reverse img {
    order: 2;
  }

  .story-card.reverse .card-copy {
    order: 1;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
  }
}