/* ==========================================================================
   SaleGaadi INDIA - Core Design System & Tokens
   ========================================================================== */

/* Fonts are preloaded in HTML head for instant mobile rendering */

:root {
  /* Brand Colors from App */
  --primary: #0B63F6;
  --primary-hover: #084ECC;
  --primary-light: #EBF3FF;
  --primary-glow: rgba(11, 99, 246, 0.16);
  --primary-gradient: linear-gradient(135deg, #0B63F6 0%, #0047C7 100%);
  --hero-gradient: linear-gradient(135deg, #0B74FF 0%, #0348B8 100%);
  
  /* Indian Tricolor & App Accents */
  --accent-saffron: #FF7722;
  --accent-green: #05963E;
  --accent-yellow: #FFB800;
  --accent-heart: #EF4444;

  /* Surfaces & Backgrounds */
  --bg-main: #F4F6FB;
  --bg-app: #F5F7FB;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-glass: rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-main: #0F172A;
  --text-secondary: #1E293B;
  --text-muted: #334155;
  --text-light: #334155;

  /* Borders & Shadows */
  --border: #E4EAF2;
  --border-light: #F0F4F8;
  --border-focus: #0B63F6;
  --shadow-subtle: 0 2px 10px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 4px 18px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 10px 28px rgba(11, 99, 246, 0.12);
  --shadow-nav: 0 -3px 18px rgba(15, 23, 42, 0.06);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Support */
[data-theme="dark"] {
  --bg-main: #0B111E;
  --bg-app: #0F172A;
  --surface: #1E293B;
  --surface-alt: #162032;
  --surface-glass: rgba(30, 41, 59, 0.88);
  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --border: #334155;
  --border-light: #1E293B;
  --primary-light: rgba(11, 99, 246, 0.2);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 8px 25px rgba(11, 99, 246, 0.25);
  --shadow-nav: 0 -3px 18px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 74px; /* Space for mobile bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-main);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Section Header */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 14px 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover {
  text-decoration: underline;
}

/* Badge & Utility */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-gold {
  background: #FEF3C7;
  color: #B45309;
}

.badge-green {
  background: #DCFCE7;
  color: #15803D;
}
/* ==========================================================================
   SaleGaadi INDIA - Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Top Navbar
   -------------------------------------------------------------------------- */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

/* Location Selector */
.location-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}
.location-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.location-btn .loc-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.loc-text {
  display: flex;
  flex-direction: column;
}

.loc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.loc-title svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.loc-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop Search Bar */
.search-bar-wrap {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.search-input-box {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-full);
  padding: 0 44px 0 46px;
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-main);
  font-size: 0.92rem;
  transition: var(--transition);
}

.search-input-box:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--primary);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--border);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  position: relative;
}
.icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.icon-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-saffron);
  border-radius: 50%;
  border: 2px solid var(--surface);
}

.icon-btn .badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Primary "Sell / Post Ad" Button */
.btn-primary-sell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary-sell:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 99, 246, 0.3);
}

/* --------------------------------------------------------------------------
   Mobile App Search Bar (Matches screenshot 1)
   -------------------------------------------------------------------------- */
