:root {
  --bg: #040816;
  --panel: rgba(8, 15, 32, 0.8);
  --panel-strong: rgba(10, 18, 38, 0.95);
  --text: #f5f7ff;
  --muted: #9ab0d3;
  --accent: #5ee7ff;
  --accent-2: #8a7dff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(94, 231, 255, 0.14), transparent 25%),
    linear-gradient(135deg, #040816 0%, #081126 50%, #030612 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  max-width: 100%;
}

.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 30;
  transition: transform 0.15s ease-out;
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-one {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -60px;
  right: -70px;
}

.orb-two {
  width: 340px;
  height: 340px;
  background: var(--accent-2);
  bottom: 10%;
  left: -80px;
  animation-duration: 20s;
}

.background-grid {
  position: fixed;
  inset: 0;
  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: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 95%);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) 24px 12px;
  backdrop-filter: blur(16px);
  background: rgba(4, 8, 22, 0.58);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(94, 231, 255, 0.25);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
  min-height: 92vh;
  padding-top: 56px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  margin: 12px 0 16px;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-card p,
.intro-band h2,
.about-panel p,
.metric-card span {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

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

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn-primary {
  color: #03121d;
  background: linear-gradient(135deg, var(--accent), #9bf5ff);
  box-shadow: 0 14px 36px rgba(94, 231, 255, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.09);
  border-color: rgba(94, 231, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(94, 231, 255, 0.18);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 231, 255, 0.25);
}

.hero-highlights {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.highlight-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.highlight-item strong {
  color: var(--text);
  font-size: 0.98rem;
}

.highlight-item span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  text-align: center;
}

.orbital-card {
  position: relative;
  background: linear-gradient(145deg, rgba(10, 18, 38, 0.95), rgba(5, 10, 25, 0.9));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
}

.orbital-card::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(94, 231, 255, 0.3), transparent 70%);
  animation: pulse 5s ease-in-out infinite;
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.window-bar span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.dashboard {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.09);
  padding: 22px;
  min-height: 340px;
  display: grid;
  gap: 16px;
}

.graph-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.graph-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.graph-card strong {
  font-size: 2rem;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(94, 231, 255, 0.12);
  border: 1px solid rgba(94, 231, 255, 0.2);
  color: var(--accent);
  font-size: 0.95rem;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  white-space: nowrap;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(94, 231, 255, 0.14);
  border: 1px solid rgba(94, 231, 255, 0.24);
  color: var(--accent);
}

.intro-band {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-top: 42px;
  padding-bottom: 42px;
}

.intro-band h2 {
  max-width: 860px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.45;
  margin: 12px 0 0;
}

.section-heading {
  margin-bottom: 32px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  border-radius: 16px;
  display: block;
  background: #000;
}

.video-card h3 {
  margin: 14px 0 8px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.card,
.metric-card,
.contact-card,
.about-panel {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 231, 255, 0.3);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

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

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-list > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

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

.metric-card strong {
  display: block;
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
}

.contact-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(94, 231, 255, 0.16), rgba(138, 125, 255, 0.16));
  border: 1px solid rgba(94, 231, 255, 0.24);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--text);
  color: #04111d;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(94, 231, 255, 0.2);
}

.contact-callout p {
  margin: 0;
  color: var(--text);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-info > div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.contact-info strong {
  display: block;
  margin-bottom: 4px;
}

.contact-info span {
  color: var(--muted);
}

footer {
  padding: 18px 24px 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, 32px, 0) scale(1.08); }
}

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

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .split-section,
  .cards,
  .metrics-section {
    grid-template-columns: 1fr;
  }

  .cards,
  .metrics-section,
  .video-grid {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: calc(14px + env(safe-area-inset-top)) 14px 12px;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .lang-btn {
    min-height: 44px;
    flex: 1 1 auto;
  }

  .section {
    padding: 64px 16px;
  }

  .hero h1,
  .section h2,
  .contact-card h2 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .phone-pill {
    width: 100%;
    min-height: 50px;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

  footer {
    padding-inline: 16px;
  }
}
