/* ===========================
   Cambados 360 – Landing (Light)
   =========================== */

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

:root {
  --navy:    #152245;
  --navy-2:  #1e3260;
  --gold:    #B8962E;
  --gold-2:  #c9a847;
  --bg:      #f5f4f0;
  --bg-2:    #eceae3;
  --text:    #152245;
  --muted:   #6b7a99;
  --white:   #ffffff;
  --radius:  20px;
}

html, body { height: 100%; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

/* ── Hero ─────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
}

/* Manchas decorativas suaves */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55;
  filter: blur(90px);
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #dde6f8 0%, transparent 70%);
  top: -180px; right: -180px;
}
.shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #f0e8d0 0%, transparent 70%);
  bottom: -150px; left: -150px;
}

/* Dots pattern */
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #c5c0b0 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .35;
}

/* ── Layout ───────────────────────── */

.container {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  max-width: 960px;
  width: 100%;
}

/* ── Columna izquierda ────────────── */

.col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Logo */
.logo-wrap {
  position: relative;
  margin-bottom: 1.8rem;
  animation: fadeDown .7s ease both;
}
.logo-img {
  width: 90px; height: 90px;
  border-radius: 22px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(21,34,69,.12), 0 1px 4px rgba(0,0,0,.06);
}
.logo-glow {
  position: absolute; inset: -4px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: .18;
  z-index: -1;
}

/* Tag line */
.tag-line {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeDown .75s .05s ease both;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Headline */
.headline {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 1.2rem;
  animation: fadeDown .8s .1s ease both;
}
.accent {
  color: var(--gold);
  position: relative;
}
.accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), transparent);
  border-radius: 2px;
}

/* Subtítulo */
.subline {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.4rem;
  animation: fadeDown .85s .15s ease both;
}

/* ── Botones tienda ───────────────── */

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
  animation: fadeUp .9s .2s ease both;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform .22s ease, box-shadow .22s ease;
  min-width: 210px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(21,34,69,.2);
  border: 1.5px solid transparent;
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(21,34,69,.25);
}

/* Botón Google Play – borde dorado */
#btn-google-play {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-color: rgba(184,150,46,.3);
}
#btn-google-play:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(184,150,46,.2);
}

/* App Store – deshabilitado */
.store-btn--soon {
  opacity: .45;
  cursor: not-allowed;
  background: #b0bac9;
  box-shadow: none;
}
.store-btn--soon:hover { transform: none; box-shadow: none; }

.soon-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--gold);
  color: var(--navy);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.store-icon { width: 26px; height: 26px; flex-shrink: 0; }

.store-text {
  display: flex; flex-direction: column; text-align: left; gap: 1px;
}
.store-label {
  font-size: .64rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; opacity: .7;
}
.store-name {
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
}

/* ── Feature chips ──────────────── */

.feat-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  animation: fadeUp 1s .3s ease both;
}

.feat-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .9rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}
.feat-chip:hover { transform: translateY(-2px); }

/* Chip activo – Rutas */
.feat-chip--active {
  background: linear-gradient(135deg, rgba(201,168,71,.15), rgba(138,104,32,.08));
  border-color: rgba(201,168,71,.45);
  box-shadow: 0 4px 16px rgba(184,150,46,.12);
}
.feat-chip--active:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(184,150,46,.22);
}

/* Chips deshabilitados */
.feat-chip--soon {
  background: var(--white);
  border-color: rgba(21,34,69,.08);
  box-shadow: 0 1px 4px rgba(21,34,69,.05);
  opacity: .75;
}

.feat-chip-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(21,34,69,.05);
}
.feat-chip--active .feat-chip-icon {
  background: rgba(201,168,71,.2);
}

.feat-chip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.feat-chip-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat-chip-avail {
  font-size: .6rem;
  font-weight: 700;
  color: #7a6010;
  background: rgba(201,168,71,.25);
  padding: 1px 7px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  letter-spacing: .03em;
}
.feat-chip-soon {
  font-size: .6rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ── Columna derecha: QR ──────────── */

.col-right {
  animation: fadeUp .9s .1s ease both;
}

.qr-card {
  background: var(--white);
  border-radius: 28px;
  padding: 2rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow:
    0 0 0 1px rgba(21,34,69,.06),
    0 16px 48px rgba(21,34,69,.12);
}

.qr-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.qr-wrap {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(21,34,69,.08);
}
#qr-canvas {
  display: block;
  width: 220px !important;
  height: 220px !important;
  border-radius: 16px;
}
.qr-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 10px;
  border: 3px solid #fff;
  object-fit: contain;
  background: #fff;
  pointer-events: none;
}

.qr-sub {
  font-size: .75rem; color: var(--muted); font-weight: 400;
}

.qr-store-label {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--navy);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 40px;
  font-size: .75rem; font-weight: 600;
}

/* ── Animaciones ──────────────────── */

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

/* ── Responsive ───────────────────── */

@media (max-width: 720px) {
  .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .col-left { align-items: center; }
  .col-right { display: flex; justify-content: center; }
  .store-buttons { align-items: center; width: 100%; }
  .store-btn { min-width: 240px; }
  .pills { justify-content: center; }
  .tag-line { justify-content: center; }
}