.mobile-search-section {
  display: none;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.mobile-search-box {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}

.mobile-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.94rem;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Category Pills (Matches app horizontal chips)
   -------------------------------------------------------------------------- */
.category-section {
  padding: 12px 0 6px 0;
  background: transparent;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
  height: 4px;
}
.category-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

.category-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.category-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 3px 12px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   Hero Promotional Banner (Matching App Banner)
   -------------------------------------------------------------------------- */
.hero-banner-card {
  position: relative;
  background: linear-gradient(135deg, #0A63F8 0%, #0348C2 60%, #002D82 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #FFFFFF;
  margin: 14px 0 20px 0;
  box-shadow: 0 8px 30px rgba(11, 99, 246, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-headline span.yellow-highlight {
  color: #FFE600;
  text-shadow: 0 2px 10px rgba(255, 230, 0, 0.35);
}

.hero-sub {
  font-size: 0.98rem;
  opacity: 0.92;
  margin-bottom: 20px;
  line-height: 1.45;
}

/* Trust Badges matching App screenshot */
.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-badge-pill svg {
  width: 15px;
  height: 15px;
  color: #FFE600;
}

.hero-banner-image-wrap {
  flex-shrink: 0;
  max-width: 420px;
  position: relative;
  text-align: right;
}

.hero-banner-image-wrap img {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-height: 220px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Filter & Search Toolbar
   -------------------------------------------------------------------------- */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-results-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Listing Cards Grid (Replicating App Cards Exactly)
   -------------------------------------------------------------------------- */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .ads-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1080px) {
  .ads-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.ad-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 99, 246, 0.4);
}

.ad-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E2E8F0;
}

.ad-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ad-card:hover .ad-card-thumb {
  transform: scale(1.04);
}

/* Floating Heart Button */
.fav-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  color: var(--primary);
}

.fav-btn:hover {
  background: #FFFFFF;
  transform: scale(1.1);
}

.fav-btn.is-favorite {
  color: var(--accent-heart);
  background: #FFFFFF;
}

.fav-btn.is-favorite svg {
  fill: var(--accent-heart);
}

.ad-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Price in vibrant electric blue matching screenshot */
.ad-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.ad-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.4em;
}

.ad-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-card-location svg {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Floating Action Button (+) for Post Ad
   -------------------------------------------------------------------------- */
.fab-post-btn {
  position: fixed;
  bottom: 86px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(11, 99, 246, 0.4);
  z-index: 90;
  cursor: pointer;
  transition: var(--transition);
}

.fab-post-btn:hover {
  transform: scale(1.08) rotate(90deg);
  background: var(--primary-hover);
}

.fab-post-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

/* --------------------------------------------------------------------------
   Mobile Bottom Navigation Bar (Matches App Screenshots Exactly)
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow-nav);
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 0;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-item.active svg {
  stroke: var(--primary);
}

/* --------------------------------------------------------------------------
   Ad Details Page Components (Matches Pulsar 220f screenshot)
   -------------------------------------------------------------------------- */
.ad-detail-container {
  max-width: 900px;
  margin: 20px auto 40px auto;
  padding: 0 16px;
}

.ad-detail-hero-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.ad-detail-img-wrap {
  position: relative;
  width: 100%;
  max-height: 480px;
  background: #000;
  overflow: hidden;
}

.ad-detail-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin: 0 auto;
}

.ad-detail-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.circle-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition);
}
.circle-nav-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
}

.ad-detail-content {
  padding: 22px;
}

.ad-detail-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.ad-detail-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.ad-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ad-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Key Specifications Grid (Year, Kilometer, etc.) */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 22px 0;
}

@media (min-width: 600px) {
  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.spec-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-icon-box svg {
  width: 22px;
  height: 22px;
}

.spec-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.spec-info-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Description Section */
.detail-section-block {
  margin: 24px 0;
}

.detail-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.detail-description-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--surface-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  white-space: pre-line;
}

/* Seller Card */
.seller-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-subtle);
}

.seller-profile-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.seller-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.seller-email {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.seller-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 99, 246, 0.2);
  cursor: pointer;
}
.seller-action-icon:hover {
  background: var(--primary);
  color: #FFF;
}

