:root {
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --surface: rgba(255, 255, 255, 0.09);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.16);
  --text: #f7fbff;
  --muted: #b0bdd0;
  --accent: #4cc9f0;
  --accent-2: #f4a261;
  --accent-3: #9b5de5;
  --success: #6ee7b7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(155, 93, 229, 0.18), transparent 22%),
    linear-gradient(135deg, #07111f 0%, #0b1830 45%, #050b14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

#background-canvas,
.noise,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#background-canvas {
  opacity: 0.6;
  z-index: 0;
}

.noise {
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.glow {
  filter: blur(90px);
  z-index: 0;
}

.glow-a {
  background: rgba(76, 201, 240, 0.18);
  top: -10%;
  left: -10%;
  width: 32rem;
  height: 32rem;
}

.glow-b {
  background: rgba(244, 162, 97, 0.16);
  right: -8%;
  bottom: -12%;
  width: 28rem;
  height: 28rem;
}

.topbar,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: var(--container);
  margin: 0 auto;
  padding: 1.2rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.nav a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 12px 30px rgba(76, 201, 240, 0.35);
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

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

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 5.2rem 0;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  gap: 2.4rem;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #d8f7ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 1rem 0 1rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  max-width: 12ch;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 14ch;
}

.lead,
.section-heading p,
.feature-card p,
.progress-panel p,
.cta-panel p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}

.button {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}

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

.button-primary {
  color: #06111f;
  background: linear-gradient(135deg, #ffffff 0%, #b7efff 48%, #7ce2ff 100%);
  box-shadow: 0 16px 40px rgba(76, 201, 240, 0.3);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stats-grid,
.features-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.stat-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-value::after {
  content: '+';
  margin-left: 0.1rem;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual-frame {
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  width: min(100%, 560px);
  transform: perspective(1200px) rotateY(-8deg) rotateX(5deg);
}

.hero-visual-frame img {
  border-radius: 24px;
  width: 100%;
}

.floating-card {
  animation: float 6s ease-in-out infinite;
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
}

.floating-chip span,
.progress-list span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.14);
}

.chip-a {
  top: 11%;
  right: -2%;
}

.chip-b {
  left: 0;
  bottom: 12%;
}

.section-heading {
  margin-bottom: 2rem;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.gallery-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  overflow: hidden;
}

.feature-card img {
  height: 220px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.progress-panel,
.cta-panel {
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.progress-widget {
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(5, 16, 31, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.progress-top strong {
  color: var(--text);
}

.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% 200%;
  animation: shimmer 4s linear infinite;
}

.progress-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.progress-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  min-height: 260px;
  display: grid;
  place-items: center;
}

.gallery-card img {
  max-height: 220px;
  object-fit: contain;
}

.cta-panel {
  grid-template-columns: 1fr;
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 2rem;
  text-align: center;
}

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

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

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

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 3rem;
  }

  .progress-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    margin-top: 2.5rem;
  }

  .hero-visual-frame {
    transform: none;
  }

  .features-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .chip-a {
    top: 2%;
    right: 2%;
  }

  .chip-b {
    left: 2%;
    bottom: 2%;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding-top: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 100%;
  }

  .progress-panel,
  .cta-panel,
  .feature-card,
  .gallery-card,
  .stat-card {
    padding: 1.25rem;
  }

  .floating-chip {
    position: static;
    margin-top: 0.75rem;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}