/* Bhawani Mobile NX — public catalog
   Palette matches the shopkeeper's app: dark blue, red, white, black. */

:root {
  --black:      #05070F;
  --ink:        #0A0D18;
  --navy-deep:  #08122C;
  --navy:       #0D1B3E;
  --navy-mid:   #13275A;
  --navy-glow:  #2C56A8;
  --red:        #E0142F;
  --red-bright: #FF3A52;
  --red-deep:   #9E0C20;
  --white:      #FFFFFF;
  --white-soft: #EDF1FA;
  --muted:      #9AA8C7;

  --line:       rgba(255, 255, 255, .10);
  --line-soft:  rgba(255, 255, 255, .06);
  --glass:      linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));

  --radius:     18px;
  --radius-lg:  26px;
  --wrap:       1160px;
  --shadow:     0 18px 40px rgba(0, 0, 0, .45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white-soft);
  background: var(--black);
  background-image:
    radial-gradient(900px 500px at 12% -8%,  rgba(44, 86, 168, .34), transparent 60%),
    radial-gradient(760px 480px at 92% 8%,   rgba(224, 20, 47, .16),  transparent 62%),
    linear-gradient(180deg, #0A1330 0%, #060A18 46%, #05070F 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 24, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; color: #fff;
  background: linear-gradient(145deg, #FF6072, #DD1230 55%, #87091B);
  box-shadow: 0 8px 20px rgba(224, 20, 47, .38), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand-text { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-text strong { color: #fff; font-size: 1.02rem; letter-spacing: -.2px; }
.brand-text em {
  font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: 1.4px;
  color: var(--red-bright); border: 1px solid rgba(255,58,82,.45);
  padding: 2px 5px; border-radius: 5px;
}

.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--muted);
  font-size: .87rem; font-weight: 600; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red-bright); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px;
  font-size: .88rem; font-weight: 700; letter-spacing: .2px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-call {
  color: #fff;
  background: linear-gradient(145deg, var(--red-bright), var(--red-deep));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(224, 20, 47, .38);
}
.btn-call:hover { box-shadow: 0 14px 30px rgba(224, 20, 47, .5); }

.btn-wa {
  color: #fff;
  background: linear-gradient(145deg, #2BD16B, #128C3E);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(18, 140, 62, .32);
}

.btn-ghost {
  color: #fff; background: var(--glass); border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); }

.btn-lg { padding: 14px 26px; font-size: .95rem; border-radius: 14px; }

/* --------------------------------------------------------------------- hero */

.hero { padding: 62px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red-bright);
  background: rgba(224, 20, 47, .12);
  border: 1px solid rgba(255, 58, 82, .34);
  padding: 7px 13px; border-radius: 30px;
}

.hero h1 {
  margin: 20px 0 14px;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08; letter-spacing: -1.4px; color: #fff; font-weight: 800;
}
.hero h1 span { color: var(--red-bright); }

.hero p.lede { font-size: 1.04rem; color: var(--muted); max-width: 48ch; margin: 0 0 26px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-card h2 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.hero-card p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; }

.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; }
.tick {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
  background: rgba(224, 20, 47, .16); border: 1px solid rgba(255,58,82,.45);
  color: var(--red-bright); font-size: .7rem; font-weight: 900;
}

/* ------------------------------------------------------------------- trust */

.trust { padding: 10px 0 46px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-card {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px;
}
.trust-card strong { display: block; color: #fff; font-size: .96rem; margin-bottom: 4px; }
.trust-card span { color: var(--muted); font-size: .82rem; }

/* ---------------------------------------------------------------- sections */

.section { padding: 52px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 {
  margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.05rem);
  color: #fff; letter-spacing: -.7px; font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ------------------------------------------------------------------- cards */

.phone-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}

.phone-card {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(32, 65, 140, .28), rgba(10, 15, 34, .92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.phone-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 58, 82, .42);
  box-shadow: 0 22px 46px rgba(0,0,0,.55), 0 0 28px rgba(224,20,47,.14);
}

.phone-media {
  position: relative; aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 40%, #1B2E5E, #0A1026);
  display: grid; place-items: center; overflow: hidden;
}
.phone-media img { width: 100%; height: 100%; object-fit: cover; }
.phone-media .placeholder { color: rgba(255,255,255,.22); }

.badge {
  position: absolute; top: 11px; left: 11px;
  font-size: .66rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 9px; border-radius: 20px;
  background: rgba(224, 20, 47, .92); color: #fff;
  box-shadow: 0 6px 14px rgba(224,20,47,.4);
}
.badge.grey { background: rgba(10, 14, 28, .9); border: 1px solid var(--line); color: var(--muted); }
.badge.right { left: auto; right: 11px; }

.phone-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.phone-body h3 { margin: 0; font-size: 1rem; color: #fff; font-weight: 800; letter-spacing: -.2px; }
.phone-specs { margin: 0; font-size: .78rem; color: var(--muted); }

.phone-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-now { font-size: 1.22rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.price-was { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: .72rem; font-weight: 800; color: var(--red-bright); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .68rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 20px; padding: 3px 9px;
  background: rgba(255,255,255,.03);
}

.sold-out { opacity: .55; }

/* ----------------------------------------------------------------- filters */

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-chip {
  text-decoration: none; font-size: .82rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px;
  background: rgba(255,255,255,.03); transition: .15s;
}
.filter-chip:hover { color: #fff; border-color: rgba(255,255,255,.22); }
.filter-chip.active {
  color: #fff; border-color: rgba(255,58,82,.6);
  background: linear-gradient(145deg, rgba(255,58,82,.3), rgba(158,12,32,.3));
}

.search-form { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.search-form input {
  flex: 1; min-width: 200px;
  background: rgba(10, 18, 40, .8); color: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 15px; font-size: .92rem; font-family: inherit;
}
.search-form input::placeholder { color: #62719A; }

/* -------------------------------------------------------------------- sell */

.sell-panel {
  background: linear-gradient(150deg, #23448F 0%, #13224C 52%, #3D0A17 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 26px 56px rgba(0,0,0,.5);
}
.sell-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.sell-panel h2 { margin: 12px 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; letter-spacing: -.7px; }
.sell-panel p { color: #C6D2EE; margin: 0 0 22px; }

.step-list { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-list li { counter-increment: step; display: flex; gap: 13px; align-items: flex-start; }
.step-list li::before {
  content: counter(step);
  flex: none; width: 27px; height: 27px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  color: #fff; font-weight: 800; font-size: .8rem;
}
.step-list strong { display: block; color: #fff; font-size: .93rem; }
.step-list span { color: #C6D2EE; font-size: .84rem; }

/* ------------------------------------------------------------------ detail */

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.detail-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #1B2E5E, #0A1026);
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumbs img {
  width: 76px; height: 62px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
}

.detail h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #fff; letter-spacing: -.9px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.spec-table th, .spec-table td {
  text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem;
}
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; }
.spec-table td { color: #fff; font-weight: 600; }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.notice {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-left: 3px solid var(--red-bright);
  border-radius: 12px; padding: 14px 16px; font-size: .85rem; color: var(--muted);
}

.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 600;
  margin-bottom: 20px;
}
.back-link:hover { color: #fff; }

/* ------------------------------------------------------------------- empty */

.empty {
  text-align: center; padding: 58px 24px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.empty h3 { margin: 16px 0 8px; color: #fff; font-size: 1.15rem; }
.empty p { margin: 0 auto 22px; color: var(--muted); max-width: 46ch; font-size: .92rem; }

/* ------------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(4, 7, 16, .7); }
.footer-grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 38px;
  padding: 46px 20px 34px;
}
.footer-col h3 {
  margin: 0 0 13px; font-size: .74rem; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--red-bright);
}
.footer-about { color: var(--muted); font-size: .87rem; margin: 14px 0 0; max-width: 42ch; }
.footer-col address { font-style: normal; color: var(--white-soft); font-size: .9rem; margin-bottom: 10px; }
.footer-link { color: var(--red-bright); text-decoration: none; font-size: .85rem; font-weight: 700; }
.footer-link:hover { text-decoration: underline; }
.footer-hours { color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.footer-phone {
  display: inline-block; color: #fff; text-decoration: none;
  font-size: 1.24rem; font-weight: 800; letter-spacing: -.4px; margin-bottom: 14px;
}
.footer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-note { color: var(--muted); font-size: .78rem; margin: 16px 0 0; max-width: 34ch; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px 26px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: .78rem;
}

/* --------------------------------------------------------------------- fab */

.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #2BD16B, #128C3E);
  box-shadow: 0 12px 28px rgba(18, 140, 62, .48);
  border: 1px solid rgba(255,255,255,.22);
}
.fab-wa:hover { transform: scale(1.05); }

/* -------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero-grid, .sell-grid, .detail-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 44px 0 34px; }
  .sell-panel { padding: 26px; }
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .header-call { margin-left: auto; }
  .phone-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 13px; }
  .phone-body { padding: 12px 13px 14px; }
  .phone-body h3 { font-size: .9rem; }
  .price-now { font-size: 1.05rem; }
  .section { padding: 38px 0; }
}

@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
