:root {
  --bg-dark: #021225;
  --bg-deep: #041b38;
  --bg-mid: #0a2d57;
  --accent-blue: #19b7ff;
  --accent-cyan: #65e7ff;
  --accent-green: #1fd26c;
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.8);
  --text-faint: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.14);
  --shadow-main: 0 25px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(25, 183, 255, 0.25);
  --radius-lg: 28px;
  --radius-pill: 999px;
  --transition-fast: 0.25s ease;
  --transition-med: 0.45s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #0c3566 0%, var(--bg-dark) 48%, #000814 100%);
  color: var(--text-main);
}

body {
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  left: -120px;
  background: radial-gradient(circle, rgba(25, 183, 255, 0.75) 0%, rgba(25, 183, 255, 0) 70%);
}

.orb-2 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(31, 210, 108, 0.55) 0%, rgba(31, 210, 108, 0) 72%);
  animation-delay: 2s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.7;
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  animation: bubbleRise linear infinite;
}

.ripple {
  position: absolute;
  left: 50%;
  bottom: -220px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(101, 231, 255, 0.11);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: ripplePulse 7s linear infinite;
}

.ripple-2 {
  width: 980px;
  height: 980px;
  bottom: -360px;
  animation-delay: 2s;
}

.ripple-3 {
  width: 1260px;
  height: 1260px;
  bottom: -500px;
  animation-delay: 4s;
}

.landing-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero-card {
  width: min(92vw, 760px);
  padding: 40px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main), var(--shadow-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.18s ease-out, box-shadow var(--transition-med);
  animation: cardReveal 1s ease forwards;
}

.logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.logo {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 24px rgba(25, 183, 255, 0.12));
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: logoReveal 1s 0.2s ease forwards, logoPulse 4s 1.3s ease-in-out infinite;
}

.subtitle {
  margin-top: 2px;
  margin-bottom: 22px;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  animation: fadeUp 0.9s 0.55s ease forwards;
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(25, 183, 255, 0.28);
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
  opacity: 0;
  animation: fadeUp 0.9s 0.8s ease forwards;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(31, 210, 108, 0.26),
    0 0 22px rgba(25, 183, 255, 0.32);
  filter: brightness(1.06);
}

.cta-btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}

.cta-btn:hover .btn-glow {
  transform: translateX(130%);
}

.cta-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: var(--left, 50%);
  top: var(--top, 50%);
  background: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.cta-btn.ripple-click::after {
  animation: clickRipple 0.7s ease-out;
}

.microtext {
  margin-top: 18px;
  font-size: clamp(0.82rem, 1.5vw, 0.96rem);
  color: var(--text-faint);
  max-width: 520px;
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 0.9s 1s ease forwards;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoPulse {
  0%, 100% {
    filter:
      drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 22px rgba(25, 183, 255, 0.12));
  }
  50% {
    filter:
      drop-shadow(0 12px 24px rgba(0, 0, 0, 0.38))
      drop-shadow(0 0 34px rgba(101, 231, 255, 0.22));
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 20px) scale(1.06);
  }
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-115vh) scale(1.25);
    opacity: 0;
  }
}

@keyframes ripplePulse {
  0% {
    transform: translateX(-50%) scale(0.93);
    opacity: 0.18;
  }
  50% {
    opacity: 0.07;
  }
  100% {
    transform: translateX(-50%) scale(1.08);
    opacity: 0;
  }
}

@keyframes clickRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.45;
  }
  100% {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero-card {
    width: min(94vw, 680px);
    padding: 28px 18px 26px;
  }

  .logo {
    width: min(100%, 410px);
  }

  .subtitle {
    letter-spacing: 0.09em;
    margin-bottom: 18px;
  }

  .cta-btn {
    min-width: 200px;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .microtext {
    margin-top: 16px;
    max-width: 90%;
  }

  .ripple-1 {
    width: 520px;
    height: 520px;
  }

  .ripple-2 {
    width: 760px;
    height: 760px;
  }

  .ripple-3 {
    width: 980px;
    height: 980px;
  }
}

@media (max-width: 480px) {
  .landing-page {
    padding: 16px;
  }

  .hero-card {
    border-radius: 22px;
    padding: 22px 14px 22px;
  }

  .logo {
    width: min(100%, 340px);
  }

  .subtitle {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .cta-btn {
    width: 100%;
    max-width: 260px;
  }

  .microtext {
    font-size: 0.82rem;
  }
}