:root {
  --bg-deep: #0c1020;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f2fa;
  --muted: #9aa3c4;
  --accent: #7c8cff;
  --accent-soft: rgba(124, 140, 255, 0.15);
  --glow: rgba(124, 140, 255, 0.45);
  --radius: 18px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Ambient background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(124, 140, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(99, 102, 241, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(56, 189, 248, 0.08), transparent 45%),
    var(--bg-deep);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 4rem;
}

/* Header */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeDown 0.9s var(--ease-out) 0.1s forwards;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--glow);
  animation: pulse 2.8s ease-in-out infinite;
}

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

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  opacity: 0;
  animation: fadeUp 0.95s var(--ease-out) 0.2s forwards;
}

.hero .lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38ch;
  opacity: 0;
  animation: fadeUp 0.95s var(--ease-out) 0.35s forwards;
}

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

/* Sections */
section {
  margin-top: 3rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

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

.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
}

.features li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.features li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  box-shadow: 0 0 12px var(--glow);
}

.why p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.why p:last-child {
  margin-bottom: 0;
}

.why strong {
  color: var(--text);
  font-weight: 600;
}

/* Contact */
.contact {
  margin-top: 3.5rem;
}

.contact .card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(145deg, var(--accent-soft), var(--bg-card));
  border-color: rgba(124, 140, 255, 0.25);
}

.contact p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.contact a:hover {
  transform: translateY(-2px);
  background: rgba(124, 140, 255, 0.2);
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  opacity: 0.75;
}

footer span {
  display: block;
  margin-top: 0.35rem;
}

footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover {
  color: #cfd5ff;
}
