:root {
  --bg: #07090d;
  --ink: #e8eef6;
  --muted: #7f8fa3;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #2ec5ff;
  --blue-dim: rgba(46, 197, 255, 0.14);
  --font: "Rajdhani", sans-serif;
  --display: "Orbitron", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.dl-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(46, 197, 255, 0.12), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(61, 255, 138, 0.06), transparent 50%),
    linear-gradient(165deg, #0a1018 0%, var(--bg) 45%, #05070a 100%);
  overflow-x: hidden;
}

/* Full-bleed hero visual plane */
.dl-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.dl-hero-img {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(72vw, 820px);
  height: auto;
  max-height: 110vh;
  object-fit: cover;
  object-position: center;
  transform: translateY(-48%) scale(1.02);
  opacity: 0.9;
  /* Knock out the asset's baked-in navy square so only the ring/glow remains */
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.08) brightness(1.05);
  /* Soft circular falloff so any leftover corners dissolve into the page */
  -webkit-mask-image: radial-gradient(
    closest-side at 50% 50%,
    #000 42%,
    rgba(0, 0, 0, 0.85) 58%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 88%
  );
  mask-image: radial-gradient(
    closest-side at 50% 50%,
    #000 42%,
    rgba(0, 0, 0, 0.85) 58%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 88%
  );
  animation: dl-hero-drift 18s ease-in-out infinite alternate;
}

.dl-hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 9, 13, 0.98) 0%,
      rgba(7, 9, 13, 0.9) 38%,
      rgba(7, 9, 13, 0.25) 62%,
      rgba(7, 9, 13, 0.15) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 9, 13, 0.45) 0%,
      transparent 30%,
      rgba(7, 9, 13, 0.55) 100%
    );
}

.dl-hero-glow {
  position: absolute;
  width: 58vmin;
  height: 58vmin;
  right: 10%;
  top: 36%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 197, 255, 0.18),
    rgba(61, 255, 138, 0.06) 45%,
    transparent 70%
  );
  filter: blur(12px);
  animation: dl-glow-pulse 6s ease-in-out infinite;
}

.dl-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
}

.dl-home {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.dl-home:hover {
  color: var(--ink);
}

.dl-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 5.5rem);
  min-height: calc(100dvh - 5.5rem);
  max-width: 40rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3.5rem;
}

.dl-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0;
  animation: dl-rise 0.7s ease forwards 0.05s;
}

.dl-wordmark {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.12s;
}

.dl-headline {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: var(--ink);
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.22s;
}

.dl-lead {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.3s;
}

.dl-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.4s;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.dl-btn-primary {
  background: var(--blue);
  color: #041018;
  border-color: var(--blue);
}

.dl-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.dl-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.dl-btn-ghost:hover {
  border-color: rgba(46, 197, 255, 0.45);
  background: var(--blue-dim);
}

.dl-ca {
  width: min(100%, 26rem);
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.5s;
}

.dl-ca-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dl-ca-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.dl-ca-row input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(7, 9, 13, 0.72);
  color: var(--ink);
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.dl-ca-row input::placeholder {
  color: rgba(127, 143, 163, 0.7);
}

.dl-ca-row input:focus {
  outline: none;
  border-color: rgba(46, 197, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(46, 197, 255, 0.12);
}

.dl-ca-err {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: #ff5c6a;
}

.dl-ca-err[hidden] {
  display: none !important;
}

.dl-bot {
  margin-top: 2rem;
  max-width: 28rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: dl-rise 0.85s ease forwards 0.58s;
}

.dl-bot-label {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.dl-bot-copy {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.dl-bot-more {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.dl-bot-more:hover {
  color: var(--blue);
}

@keyframes dl-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dl-hero-drift {
  from {
    transform: translateY(-48%) scale(1.02) translateX(0);
  }
  to {
    transform: translateY(-50%) scale(1.05) translateX(-1.5%);
  }
}

@keyframes dl-glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@media (max-width: 720px) {
  .dl-hero-img {
    right: -28%;
    width: min(120vw, 640px);
    opacity: 0.75;
  }

  .dl-hero-wash {
    background:
      linear-gradient(
        180deg,
        rgba(7, 9, 13, 0.55) 0%,
        rgba(7, 9, 13, 0.82) 40%,
        rgba(7, 9, 13, 0.96) 100%
      ),
      linear-gradient(90deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.4) 100%);
  }

  .dl-main {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .dl-ctas {
    width: 100%;
  }

  .dl-ctas .dl-btn {
    flex: 1 1 auto;
  }

  .dl-ca-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-eyebrow,
  .dl-wordmark,
  .dl-headline,
  .dl-lead,
  .dl-ctas,
  .dl-ca,
  .dl-bot,
  .dl-hero-img,
  .dl-hero-glow {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