/* Sticky Action Bar matching Bottom of Screenshot 4 */
.detail-cta-bar {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  position: sticky;
  bottom: 16px;
  background: var(--surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

.btn-cta-outline {
  flex: 1;
  height: 48px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
}
.btn-cta-outline:hover {
  background: var(--primary-light);
}

.btn-cta-solid {
  flex: 1;
  height: 48px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-cta-solid:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   Profile Screen Components (Matches Screenshot 3)
   -------------------------------------------------------------------------- */
.profile-container {
  max-width: 680px;
  margin: 24px auto 50px auto;
  padding: 0 16px;
}

.profile-card-top {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.profile-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  object-fit: cover;
  background: #FFF;
}

.profile-user-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-yellow);
}

.profile-user-email {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.profile-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-stat-box {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.profile-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.profile-stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Profile Menu Items List */
.profile-menu-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-item-icon {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
}

.profile-menu-item:hover .menu-item-icon {
  color: var(--primary);
}

/* Switch Toggle for Dark Theme */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* --------------------------------------------------------------------------
   Post Ad Form Components
   -------------------------------------------------------------------------- */
.post-ad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0 40px 0;
}

@media (min-width: 900px) {
  .post-ad-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  font-size: 0.92rem;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  background: var(--surface-alt);
  cursor: pointer;
  transition: var(--transition);
}
.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.upload-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin: 0 auto 10px auto;
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.modal-close-btn:hover {
  background: var(--surface-alt);
  color: var(--text-main);
}

.modal-body {
  padding: 20px 22px;
}

/* Footer (Desktop) */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px 0;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr 1.1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Social Follow Icons */
.social-follow-wrap {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-follow-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-icons-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: #4B5563;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.social-icon-btn svg {
  display: block;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon-btn.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #FFFFFF;
}

.social-icon-btn.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #FFFFFF;
}
/* ==========================================================================
   SaleGaadi INDIA - Feature Showcase & App Landing Styles
   ========================================================================== */

/* Navbar Navigation Links */
.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-menu-link:hover {
  color: var(--primary);
}

/* Official Google Play Store Button */
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-google-play:hover {
  background: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.4);
}

.play-icon-svg {
  width: 26px;
  height: 28px;
  flex-shrink: 0;
}

.play-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.play-small-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.85;
  font-weight: 500;
}

.play-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Primary Electric Blue Playstore Variant */
.btn-play-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #FFFFFF !important;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: var(--transition);
  text-decoration: none;
}
.btn-play-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 99, 246, 0.35);
}

/* --------------------------------------------------------------------------
   Landing Hero Section
   -------------------------------------------------------------------------- */
