:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --magenta: #e6007e;
  --text: #1c2433;
  --muted: #5b6575;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

a { color: inherit; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230, 0, 126, 0.3); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { box-shadow: none; border-color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.nav nav { display: flex; align-items: center; gap: 1.5rem; }
.nav nav a:not(.btn) { text-decoration: none; opacity: 0.85; }
.nav nav a:not(.btn):hover { opacity: 1; }
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.logo span { color: var(--magenta); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), #3a1650, var(--navy));
  background-size: 300% 300%;
  animation: gradient-shift 16s ease-in-out infinite;
  color: #fff;
  padding-block: clamp(4rem, 12vw, 8rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  animation: grid-drift 20s linear infinite;
}
.hero .container { position: relative; }

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; top: -140px; right: -100px; background: var(--magenta); }
.blob-2 { width: 340px; height: 340px; bottom: -160px; right: 25%; background: #7b2ff7; animation-delay: -5s; animation-duration: 18s; }
.blob-3 { width: 260px; height: 260px; top: 30%; right: 10%; background: #1e6bff; opacity: 0.35; animation-delay: -9s; animation-duration: 12s; }

.reveal { animation: fade-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0s); }

.btn-pulse { animation: pulse 2.6s ease-out infinite; }

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.08); }
  66% { transform: translate(30px, -25px) scale(0.95); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes shimmer {
  to { background-position: -300% 0; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 126, 0.55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(230, 0, 126, 0); }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--magenta);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--magenta);
  background: linear-gradient(90deg, var(--magenta), #ff6ec4, #a66bff, var(--magenta));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
.lead { font-size: 1.15rem; max-width: 55ch; opacity: 0.9; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.features { background: var(--bg-alt); padding-block: 5rem; }
.features h2, .cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  color: var(--navy);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid var(--magenta);
  box-shadow: 0 4px 18px rgba(11, 31, 58, 0.06);
}
.card h3 { margin: 0 0 0.5rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

.cta { padding-block: 5rem; text-align: center; }
.cta h2 { margin-bottom: 0.75rem; }
.cta p { color: var(--muted); margin: 0 0 2rem; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding-block: 1.5rem;
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .nav nav a:not(.btn) { display: none; }
  .blob-1 { width: 280px; height: 280px; }
  .blob-2 { width: 240px; height: 240px; }
  .blob-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .hero::before, .blob, .reveal, .hero h1 em, .btn-pulse { animation: none; }
}
