:root{
  --white: #FFFFFF;
  --ink: #1d1d1f;
  --graphite: #191D20;
  --graphite-2: #0e1012;
  --coral: #FF5757;
  --coral-light: #FF8868;
  --gray-light: #F4F5F7;
  --green: #237A57;
  --green-light: #E4F3EB;
  --line: #E4E4E8;
  --muted: #63676D;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1240px;
  --shadow-sm: 0 2px 10px rgba(14,16,18,0.08);
  --shadow-md: 0 20px 50px rgba(14,16,18,0.18);
  font-size: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 64px; }
body{
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5{ font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em; }
p{ margin: 0 0 16px; color: var(--muted); }
ul{ margin: 0; padding: 0; list-style: none; }
a{ color: inherit; text-decoration: none; }
img, svg{ display: block; max-width: 100%; }
button{ font-family: inherit; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link{ position: absolute; left: -999px; top: 0; background: var(--graphite); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999; }
.skip-link:focus{ left: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.94rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: #ff4444; box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: #fff; }
.btn-outline-light{ background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover{ background: rgba(255,255,255,0.12); }
.btn-lg{ padding: 17px 32px; font-size: 1.02rem; }
.btn-sm{ padding: 9px 18px; font-size: 0.82rem; }
.btn-block{ width: 100%; justify-content: center; }
.btn:disabled{ opacity: 0.7; cursor: default; transform: none; }
.arrow{ transition: transform .15s ease; display: inline-block; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header{ position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 100; background: transparent; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled{ background: rgba(14,16,18,0.72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.header-inner{ display: flex; align-items: center; gap: 22px; height: 64px; }
.brand{ display: flex; align-items: center; gap: 9px; }
.brand-name{ font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1.08rem; color: #fff; }
.brand-name strong{ font-weight: 800; }
.brand-name.light{ color: #fff; }
.nav-links{ display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.nav-links a{ font-weight: 600; font-size: 0.86rem; color: #d7dade; }
.nav-links a:hover{ color: #fff; }
.nav-toggle{ display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; border: none; background: none; cursor: pointer; }
.nav-toggle span{ width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.header-actions{ display: flex; align-items: center; gap: 10px; }
.icon-btn{ position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent; display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.icon-btn:hover{ background: rgba(255,255,255,0.1); }
.cart-badge{ position: absolute; top: -4px; right: -4px; background: var(--coral); color: #fff; font-size: 0.6rem; font-weight: 800; width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- Buy bar (sticky product bar, à la Apple) ---------- */
.buy-bar{
  background: rgba(255,255,255,0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.buy-bar.visible{ max-height: 60px; opacity: 1; }
.buy-bar-inner{ display: flex; align-items: center; gap: 22px; height: 52px; }
.buy-bar-name{ font-weight: 800; font-size: 0.9rem; color: var(--ink); white-space: nowrap; }
.buy-bar-grade{ font-weight: 600; color: var(--muted); }
.buy-bar-links{ display: flex; gap: 18px; margin-right: auto; }
.buy-bar-links a{ font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.buy-bar-links a:hover{ color: var(--ink); }
.buy-bar-price{ font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.buy-bar-price strong{ color: var(--ink); }

/* ---------- Hero ---------- */
.hero{ position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--graphite-2); overflow: hidden; padding: 120px 0 0; }
.hero-glow{
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(560px 460px at 22% 18%, rgba(255,87,87,0.35), transparent 60%),
    radial-gradient(600px 500px at 80% 70%, rgba(255,136,104,0.22), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(35,122,87,0.14), transparent 60%);
  animation: glowShift 16s ease-in-out infinite alternate;
}
@keyframes glowShift{ from{ transform: translate3d(0,0,0) scale(1); } to{ transform: translate3d(-2%, 1%, 0) scale(1.06); } }
.hero-inner{
  position: relative; z-index: 1; width: 100%; flex: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; align-content: center; gap: 40px;
  padding-bottom: 60px;
}
.hero-copy{ text-align: left; }
.eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral); margin-bottom: 16px; }
.eyebrow-light{ color: var(--coral-light); }
.eyebrow-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; }
.hero-title{ font-size: clamp(2.4rem, 4.6vw, 3.8rem); color: #fff; letter-spacing: -0.03em; }
.text-gradient{ background: linear-gradient(90deg, var(--coral), var(--coral-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub{ font-size: 1.08rem; max-width: 46ch; margin: 0 0 32px; color: #b7bcc1; }

.hero-price-card{
  display: inline-flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 10px 12px 10px 22px; margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.hero-price-info{ display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero-price-label{ font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #9aa0a6; }
.hero-price-amount{ font-family: 'Manrope', sans-serif; font-size: 1.4rem; color: #fff; font-weight: 800; }
.hero-price-sub{ font-size: 0.76rem; color: #b7bcc1; }
.hero-grades{ display: flex; gap: 8px; padding-right: 6px; }
.grade-dot{ width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform .15s ease, border-color .15s ease; }
.grade-dot:hover{ transform: scale(1.1); }
.grade-dot.active{ border-color: #fff; }
.grade-dot-c{ background: #63676D; }
.grade-dot-b{ background: var(--coral-light); }
.grade-dot-a{ background: var(--green); }

.hero-cta{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }

.hero-visual{ position: relative; max-width: 620px; margin: 0 auto; }
.phone-hero{ width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }
.hero-photo{ width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.hero-badge-float{
  position: absolute; background: rgba(255,255,255,0.94); border-radius: 14px; padding: 10px 14px;
  font-size: 0.72rem; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.3;
}
.hero-badge-float strong{ font-family: 'Manrope', sans-serif; font-size: 0.86rem; color: var(--ink); }
.hero-badge-1{ top: 14%; left: -10%; }
.hero-badge-2{ bottom: 10%; right: -12%; }

.scroll-cue{
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1;
  color: #b7bcc1; animation: bounceCue 2s ease-in-out infinite;
}
@keyframes bounceCue{ 0%,100%{ transform: translate(-50%, 0); } 50%{ transform: translate(-50%, 6px); } }

.marquee-bar{ position: relative; z-index: 1; background: rgba(255,255,255,0.05); border-top: 1px solid rgba(255,255,255,0.08); overflow: hidden; white-space: nowrap; }
.ticker-track{ display: inline-flex; gap: 14px; padding: 12px 0; animation: scrollTicker 24s linear infinite; font-size: 0.76rem; font-weight: 700; color: #b7bcc1; text-transform: uppercase; letter-spacing: 0.03em; }
.ticker-track span{ padding: 0 4px; }
@keyframes scrollTicker{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- Feature full (dark, Apple-style) ---------- */
.feature-full{ background: var(--graphite-2); padding: 100px 0; text-align: center; }
.feature-full-inner{ max-width: 880px; margin: 0 auto; }
.feature-title{ font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; margin-bottom: 18px; }
.feature-sub{ font-size: 1.05rem; max-width: 56ch; margin: 0 auto; color: #b7bcc1; }
.feature-stat-row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.feature-stat strong{ display: block; font-family: 'Manrope', sans-serif; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--coral-light); }
.feature-stat span{ font-size: 0.82rem; color: #b7bcc1; font-weight: 600; }

.cycle-row{ display: flex; align-items: flex-start; justify-content: center; gap: 20px; margin-top: 44px; text-align: left; flex-wrap: wrap; }
.cycle-step{ flex: 1; min-width: 190px; max-width: 240px; }
.cycle-num{ display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.9rem; margin-bottom: 12px; }
.cycle-step h4{ color: #fff; font-size: 1rem; margin-bottom: 6px; }
.cycle-step p{ font-size: 0.86rem; margin: 0; }
.cycle-arrow{ color: #63676D; font-size: 1.4rem; padding-top: 6px; }

/* ---------- Sections ---------- */
.section{ padding: 88px 0; }
.section.alt{ background: var(--gray-light); }
.section-title{ font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--ink); margin-bottom: 6px; }
.section-title.center{ text-align: center; max-width: 44ch; margin-inline: auto; margin-bottom: 40px; }
.section-note{ font-size: 0.82rem; color: var(--muted); max-width: 30ch; margin: 0; }
.footnote{ font-size: 0.8rem; color: var(--muted); margin-top: 18px; margin-bottom: 0; }

/* ---------- Value grid ---------- */
.value-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.value-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon{ width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-coral{ background: #FFEAE8; color: var(--coral); }
.icon-graphite{ background: var(--gray-light); color: var(--graphite); }
.icon-green{ background: var(--green-light); color: var(--green); }
.value-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.link-arrow{ display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--coral); }

/* ---------- Store / catalog ---------- */
.catalog-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.brand-strip{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.brand-chip{ background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-size: 0.86rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.brand-chip-active{ background: var(--ink); border-color: var(--ink); color: #fff; }

.store-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-card{ position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease; }
.store-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ribbon{ position: absolute; top: 14px; left: 14px; background: var(--coral); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 4px 9px; border-radius: 8px; z-index: 2; }
.ribbon-graphite{ background: var(--graphite); }
.grade{ position: absolute; top: 14px; right: 14px; font-size: 0.63rem; font-weight: 800; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; z-index: 2; }
.grade-a{ background: var(--green-light); color: var(--green); }
.grade-b{ background: #FFF1E4; color: #B75B12; }
.grade-c{ background: var(--gray-light); color: var(--muted); }
.store-thumb{ width: 100%; height: 150px; margin: 14px auto 10px; object-fit: contain; display: block; }
.store-card h4{ font-family: 'Inter', sans-serif; font-size: 0.96rem; font-weight: 700; margin-bottom: 6px; }
.stars{ color: var(--coral-light); letter-spacing: 2px; font-size: 0.82rem; margin-bottom: 8px; }
.price-row{ display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.price{ font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.price-old{ font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.installments{ display: block; font-size: 0.74rem; color: var(--muted); margin-bottom: 12px; }
.catalog-more{ text-align: center; margin-top: 40px; }

/* ---------- Sell / cotizador ---------- */
.sell-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.sell-copy p{ max-width: 46ch; }
.quote-widget{ background: var(--gray-light); border-radius: var(--radius-lg); padding: 26px; margin-top: 8px; }
.quote-row{ display: flex; gap: 10px; flex-wrap: wrap; }
.quote-row select{
  flex: 1; min-width: 150px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: 0.9rem; color: var(--ink);
}
.quote-result{ margin-top: 18px; background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); }
.quote-result span{ font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.quote-result strong{ display: block; font-family: 'Manrope', sans-serif; font-size: 1.4rem; color: var(--green); margin: 4px 0; }
.quote-result p{ font-size: 0.78rem; margin: 0; }

.sell-transparency{ background: var(--graphite); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.sell-transparency h4{ color: #fff; font-size: 1.1rem; }
.badge-mini{ display: inline-block; background: rgba(255,255,255,0.12); color: var(--coral-light); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.tx-flow{ display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.tx-step{ display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 12px 16px; }
.tx-step span{ font-size: 0.82rem; color: #b7bcc1; }
.tx-step strong{ font-family: 'Manrope', sans-serif; font-size: 1.05rem; }
.tx-highlight{ background: rgba(255,87,87,0.16); }
.tx-highlight strong{ color: var(--coral-light); }
.sell-transparency .footnote{ color: #8f959b; }

/* ---------- Ecosystem ---------- */
.eco-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.eco-card{ background: var(--graphite-2); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.eco-card h3{ color: #fff; font-size: 1.3rem; }
.eco-card .tag{ display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--coral-light); margin-bottom: 6px; }
.eco-card p{ color: #b7bcc1; }
.eco-card p.tag{ color: var(--coral-light); margin-bottom: 6px; }

/* ---------- Support ---------- */
.support-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.support-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.support-card h3{ font-size: 1rem; }
.support-card p{ font-size: 0.88rem; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta{ background: linear-gradient(135deg, var(--coral), var(--coral-light)); padding: 90px 0; text-align: center; }
.final-cta-inner h2{ color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.final-cta-inner p{ color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 30px; }
.final-cta .btn-primary{ background: #fff; color: var(--coral); }
.final-cta .btn-primary:hover{ background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,0.2); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--graphite-2); color: #9aa0a6; padding: 56px 0 24px; }
.footer-grid{ display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.footer-brand p{ color: #7b8288; font-size: 0.88rem; margin: 8px 0 16px; }
.pay-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.pay-row span{ background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 5px 10px; font-size: 0.72rem; font-weight: 700; color: #b7bcc1; }
.footer-col h5{ color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-col{ display: flex; flex-direction: column; gap: 9px; }
.footer-col a{ color: #8f959b; font-size: 0.88rem; }
.footer-col a:hover{ color: #fff; }
.footer-bottom{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 44px; padding-top: 20px; font-size: 0.78rem; color: #6b7176; }

/* ---------- Reveal ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .sell-grid{ grid-template-columns: 1fr; }
  .store-grid{ grid-template-columns: repeat(3, 1fr); }
  .value-grid{ grid-template-columns: 1fr; }
  .feature-stat-row{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: repeat(3, 1fr); }
  .buy-bar-links{ display: none; }

  .hero-inner{ grid-template-columns: 1fr; text-align: center; padding-bottom: 44px; }
  .hero-copy{ text-align: center; }
  .hero-sub{ margin: 0 auto 32px; }
  .hero-price-card{ margin-inline: auto; }
  .hero-cta{ justify-content: center; margin-bottom: 40px; }
  .hero-visual{ order: -1; max-width: 240px; margin-bottom: 8px; }

  .nav-toggle{ display: flex; }
  .nav-links{
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--graphite-2); flex-direction: column; align-items: flex-start;
    padding: 26px 24px; gap: 4px; transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; margin: 0;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size: 1.05rem; padding: 12px 0; width: 100%; color: #d7dade; }
}
@media (max-width: 780px){
  .buy-bar-inner{ gap: 12px; }
  .buy-bar-name{ display: none; }
  .store-grid{ grid-template-columns: repeat(2, 1fr); }
  .eco-grid{ grid-template-columns: 1fr; }
  .support-grid{ grid-template-columns: 1fr; }
  .cycle-row{ flex-direction: column; align-items: flex-start; }
  .cycle-arrow{ display: none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero-badge-float{ display: none; }
  .hero-price-card{ flex-direction: column; align-items: flex-start; border-radius: 22px; padding: 18px; gap: 14px; }
}
