:root {
  --aqua: #3FD0F5;
  --blue: #2463EB;
  --deep: #0E2A6B;
  --soap: #FF9FCB;
  --ink: #0F1B3D;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --muted: #4B5875;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  min-height: 100%;
  /* Gradient on the root so it paints the whole canvas, including iOS overscroll areas. */
  background: linear-gradient(180deg, var(--aqua) 0%, #2F9BEF 32%, var(--blue) 62%, var(--deep) 100%);
  background-color: var(--aqua);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", ui-rounded, -apple-system, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Bubbles float over the whole page, behind content and above the gradient. */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bubbles span {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0 12%, rgba(255, 255, 255, 0.18) 13% 55%, rgba(255, 255, 255, 0.06) 56%);
  animation: rise linear infinite;
  will-change: transform;
}
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translate3d(var(--drift), -55vh, 0); }
  92% { opacity: 1; }
  100% { transform: translate3d(0, -115vh, 0); opacity: 0; }
}

header, main, footer { position: relative; z-index: 1; }

/* Hero */
.hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px 40px;
  color: #fff;
}
.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(10, 30, 90, 0.35);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.hero h1 {
  margin: 22px 0 6px;
  font-size: clamp(3.2rem, 14vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 6px 24px rgba(10, 30, 90, 0.25);
}
.tagline {
  margin: 0 0 32px;
  font-size: clamp(1.25rem, 5.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  opacity: 0.95;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  background: #0B0B0F;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}
.store:active { transform: scale(0.97); }
.store svg { width: 28px; height: 28px; fill: #fff; }
.store span { display: flex; flex-direction: column; text-align: left; font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.store small { font-weight: 600; font-size: 0.72rem; opacity: 0.85; }

/* Layout */
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 30px rgba(10, 30, 90, 0.12);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 18px 8px;
  margin-top: -8px;
}
.stats div { display: flex; flex-direction: column; }
.stats div + div { border-left: 1px solid rgba(15, 27, 61, 0.1); }
.num { font-size: clamp(1.2rem, 5vw, 1.8rem); font-weight: 900; color: var(--blue); }
.label { font-size: 0.8rem; font-weight: 700; color: var(--muted); }

.intro {
  text-align: center;
  color: #fff;
  padding: 56px 8px 28px;
  max-width: 640px;
  margin: 0 auto;
}
.intro h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; font-weight: 900; }
.intro p { font-size: 1.1rem; margin: 0; opacity: 0.95; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.features article { padding: 22px 22px 18px; }
.features h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 900; }
.features h3::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 20%, var(--aqua) 22%, var(--blue));
  vertical-align: 1px;
}
.features p { margin: 0; color: var(--muted); font-weight: 600; }

.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 40px 16px 24px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 auto;
  width: min(62vw, 260px);
  height: auto;
  aspect-ratio: 1320 / 2868;
  border: 6px solid #0B0B0F;
  border-radius: 24px;
  scroll-snap-align: center;
  box-shadow: 0 14px 34px rgba(5, 20, 60, 0.35);
}

.cta { padding: 28px 24px; text-align: center; margin: 12px 0 28px; }
.cta h2 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 900; }
.cta p { margin: 0 auto; max-width: 560px; color: var(--muted); font-weight: 600; }
.cta .soon { margin-top: 14px; color: var(--blue); font-weight: 800; }

/* Legal sections */
.legal { display: grid; gap: 12px; }
details { padding: 0; scroll-margin-top: 20px; }
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-right: 4px;
}
details[open] summary::after { transform: rotate(-135deg); }
.doc { padding: 0 22px 20px; font-size: 0.97rem; }
.doc h4 { margin: 18px 0 4px; font-size: 1rem; }
.doc p, .doc li { color: #2B3654; }
.doc ul { padding-left: 20px; }
.muted { color: var(--muted); font-size: 0.85rem; }
a { color: var(--blue); font-weight: 700; }

footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 16px 40px;
  font-weight: 700;
  font-size: 0.9rem;
}
footer nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 8px; }
footer a { color: #fff; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-icon { animation: none; }
  html { scroll-behavior: auto; }
}
