:root {
  --bg: #020617;
  --bg-elev: #0a0e27;
  --bg-mid: #12172f;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --cyan: #00d9ff;
  --cyan-dim: rgba(0, 217, 255, 0.14);
  --line: rgba(148, 163, 184, 0.18);
  --ok: #34d399;
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 16s var(--ease) infinite alternate;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.35), transparent 70%);
  top: -12%;
  left: -8%;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  min-width: 240px;
  min-height: 240px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  bottom: 5%;
  right: -10%;
  animation-delay: -6s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 72%);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: none;
  gap: 1.4rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--cyan);
  color: #041018;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

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

.btn-ghost:hover {
  border-color: rgba(0, 217, 255, 0.45);
  background: var(--cyan-dim);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 1.25rem 3.5rem;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 20%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s var(--ease) both;
}

.hero-tagline {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  animation: rise 0.9s var(--ease) 0.08s both;
}

.lede {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.9s var(--ease) 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  animation: rise 0.9s var(--ease) 0.24s both;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  animation: rise 1s var(--ease) 0.2s both;
}

.hero-shot {
  margin: 0;
  width: min(100%, 560px);
  position: relative;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -12% -8% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.28), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}

.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.55), transparent);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2,
.download-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p,
.download-panel > div > p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.feature-list h3,
.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.feature-list p,
.steps p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.feature-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.gallery {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 217, 255, 0.16);
  background: #020617;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover {
  border-color: rgba(0, 217, 255, 0.45);
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-wide img {
  aspect-ratio: 16 / 10;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92), transparent);
}

.gallery-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-note code {
  color: var(--cyan);
  font-size: 0.85em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: none;
}

.step-n {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.download-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-logo {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  justify-self: start;
  box-shadow: 0 20px 50px rgba(0, 217, 255, 0.18);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
  text-decoration: none;
}

.store-badge small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-badge strong {
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.store-badge.is-soon {
  opacity: 0.72;
  cursor: default;
}

.store-badge.is-soon:hover {
  text-decoration: none;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand img {
  border-radius: 8px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer nav a {
  color: var(--muted);
}

.footer nav a:hover {
  color: var(--cyan);
}

.error-page {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.25rem 5rem;
  text-align: center;
}

.error-code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 18vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(140deg, #fff 10%, var(--cyan) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.95;
  animation: rise 0.9s var(--ease) both;
}

.error-page h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.error-lede {
  margin: 0.85rem auto 0;
  max-width: 36ch;
  color: var(--muted);
  animation: rise 0.9s var(--ease) 0.16s both;
}

.error-page .cta-row {
  justify-content: center;
  animation: rise 0.9s var(--ease) 0.24s both;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal section {
  margin-bottom: 1.75rem;
}

.legal h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul,
.legal-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal-steps {
  margin-bottom: 1rem;
}

.legal .btn {
  margin-top: 0.5rem;
}

.legal-back {
  margin-top: 2.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  animation: wa-pulse 1.6s ease-in-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  text-decoration: none;
  animation: none;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  color: #fff;
}

@keyframes wa-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

body:has(.cookie-banner:not([hidden])) .whatsapp-float {
  bottom: 7.5rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem 1.25rem 1.25rem;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-panel {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 217, 255, 0.28);
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.cookie-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .gallery {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.1rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .download-panel {
    grid-template-columns: 1.4fr auto;
  }

  .download-logo {
    justify-self: end;
  }

  .footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footer p {
    margin: 0;
    justify-self: center;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding-top: 2rem;
  }

  .hero-visual {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb,
  .dot.now,
  .brand-mark,
  .hero-tagline,
  .lede,
  .cta-row,
  .hero-visual,
  .gallery-item:hover img {
    animation: none !important;
    transform: none !important;
  }
}
