/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0e0a28;
  --bg2:         #160e38;
  --card:        rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.10);
  --accent:      #CCEF36;
  --accent-hover:#B4D330;
  --accent-light:#E7FF82;
  --purple:      #876FEE;
  --purple-lt:   #D2D1FF;
  --purple-dark: #4F33A4;
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.55);
  --radius:      20px;
  --radius-sm:   12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Utility ──────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.accent    { color: var(--accent); }
.muted     { color: var(--muted); }

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,10,40,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
}

.nav-logo-img {
  height: 28px; max-height: 28px; width: auto;
  border-radius: 10px; display: block;
}
.nav-logo-tipo {
  height: 16px; max-height: 16px; width: auto; display: block;
}

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 30px; padding: 3px;
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  padding: 6px 14px; border-radius: 24px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all .2s;
}
.lang-toggle button.active { background: var(--accent); color: #000; }

.btn-nav {
  padding: 10px 22px; border-radius: 30px;
  background: var(--accent); color: #000;
  font-weight: 700; font-size: 14px;
  text-decoration: none; transition: background .2s, transform .2s;
}
.btn-nav:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative; overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 35%, rgba(135,111,238,.40) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 5% 80%, rgba(204,239,54,.15) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle dot grid */
#hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 80%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 80px 0 60px;
  position: relative; z-index: 1;
}

.hero-text { display: flex; flex-direction: column; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,239,54,.12); border: 1px solid rgba(204,239,54,.30);
  border-radius: 30px; padding: 6px 16px;
  font-size: 13px; color: var(--accent); font-weight: 600;
  margin-bottom: 24px; width: fit-content;
}

.hero-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900; line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px; color: var(--muted);
  max-width: 480px; margin-bottom: 40px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 0; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  background: var(--accent); color: #000;
  font-weight: 800; font-size: 16px;
  text-decoration: none; transition: transform .2s, background .2s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-hover); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 50px;
  border: 1.5px solid var(--card-border);
  background: var(--card); color: var(--white);
  font-weight: 600; font-size: 16px;
  text-decoration: none; backdrop-filter: blur(10px);
  transition: border-color .2s, transform .2s;
}
.btn-secondary:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stat strong {
  display: block; font-size: 26px; font-weight: 900; color: var(--accent);
}
.hero-stat span { font-size: 13px; color: var(--muted); }

/* ── Hero visual + illustrations ─────────────────── */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}

.hero-illus-bg {
  position: absolute;
  bottom: -20px; right: -40px;
  opacity: 0.6;
  animation: float-slow 6s ease-in-out infinite;
  z-index: 0;
}

.hero-illus-suitcase {
  width: 200px; height: auto;
  filter: drop-shadow(0 20px 40px rgba(135,111,238,.5));
}

.hero-illus-small {
  position: absolute;
  top: 20px; left: -10px;
  width: 55px; height: auto;
  opacity: 0.75;
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
  filter: drop-shadow(0 8px 16px rgba(135,111,238,.4));
  z-index: 2;
}

.phone-wrap {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(ellipse, rgba(135,111,238,.45), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.app-screenshot {
  width: 260px;
  border-radius: 36px;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,0.06);
  animation: float 4s ease-in-out infinite;
  position: relative; z-index: 1;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}

/* ── FEATURES ─────────────────────────────────────── */
#features { padding: 120px 0; position: relative; }

.features-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 64px;
}

.features-illus {
  flex-shrink: 0;
  opacity: 0.85;
  animation: float-slow 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(135,111,238,.35));
}
.features-illus img { width: 140px; height: auto; }

.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px; color: var(--muted); max-width: 540px; line-height: 1.7;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s, border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(135,111,238,.05) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204,239,54,.35);
  background: rgba(255,255,255,0.09);
}

.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(135,111,238,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  border: 1px solid rgba(135,111,238,.35);
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ─────────────────────────────────── */
#how {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(135,111,238,.07) 50%, transparent 100%);
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.how-illus {
  position: absolute;
  right: 0; top: -20px;
  width: 130px; height: auto;
  opacity: 0.70;
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
  filter: drop-shadow(0 12px 24px rgba(135,111,238,.4));
}

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}

.steps::before {
  content: "";
  position: absolute; top: 36px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border) 20%, var(--card-border) 80%, transparent);
}

.step { text-align: center; padding: 0 12px; }

