:root {
  --bg-dark: #070B14;
  --bg-mid: #131B2F;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --gold: #FFD700;
  --pink: #FF007F;
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-faint: rgba(255, 255, 255, 0.45);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, var(--bg-mid), var(--bg-dark) 60%);
  background-attachment: fixed;
  line-height: 1.5;
}

h1, h2, h3, .brand-name {
  font-family: 'Outfit', 'Inter', sans-serif;
}

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

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

/* Fondo animado: aura de color + grilla sutil + estrellas titilando.
   Todo fixed/z-index:-1 detrás del contenido normal, así no interfiere
   con el layout ni el scroll de nada. */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
  will-change: transform;
}

.orb-cyan {
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  background: var(--accent);
  top: -12%;
  left: -10%;
  animation: drift-a 20s ease-in-out infinite;
}

.orb-pink {
  width: 38vw;
  height: 38vw;
  max-width: 460px;
  max-height: 460px;
  background: var(--pink);
  top: 30%;
  right: -12%;
  animation: drift-b 24s ease-in-out infinite;
}

.orb-gold {
  width: 32vw;
  height: 32vw;
  max-width: 400px;
  max-height: 400px;
  background: var(--gold);
  bottom: -14%;
  left: 24%;
  animation: drift-c 28s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.15); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, 5vh) scale(1.1); }
}

@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, -6vh) scale(1.2); }
}

.bg-grid {
  position: absolute;
  inset: -10% -10%;
  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: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 75%);
}

.stars { position: absolute; inset: 0; }

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.2;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .star { animation: none; opacity: 0.35; }
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.75);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 1.2px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.beta-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--text-faint);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 2px 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 229, 255, 0.35);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-nav {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.icon-android { width: 20px; height: 20px; }

/* Hero */
.hero {
  padding: 90px 24px 70px;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 22px;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-lead strong { color: var(--accent); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* Screenshots */
.screenshots {
  padding: 40px 24px 90px;
}

.screenshots h2, .how-it-works h2, .cta-final h2 {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  margin: 0 0 12px;
}

.section-lead {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 16px;
}

.phones {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-card {
  margin: 0;
  width: 280px;
  text-align: center;
}

.phone-frame {
  border-radius: 34px;
  border: 6px solid #0d1420;
  background: #0d1420;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--card-border);
  overflow: hidden;
  aspect-ratio: 763 / 1600;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card figcaption {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-card figcaption strong {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  color: var(--accent);
}

.phone-card figcaption span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* How it works */
.how-it-works {
  padding: 40px 24px 100px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 22px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
}

.step p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

/* CTA final */
.cta-final {
  padding: 30px 24px 110px;
}

.cta-final-inner {
  text-align: center;
  max-width: 560px;
}

.cta-final p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0 0 28px;
}

.cta-final .btn { margin-bottom: 14px; }

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}

@media (max-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px 50px; }
}
