:root {
  --dual-primary: #0f766e;
  --dual-secondary: #1e3a8a;
  --dual-warm: #f97316;
  --dual-cool: #0ea5e9;
  --dual-dark: #0f172a;
  --dual-accent: #e11d48;
  --surface: #f8fafc;
  --surface-soft: #eef2f7;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-lift: 0 24px 60px rgba(15, 23, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--dual-dark);
  background: var(--surface);
}

body.dark {
  color: #e2e8f0;
  background: #0b1120;
}

.site-ambient {
  position: relative;
  overflow-x: hidden;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(249, 115, 22, 0.2), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.site-ambient::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 140%;
  background:
    radial-gradient(500px 500px at 85% 15%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(700px 700px at 20% 30%, rgba(14, 165, 233, 0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-gradient {
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(14, 165, 233, 0.45), transparent 55%),
    radial-gradient(700px 420px at 80% 20%, rgba(249, 115, 22, 0.35), transparent 45%),
    linear-gradient(120deg, #0b1120 0%, #0f766e 45%, #1e3a8a 100%);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card {
  background: rgba(15, 118, 110, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-soft), 0 0 20px rgba(15, 118, 110, 0.3);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
  pointer-events: none;
  animation: shine 6s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.hero-card-mini {
  position: absolute;
  right: -12%;
  bottom: -16%;
  width: min(280px, 90%);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.glow-text {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.btn-pulse:hover::before {
    width: 300px;
    height: 300px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  color: #fff;
}

.dual-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.dark .dual-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.2);
}

.feature-icon {
  background: linear-gradient(140deg, rgba(14, 165, 233, 0.2), rgba(249, 115, 22, 0.2));
  color: var(--dual-dark);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.gradient-text {
  background: linear-gradient(90deg, var(--dual-primary), var(--dual-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-pulse {
  position: relative;
  overflow: visible;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: pulse-ring 2.6s ease-out infinite;
}

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

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

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hero-card-mini {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-pulse::after {
    animation: none;
  }
}
