/* ═══════════════════════════════════════════════════
   GarudaDrive — Home Page Styles
   Dark Gold Luxury Theme
═══════════════════════════════════════════════════ */

/* ── FONTS ──────────────────────────────────────── */
body { font-family: 'Inter', sans-serif; }
.hero-display, .section-title, .featured-head h2 { font-family: 'Playfair Display', serif; }

/* ── LOGO WORDS ─────────────────────────────────── */
.logo-bird svg { display: block; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-garuda {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-drive {
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: var(--gold-dim); -webkit-text-fill-color: var(--gold-dim);
  text-align: center; margin-top: 2px;
}
.nav .logo { gap: 10px; }

/* ── NAV ENHANCED ───────────────────────────────── */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 0.875rem; font-weight: 500; color: var(--text-sec); transition: color var(--trans); }
.nav-login:hover { color: var(--gold-light); }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-0); padding: 9px 20px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.85rem; white-space: nowrap;
  transition: all var(--trans);
}
.btn-nav-cta:hover { box-shadow: 0 4px 18px rgba(201,146,42,0.4); transform: translateY(-1px); }
.nav-link.active { color: var(--gold-light); }
.nav-link.nav-host { color: var(--gold); font-weight: 600; }
.mobile-cta { background: var(--gold); color: var(--dark-0) !important; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-align: center; }

/* ── MODE TOGGLE ────────────────────────────────── */
.mode-toggle {
  display: flex; justify-content: center; gap: 0;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 40px; padding: 4px;
  max-width: 460px; margin: -20px auto 0;
  position: relative; z-index: 10;
}
.mtoggle {
  flex: 1; background: none; border: none;
  color: var(--text-mute); padding: 10px 20px;
  border-radius: 36px; font-size: 0.85rem; font-weight: 500;
  transition: all var(--trans); cursor: pointer;
}
.mtoggle.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-0); font-weight: 700;
}

/* ── HERO GUEST ─────────────────────────────────── */
.hero-guest, .hero-host {
  min-height: 92vh; padding-top: 68px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-guest {
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(201,146,42,0.08) 0%, transparent 65%), var(--dark-0);
}
.hero-host {
  background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(201,146,42,0.07) 0%, transparent 65%), var(--dark-0);
}
/* Subtle texture overlay */
.hero-bg-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9922A' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg-host { position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9922A' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.hero-content-wrap {
  max-width: 1240px; margin: 0 auto; padding: 80px 28px 100px;
  display: flex; align-items: center; gap: 64px;
  width: 100%; position: relative; z-index: 1;
}
.hero-left { flex: 1; }
.hero-right { flex: 0 0 420px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-display {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
  color: var(--text-pri); margin-bottom: 24px;
}
.gold-italic {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 1.05rem; color: var(--text-sec); margin-bottom: 32px; max-width: 480px; line-height: 1.75; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; align-items: center; gap: 0; }
.hstat { display: flex; flex-direction: column; }
.hstat-num { font-size: 1.5rem; font-weight: 800; color: var(--gold-light); letter-spacing: -0.02em; }
.hstat-label { font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.hstat-div { width: 1px; height: 40px; background: var(--border); margin: 0 24px; }

/* ── SEARCH CARD ─────────────────────────────────── */
.search-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow), 0 0 60px rgba(201,146,42,0.08);
  position: relative;
}
.search-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: var(--radius) var(--radius) 0 0; }
.search-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.search-card-header h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold-light); }
.search-tabs { display: flex; gap: 2px; background: var(--dark-4); border-radius: 8px; padding: 3px; }
.stab { background: none; border: none; color: var(--text-mute); padding: 6px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; transition: all var(--trans); }
.stab.active { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark-0); }

.sf-field { display: flex; flex-direction: column; gap: 5px; }
.sf-field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); }
.sf-field input, .sf-field select {
  background: var(--dark-4); border: 1px solid var(--border-sm);
  border-radius: var(--radius-sm); padding: 11px 14px;
  color: var(--text-pri); font-size: 0.9rem;
  transition: border-color var(--trans); width: 100%;
}
.sf-field input:focus, .sf-field select:focus { outline: none; border-color: var(--gold); }
.sf-field select option { background: var(--dark-4); }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sf-field { margin-bottom: 14px; }
.btn-search {
  width: 100%; background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-0); border: none; padding: 14px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
  transition: all var(--trans); margin-top: 4px;
}
.btn-search:hover { box-shadow: 0 6px 24px rgba(201,146,42,0.4); transform: translateY(-1px); }



