:root {
  --bg: #061233;
  --ink: #f5fbff;
  --muted: #c2d3ff;
  --brand: #5b81ff;
  --brand-dark: #2f58de;
  --accent: #35d4cf;
  --card: rgba(255, 255, 255, 0.08);
  --ring: rgba(83, 128, 255, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 580px at -20% 0%, #1346f2 0%, transparent 58%),
    radial-gradient(1200px 580px at 120% 0%, #1ca8d6 0%, transparent 52%),
    radial-gradient(900px 420px at 35% 100%, #0f4ed0 0%, transparent 64%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

.aurora {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.52;
  z-index: -1;
}

.aurora-left {
  width: 360px;
  height: 360px;
  background: #2e62ff;
  top: 10%;
  left: -120px;
}

.aurora-right {
  width: 400px;
  height: 400px;
  background: #35d4cf;
  top: 38%;
  right: -160px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

.site-header,
main,
.site-footer {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  width: 100%;
  margin: 0;
  padding: 18px max(4vw, calc((100vw - 1080px) / 2));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(4, 12, 42, 0.88), rgba(4, 12, 42, 0.28));
  border-bottom: 1px solid rgba(122, 154, 255, 0.28);
  z-index: 5;
}

.brand {
  text-decoration: none;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 24px rgba(53, 212, 207, 0.25);
  line-height: 1;
  padding-top: 1px;
  position: relative;
  top: -1px;
}

.main-nav {
  display: flex;
  gap: 18px;
}

.main-nav a {
  text-decoration: none;
  color: #deebff;
  font-weight: 500;
}

.main-nav a:hover {
  color: #ffffff;
}

.hero {
  padding: 70px 0 36px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: center;
}

.hero-brand {
  margin: 0 0 55px;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.75rem;
  color: #8ac4ff;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  margin: 12px 0;
  line-height: 1.03;
}

.hero-text {
  max-width: 60ch;
  color: #c8d8ff;
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  perspective: 1200px;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 620px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #1f1f1f 100%);
  border-radius: 54px;
  box-shadow: 
    0 0 50px rgba(0, 0, 0, 0.4),
    0 30px 80px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  transform: rotateX(10deg) rotateZ(-1deg);
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: phone-float 4.5s ease-in-out infinite;
}

.phone-mockup::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    transparent 100%
  );
  border-radius: 54px 54px 0 0;
  pointer-events: none;
  z-index: 8;
}

.phone-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: #000;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -40px;
  background: rgba(6, 23, 70, 0.9);
  border: 1px solid rgba(164, 195, 255, 0.6);
  border-radius: 12px;
  padding: 8px 12px;
  color: #d4e4ff;
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(91, 129, 255, 0.2);
}

.bubble {
  position: absolute;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.96);
  z-index: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  text-shadow: 0 1px 3px rgba(0, 35, 90, 0.35);
}

.bubble::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0.02) 72%);
  z-index: -1;
}

.bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 
    0 18px 30px rgba(8, 70, 167, 0.14),
    inset 1px 1px 3px rgba(255, 255, 255, 0.75),
    inset -8px -16px 24px rgba(17, 81, 189, 0.2);
}

.bubble-1 {
  width: 80px;
  height: 80px;
  top: 50px;
  right: -30px;
  background: linear-gradient(135deg, rgba(123, 189, 255, 0.24), rgba(84, 214, 207, 0.18));
  box-shadow: 
    0 30px 50px rgba(50, 100, 200, 0.18),
    inset -1px -1px 3px rgba(0, 0, 0, 0.08);
  animation: float-bubble-1 4s ease-in-out infinite;
}

.bubble-2 {
  width: 60px;
  height: 60px;
  bottom: 80px;
  left: -20px;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.22), rgba(170, 220, 255, 0.12));
  box-shadow: 
    0 25px 40px rgba(60, 110, 190, 0.16),
    inset -1px -1px 2px rgba(0, 0, 0, 0.08);
  animation: float-bubble-2 5s ease-in-out infinite;
}

.bubble-3 {
  width: 70px;
  height: 70px;
  top: 250px;
  left: -35px;
  background: linear-gradient(135deg, rgba(110, 190, 255, 0.2), rgba(160, 210, 255, 0.12));
  box-shadow: 
    0 28px 45px rgba(45, 95, 185, 0.16),
    inset -1px -1px 3px rgba(0, 0, 0, 0.09);
  animation: float-bubble-3 4.5s ease-in-out infinite;
}

