:root {
  color-scheme: light;
  --bg: #f6f8ff;
  --bg-deep: #eef2ff;
  --text: #0f172a;
  --muted: #586b8a;
  --primary: #1357ff;
  --primary-dark: #0b3db3;
  --accent: #0aa6ff;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  --radius: 24px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 35%, #e9f2ff 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background: radial-gradient(circle, #1a63ff 0%, rgba(26, 99, 255, 0.1) 65%);
  top: -160px;
  right: -120px;
  animation: float 10s ease-in-out infinite;
}

body::after {
  background: radial-gradient(circle, #0fd5ff 0%, rgba(15, 213, 255, 0.1) 60%);
  bottom: -200px;
  left: -120px;
  animation: float 12s ease-in-out infinite reverse;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8vw;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  z-index: 1000;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo img {
  width: auto;
  height: 48px;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 87, 255, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(19, 87, 255, 0.4);
}

.button.ghost {
  border-color: rgba(19, 87, 255, 0.25);
  color: var(--primary);
  background: #ffffff;
}

.button.ghost:hover {
  background: rgba(19, 87, 255, 0.05);
}

main {
  padding-top: var(--header-height);
}

.hero {
  padding: 80px 0 60px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.05;
  margin: 16px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.metric {
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glow-card {
  background: linear-gradient(150deg, #ffffff 0%, #f5f8ff 60%, #e4eeff 100%);
  border-radius: 28px;
  padding: 28px;
  width: min(420px, 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(19, 87, 255, 0.15);
}

.glow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.glow-header > span:first-child {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.status-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  animation: pulse 2s ease-in-out infinite;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-left: 8px;
  opacity: 0.5;
  animation: slideIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: -16px;
  width: 2px;
  background: rgba(19, 87, 255, 0.15);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item.completed {
  opacity: 1;
}

.timeline-item.completed::before {
  background: linear-gradient(180deg, rgba(19, 87, 255, 0.4), rgba(19, 87, 255, 0.15));
}

.timeline-item.active {
  opacity: 1;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(19, 87, 255, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0e7ff;
  border: 3px solid #ffffff;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.timeline-item.completed .timeline-dot {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.timeline-content strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.timeline-content span {
  color: var(--muted);
  font-size: 0.85rem;
}

.glow-footer {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.glow-footer > div {
  flex: 1;
}

.glow-footer strong {
  color: var(--text);
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

.hero-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(15, 213, 255, 0.6);
  animation: orbit 10s linear infinite;
}

.orbit-dot:nth-child(2) {
  width: 10px;
  height: 10px;
  background: var(--primary);
  animation-duration: 14s;
}

.orbit-dot:nth-child(3) {
  width: 8px;
  height: 8px;
  background: #5dd1ff;
  animation-duration: 18s;
}

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.section-heading .button {
  margin-top: 8px;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

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

.highlight {
  background: linear-gradient(180deg, rgba(19, 87, 255, 0.05), transparent 60%);
}

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

.process-step {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(19, 87, 255, 0.1);
  box-shadow: 0 14px 36px rgba(19, 87, 255, 0.08);
}

.process-step > span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.process-step p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.site-footer {
  padding: 50px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #fdfdff;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.site-footer strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(160px);
  }
  to {
    transform: rotate(360deg) translateX(160px);
  }
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 0.5;
    transform: translateX(0);
  }
}

@media (max-width: 1100px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 120px;
  }

  .site-header .container {
    flex-wrap: wrap;
    gap: 16px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 40px 0 20px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
