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

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fbbf24;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a2e;
  --bg-glass: rgba(18, 18, 26, 0.7);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(245,158,11,0.3);
  --gradient-primary: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-hero: linear-gradient(135deg, rgba(10,10,15,0.92), rgba(10,10,15,0.7));
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(245,158,11,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,10,15,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.nav-logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #fff; transition: var(--transition); position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--gradient-primary); color: #fff; padding: 10px 24px;
  border-radius: 50px; font-weight: 600; font-size: 0.85rem;
  transition: var(--transition); border: none; cursor: pointer;
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: url('assets/images/mobil jejer .png') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(transparent, var(--bg-dark));
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 0 80px; width: 100%; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900;
  letter-spacing: -1px; margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .highlight { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--text-secondary);
  font-weight: 300; margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero p { max-width: 600px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.05rem; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.4s both; }
.btn-primary {
  background: var(--gradient-primary); color: #fff; padding: 16px 36px;
  border-radius: 50px; font-weight: 700; font-size: 1rem;
  transition: var(--transition); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,158,11,0.3); }
.btn-outline {
  background: transparent; color: var(--text-primary); padding: 16px 36px;
  border-radius: 50px; font-weight: 600; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.15); transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.section-header h2 .highlight { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== KEUNGGULAN ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary); opacity: 0; transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(245,158,11,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px; color: var(--primary);
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== STATS ===== */
.stats {
  background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-number {
  font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 900;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item .stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

/* ===== MOBIL / CARS ===== */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.car-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); position: relative;
}
.car-card:hover { border-color: var(--border-hover); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.car-image { position: relative; height: 220px; overflow: hidden; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.car-card:hover .car-image img { transform: scale(1.08); }
.car-badge {
  position: absolute; top: 16px; left: 16px; padding: 6px 14px;
  background: var(--gradient-primary); border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.car-info { padding: 24px; }
.car-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.car-meta { display: flex; gap: 16px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.car-meta span { display: flex; align-items: center; gap: 4px; }
.car-price { font-family: 'Outfit'; font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.car-price small { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.car-actions { display: flex; gap: 12px; }
.car-actions .btn-sm {
  flex: 1; padding: 12px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.85rem; text-align: center; transition: var(--transition); border: none; cursor: pointer;
}
.car-actions .btn-sm.primary { background: var(--gradient-primary); color: #fff; }
.car-actions .btn-sm.primary:hover { box-shadow: var(--shadow-glow); }
.car-actions .btn-sm.outline { background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.car-actions .btn-sm.outline:hover { border-color: var(--primary); color: var(--primary); }

/* ===== PROMO ===== */
.promo {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(239,68,68,0.05));
  border: 1px solid rgba(245,158,11,0.15); border-radius: 24px;
  padding: 60px; text-align: center; position: relative; overflow: hidden;
  margin: 0 auto; max-width: 900px;
}
.promo::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.1), transparent); pointer-events: none;
}
.promo-label { display: inline-block; padding: 6px 16px; background: var(--gradient-primary); border-radius: 50px; font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.promo h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; }
.promo p { color: var(--text-secondary); margin-bottom: 32px; }
.promo-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.5));
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ===== TESTIMONI ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-stars { color: var(--primary); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: #fff;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ===== BOOKING STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step-card { position: relative; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(245,158,11,0.1); border: 2px solid rgba(245,158,11,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit'; font-size: 1.8rem; font-weight: 900; color: var(--primary);
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }
.step-connector {
  position: absolute; top: 36px; left: calc(50% + 50px); width: calc(100% - 100px);
  height: 2px; background: rgba(245,158,11,0.2);
}
.step-card:last-child .step-connector { display: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: var(--border-hover); }
.faq-question {
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 1rem; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(239,68,68,0.08));
  text-align: center; padding: 100px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.08), transparent); pointer-events: none;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 1.1rem; max-width: 500px; margin: 0 auto 40px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: 'Outfit'; font-size: 1.5rem; font-weight: 800; margin-bottom: 0; }
.footer-brand h3 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); transform: translateX(4px); display: inline-block; }
.footer-contact li { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition); cursor: pointer;
  animation: pulse-wa 2s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.6); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.3s ease; }
.modal.active { display: flex; opacity: 1; }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(20px); transition: transform 0.3s ease; }
.modal.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 2rem; color: var(--text-secondary); cursor: pointer; background: rgba(255,255,255,0.1); border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; transition: var(--transition); }
.modal-close:hover { color: #fff; background: rgba(239,68,68,0.8); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; }
.modal-image img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; }
.modal-info h2 { font-size: 2rem; margin-bottom: 10px; }
.modal-price { font-family: 'Outfit'; font-size: 1.5rem; color: var(--primary); font-weight: 700; margin-bottom: 20px; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 24px; }
.spec-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.95rem; }
.spec-icon { width: 32px; height: 32px; background: rgba(245,158,11,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.1rem; }
.modal-features { list-style: none; padding: 0; margin-bottom: 24px; }
.modal-features li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--text-secondary); font-size: 0.95rem; }
.modal-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-connector { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,15,0.98); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .cars-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .promo { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  section { padding: 70px 0; }
  .modal-body { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .stat-number { font-size: 2rem; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 24px; right: 24px; font-size: 2rem; color: #fff; cursor: pointer; background: none; border: none; }
