/* 
  RYDHO Premium Design System & UI Stylesheet
  Primary Brand Color: #f11287 (Vibrant Pink)
  Secondary Brand Color: #0d0d12 (Rich Charcoal)
  Accent Color: #ffb800 (Warm Gold)
  Background: #f4f5f8 (Soft Off-white)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #f11287;
  --primary-hover: #d00e72;
  --primary-glow: rgba(241, 18, 135, 0.08);
  --primary-glow-thick: rgba(241, 18, 135, 0.15);
  --secondary: #0d0d12;
  --secondary-light: #161622;
  --bg-light: #f4f5f8;
  --bg-white: #ffffff;
  --text-dark: #14141d;
  --text-gray: #585866;
  --text-light: #9fa0b2;
  --border-color: rgba(13, 13, 18, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 8px rgba(13, 13, 18, 0.02);
  --shadow-premium: 0 16px 36px -12px rgba(13, 13, 18, 0.06), 0 4px 12px -4px rgba(13, 13, 18, 0.03);
  --shadow-hover: 0 24px 48px -10px rgba(241, 18, 135, 0.15), 0 8px 24px -6px rgba(13, 13, 18, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(241, 18, 135, 0.03) 0px, transparent 40%),
    radial-gradient(at 100% 100%, rgba(241, 18, 135, 0.02) 0px, transparent 40%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-glow-thick);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(241, 18, 135, 0.15);
}

/* Premium Glassmorphic Cards & Hover Effects */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(241, 18, 135, 0.3);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #bd0c67 100%);
  color: var(--bg-white);
  box-shadow: 0 8px 30px rgba(241, 18, 135, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(241, 18, 135, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 8px 24px rgba(13, 13, 18, 0.2);
}

.btn-secondary:hover {
  background-color: #1a1a24;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--border-color);
  color: var(--secondary);
}

.btn-outline:hover {
  border-color: var(--secondary);
  background-color: rgba(13, 13, 18, 0.03);
  transform: translateY(-2px);
}

/* Header & Glass Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(13, 13, 18, 0.05);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--secondary);
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Hero Section & Search Widget Grid */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(241, 18, 135, 0.06), transparent 50%), var(--bg-light);
  padding: 120px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.65;
}

.search-widget {
  background-color: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
}

.search-widget h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 24px;
  gap: 16px;
}

.search-tab {
  padding: 12px 0;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.search-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.search-form input, .search-form select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  transition: var(--transition);
}

.search-form input:focus, .search-form select:focus {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Category Grid & Horizontal Scroll on Mobile */
.category-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary);
}

.category-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-info {
  padding: 28px;
}

.category-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.category-info p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Vehicle Showcase Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.vehicle-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(241, 18, 135, 0.3);
}

.vehicle-img-wrapper {
  position: relative;
  background-color: #f7f8fa;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.vehicle-img {
  max-width: 85%;
  max-height: 75%;
  object-fit: contain;
  transition: var(--transition);
}

.vehicle-card:hover .vehicle-img {
  transform: scale(1.06);
}

.vehicle-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--secondary);
  color: var(--bg-white);
  font-size: 0.75rem;
  padding: 6px 12px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vehicle-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.vehicle-rating span {
  color: var(--text-light);
  font-weight: 500;
}

.vehicle-name {
  font-size: 1.4rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-gray);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 20px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-light);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.vehicle-price-book {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price-box .price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary);
}

.price-box .price span {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Feature Boxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.feature-box {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary-glow);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px auto;
  font-size: 1.8rem;
  border: 1px solid rgba(241, 18, 135, 0.1);
}

.feature-box h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.feature-box p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Programmatic City Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.city-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  background-color: #eee;
}

.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 13, 18, 0.95) 0%, rgba(13, 13, 18, 0.2) 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.city-card:hover .city-overlay {
  background: linear-gradient(0deg, rgba(241, 18, 135, 0.9) 0%, rgba(13, 13, 18, 0.3) 80%);
}

.city-name {
  color: var(--bg-white);
  font-size: 1.5rem;
  font-weight: 800;
}

.city-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Testimonial Cards */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 8rem;
  color: rgba(13, 13, 18, 0.03);
  font-family: serif;
  line-height: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.user-meta h4 {
  font-size: 1.1rem;
}