.bubble-4 {
  width: 55px;
  height: 55px;
  bottom: 120px;
  right: -15px;
  background: linear-gradient(135deg, rgba(130, 200, 255, 0.24), rgba(180, 220, 255, 0.14));
  box-shadow: 
    0 24px 38px rgba(70, 120, 200, 0.14),
    inset -1px -1px 2px rgba(0, 0, 0, 0.07);
  animation: float-bubble-4 5.2s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% {
    transform: rotateX(10deg) rotateZ(-1deg) translateY(0);
    filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.4));
  }
  25% {
    transform: rotateX(10deg) rotateZ(-1deg) translateY(-12px);
    filter: drop-shadow(0 35px 80px rgba(0, 0, 0, 0.35));
  }
  50% {
    transform: rotateX(10deg) rotateZ(-1deg) translateY(-20px);
    filter: drop-shadow(0 40px 90px rgba(0, 0, 0, 0.3));
  }
  75% {
    transform: rotateX(10deg) rotateZ(-1deg) translateY(-12px);
    filter: drop-shadow(0 35px 80px rgba(0, 0, 0, 0.35));
  }
}

@keyframes float-bubble-1 {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.9;
  }
  25% {
    transform: translateY(-20px) translateX(10px) scale(1.05);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-8px) translateX(-5px) scale(1.02);
    opacity: 0.88;
  }
  75% {
    transform: translateY(-15px) translateX(8px) scale(1.03);
    opacity: 0.92;
  }
}

@keyframes float-bubble-2 {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.85;
  }
  30% {
    transform: translateY(-25px) translateX(-8px) scale(1.08);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-12px) translateX(4px) scale(1.04);
    opacity: 0.83;
  }
}

@keyframes float-bubble-3 {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.87;
  }
  35% {
    transform: translateY(-18px) translateX(6px) scale(1.06);
    opacity: 0.92;
  }
  70% {
    transform: translateY(-10px) translateX(-3px) scale(1.01);
    opacity: 0.84;
  }
}

@keyframes float-bubble-4 {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.9;
  }
  25% {
    transform: translateY(-22px) translateX(-6px) scale(1.04);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-14px) translateX(2px) scale(1.02);
    opacity: 0.87;
  }
  75% {
    transform: translateY(-20px) translateX(-4px) scale(1.05);
    opacity: 0.91;
  }
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 700;
  display: inline-block;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #34d4df);
  color: #fff;
  box-shadow: 0 12px 36px rgba(91, 129, 255, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(91, 129, 255, 0.45);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-ghost {
  border: 1px solid rgba(130, 173, 255, 0.6);
  color: #e4efff;
  background: rgba(122, 151, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(124, 161, 255, 0.26);
}

.btn-appstore {
  min-width: 52px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.appstore-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(146, 184, 255, 0.4);
  box-shadow: 0 24px 40px rgba(1, 10, 35, 0.4);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  display: block;
}

.gallery-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(6, 23, 70, 0.7);
  border: 1px solid rgba(164, 196, 255, 0.4);
  backdrop-filter: blur(7px);
}

.gallery-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.gallery-copy p {
  margin: 6px 0 0;
  color: #d6e6ff;
}

.features {
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  background: linear-gradient(180deg, rgba(135, 170, 255, 0.2), rgba(56, 98, 202, 0.22));
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(135, 173, 255, 0.36);
  backdrop-filter: blur(8px);
}

.feature h3,
.feature h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
}

.feature p {
  margin: 0;
  color: #d4e4ff;
}

.faq {
  padding: 26px 0 8px;
}

.faq h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
}

.faq details {
  background: linear-gradient(180deg, rgba(119, 160, 255, 0.16), rgba(84, 124, 225, 0.14));
  border: 1px solid rgba(138, 177, 255, 0.38);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  color: #f2f7ff;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: #d2e2ff;
}

.cta {
  margin: 26px 0 6px;
  border-radius: 20px;
  border: 1px solid rgba(139, 177, 255, 0.34);
  padding: 28px;
  background: linear-gradient(180deg, rgba(106, 145, 255, 0.24), rgba(79, 194, 219, 0.2));
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta p {
  margin: 10px auto 18px;
  color: #d8e8ff;
  max-width: 62ch;
}

.cta {
  margin: 26px 0 6px;
  border-radius: 20px;
  border: 1px solid rgba(139, 177, 255, 0.34);
  padding: 28px;
  background: linear-gradient(180deg, rgba(106, 145, 255, 0.24), rgba(79, 194, 219, 0.2));
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta p {
  margin: 10px auto 18px;
  color: #d8e8ff;
  max-width: 62ch;
}

.policy {
  display: grid;
  gap: 14px;
  margin: 26px 0 10px;
}

.policy-card {
  background: linear-gradient(180deg, rgba(135, 170, 255, 0.16), rgba(56, 98, 202, 0.2));
  border: 1px solid rgba(138, 177, 255, 0.32);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.policy-card h2,
.policy-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  color: #ffffff;
}

.policy-card p {
  margin: 0 0 12px;
  color: #e1ebff;
}

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

.policy-card a {
  color: #ffffff;
  font-weight: 700;
  word-break: break-word;
}

.policy-card-compact {
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer {
  padding: 26px 0 40px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: #bdd4ff;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hero,
  .gallery,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .gallery-card img {
    min-height: 520px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