.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--accent);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  transition: background .3s, border-color .3s;
}
.step:hover .step-num {
  background: rgba(204,239,54,.12);
  border-color: rgba(204,239,54,.35);
}

.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── PRICING ──────────────────────────────────────── */
#pricing { padding: 120px 0; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(204,239,54,.06);
}
.pricing-card.featured::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(204,239,54,.13), transparent 60%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #000;
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 800;
  margin-bottom: 16px;
}

.pricing-name  { font-size: 20px; font-weight: 800; margin-bottom: 8px; }

.pricing-price {
  font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 4px;
}
.pricing-price span { font-size: 18px; font-weight: 500; color: var(--muted); }

.pricing-period { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; padding: 8px 0;
  border-bottom: 1px solid var(--card-border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }

.btn-plan {
  display: block; width: 100%; padding: 14px;
  border-radius: 50px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700;
  text-align: center; text-decoration: none;
  transition: transform .2s, opacity .2s, background .2s;
}
.btn-plan:hover { transform: translateY(-2px); opacity: .9; }

.btn-plan-primary   { background: var(--accent); color: #000; }
.btn-plan-primary:hover { background: var(--accent-hover); }
.btn-plan-secondary {
  background: var(--card);
  border: 1.5px solid var(--card-border);
  color: var(--white);
}

/* ── CTA ──────────────────────────────────────────── */
#cta {
  padding: 120px 0;
  text-align: center;
  position: relative; overflow: hidden;
}

#cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(135,111,238,.22), transparent 70%);
  pointer-events: none;
}

.cta-box {
  background: var(--card);
  border: 1px solid rgba(135,111,238,.3);
  border-radius: 32px; padding: 80px 40px;
  position: relative; overflow: hidden;
}

/* accent top bar */
.cta-box::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--purple), transparent);
}

.cta-content { position: relative; z-index: 1; }

/* Illustrations inside CTA */
.cta-illus {
  position: absolute;
  opacity: 0.45;
  pointer-events: none;
}
.cta-illus-left {
  left: 32px; bottom: 24px;
  width: 120px; height: auto;
  animation: float-slow 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(135,111,238,.4));
}
.cta-illus-right {
  right: 48px; top: 32px;
  width: 60px; height: auto;
  animation: float 5s ease-in-out infinite;
  animation-delay: 1.5s;
  filter: drop-shadow(0 8px 20px rgba(135,111,238,.4));
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900; letter-spacing: -1px; margin-bottom: 20px;
}
.cta-box p {
  font-size: 18px; color: var(--muted);
  max-width: 480px; margin: 0 auto 40px;
}

.cta-badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,239,54,.12); border: 1px solid rgba(204,239,54,.3);
  border-radius: 30px; padding: 6px 18px;
  font-size: 13px; color: var(--accent); font-weight: 700;
  margin-bottom: 24px;
}

/* ── App Store Button ─────────────────────────────── */
.appstore-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; color: #000;
  border-radius: 16px; padding: 14px 28px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.appstore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(204,239,54,.3);
}
.appstore-btn svg { width: 32px; height: 32px; flex-shrink: 0; }
.appstore-btn .badge-text { line-height: 1.2; text-align: left; }
.appstore-btn .badge-sub  { font-size: 12px; color: #555; }
.appstore-btn .badge-name { font-size: 19px; font-weight: 800; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; max-width: 1100px; margin: 0 auto;
}

.footer-logo {
  display: flex; align-items: center; gap: 8px;
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 13px; color: var(--muted); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text   { align-items: center; }
  .hero-sub    { text-align: center; }
  .hero-stats  { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illus-bg { right: -20px; bottom: -10px; }
  .hero-illus-suitcase { width: 130px; }
  .features-header { flex-direction: column; align-items: flex-start; }
  .features-illus  { display: none; }
  .features-grid   { grid-template-columns: 1fr 1fr; }
  .how-illus       { display: none; }
  .steps           { grid-template-columns: 1fr 1fr; }
  .steps::before   { display: none; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .cta-illus       { display: none; }
}

@media (max-width: 600px) {
  .features-grid   { grid-template-columns: 1fr; }
  .steps           { grid-template-columns: 1fr; }
  .nav-right       { gap: 10px; }
  .btn-nav         { display: none; }
  .hero-illus-small { display: none; }
}

/* ── FADE-IN ANIMATION ────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
