/* ===================================================================
   InkaPlay — Peruvian streaming app landing page
   Palette grounded in an Andean sunset: ink + Inca gold + Andes green
   =================================================================== */

:root {
  --ink:        #0B0B0F;
  --ink-2:      #101019;
  --surface:    #15151C;
  --surface-2:  #1C1C26;
  --line:       rgba(244, 239, 230, 0.10);

  --amber:      #F5B82E;
  --amber-soft: #FFD46B;
  --green:      #1FA87B;

  --paper:      #F4EFE6;
  --muted:      #9A958C;
  --muted-2:    #6E6A63;

  --maxw: 1180px;
  --r:    18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

::selection { background: var(--amber); color: var(--ink); }

/* ---------- shared type bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber-soft);
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 184, 46, 0.18);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-head__sub { margin-top: 20px; color: var(--muted); font-size: 1.06rem; max-width: 520px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn--solid {
  background: var(--amber); color: #1A1206;
  box-shadow: 0 8px 30px -8px rgba(245, 184, 46, 0.5);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(245, 184, 46, 0.65); }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), border-color .35s, padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; color: #fff; }
.brand__word span { color: var(--amber); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--paper); opacity: .8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; color: var(--amber-soft); }
.nav__cta { padding: 11px 22px; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding-top: 132px; overflow: hidden; }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: .55; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,15,.55) 0%, rgba(11,11,15,.4) 30%, rgba(11,11,15,.85) 78%, var(--ink) 100%),
    linear-gradient(95deg, var(--ink) 12%, rgba(11,11,15,.35) 62%, rgba(11,11,15,0) 100%);
}
.hero__sun {
  position: absolute; left: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(245,184,46,.32) 0%, rgba(245,184,46,.08) 38%, transparent 66%);
  filter: blur(6px); pointer-events: none;
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  padding-block: 40px 70px;
}

.hero__title { font-size: clamp(2.6rem, 6vw, 4.7rem); font-weight: 800; }
.hero__title em { font-style: normal; color: var(--amber); position: relative; }
.hero__sub { margin-top: 24px; max-width: 500px; font-size: 1.1rem; color: #D7D2C8; }

.get { margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* Primary Android APK button */
.apk-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 28px; border-radius: 16px;
  background: var(--amber); color: #1A1206;
  box-shadow: 0 14px 36px -10px rgba(245, 184, 46, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.apk-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -10px rgba(245, 184, 46, 0.7); }
.apk-btn svg { flex: none; }
.apk-btn__txt { display: flex; flex-direction: column; line-height: 1.16; text-align: left; }
.apk-btn__txt small { font-size: 0.6rem; letter-spacing: .12em; font-weight: 700; opacity: .72; }
.apk-btn__txt strong { font-size: 1.12rem; font-weight: 700; font-family: var(--font-display); }
.apk-btn--lg { padding: 17px 34px; }
.apk-btn--lg svg { width: 30px; height: 30px; }
.apk-btn--lg .apk-btn__txt strong { font-size: 1.24rem; }

.store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px; border-radius: 14px;
  background: rgba(20,20,28,.7); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(245,184,46,.5); background: rgba(28,28,38,.9); }
.store svg { flex: none; color: var(--paper); }
.store__txt { display: flex; flex-direction: column; line-height: 1.15; }
.store__txt small { font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.store__txt strong { font-size: 1.02rem; font-weight: 600; }

.get__qr { display: flex; align-items: center; gap: 14px; }
.qr {
  width: 76px; height: 76px; border-radius: 14px; padding: 7px;
  background: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.qr img { border-radius: 6px; }
.get__qr p { font-size: 0.82rem; font-weight: 600; line-height: 1.35; }
.get__qr span { color: var(--muted); font-weight: 400; }

.get__apk { margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.get__apk a { color: var(--amber-soft); border-bottom: 1px solid rgba(255,212,107,.4); }

.trust { list-style: none; display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.trust li { display: flex; flex-direction: column; }
.trust strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.trust span { font-size: 0.82rem; color: var(--muted); }

.hero__device {
  position: relative; max-width: 500px; margin-inline: auto; aspect-ratio: 1 / 1;
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(130% 100% at 50% 0%, #1c1c27 0%, #0c0c12 62%);
  box-shadow: 0 46px 90px -34px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.05);
  animation: float 7s ease-in-out infinite;
}
.hero__device::before {
  content: ""; position: absolute; inset: -20% -10% 40% -10%; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,184,46,.20), transparent 65%);
}
.hero__device img {
  position: relative; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* marquee strip */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(11,11,15,.5); overflow: hidden; padding: 16px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: scroll-x 36s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #C9C4BA;
}
.marquee__track i { color: var(--amber); font-style: normal; font-size: .7rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ===================================================================
   SHOWS / poster rows
   =================================================================== */
.shows { padding: 96px 0 40px; }

.row { margin-bottom: 44px; }
.row__title {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 18px;
  padding-inline: max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
}
.row__title span { font-size: 1.1rem; }

.row__rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(24px, calc((100vw - var(--maxw)) / 2 + 24px)) 22px;
  scrollbar-width: none;
}
.row__rail::-webkit-scrollbar { display: none; }
.row__rail:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 8px; }

.card {
  position: relative; flex: 0 0 auto; width: 220px; aspect-ratio: 2 / 3;
  border-radius: var(--r); overflow: hidden; scroll-snap-align: start;
  background: var(--surface); cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8,8,11,.55) 70%, rgba(8,8,11,.95) 100%);
}
.card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 26px 50px -18px rgba(0,0,0,.8); z-index: 3; }
.card:hover img { transform: scale(1.06); }