.landing-hero {
  padding: 40px 0 60px 0;
  overflow: hidden;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(11, 99, 246, 0.2);
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.14;
  color: var(--text-main);
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.hero-main-title .gradient-text {
  color: var(--primary);
  background: linear-gradient(135deg, #0B63F6 0%, #0042B3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Trust Stats Bar */
.trust-stats-row {
  display: flex;
  align-items: center;
  gap: 20px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-stat-item {
  display: flex;
  flex-direction: column;
}

.trust-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-stat-rating {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trust-stat-rating:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.rating-val {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-star-svg {
  width: 18px;
  height: 18px;
  color: #0B63F6;
  fill: #0B63F6;
  flex-shrink: 0;
}

.rating-reviews {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Smartphone Mockup Frame */
.phone-mockup-wrapper {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  background: #0F172A;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(11, 99, 246, 0.22), 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid #334155;
}

.phone-screen {
  background: #F4F6FB;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Badges */
.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite;
}

.float-badge-1 {
  top: 15%;
  left: -35px;
}

.float-badge-2 {
  bottom: 18%;
  right: -30px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Feature Showcase Rows (Alternating Layout matching uploaded screenshots)
   -------------------------------------------------------------------------- */
.feature-showcase-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row.reverse {
  direction: rtl;
}
.showcase-row.reverse > * {
  direction: ltr;
}

.showcase-text {
  max-width: 500px;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.showcase-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.showcase-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.bullet-icon-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-phone-col {
  display: flex;
  justify-content: center;
}

.showcase-phone-card {
  max-width: 310px;
  border-radius: 34px;
  background: #0F172A;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(11, 99, 246, 0.16);
  border: 3px solid #334155;
  transition: var(--transition);
}
.showcase-phone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(11, 99, 246, 0.25);
}

.showcase-phone-card img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

/* --------------------------------------------------------------------------
   App Screenshots Gallery (5-Screen Overview)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.section-head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px auto;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-big-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.22;
  margin-bottom: 12px;
}

.section-sub-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.gallery-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-align: center;
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-card-body {
  padding: 14px 10px;
}

.gallery-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.gallery-card-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 80px 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px auto;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.faq-card[open] {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 99, 246, 0.1);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-card[open] .faq-icon-toggle {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-content {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}

.faq-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Big Bottom CTA Download Section
   -------------------------------------------------------------------------- */
.cta-banner-card {
  background: linear-gradient(135deg, #0A63F8 0%, #0348C2 60%, #002D82 100%);
  border-radius: var(--radius-lg);
  padding: 55px 40px;
  color: #FFFFFF;
  text-align: center;
  margin: 40px 0 70px 0;
  box-shadow: 0 15px 40px rgba(11, 99, 246, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-banner-sub {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 580px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-main-title {
    font-size: 2.3rem;
  }
  .hero-description {
    margin: 0 auto 24px auto;
  }
  .hero-cta-actions {
    justify-content: center;
  }
  .trust-stats-row {
    justify-content: center;
  }
  .showcase-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .showcase-row.reverse {
    direction: ltr;
  }
  .showcase-text {
    max-width: 100%;
    margin: 0 auto;
  }
  .showcase-bullets {
    align-items: center;
  }
  .showcase-bullet-item {
    text-align: left;
    max-width: 380px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .float-card {
    display: none;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  .cta-banner-card {
    padding: 36px 20px;
  }
  .cta-banner-title {
    font-size: 1.7rem;
  }
}
/* ==========================================================================
   SaleGaadi INDIA - Trending Cars & Bikes and City Pages Styles
   ========================================================================== */

/* Navbar & Logo Constraints (Ensures Logo is never oversized) */
.site-header, .top-navbar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.header-inner, .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link, .logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img, .main-logo-img, .logo-link img, .brand-link img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block;
}

/* Section Container */
.trending-section {
  padding: 60px 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.trending-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.trending-title-col {
  max-width: 600px;
}

.trending-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #0284C7;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trending-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.trending-subtitle {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.5;
}

/* Category Filter Tabs */
.trending-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trending-tab-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trending-tab-btn:hover {
  border-color: #0284C7;
  color: #0284C7;
  background: #F0F9FF;
}

.trending-tab-btn.active {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Vehicle Cards Grid */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.vehicle-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: #BAE6FD;
}

/* Image Wrap */
.vehicle-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #F1F5F9;
  overflow: hidden;
}

.vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-img {
  transform: scale(1.05);
}

.vehicle-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.vehicle-badge-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Body */
.vehicle-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vehicle-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0284C7;
  letter-spacing: -0.5px;
}

.vehicle-date {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}

.vehicle-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

/* Specs pills */
.vehicle-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-pill {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.vehicle-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 16px;
  margin-top: auto;
}

.vehicle-location svg {
  width: 14px;
  height: 14px;
  color: #EF4444;
  flex-shrink: 0;
}

/* Action CTA */
.btn-install-app-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-install-app-ad:hover {
  background: #1E293B;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-install-app-ad svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* View All Bar */
.trending-footer-bar {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-view-all-app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0284C7;
  color: #FFFFFF !important;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
}

.btn-view-all-app:hover {
  background: #0369A1;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.45);
}

/* Locations / State Directory Styles */
.locations-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 60px 0 50px 0;
  text-align: center;
}

.locations-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.locations-hero p {
  font-size: 1.1rem;
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto 28px auto;
}

.location-search-wrap {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.location-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-size: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  outline: none;
  transition: all 0.25s ease;
}

.location-search-input::placeholder {
  color: #94A3B8;
}

.location-search-input:focus {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #0284C7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.location-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #94A3B8;
  pointer-events: none;
}

/* State & City Grid */
.states-section {
  padding: 60px 0;
  background: #F8FAFC;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.state-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.state-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #0284C7;
}

.state-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
}

.state-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  text-decoration: none;
}

.state-card-title:hover {
  color: #0284C7;
}

.state-vehicle-count {
  font-size: 0.75rem;
  background: #F0F9FF;
  color: #0284C7;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.city-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-pill-link {
  display: inline-block;
  background: #F1F5F9;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.city-pill-link:hover {
  background: #0284C7;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.city-pill-link.highlight {
  background: #EFF6FF;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.city-pill-link.highlight:hover {
  background: #0284C7;
  color: #FFFFFF;
}

/* City Page Specific Header */
.city-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #FFFFFF;
  padding: 50px 0 40px 0;
}

.city-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.city-hero-text {
  max-width: 650px;
}

.city-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.city-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.city-hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* Universal Mobile Overflow Protection */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Responsive adjustments (< 768px) */
@media (max-width: 768px) {
  /* Hide desktop nav links on phones to prevent header stretching */
  .nav-menu-links, 
  .nav-menu-links.desktop-only,
  header nav {
    display: none !important;
  }

  .top-navbar, .site-header {
    padding: 8px 0 !important;
    width: 100% !important;
  }

  .nav-inner, .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand-logo-img, .main-logo-img {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 130px !important;
  }

  .nav-actions {
    flex-shrink: 0 !important;
  }

  .btn-google-play {
    padding: 5px 10px !important;
    gap: 6px !important;
    border-radius: 8px !important;
  }

  .play-icon-svg {
    width: 18px !important;
    height: 20px !important;
  }

  .play-small-text {
    font-size: 0.52rem !important;
  }

  .play-brand-text {
    font-size: 0.9rem !important;
  }

  .city-hero {
    padding: 30px 0 25px 0 !important;
    width: 100% !important;
  }

  .city-hero-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .city-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .city-hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  .btn-play-primary {
    font-size: 0.9rem !important;
    padding: 10px 18px !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .trending-header-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .trending-title {
    font-size: 1.5rem !important;
  }

  .trending-subtitle {
    font-size: 0.88rem !important;
  }

  .vehicles-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .vehicle-img-wrap {
    height: 190px !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* ==========================================================================
   SaleGaadi INDIA - Responsive Adaptations
   ========================================================================== */

/* Mobile view adaptations (< 768px) */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Show mobile search and bottom nav */
  .mobile-search-section {
    display: block;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .nav-inner {
    padding: 0 4px;
  }

  .search-bar-wrap {
    display: none;
  }

  .brand-logo-img {
    height: 32px;
  }

  .location-btn {
    padding: 4px 8px;
  }

  .loc-sub {
    max-width: 100px;
  }

  /* Hero banner on mobile */
  .hero-banner-card {
    margin: 10px 0 16px 0;
  }

  .hero-banner-inner {
    flex-direction: column;
    padding: 18px 16px;
    text-align: left;
  }

  .hero-headline {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .hero-banner-image-wrap {
    margin-top: 14px;
    width: 100%;
    max-width: 100%;
  }

  .hero-banner-image-wrap img {
    width: 100%;
    max-height: 160px;
  }

  /* Ads grid for mobile matches screenshot (2 columns) */
  .ads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ad-card-price {
    font-size: 1.02rem;
  }

  .ad-card-title {
    font-size: 0.82rem;
    min-height: 2.2em;
  }

  .ad-card-body {
    padding: 10px;
  }

  .ad-card-location {
    font-size: 0.68rem;
  }

  /* Footer on mobile */
  .site-footer {
    display: block !important;
    padding: 36px 0 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-follow-wrap {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Tablet & Desktop (>= 768px) */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block;
  }

  .mobile-search-section {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .hero-headline {
    font-size: 2.4rem;
  }
}
