:root {
  --brand-purple: #9C27B0;
  --brand-magenta: #C62FC9;
  --brand-lime: #AADC39;
  --brand-lime-dark: #8BC34A;
  --brand-dark: #1A0F1F;
  --brand-light: #FBF8FD;
  --white: #ffffff;
  --text-main: #2D1B36;
  --text-muted: #6D5B75;
  
  --brand-gradient: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-magenta) 50%, var(--brand-lime) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(156, 39, 176, 0.05) 0%, rgba(170, 220, 57, 0.05) 100%);
  
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-sm: 0 4px 12px rgba(26, 15, 31, 0.04);
  --shadow-md: 0 12px 30px rgba(26, 15, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 15, 31, 0.12);
  
  --section-padding: 100px 0;
  --border-radius: 16px;
}

/* ── BASE ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'DM Sans', sans-serif;
  background: var(--brand-light);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--brand-dark);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ── UTILITIES ── */
.text-lime { color: var(--brand-lime) !important; }
.text-purple { color: var(--brand-purple) !important; }
.bg-dark { background: var(--brand-dark) !important; }
.bg-soft { background: var(--brand-gradient-soft); }

.btn-premium {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition);
}

.btn-lime {
  background: var(--brand-lime);
  color: var(--brand-dark);
  box-shadow: 0 10px 25px rgba(170, 220, 57, 0.3);
}

.btn-lime:hover {
  background: var(--brand-lime-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(170, 220, 57, 0.4);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--brand-purple);
  transform: translateY(-3px);
}

.section-padding { padding: var(--section-padding); }

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-subtitle {
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--brand-dark);
  padding: 12px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar i { color: var(--brand-lime); }

.top-bar a {
  color: inherit;
}

.top-bar a:hover {
  color: var(--brand-lime);
}

.top-bar .call-box {
  background: var(--brand-gradient);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

/* ── NAVBAR ── */
.navbar {
  background: rgba(251, 248, 253, 0.9);
  backdrop-filter: blur(20px);
  padding: 20px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(26, 15, 31, 0.03);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: none; /* Hidden by default, shown on mobile or specifically */
}

@media (min-width: 992px) {
  .brand-text {
    display: inline-block;
    font-size: 1.1rem;
  }
}

.navbar-nav .nav-link {
  color: var(--brand-dark) !important;
  font-weight: 600;
  padding: 10px 20px !important;
  font-size: 0.9rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 20px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: #000;
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.8) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 15, 31, 0.95) 0%, rgba(26, 15, 31, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(170, 220, 57, 0.1);
  color: var(--brand-lime);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  border: 1px solid rgba(170, 220, 57, 0.2);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--white);
}

.hero h1 span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 45px;
  color: rgba(255,255,255,0.7);
}

.trust-badge {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--brand-dark);
  padding: 50px 0;
  position: relative;
  z-index: 4;
  margin-top: -50px;
  border-radius: 24px 24px 0 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--brand-lime);
  margin-bottom: 5px;
}

.stat-item p {
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── CAR CARDS ── */
.car-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.03);
}

.car-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.car-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.car-card:hover .car-image img {
  transform: scale(1.08);
}

.car-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--brand-purple);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
}

.car-details {
  padding: 30px;
}

.car-details h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.car-meta i { color: var(--brand-purple); }

.car-price {
  font-size: 1.75rem;
  color: var(--brand-dark);
  font-weight: 900;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

.btn-card {
  width: 100%;
  padding: 14px;
  background: var(--brand-light);
  border-radius: 12px;
  color: var(--brand-purple);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border: 1px solid rgba(156, 39, 176, 0.1);
}

.btn-card:hover {
  background: var(--brand-purple);
  color: var(--white);
}

/* ── PROCESS STEPS ── */
.step-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 25px;
  border: 1px solid rgba(156, 39, 176, 0.1);
}

/* ── FAQ ── */
.accordion-item {
  border: none;
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 12px !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-button {
  padding: 25px;
  font-weight: 700;
  color: var(--brand-dark);
  background: transparent !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-purple);
}

/* ── FOOTER ── */
/* ── FOOTER ── */
.footer-wrap {
  background: var(--brand-dark);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Subtle noise grain */
.footer-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Radial glows */
.footer-wrap::after {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-marquee {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 15px 0;
}

.marquee-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.marquee-item i { color: var(--brand-lime); font-size: 0.5rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

footer {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

footer h4 {
  color: var(--brand-lime);
  margin-bottom: 30px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
}

footer ul li {
  margin-bottom: 15px;
}

footer a {
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

footer a:hover {
  color: var(--white);
  padding-left: 8px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 50px;
  margin-top: 15px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74,222,128,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 35px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  section { 
    padding: 80px 0; 
    overflow: hidden; /* Prevent AOS animations from causing horizontal scroll */
  }
  .hero { min-height: 80vh; text-align: center; }
  .hero-overlay { background: rgba(26, 15, 31, 0.85); }
  .hero .lead { margin: 0 auto 40px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .btn-premium {
    padding: 12px 25px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }
  .hero h1 { font-size: 2.5rem; }
  .stat-item h3 { font-size: 2rem; }
  
  .trust-badge {
    flex-direction: column;
    border-radius: 20px;
    text-align: center;
    width: 100%;
  }

  .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .navbar-brand img {
    height: 60px; /* Bigger logo on mobile */
  }

  .brand-text {
    display: block; /* Shown on mobile */
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-top: -2px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* ── FORM CONTROL FOCUS ── */
.form-control:focus, .form-select:focus {
  background-color: var(--white) !important;
  box-shadow: 0 0 0 4px rgba(156, 39, 176, 0.1) !important;
  border-color: rgba(156, 39, 176, 0.3) !important;
  color: var(--brand-dark);
}

/* ── LOGO HOVER ── */
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* ── ADDITIONAL REFINEMENTS ── */
.btn-card {
  transition: all 0.3s ease;
}

.car-card:hover .btn-card {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
  color: var(--white);
}

.social-links a.bg-lime:hover {
  background: var(--brand-lime-dark) !important;
  color: var(--brand-dark) !important;
}

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-float:hover {
  transform: scale(1.1) rotate(15deg);
  color: #fff;
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 80px; /* Lifted for mob-bar */
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ── MOBILE ACTION BAR ── */
.mob-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.mob-action-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 5px;
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-dark);
  border-right: 1px solid rgba(0,0,0,0.05);
}

.mob-action-item:last-child { border-right: none; }

.mob-action-item i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mob-action-item.call { color: var(--brand-purple); }
.mob-action-item.wa { color: #25D366; }
.mob-action-item.map { color: var(--brand-lime-dark); }

@media (max-width: 991px) {
  .mob-action-bar { display: flex; }
  footer { padding-bottom: 100px; } /* Space for bar */
}

/* ── MODAL PREMIUM STYLE ── */
.modal-content {
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--brand-gradient);
  color: var(--white);
  padding: 30px;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-body {
  padding: 40px !important;
}

.form-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.form-control, .form-select {
  height: 55px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--brand-light);
  border: 1px solid rgba(0,0,0,0.05);
  font-weight: 500;
}
