:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #080a14;
  color: #e6ecff;
  accent-color: #5a9dff;
  --bg: #080a14;
  --surface: rgba(19, 24, 42, 0.94);
  --surface-strong: rgba(16, 20, 36, 0.98);
  --border: rgba(99, 125, 255, 0.12);
  --primary: #6f9cff;
  --primary-strong: #3f79ff;
  --muted: #9aa1c8;
  --shadow: 0 32px 80px rgba(15, 22, 46, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(79, 120, 255, 0.24), transparent 24%),
              radial-gradient(circle at bottom right, rgba(86, 255, 217, 0.12), transparent 20%),
              linear-gradient(180deg, #05070f 0%, #080a14 100%);
  color: var(--e6ecff, #e6ecff);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 4rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand .mark {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(96, 127, 255, 0.9), rgba(0, 255, 200, 0.55));
  box-shadow: 0 18px 40px rgba(49, 92, 255, 0.18);
  color: #08132b;
  font-weight: 800;
}

.brand.glow {
  animation: glowPulse 1.2s ease-in-out;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 6vw, 7rem) 0 5rem;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 42rem;
  height: 42rem;
  top: -8rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(85, 129, 255, 0.18), transparent 60%);
}

.hero::after {
  width: 34rem;
  height: 34rem;
  bottom: -10rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(0, 255, 214, 0.12), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  color: #8aa2ff;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.79rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy h1 strong {
  color: #ffffff;
}

.hero-word {
  position: relative;
  display: inline-block;
  color: #7ee4ff;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-panel canvas {
  width: 100%;
  height: 280px;
  border-radius: 1.6rem;
  display: block;
  margin-bottom: 1.4rem;
}

.hero-copy p {
  margin: 1.8rem 0 2.2rem;
  max-width: 36rem;
  line-height: 1.8;
  color: #b9c2ea;
  font-size: 1rem;
}

.hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-primary,
.button-secondary {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, #5a9dff, #1affd9);
  color: #071127;
  box-shadow: 0 18px 40px rgba(90, 157, 255, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e9efff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-panel {
  min-height: 520px;
  background: linear-gradient(180deg, rgba(12, 17, 36, 0.94), rgba(10, 14, 28, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 36%);
  pointer-events: none;
}

.hero-panel .panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-panel .panel-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #f4f7ff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(56, 81, 212, 0.12);
  color: #8ea6ff;
  font-size: 0.9rem;
}

.panel-visual {
  position: relative;
  padding: 1rem 0 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.35rem;
  min-height: 134px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-card h3 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: #a7b0ff;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  padding: 5rem 0;
}

.section .section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section .section-title {
  margin: 0;
  font-size: clamp(2rem, 2.75vw, 3rem);
}

.section .section-intro {
  max-width: 42rem;
  color: #b9c2ea;
  line-height: 1.8;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  background: rgba(15, 22, 44, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2rem;
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 16, 30, 0.25);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: radial-gradient(circle at top right, rgba(95, 170, 255, 0.16), transparent 36%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

..card:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 157, 255, 0.22);
  box-shadow: 0 40px 95px rgba(17, 26, 61, 0.3);
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: #b9c2ea;
  line-height: 1.75;
}

.card .tag {
  margin-top: 1.6rem;
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(90, 157, 255, 0.12);
  color: #86a4ff;
  font-size: 0.85rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.8rem;
  padding: 1.7rem;
  min-height: 160px;
}

.feature-card h4 {
  margin-top: 0;
  font-size: 1rem;
}

.feature-card p {
  margin: 1rem 0 0;
  color: #bac4e8;
  line-height: 1.75;
}

.footer {
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8f9ae5;
  text-align: center;
}

.footer nav {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid,
  .grid-cards,
  .feature-list {
    grid-template-columns: 1fr;
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 40px rgba(49, 92, 255, 0.18);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 24px 58px rgba(97, 182, 255, 0.32);
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0 0.5rem;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding-top: 3rem;
  }
  .hero-copy h1 {
    font-size: 2.6rem;
  }
}
