/* ========================================================
   UP33 THEME - MODERN, ELEGANT & PROFESSIONAL DESIGN SYSTEM
   HYPERLOCAL MARKETPLACE + COMPLETE CITY SERVICES
   ======================================================== */

:root {
  --up33-primary: #1e40af;
  --up33-primary-hover: #1d4ed8;
  --up33-primary-light: #eff6ff;
  --up33-primary-border: #bfdbfe;
  
  --up33-success: #059669;
  --up33-success-light: #ecfdf5;
  --up33-success-border: #a7f3d0;
  
  --up33-amber: #d97706;
  --up33-amber-light: #fffbeb;
  --up33-amber-border: #fde68a;
  
  --up33-dark: #0f172a;
  --up33-dark-muted: #334155;
  --up33-text-muted: #64748b;
  
  --up33-bg-subtle: #f8fafc;
  --up33-bg-alt: #f1f5f9;
  --up33-card-border: #e2e8f0;
  
  --up33-radius-sm: 8px;
  --up33-radius-md: 12px;
  --up33-radius-lg: 16px;
  --up33-radius-full: 9999px;
  
  --up33-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --up33-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --up33-shadow-lg: 0 12px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --up33-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
}

/* Base resets & typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ========================================================
   1. HERO SECTION
   ======================================================== */
.up33-hero {
  position: relative;
  background: linear-gradient(135deg, #091e3a 0%, #17386d 50%, #1e40af 100%);
  color: #ffffff;
  padding: 48px 0 64px 0;
  overflow: hidden;
}

.up33-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.up33-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--up33-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #e2e8f0;
}

.up33-hero-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-top: 14px;
  margin-bottom: 12px;
}

.up33-hero-title .text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.up33-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 28px auto;
  line-height: 1.5;
}

/* Hero Search Box */
.up33-hero-search {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--up33-radius-full);
  padding: 6px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.up33-hero-search .search-select {
  border: none;
  background: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--up33-radius-full);
  padding: 10px 16px;
  outline: none;
  cursor: pointer;
  max-width: 160px;
}

.up33-hero-search .search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
}

.up33-hero-search .search-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: var(--up33-radius-full);
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.up33-hero-search .search-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: scale(1.02);
}

/* Hero Quick Badges */
.up33-trust-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.up33-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--up33-radius-full);
  backdrop-filter: blur(4px);
}
.up33-pillar-item i {
  color: #38bdf8;
}

/* ========================================================
   2. CATEGORY TILES (QUICK DOCK)
   ======================================================== */
.up33-dock-section {
  margin-top: -36px;
  position: relative;
  z-index: 10;
  margin-bottom: 32px;
}

.up33-dock-card {
  background: #ffffff;
  border-radius: var(--up33-radius-lg);
  box-shadow: var(--up33-shadow-lg);
  border: 1px solid var(--up33-card-border);
  padding: 18px 20px;
}

.up33-category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #1e293b;
  padding: 12px 6px;
  border-radius: var(--up33-radius-md);
  transition: all 0.25s ease;
  height: 100%;
}
.up33-category-tile:hover {
  background: #eff6ff;
  transform: translateY(-4px);
  color: #1d4ed8;
}
.up33-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
  transition: transform 0.25s ease;
}
.up33-category-tile:hover .up33-tile-icon {
  transform: scale(1.1);
}
.up33-tile-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.up33-tile-sub {
  font-size: 0.7rem;
  color: var(--up33-text-muted);
  margin-top: 2px;
}

/* ========================================================
   3. SECTION HEADERS & TABS
   ======================================================== */
.up33-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.up33-section-desc {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.up33-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--up33-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Category Filter Chips Bar */
.up33-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 2px 12px 2px;
}
.up33-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: var(--up33-radius-full);
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.up33-chip:hover, .up33-chip.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ========================================================
   4. MARKETPLACE PRODUCT CARDS
   ======================================================== */
.up33-product-card {
  background: #ffffff;
  border: 1px solid var(--up33-card-border);
  border-radius: var(--up33-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.up33-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--up33-shadow-hover);
  border-color: #bfdbfe;
}

.up33-product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 90%;
  background: #f8fafc;
  overflow: hidden;
}
.up33-product-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.up33-product-card:hover .up33-product-img-wrap img {
  transform: scale(1.06);
}

.up33-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
  z-index: 2;
}

.up33-badge-delivery {
  position: absolute;
  bottom: 8px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.up33-product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.up33-vendor-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.up33-vendor-tag i {
  color: #059669;
}

.up33-product-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.up33-product-title:hover {
  color: #2563eb;
}

.up33-rating-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #f59e0b;
  margin-bottom: 8px;
}
.up33-rating-strip .rating-count {
  color: #94a3b8;
  font-size: 0.72rem;
}

.up33-price-strip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}
.up33-price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.up33-price-mrp {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.up33-btn-cart {
  width: 100%;
  background: #eff6ff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--up33-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.up33-btn-cart:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ========================================================
   5. ON-DEMAND SERVICES CARDS
   ======================================================== */
.up33-service-card {
  background: #ffffff;
  border: 1px solid var(--up33-card-border);
  border-radius: var(--up33-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.up33-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--up33-shadow-hover);
  border-color: #a7f3d0;
}
.up33-service-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.up33-service-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ========================================================
   6. VERIFIED DIRECTORY BUSINESS CARDS
   ======================================================== */
.up33-biz-card {
  background: #ffffff;
  border: 1px solid var(--up33-card-border);
  border-radius: var(--up33-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.up33-biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--up33-shadow-hover);
  border-color: #bfdbfe;
}

/* ========================================================
   7. EMERGENCY 24X7 STRIP
   ======================================================== */
.up33-emergency-strip {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: var(--up33-radius-lg);
  padding: 24px;
  margin-top: 24px;
}
.up33-sos-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid #ef4444;
  color: #fca5a5;
  padding: 8px 16px;
  border-radius: var(--up33-radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.up33-sos-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.03);
}

/* ========================================================
   8. MOBILE APP DOWNLOAD CTA SECTION
   ======================================================== */
.up33-app-banner {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  border-radius: var(--up33-radius-lg);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  padding: 40px 30px;
}
.up33-app-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .up33-hero {
    padding: 32px 0 44px 0;
  }
  .up33-hero-search {
    flex-direction: column;
    border-radius: var(--up33-radius-md);
    padding: 10px;
  }
  .up33-hero-search .search-select {
    width: 100%;
    max-width: 100%;
  }
  .up33-hero-search .search-btn {
    width: 100%;
    justify-content: center;
  }
  .up33-dock-section {
    margin-top: -24px;
  }
  .up33-product-card {
    border-radius: var(--up33-radius-md);
  }
  .up33-product-body {
    padding: 10px;
  }
  .up33-price-current {
    font-size: 1rem;
  }
}