.user-meta span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Host Earnings section */
.host-earn-box {
  background: linear-gradient(135deg, #0d0d12 0%, #1e1e2d 100%);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-hover);
}

.host-earn-box h2 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.host-earn-box p {
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.calculator-card {
  background-color: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.calc-title {
  font-size: 1.3rem;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  color: var(--bg-white);
}

.calc-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-row label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.calc-row select, .calc-row input {
  padding: 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--bg-white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.calc-row select option {
  background-color: var(--secondary);
}

.earnings-display {
  background-color: rgba(241, 18, 135, 0.12);
  border: 1px dashed var(--primary);
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 28px;
}

.earnings-display .amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 4px 0;
}

.earnings-display span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer-inner {
  padding: 0 30px 24px 30px;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Footer Section */
footer {
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 100px 0 40px 0;
  margin-top: auto;
  border-top: 5px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(241, 18, 135, 0.3);
}

.footer-links-col h4 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 28px;
  position: relative;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-col a {
  font-size: 0.95rem;
}

.footer-links-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.trust-badges-footer {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 500;
}

.badge-item i {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Floating Actions & PWA Prompts */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* APP-STYLE BOTTOM NAVIGATION FOR MOBILE */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(13, 13, 18, 0.06);
  z-index: 1000;
  padding: 12px 0 24px 0; /* Extra bottom padding for modern home bars */
  box-shadow: 0 -4px 20px rgba(13, 13, 18, 0.05);
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-nav-item i {
  font-size: 1.25rem;
  color: var(--secondary);
  transition: var(--transition);
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--primary);
}

.mobile-nav-item.active i, .mobile-nav-item:hover i {
  color: var(--primary);
  transform: scale(1.1);
}

/* Exit Intent Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(13, 13, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-white);
  width: 90%;
  max-width: 520px;
  padding: 50px 40px;
  border-radius: var(--radius-md);
  border: 4px solid var(--primary);
  position: relative;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.modal-content h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.modal-content p {
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.coupon-box {
  background-color: var(--bg-light);
  border: 2px dashed var(--primary);
  padding: 18px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 3px;
  margin-bottom: 30px;
  position: relative;
  cursor: pointer;
}

.coupon-box span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--primary);
  margin-top: 6px;
  font-weight: 700;
}

/* Programmatic Area List on City Page */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.area-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.area-btn:hover, .area-btn.active {
  background-color: var(--primary-glow-thick);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241, 18, 135, 0.12);
}

/* Animations */
@keyframes modalSlide {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Responsive & Mobile-First Improvements */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero {
    padding: 80px 0;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text h1 {
    font-size: 3.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .host-earn-box {
    grid-template-columns: 1fr;
    padding: 50px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 74px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .section-padding {
    padding: 80px 0;
  }
  
  /* Horizontal scroll for categories and cities on mobile */
  .grid-3, .cities-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide standard scrollbar */
  }
  .grid-3::-webkit-scrollbar, .cities-grid::-webkit-scrollbar {
    display: none; /* Hide Webkit scrollbars */
  }
  
  .category-card, .vehicle-card, .city-card {
    flex: 0 0 85%; /* 85% width cards */
    scroll-snap-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .whatsapp-float {
    bottom: 110px; /* Shift up to not cover bottom nav */
    right: 20px;
  }
  
  .mobile-bottom-nav {
    display: flex;
  }
  
  .hero-text h1 {
    font-size: 2.6rem;
  }
  
  /* Hide the old floating action bar in mobile bottom because we have the app bottom navigation */
  .sticky-mobile-bar {
    display: none !important;
  }
}

/* PWA Install Banner Style */
.pwa-banner {
  background-color: var(--secondary);
  color: #fff;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 2px solid var(--primary);
  display: none; /* Controlled by JS */
}
.pwa-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.btn-pwa-install {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(241,18,135,0.2);
  transition: var(--transition);
}
.btn-pwa-install:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-pwa-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.btn-pwa-close:hover {
  color: #fff;
}

/* Mobile search tab horizontal scrolling fix */
.search-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 24px;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}
.search-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.search-tab {
  flex-shrink: 0;
}

/* Mobile viewport text size improvements */
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem !important; /* Force override inline size if any */
    line-height: 1.2 !important;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero {
    padding: 40px 0 !important;
  }
  .pwa-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 8px 0;
  }
  .search-widget {
    padding: 20px !important;
  }
  /* Category list overflow width */
  .category-card {
    flex: 0 0 280px !important;
  }
}

/* Resello Buy/Sell OLX Clone Styles */
.resello-cat-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  margin: 0 auto 12px auto;
  transition: var(--transition);
}
.resello-cat-item:hover .resello-cat-circle {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.08);
}
.resello-float-sell {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: linear-gradient(135deg, var(--primary) 0%, #d00e72 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(241,18,135,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 3px solid #fff;
}
.resello-float-sell:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 12px 30px rgba(241,18,135,0.5);
}

