﻿:root {
  --white: #ffffff;
  --black: #0f0f12;
  --dark: #111827;
  --dark-2: #0f172a;
  --gray: #9ca3af;
  --gray-2: #6b7280;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #60a5fa;
  --lilac: #a78bfa;
  --green: #34d399;
  --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  --gradient-dark: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.24) 0%, rgba(96, 165, 250, 0.08) 25%, transparent 55%),
                   radial-gradient(circle at 80% 30%, rgba(167, 139, 250, 0.2) 0%, rgba(167, 139, 250, 0.06) 28%, transparent 60%),
                   linear-gradient(145deg, #0c111d 0%, #090d16 50%, #070a12 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
}

.navbar.is-scrolled {
  background: rgba(11, 14, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
  border: 1px solid var(--line);
}

.logo span {
  letter-spacing: 0.2px;
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu a {
  font-size: 0.93rem;
  color: #e8ebf0;
  opacity: 0.92;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.menu a:hover {
  opacity: 1;
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.35rem;
}

.btn {
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(96, 165, 250, 0.42);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.01);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-outline:hover {
  border-color: rgba(96, 165, 250, 0.65);
  background: rgba(96, 165, 250, 0.12);
}

.btn-lg {
  font-size: 0.98rem;
  padding: 0.95rem 1.4rem;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #dce2ec;
  background: rgba(255, 255, 255, 0.02);
  width: 42px;
  height: 42px;
}

.menu-overlay {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: -4;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  z-index: -3;
}

.hero-glow {
  position: absolute;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -2;
}

.hero-glow-a {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.26) 0%, rgba(96, 165, 250, 0) 70%);
  left: -120px;
  top: 10%;
}

.hero-glow-b {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.24) 0%, rgba(167, 139, 250, 0) 70%);
  right: -100px;
  bottom: 10%;
}

.hero-content {
  padding-top: 8.2rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.12);
  color: #c8dcff;
  font-size: 0.83rem;
  margin-bottom: 1.6rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 900;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  width: min(760px, 100%);
  margin: 1.2rem auto 0;
  color: #c1c8d6;
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
}

.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 2.6rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 0.85rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.stat-card strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.32rem;
  color: #eaf1ff;
}

.stat-card span {
  color: #bac4d6;
  font-size: 0.85rem;
}

.section {
  padding: 5.6rem 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.tag {
  display: inline-flex;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d8ceff;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.12);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
}

.section-head h2 {
  margin: 0.95rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.14;
}

.section-head h2 span {
  color: #b3cbff;
}

.section-head p {
  margin: 0.88rem auto 0;
  color: #aeb9cb;
  max-width: 650px;
}

.card-grid {
  margin-top: 2.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card {
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(17, 24, 39, 0.72), rgba(8, 13, 23, 0.9));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.feature-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #eaf1ff;
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.5), rgba(167, 139, 250, 0.38));
}

.feature-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.03rem;
}

.feature-card p {
  margin: 0.6rem 0 0;
  color: #acb7c9;
  font-size: 0.9rem;
}

.systems {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.04), transparent 28%), #080b12;
}

.systems-grid {
  margin-top: 2.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.system-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.72);
  padding: 1rem;
}

.system-item > span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(96, 165, 250, 0.82);
}

.system-item h3 {
  margin: 0;
  font-size: 1rem;
}

.system-item p {
  margin: 0.45rem 0 0;
  color: #aeb9cb;
  font-size: 0.9rem;
}

.cta {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5.4rem;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.26) 0%, rgba(167, 139, 250, 0.03) 35%, rgba(167, 139, 250, 0) 65%);
  pointer-events: none;
}

.cta-wrap {
  position: relative;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 24px;
  padding: 2rem 1.2rem;
  text-align: center;
  background: linear-gradient(165deg, rgba(96, 165, 250, 0.14), rgba(17, 24, 39, 0.64));
}

.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.cta-wrap p {
  margin: 0.9rem auto 0;
  max-width: 680px;
  color: #c7d0de;
}

.footer {
  padding-top: 2.1rem;
  border-top: 1px solid var(--line);
  background: #070a10;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.brand h3 {
  margin: 0;
  font-size: 1rem;
}

.brand p {
  margin: 0.2rem 0 0;
  color: var(--gray);
  font-size: 0.87rem;
}

.links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.links a {
  font-size: 0.9rem;
  color: #d0d6e3;
}

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

.footer-bottom {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  padding-bottom: 1.6rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-2);
  font-size: 0.84rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .menu,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .menu {
    position: fixed;
    right: 1rem;
    top: 82px;
    width: min(92vw, 360px);
    background: #0d1422;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
    z-index: 1001;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    border-radius: 10px;
    padding: 0.7rem 0.72rem;
    font-size: 0.92rem;
  }

  .menu a:hover {
    background: rgba(96, 165, 250, 0.12);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 8, 0.56);
    z-index: 999;
  }

  .menu-overlay.is-open {
    display: block;
  }

  .hero-content {
    padding-top: 7.2rem;
  }

  .hero-stats,
  .card-grid,
  .systems-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1200px, calc(100% - 1.4rem));
  }

  .hero p {
    font-size: 0.96rem;
  }

  .hero-stats,
  .card-grid,
  .systems-grid {
    grid-template-columns: 1fr;
  }

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

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

  .links {
    gap: 0.72rem;
  }
}
