:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;
  --secondary: #06b6d4;

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 45%, #06b6d4 100%);
  --gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #0284c7 45%, #0891b2 100%);

  --background: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;

  --text: #111827;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border: #e5e7eb;
  --border-light: #eceff4;
  --border-hover: #0ea5e9;

  --focus-ring: rgba(37, 99, 235, 0.12);
  --button-shadow: rgba(37, 99, 235, 0.28);
  --button-shadow-hover: rgba(37, 99, 235, 0.35);
  --glow: rgba(14, 165, 233, 0.18);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow-float: 0 20px 50px rgba(37, 99, 235, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #eef6ff 100%);
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 28px;
  z-index: 1;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--gradient-primary);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 1.1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  color: var(--text-secondary);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.headline-accent {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease-in-out infinite alternate;
}

.lead {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--gradient-primary);
  box-shadow: 0 14px 30px var(--button-shadow);
}

.button-primary:hover {
  box-shadow: 0 18px 36px var(--button-shadow-hover);
  background: var(--gradient-hover);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(37, 99, 235, 0.14);
  backdrop-filter: blur(12px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 560px;
}

.metric-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.card-main {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 30px;
  transform: translateY(12px);
}

.card-main h2 {
  margin: 14px 0 10px;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.card-main p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.mini-progress {
  margin-top: 22px;
  width: 100%;
  height: 12px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.mini-progress-bar {
  width: 72%;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-primary);
  background-size: 200% 100%;
  animation: shimmer 3.2s linear infinite;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.card-floating {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 18px 18px 16px;
  border-radius: 22px;
}

.card-small-1 {
  top: 38px;
  right: 0;
  min-width: 170px;
}

.card-small-2 {
  left: 8px;
  bottom: 48px;
  min-width: 170px;
}

.icon-bubble {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  border-radius: 13px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 1.1rem;
}

.card-floating strong {
  font-size: 0.98rem;
}

.card-floating span:last-child {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.10);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline {
  position: relative;
  margin-top: 22px;
  padding: 26px 0 8px;
  display: grid;
  gap: 18px;
}

.timeline-line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.32), rgba(14, 165, 233, 0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding-left: 2px;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  margin-top: 7px;
  margin-left: 9px;
  border-radius: 50%;
  border: 4px solid white;
  background: var(--gradient-primary);
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.10);
}

.timeline-item h4 {
  margin: 0 0 6px;
  font-size: 1.03rem;
}

.timeline-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 0 10px;
  border-top: 1px solid rgba(37, 99, 235, 0.10);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.background-glow {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(35px);
  opacity: 0.8;
  animation: drift 14s ease-in-out infinite alternate;
}

.background-glow-1 {
  top: 10%;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.16);
}

.background-glow-2 {
  right: -90px;
  bottom: 10%;
  width: 300px;
  height: 300px;
  background: rgba(14, 165, 233, 0.14);
  animation-delay: -5s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  opacity: 0.35;
}

.particle-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  bottom: -20px;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.18);
  animation: floatUp linear forwards;
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

.card-small-1 {
  animation-delay: -1.4s;
}

.card-small-2 {
  animation-delay: -2.1s;
}

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

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(18px, -16px) scale(1.08);
  }
}

@keyframes gradientShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(8deg);
  }
}

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

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-120vh) scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-bottom: 8px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .metrics {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .top-bar {
    margin-bottom: 28px;
  }

  .status-pill {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 480px;
  }

  .card-main {
    padding: 22px;
  }

  .card-main h2 {
    font-size: 1.45rem;
  }

  .card-small-1 {
    top: 10px;
    right: -4px;
  }

  .card-small-2 {
    left: -4px;
    bottom: 34px;
  }

  .footer {
    flex-direction: column;
  }
}


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

.footer-links a {
  color: var(--text-muted);
  transition: color 180ms ease;
}

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


.legal-page {
  max-width: 900px;
}

.legal-content {
  padding: 44px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.legal-content h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 14px;
}

.legal-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 42px;
}

.legal-content section {
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-content {
    padding: 24px 20px;
  }
}
