/* ============================================================
   FONEPAY.PK — HOMEPAGE 2026 DARK LUXURY DESIGN SYSTEM
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --hp-bg:       #080910;
  --hp-surface:  #0f1117;
  --hp-surface2: #161820;
  --hp-surface3: #1d2030;
  --hp-border:   rgba(255,255,255,0.07);
  --hp-border-glow: rgba(99,179,237,0.25);
  --hp-accent:   #63b3ed;
  --hp-accent2:  #f6ad55;
  --hp-purple:   #a78bfa;
  --hp-green:    #68d391;
  --hp-red:      #fc8181;
  --hp-muted:    #6b7280;
  --hp-muted2:   #9ca3af;
  --hp-text:     #e2e8f0;
  --hp-radius:   20px;
  --hp-radius-sm: 10px;
  --hp-radius-pill: 999px;
  --syne: 'Syne', 'Inter', sans-serif;
  --dm: 'DM Sans', 'Inter', sans-serif;
}

/* ── Global overrides for homepage ─────────────────────────── */
body.homepage {
  background: var(--hp-bg) !important;
  color: var(--hp-text);
  font-family: var(--dm);
}
body.homepage main { background: transparent; }
body.homepage .header-spacer { display: none; }

/* Noise texture overlay */
body.homepage::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── NAVBAR override for dark theme ────────────────────────── */
body.homepage header.fixed-top { top: 0; }
body.homepage .custom-navbar {
  background: rgba(8,9,16,0.88) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--hp-border) !important;
  height: 64px;
}
body.homepage .navbar-brand {
  font-family: var(--syne) !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  background: linear-gradient(90deg, var(--hp-accent), var(--hp-purple)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body.homepage .nav-links a { color: var(--hp-muted) !important; font-family: var(--dm) !important; }
body.homepage .nav-links a:hover,
body.homepage .nav-links a.active { color: #fff !important; }
body.homepage .hp-navbar-spacer { height: 64px; }

/* ── HERO ──────────────────────────────────────────────────── */
.hp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--hp-bg);
}

/* Animated radial glow blob */
.hp-hero-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,179,237,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  animation: blobPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blobPulse {
  0%, 100% { transform: translate(-50%, -60%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%, -57%) scale(1.08); opacity: 1; }
}

/* Grid lines decoration */
.hp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

/* Pill badge */
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,179,237,0.08);
  border: 1px solid rgba(99,179,237,0.3);
  color: var(--hp-accent);
  font-family: var(--dm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--hp-radius-pill);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.hp-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hp-accent);
  box-shadow: 0 0 6px var(--hp-accent);
  animation: dotPulse 2s ease infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.8); }
}

