:root {
  --bg: #04060c;
  --bg-soft: #0a0f1e;
  --text: #e8eefc;
  --muted: #9fb0cf;
  --accent: #47f0ff;
  --accent-2: #78ffaf;
  --panel: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at 80% 20%, #13244a 0%, #04060c 45%, #020308 100%);
  color: var(--text);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}

.orb-a { width: 320px; height: 320px; background: #2f7cff; top: 8%; left: -80px; animation: floatA 9s ease-in-out infinite; }
.orb-b { width: 280px; height: 280px; background: #4affcf; bottom: -70px; right: -60px; animation: floatB 12s ease-in-out infinite; }

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(24px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 7vw;
  background: rgba(4, 6, 12, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.lang-btn.active {
  color: #071220;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.brand {
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.nav a:hover {
  color: var(--text);
  text-shadow: 0 0 16px rgba(71, 240, 255, 0.45);
}

.btn {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

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

.btn-solid {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #071220;
  border: none;
  box-shadow: 0 14px 30px rgba(71, 240, 255, 0.3);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.hero {
  padding: 90px 7vw 56px;
  max-width: 1080px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin: 0 0 16px;
}

h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.04;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 20px 0 26px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
}

.hero-stats div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 5px;
}

.hero-stats strong { font-size: 1.2rem; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.cards-section,
.tech,
.models,
.site-footer {
  padding: 44px 7vw;
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  transform-style: preserve-3d;
  transition: transform 260ms ease, border-color 260ms ease;
}

.glass-card:hover {
  transform: translateY(-6px) rotateX(4deg);
  border-color: rgba(71, 240, 255, 0.6);
}

.glass-card p { color: var(--muted); line-height: 1.55; }

.tech {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.tech-left h2,
.models h2,
.site-footer h2 {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.tech-left p,
.site-footer p { color: var(--muted); }

.tech-right {
  position: relative;
  display: grid;
  gap: 12px;
}

.pulse-ring {
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(71, 240, 255, 0.4);
  border-radius: 22px;
  animation: pulse 2.5s ease-in-out infinite;
}

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

.spec-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.spec-label {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.model-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.model-card p { color: var(--muted); }

.model-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  text-align: center;
  padding-bottom: 70px;
}

.mail-link {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

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

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { width: 100%; justify-content: flex-end; }
  .cards-section,
  .model-grid,
  .hero-stats,
  .tech {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 66px; }
}