.card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px; }
.card__rank {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  background: var(--amber); color: var(--ink); padding: 3px 9px; border-radius: 7px;
}
.card__cat {
  display: inline-block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-soft); margin-bottom: 6px; font-weight: 600;
}
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.1; }
.card__meta { display: flex; align-items: center; gap: 9px; margin-top: 7px; font-size: .76rem; color: #CFC9BF; }
.card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.card__star { color: var(--amber); font-weight: 600; }
.card__play {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(8px) scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__play { opacity: 1; transform: translateY(0) scale(1); }
.card__play svg { width: 16px; height: 16px; margin-left: 2px; }

/* ===================================================================
   FEATURES
   =================================================================== */
.features { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px 32px;
  transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(245,184,46,.35); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--amber);
  background: rgba(245,184,46,.10); border: 1px solid rgba(245,184,46,.22);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { font-size: 0.94rem; color: var(--muted); }

/* ===================================================================
   DEVICES
   =================================================================== */
.devices { padding: 70px 0; }
.devices__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 56px; }
.devices__copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 22px; }
.devices__copy > p { color: var(--muted); font-size: 1.06rem; max-width: 440px; }
.ticks { list-style: none; margin: 26px 0 32px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; color: #D7D2C8; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.devices__img img {
  border-radius: var(--r);
  filter: drop-shadow(0 40px 70px rgba(0,0,0,.55));
}

/* ===================================================================
   CTA download band
   =================================================================== */
.cta { position: relative; padding: 110px 0; overflow: hidden; text-align: center; }
.cta__sun {
  position: absolute; left: 50%; bottom: -60%; transform: translateX(-50%);
  width: 120vw; height: 120vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(circle, rgba(245,184,46,.22) 0%, rgba(31,168,123,.10) 34%, transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; max-width: 660px; margin-inline: auto; }
.cta__logo { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 26px; }
.cta h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 800; }
.cta__inner > p { margin: 18px auto 30px; color: #D7D2C8; font-size: 1.12rem; max-width: 480px; }
.cta__stores { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.store--lg { padding: 13px 22px; background: rgba(20,20,28,.85); }
.cta__fine { margin-top: 22px; font-size: 0.84rem; color: var(--muted); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq { padding: 50px 0 100px; }
.faq__list { max-width: 760px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); margin-bottom: 12px;
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: rgba(245,184,46,.32); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--amber); transition: transform .3s var(--ease);
}
.faq__plus::before { width: 100%; height: 2px; }
.faq__plus::after  { width: 2px; height: 100%; }
.faq details[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 0.98rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: 0.92rem; max-width: 300px; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer__col a { display: block; color: #C9C4BA; font-size: 0.94rem; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--amber-soft); }
.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 26px; flex-wrap: wrap;
}
.footer__base p { font-size: 0.84rem; color: var(--muted-2); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--amber-soft); }

/* ===================================================================
   Reveal on scroll
   =================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .hero { text-align: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 50px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__device { order: -1; max-width: 320px; margin: 0 auto; }
  .hero__device img { animation: none; }
  .hero__sub { margin-inline: auto; }
  .eyebrow, .get, .trust { justify-content: center; }
  .get { flex-wrap: wrap; }
  .get__qr { text-align: left; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .devices__grid { grid-template-columns: 1fr; gap: 36px; }
  .devices__copy { text-align: center; }
  .devices__copy h2, .devices__copy > p { margin-inline: auto; }
  .ticks { display: inline-grid; text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero { padding-top: 104px; }
  .hero__title br { display: none; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .get { flex-direction: column; align-items: center; gap: 22px; }
  .apk-btn { width: 100%; justify-content: center; }
  .get__qr { justify-content: center; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .card { width: 152px; }
  .row__title { font-size: 1.18rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .trust { gap: 24px; row-gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