/* Hero title */
.hp-hero-title {
  font-family: var(--syne);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hp-hero-title .gradient-text {
  background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero-sub {
  font-family: var(--dm);
  font-size: 1.1rem;
  color: var(--hp-muted2);
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Search bar */
.hp-search-wrap {
  animation: fadeUp 0.7s 0.3s ease both;
}
.hp-search-bar {
  display: flex;
  align-items: center;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-pill);
  padding: 6px 6px 6px 20px;
  max-width: 620px;
  margin: 0 auto 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.hp-search-bar:focus-within {
  border-color: var(--hp-accent);
  box-shadow: 0 0 0 3px rgba(99,179,237,0.12), 0 0 30px rgba(99,179,237,0.08);
}
.hp-search-bar i { color: var(--hp-muted); font-size: 1rem; margin-right: 12px; flex-shrink: 0; }
.hp-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--hp-text);
  font-family: var(--dm);
  font-size: 0.97rem;
}
.hp-search-bar input::placeholder { color: var(--hp-muted); }
.hp-search-btn {
  background: var(--hp-accent);
  color: #080910;
  border: none;
  border-radius: var(--hp-radius-pill);
  padding: 10px 24px;
  font-family: var(--dm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.hp-search-btn:hover { background: #90cdf4; transform: scale(1.02); }

/* Search suggestions dropdown */
.hp-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--hp-surface2);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  overflow: hidden;
  z-index: 50;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hp-suggestions.open { display: block; animation: fadeDown 0.2s ease; }
@keyframes fadeDown { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: translateY(0); } }
.hp-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: var(--hp-text);
}
.hp-suggestion-item:hover { background: var(--hp-surface3); }
.hp-suggestion-img {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--hp-surface3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  overflow: hidden;
}
.hp-suggestion-img img { width: 100%; height: 100%; object-fit: contain; }
.hp-suggestion-name { font-size: 0.88rem; font-weight: 500; }
.hp-suggestion-price { font-size: 0.78rem; color: var(--hp-accent2); margin-top: 2px; }

/* Trending chips */
.hp-trending {
  font-size: 0.82rem;
  color: var(--hp-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hp-trending span { font-weight: 500; }
.hp-trending a {
  background: var(--hp-surface2);
  border: 1px solid var(--hp-border);
  color: var(--hp-accent);
  padding: 4px 12px;
  border-radius: var(--hp-radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.hp-trending a:hover { background: rgba(99,179,237,0.1); border-color: var(--hp-accent); }

/* ── STATS BAR ─────────────────────────────────────────────── */
.hp-stats-bar {
  background: var(--hp-surface2);
  border-top: 1px solid var(--hp-border);
  border-bottom: 1px solid var(--hp-border);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.hp-stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 8px 24px;
}
.hp-stat-num {
  display: block;
  font-family: var(--syne);
  font-weight: 700;
  font-size: 2rem;
  color: var(--hp-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.hp-stat-label {
  font-size: 0.8rem;
  color: var(--hp-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hp-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--hp-border);
  flex-shrink: 0;
}

/* ── SECTION SYSTEM ────────────────────────────────────────── */
.hp-section { padding: 72px 0; }
.hp-section-alt { background: var(--hp-surface); }

.hp-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.hp-section-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hp-section-bar {
  width: 3px;
  height: 48px;
  background: linear-gradient(180deg, var(--hp-accent), var(--hp-purple));
  border-radius: 2px;
  flex-shrink: 0;
}
.hp-section-title {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}
.hp-section-sub {
  font-size: 0.88rem;
  color: var(--hp-muted);
  margin: 0;
}
.hp-section-badge {
  background: linear-gradient(135deg, rgba(99,179,237,0.15), rgba(167,139,250,0.15));
  border: 1px solid rgba(99,179,237,0.2);
  color: var(--hp-accent);
  font-family: var(--dm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--hp-radius-pill);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

/* ── PHONE CARDS ───────────────────────────────────────────── */
.hp-phones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp-phone-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.hp-phone-card.revealed {
  animation: fadeUp 0.5s ease forwards;
}
.hp-phone-card:hover {
  transform: translateY(-6px);
  border-color: var(--hp-border-glow);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,179,237,0.15), 0 0 30px rgba(99,179,237,0.07);
}

.hp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
}
.hp-card-brand {
  font-family: var(--dm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-accent);
  background: rgba(99,179,237,0.1);
  padding: 3px 10px;
  border-radius: var(--hp-radius-pill);
}
.hp-card-status {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--hp-radius-pill);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hp-card-status.available { background: rgba(104,211,145,0.12); color: var(--hp-green); }
.hp-card-status.coming { background: rgba(246,173,85,0.12); color: var(--hp-accent2); }

.hp-card-image {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 16px;
  background: radial-gradient(ellipse at center, rgba(99,179,237,0.06) 0%, transparent 70%);
  border-radius: 14px;
  overflow: hidden;
}
.hp-card-image img {
  max-height: 170px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}
.hp-phone-card:hover .hp-card-image img { transform: scale(1.04); }
.hp-card-img-placeholder {
  font-size: 4rem;
  opacity: 0.4;
}

.hp-card-body { padding: 4px 16px 12px; flex: 1; }

.hp-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.hp-card-specs span {
  background: var(--hp-surface2);
  border: 1px solid var(--hp-border);
  color: var(--hp-muted2);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--hp-radius-pill);
}

.hp-card-name {
  font-family: var(--syne);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.hp-card-tagline {
  font-size: 0.78rem;
  color: var(--hp-muted);
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-card-price {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hp-accent2);
}
.hp-card-price-na { font-size: 0.8rem; color: var(--hp-muted); font-style: italic; }

.hp-card-cta {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--hp-border);
}
.hp-btn-ghost {
  flex: 1;
  background: transparent;
  border: 1px solid var(--hp-border);
  color: var(--hp-muted2);
  font-family: var(--dm);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--hp-radius-sm);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hp-btn-ghost:hover { border-color: var(--hp-muted2); color: #fff; }
.hp-btn-accent {
  flex: 1;
  background: rgba(99,179,237,0.12);
  border: 1px solid rgba(99,179,237,0.25);
  color: var(--hp-accent);
  font-family: var(--dm);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--hp-radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hp-btn-accent:hover { background: rgba(99,179,237,0.2); border-color: var(--hp-accent); }

.hp-load-more {
  display: block;
  margin: 40px auto 0;
  background: transparent;
  border: 1px solid var(--hp-border);
  color: var(--hp-muted2);
  font-family: var(--dm);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 36px;
  border-radius: var(--hp-radius-pill);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.hp-load-more:hover { border-color: var(--hp-accent); color: var(--hp-accent); background: rgba(99,179,237,0.05); }

/* ── BRANDS SECTION ─────────────────────────────────────────── */
.hp-brands-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hp-brands-row::-webkit-scrollbar { display: none; }

.hp-brand-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hp-surface2);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-pill);
  padding: 10px 20px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: var(--hp-text);
}
.hp-brand-tile:hover {
  background: var(--hp-surface3);
  border-color: var(--hp-border-glow);
  color: #fff;
  box-shadow: 0 0 20px rgba(99,179,237,0.1);
}
.hp-brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-brand-logo-img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(0.7);
  transition: filter 0.2s;
}
.hp-brand-tile:hover .hp-brand-logo-img { filter: brightness(0) invert(1); }
.hp-brand-name {
  font-family: var(--syne);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.hp-brand-count {
  background: var(--hp-surface3);
  border: 1px solid var(--hp-border);
  color: var(--hp-muted);
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: var(--hp-radius-pill);
}

/* ── QUICK BROWSE CATEGORIES ────────────────────────────────── */
.hp-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-cat-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.hp-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(99,179,237,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.hp-cat-card:hover { transform: translateY(-4px); border-color: var(--hp-border-glow); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.hp-cat-card:hover::before { opacity: 1; }
.hp-cat-icon { font-size: 2rem; line-height: 1; }
.hp-cat-title {
  font-family: var(--syne);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 0;
}
.hp-cat-desc {
  font-size: 0.82rem;
  color: var(--hp-muted);
  margin: 0;
  line-height: 1.5;
}
.hp-cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.hp-cat-count {
  font-size: 0.75rem;
  color: var(--hp-accent);
  font-weight: 600;
}
.hp-cat-arrow {
  color: var(--hp-muted);
  transition: transform 0.2s, color 0.2s;
  font-size: 0.85rem;
}
.hp-cat-card:hover .hp-cat-arrow { transform: translateX(4px); color: var(--hp-accent); }

/* ── HOT COMPARISONS ────────────────────────────────────────── */
.hp-comparisons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hp-comp-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.hp-comp-card:hover { transform: translateY(-4px); border-color: var(--hp-border-glow); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.hp-comp-phones {
  display: flex;
  align-items: center;
  padding: 20px 16px;
  gap: 8px;
}
.hp-comp-phone {
  flex: 1;
  text-align: center;
}
.hp-comp-img {
  width: 70px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.hp-comp-img-placeholder {
  width: 70px;
  height: 90px;
  background: var(--hp-surface2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 8px;
}
.hp-comp-phone-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hp-text);
  line-height: 1.3;
}
.hp-comp-brand-name { font-size: 0.65rem; color: var(--hp-muted); margin-top: 2px; }
.hp-vs-badge {
  background: linear-gradient(135deg, var(--hp-accent), var(--hp-purple));
  color: #fff;
  font-family: var(--syne);
  font-weight: 800;
  font-size: 0.75rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(99,179,237,0.3);
}
.hp-comp-footer {
  border-top: 1px solid var(--hp-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hp-comp-views {
  font-size: 0.72rem;
  color: var(--hp-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hp-comp-cta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hp-accent);
}

/* ── FOOTER OVERRIDE ────────────────────────────────────────── */
body.homepage .site-footer {
  background: #050608 !important;
  border-top: 1px solid var(--hp-border);
  padding-top: 48px;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal-delay-1 { transition-delay: 0.1s; }
.hp-reveal-delay-2 { transition-delay: 0.2s; }
.hp-reveal-delay-3 { transition-delay: 0.3s; }
.hp-reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hp-phones-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-comparisons-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hp-phones-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hp-hero { padding: 100px 16px 60px; min-height: 80vh; }
  .hp-hero-title { font-size: 2.4rem; letter-spacing: -1px; }
  .hp-phones-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hp-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-comparisons-row { grid-template-columns: 1fr; }
  .hp-section-header { flex-direction: column; }
  .hp-stats-bar { gap: 0; }
  .hp-stat { min-width: 50%; padding: 12px; }
  .hp-stat-divider { display: none; }
  .hp-section-title { font-size: 1.4rem; }
}
@media (max-width: 400px) {
  .hp-phones-grid { grid-template-columns: 1fr; }
}