/* ── EARNINGS CALCULATOR ─────────────────────────── */
.earn-calc-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow), 0 0 60px rgba(201,146,42,0.08);
  position: relative;
}
.earn-calc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: var(--radius) var(--radius) 0 0; }
.ecc-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; border-bottom: 1px solid var(--border-sm); padding-bottom: 18px; }
.ecc-icon { font-size: 2rem; }
.ecc-header h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold-light); margin-bottom: 3px; }
.ecc-header p { font-size: 0.78rem; color: var(--text-mute); }
.ecc-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-sec); margin-bottom: 8px; }
.ecc-val { font-weight: 700; font-size: 0.9rem; }
.ecc-val.gold { color: var(--gold-light); }
input[type=range] { width: 100%; accent-color: var(--gold); margin-bottom: 4px; }

.tier-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.ttab { background: var(--dark-4); border: 1px solid var(--border-sm); border-radius: var(--radius-sm); padding: 7px 12px; font-size: 0.75rem; font-weight: 600; color: var(--text-mute); transition: all var(--trans); }
.ttab.active { background: rgba(201,146,42,0.12); border-color: var(--gold); color: var(--gold-light); }

.ecc-result {
  background: var(--dark-4); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 4px;
}
.ecc-result-label { font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.ecc-result-amount { font-size: 2rem; font-weight: 800; color: var(--gold-light); letter-spacing: -0.02em; }

/* ── CATEGORIES ─────────────────────────────────── */
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; flex: 0 0 28px; height: 1px; background: var(--gold-dim);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: var(--text-pri); margin-bottom: 10px; letter-spacing: -0.01em;
}
.gold-word {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 14px auto 40px; }

.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: var(--dark-3); border: 1px solid var(--border-sm);
  border-radius: var(--radius); padding: 28px 16px; text-align: center;
  transition: all var(--trans); display: block;
}
.cat-card:hover { border-color: var(--gold); background: rgba(201,146,42,0.05); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(201,146,42,0.12); }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.cat-name { font-weight: 700; font-size: 0.9rem; color: var(--gold-light); margin-bottom: 4px; letter-spacing: 0.02em; }
.cat-count { font-size: 0.75rem; color: var(--text-mute); }

/* ── FEATURED CARS ───────────────────────────────── */
.featured-head { display: flex; justify-content: space-between; align-items: flex-end; }
.btn-view-all {
  font-size: 0.82rem; font-weight: 600; color: var(--gold);
  border: 1px solid var(--border); padding: 9px 18px;
  border-radius: var(--radius-sm); transition: all var(--trans);
  letter-spacing: 0.04em; white-space: nowrap;
}
.btn-view-all:hover { background: var(--gold-glow); }

.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card {
  background: var(--dark-3); border: 1px solid var(--border-sm);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--trans); position: relative;
}
.car-card:hover { border-color: var(--border); box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 40px rgba(201,146,42,0.08); transform: translateY(-4px); }
.car-img-wrap { position: relative; height: 200px; overflow: hidden; }
.car-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.car-card:hover .car-img-wrap img { transform: scale(1.05); }
.car-img-placeholder { width: 100%; height: 100%; background: var(--dark-4); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.car-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-0); font-size: 0.65rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; letter-spacing: 0.06em; text-transform: uppercase;
}
.car-badge.electric { background: linear-gradient(135deg, #1a7a45, #22a05a); color: #fff; }
.car-badge.premium { background: linear-gradient(135deg, var(--gold-dim), var(--gold)); }
.car-badge.top { background: var(--dark-0); border: 1px solid var(--gold); color: var(--gold); }
.car-rating {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  color: var(--gold-light); font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}
.car-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; background: rgba(0,0,0,0.6);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; transition: all var(--trans);
  border: 1px solid rgba(255,255,255,0.15);
}
.car-fav:hover { background: rgba(201,146,42,0.3); border-color: var(--gold); }
.car-body { padding: 20px; }
.car-meta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.car-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-pri); margin-bottom: 6px; }
.car-location { font-size: 0.78rem; color: var(--text-mute); margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.car-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ctag { background: var(--dark-4); border: 1px solid var(--border-sm); border-radius: 6px; padding: 4px 10px; font-size: 0.72rem; color: var(--text-sec); }
.car-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-sm); padding-top: 14px; }
.car-price { display: flex; align-items: baseline; gap: 4px; }
.car-price-amt { font-size: 1.5rem; font-weight: 800; color: var(--text-pri); letter-spacing: -0.02em; }
.car-price-unit { font-size: 0.75rem; color: var(--text-mute); }
.car-price-est { font-size: 0.7rem; color: var(--text-mute); }
.btn-view-car {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark-0); border: none; padding: 9px 18px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.82rem;
  transition: all var(--trans); letter-spacing: 0.03em;
}
.btn-view-car:hover { box-shadow: 0 4px 16px rgba(201,146,42,0.4); transform: translateY(-1px); }

