/* =========
   JAPPI UBER-LIKE LANDING (desde 0)
   Mobile-first
========= */

:root{
  --bg: #0b0b0f;
  --card: #111118;
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.08);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
}

.jappi-body{
  background: #0a0a0d;
  color: #fff;
}

.container{
  max-width: 980px;
}

/* TOP BAR */
.jappi-topbar{
  background: rgba(10,10,13,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: #fff;
  display: inline-block;
}
.brand-name{
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
}

.icon-btn{
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:active{ transform: scale(.98); }
.badge-dot{
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22c55e;
  transform: translate(12px,-12px);
}

/* SEARCH */
.search-wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 10px 10px 14px;
}
.search-wrap i{
  opacity: .9;
}
.search-input{
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: 40px;
}
.search-input::placeholder{ color: rgba(255,255,255,.55); }
.search-btn{
  border-radius: 999px !important;
  padding: 10px 14px;
}

/* HERO */
.hero-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 430px;
}
.hero-bg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 400px at 30% 20%, rgba(0,0,0,.35), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.25));
}
.hero-content{
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}
.hero-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  width: fit-content;
  font-weight: 600;
}
.hero-title{
  font-weight: 900;
  letter-spacing: -.3px;
  margin: 0;
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
}
.hero-sub{
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}
.hero-stats{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.stat{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 110px;
}
.stat-num{ font-weight: 900; }
.stat-txt{ font-size: .85rem; color: var(--muted); }

/* Section head */
.section-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.section-title{
  font-weight: 900;
  margin: 0;
  font-size: 1.15rem;
}
.section-link{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 700;
}
.section-link:hover{ text-decoration: underline; }
.pill-muted{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}

/* Chips */
.chips{
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar{ display:none; }
.chip{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 10px 12px;
  display:inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
}
.chip.active{
  background: #fff;
  color: #0a0a0d;
  border-color: rgba(255,255,255,.35);
}

/* Store cards */
.store-card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.store-media{
  position: relative;
  height: 170px;
  background: #0b0b0f;
}
.store-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-badges{
  position:absolute;
  left: 12px;
  bottom: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-pill{
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 800;
  background: #fff;
  color: #0a0a0d;
  border: 1px solid rgba(255,255,255,.4);
}
.badge-dark{
  background: rgba(0,0,0,.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}

.store-body{
  padding: 14px;
}
.store-name{
  font-weight: 900;
  font-size: 1.05rem;
}
.store-meta{
  color: var(--muted2);
  font-size: .92rem;
  margin-top: 2px;
}
.rating{
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}
.rating i{ color: #ffd166; }

.tag{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}
.tag-soft{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.24);
}

/* Demo steps */
.demo-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.demo-step{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 14px;
}
.demo-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.demo-title{ font-weight: 900; }
.demo-text{ color: var(--muted2); }

/* Pricing */
.price-card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 14px;
  height: 100%;
}
.price-card.featured{
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  position: relative;
}
.price-badge{
  position:absolute;
  top: 12px; right: 12px;
  background: #fff;
  color: #0a0a0d;
  font-weight: 900;
  border-radius: 999px;
  padding: 7px 10px;
}
.price-top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.price-name{ font-weight: 900; font-size: 1.05rem; }
.price-amt{ font-weight: 900; font-size: 1.35rem; }
.price-amt span{ color: var(--muted2); font-weight: 700; font-size: .95rem; }
.price-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  display: grid;
  gap: 8px;
}
.price-list li{
  display:flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}
.price-list li i{ opacity: .95; }
.price-list li.off{ color: rgba(255,255,255,.45); }

/* CTA */
.cta-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.cta-title{ font-weight: 900; font-size: 1.1rem; }
.cta-sub{ color: var(--muted); }

/* Bottom nav */
.bottom-nav{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: rgba(10,10,13,.88);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display:flex;
  z-index: 1050;
}
.bn-item{
  flex: 1;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 4px;
  font-weight: 800;
  font-size: .72rem;
  text-decoration: none;
}
.bn-item i{ font-size: 1.05rem; }
.bn-item.active{ color: #fff; }

.cart-empty{
  border: 1px dashed rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  color: rgba(0,0,0,.65);
  background: rgba(0,0,0,.03);
}
.cart-empty i{
  font-size: 1.6rem;
  opacity: .75;
}

/* Desktop improvements */
@media (min-width: 768px){
  .hero-card{ min-height: 460px; }
  .hero-content{ padding: 22px; }
  .demo-grid{ grid-template-columns: repeat(3, 1fr); }
  .cta-card{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
