body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 32%),
    radial-gradient(
      circle at 80% 18%,
      rgba(37, 99, 235, 0.12),
      transparent 24%
    ),
    #0b0b0f;
}

.hero-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(77, 163, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.45;
}

.hero-orb {
  animation: pulseGlow 10s ease-in-out infinite;
}

.hero-phone-glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.28),
    transparent 62%
  );
  filter: blur(24px);
  pointer-events: none;
}

.hero-phone-shell {
  filter: drop-shadow(0 50px 90px rgba(0, 0, 0, 0.65));
}

.phone-frame-specular {
  position: absolute;
  inset: 0;
  border-radius: 3rem;
  pointer-events: none;
  z-index: 25;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -16px 28px rgba(0, 0, 0, 0.35),
    inset 12px 0 18px rgba(255, 255, 255, 0.03),
    inset -12px 0 18px rgba(255, 255, 255, 0.02);
}

.phone-frame-specular::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

.phone-screen-reflection {
  position: absolute;
  inset: -8% auto -12% -35%;
  width: 68%;
  --reflection-shift-x: 0px;
  --reflection-shift-y: 0px;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(255, 255, 255, 0.22) 46%,
    rgba(255, 255, 255, 0.04) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
  z-index: 15;
  animation: screenSweep 7.5s ease-in-out infinite;
  will-change: transform;
}

.phone-screen-gloss {
  position: absolute;
  inset: 0;
  --gloss-shift-x: 0px;
  --gloss-shift-y: 0px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0) 22%
    ),
    radial-gradient(
      circle at 50% 8%,
      rgba(255, 255, 255, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 120%,
      rgba(59, 130, 246, 0.14),
      transparent 36%
    );
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
  z-index: 12;
  will-change: transform;
  transition: transform 120ms ease-out;
  transform: translate(var(--gloss-shift-x), var(--gloss-shift-y));
}

.hero-float-card {
  position: absolute;
  z-index: 30;
  padding: 0.95rem 1rem;
  min-width: 12rem;
  border-radius: 1.25rem;
  background: rgba(17, 22, 33, 0.7);
  border: 1px solid rgba(126, 167, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 50px -28px rgba(0, 0, 0, 0.85),
    0 14px 28px -24px rgba(59, 130, 246, 0.3);
}

.glass-panel {
  background: rgba(20, 24, 36, 0.62);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 146, 198, 0.16);
  box-shadow: 0 24px 60px -30px rgba(15, 111, 255, 0.38);
}

.ambient-shadow {
  box-shadow:
    0 30px 80px -40px rgba(0, 0, 0, 0.9),
    0 18px 40px -28px rgba(15, 111, 255, 0.25);
}

.soft-shadow {
  background: rgba(18, 22, 32, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px -35px rgba(0, 0, 0, 0.85),
    0 16px 32px -24px rgba(59, 130, 246, 0.22);
  border: 1px solid rgba(124, 152, 207, 0.16);
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #7dd3fc, #4da3ff, #2563eb);
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #0f6fff, #1d4ed8);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(125, 180, 255, 0.25);
  transition: all 0.3s ease;
  box-shadow:
    0 20px 45px -20px rgba(15, 111, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 25px 50px -18px rgba(59, 130, 246, 0.62),
    0 0 30px rgba(37, 99, 235, 0.28);
}

.hero-cta {
  position: relative;
  min-height: 4.75rem;
  padding: 1.1rem 2rem;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  box-shadow:
    0 28px 80px -28px rgba(15, 111, 255, 0.85),
    0 0 0 1px rgba(163, 208, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 1.5rem;
  background: radial-gradient(
    circle,
    rgba(77, 163, 255, 0.34) 0%,
    rgba(77, 163, 255, 0.16) 34%,
    rgba(77, 163, 255, 0) 72%
  );
  filter: blur(16px);
  opacity: 0.95;
  z-index: -1;
  pointer-events: none;
}

.hero-cta:hover {
  box-shadow:
    0 34px 95px -30px rgba(77, 163, 255, 0.98),
    0 0 42px rgba(77, 163, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(77, 163, 255, 0.22), rgba(15, 111, 255, 0.1)),
    rgba(16, 21, 31, 0.92);
  border: 1px solid rgba(133, 188, 255, 0.26);
  box-shadow:
    0 18px 45px -22px rgba(15, 111, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.footer-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 15rem;
  padding: 0.95rem 1.2rem;
  border-radius: 1.15rem;
  background: linear-gradient(
    180deg,
    rgba(20, 26, 38, 0.92),
    rgba(8, 11, 18, 0.96)
  );
  border: 1px solid rgba(135, 154, 191, 0.22);
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.85),
    0 0 38px rgba(77, 163, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.footer-store-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(133, 188, 255, 0.36);
  box-shadow:
    0 30px 70px -32px rgba(0, 0, 0, 0.92),
    0 0 46px rgba(77, 163, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
  .footer-brand-mark {
    justify-content: center;
  }

  .footer-store-badge {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-cta {
    min-height: 5.35rem;
    padding: 1.35rem 2.8rem;
    font-size: 1.4rem;
  }
}

.btn-secondary {
  background: rgba(17, 21, 31, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(128, 146, 181, 0.18);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(113, 163, 255, 0.35);
  background: rgba(22, 27, 40, 0.88);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 32px -18px rgba(37, 99, 235, 0.32);
}

.floating-phone {
  animation: float 6s ease-in-out infinite;
}

.card-float {
  animation: cardFloat 8s ease-in-out infinite;
}

.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #00ff00;
  box-shadow:
    0 0 10px #00ff00,
    0 0 20px #00ff00;
  animation: scanLine 3s linear infinite;
  z-index: 40;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.hover-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 24px 50px -30px rgba(0, 0, 0, 0.95),
    0 18px 32px -26px rgba(37, 99, 235, 0.28);
}

#mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(
    circle 600px at var(--x, 50%) var(--y, 50%),
    rgba(59, 130, 246, 0.12),
    transparent 40%
  );
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes cardFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
}

@keyframes screenSweep {
  0% {
    transform: translate3d(
        calc(-18% + var(--reflection-shift-x)),
        var(--reflection-shift-y),
        0
      )
      skewX(-18deg);
    opacity: 0.35;
  }
  20% {
    opacity: 0.92;
  }
  50% {
    transform: translate3d(
        calc(92% + var(--reflection-shift-x)),
        var(--reflection-shift-y),
        0
      )
      skewX(-18deg);
    opacity: 0.78;
  }
  100% {
    transform: translate3d(
        calc(132% + var(--reflection-shift-x)),
        var(--reflection-shift-y),
        0
      )
      skewX(-18deg);
    opacity: 0.18;
  }
}

@keyframes scanLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-phone,
  .card-float,
  .scanner-line,
  .scroll-reveal,
  .hover-card {
    animation: none;
    transition: none;
    transform: none !important;
  }

  .scroll-reveal {
    opacity: 1;
  }
}