/* ── HOW IT WORKS ────────────────────────────────── */
.hiw-tabs { display: flex; justify-content: center; gap: 0; background: var(--dark-3); border: 1px solid var(--border-sm); border-radius: 40px; padding: 4px; max-width: 320px; margin: 0 auto 40px; }
.hiwtab { flex: 1; background: none; border: none; color: var(--text-mute); padding: 10px 20px; border-radius: 36px; font-size: 0.875rem; font-weight: 600; transition: all var(--trans); }
.hiwtab.active { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark-0); }
.hiw-grid { display: flex; align-items: flex-start; gap: 0; }
.hiw-step { flex: 1; text-align: center; padding: 32px 20px; background: var(--dark-3); border: 1px solid var(--border-sm); border-radius: var(--radius); transition: all var(--trans); }
.hiw-step:hover { border-color: var(--border); box-shadow: var(--shadow-g); }
.hiw-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold-dim); font-size: 1.4rem; padding: 0 8px; flex-shrink: 0; margin-top: 60px; }
.hiw-num { font-size: 2.4rem; font-weight: 900; background: linear-gradient(135deg, var(--gold-dim), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.04em; display: block; margin-bottom: 12px; }
.hiw-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.hiw-step h3 { font-size: 1rem; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.hiw-step p { font-size: 0.85rem; color: var(--text-sec); line-height: 1.65; }

/* ── PROTECTION CARDS ────────────────────────────── */
.section-desc { text-align: center; font-size: 1rem; color: var(--text-sec); max-width: 600px; margin: 0 auto 48px; line-height: 1.7; }
.prot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prot-card { background: var(--dark-3); border: 1px solid var(--border-sm); border-radius: var(--radius); padding: 32px 22px; text-align: center; transition: all var(--trans); }
.prot-card:hover { border-color: var(--border); box-shadow: var(--shadow-g); transform: translateY(-3px); }
.prot-icon-wrap { font-size: 2.4rem; display: block; margin-bottom: 16px; }
.prot-card h4 { font-size: 1rem; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.prot-card p { font-size: 0.85rem; color: var(--text-sec); line-height: 1.65; }

/* ── HOST STRIP ──────────────────────────────────── */
.host-strip {
  background: linear-gradient(135deg, var(--dark-0) 0%, rgba(201,146,42,0.04) 50%, var(--dark-0) 100%);
  border-top: 1px solid var(--border-sm); border-bottom: 1px solid var(--border-sm);
  padding: 80px 0;
}
.host-strip .container { display: flex; gap: 80px; align-items: center; }
.strip-left { flex: 1; }
.strip-right { flex: 0 0 400px; }
.strip-points { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.strip-pt { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-sec); }
.strip-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.earn-preview {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-g);
}
.ep-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-sm); font-size: 0.875rem; color: var(--text-sec); }
.ep-row:last-of-type { border-bottom: none; }
.ep-row.premium { background: rgba(201,146,42,0.05); margin: 4px -28px 0; padding: 12px 28px; border-bottom: none; border-top: 1px solid var(--border); }
.ep-note { font-size: 0.78rem; color: var(--gold); margin-top: 12px; text-align: center; }

/* ── TRUST ───────────────────────────────────────── */
.trust-section { padding: 60px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.trust-item { text-align: center; padding: 24px; border-right: 1px solid var(--border-sm); }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--gold-light); margin-bottom: 6px; }
.trust-label { font-size: 0.78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── FOOTER ENHANCED ─────────────────────────────── */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .prot-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: none; }
}
@media (max-width: 900px) {
  .hero-content-wrap { flex-direction: column; padding: 60px 20px 80px; }
  .hero-right { width: 100%; flex: none; }
  .host-strip .container { flex-direction: column; gap: 40px; }
  .strip-right { width: 100%; flex: none; }
  .hiw-grid { flex-direction: column; gap: 12px; }
  .hiw-arrow { transform: rotate(90deg); margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cars-grid { grid-template-columns: 1fr; }
  .prot-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-actions { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hstat-div { display: none; }
  .mode-toggle { max-width: 100%; margin: -16px 16px 0; }
}
