:root {
  /* Premium Dark Theme Colors */
  --bg-main: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-card: rgba(255, 255, 255, 0.05);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  --accent-primary: #2563eb;
  --accent-secondary: #1e40af;
  
  --icon-blue: #60a5fa;
  --icon-red: #f87171;
  --icon-green: #34d399;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-accent {
  color: var(--accent-primary);
  font-weight: 300;
  margin-left: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: 0 10px 20px -10px var(--accent-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -10px var(--accent-primary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  z-index: -1;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  padding-bottom: 0.15em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Demo Section */
.demo-section {
  padding: 80px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.demo-car-ad, .demo-analysis {
  padding: 30px;
}

/* Ad Mockup */
.ad-image-placeholder {
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ad-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.ad-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.ad-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.ad-meta span {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

.ad-desc {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--border-glass);
  padding-left: 15px;
}

/* Analysis Mockup */
.analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-glass);
}

.analysis-header .logo {
  font-size: 1.2rem;
}

.badge-small {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--icon-green);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.analysis-card {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
}

.analysis-card.warning { border-left: 3px solid var(--icon-red); }
.analysis-card.success { border-left: 3px solid var(--icon-green); }
.analysis-card.info { border-left: 3px solid var(--icon-blue); }

.analysis-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 0;
}

.analysis-card li, .analysis-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.analysis-card li:last-child, .analysis-card p:last-child {
  margin-bottom: 0;
}

.analysis-card strong {
  color: var(--text-primary);
}

/* Show More Button */
.show-more-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
  margin-top: 10px;
}

.show-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-glass);
}

.modal-header h3 {
  font-size: 1.3rem;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--icon-red);
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer & Disclaimer */
.footer {
  padding: 60px 0 30px;
  margin-top: 50px;
}

.disclaimer-box {
  padding: 30px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05); /* Dark theme red tint */
  margin-bottom: 40px;
  border-radius: 12px;
}

.disclaimer-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--icon-red);
  margin-bottom: 12px;
}

.disclaimer-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-card);
  padding-top: 30px;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  text-align: left;
  transition: background 0.3s ease;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}
.faq-answer p {
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 24px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-item.open .faq-question {
  color: var(--primary);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .hero { padding: 120px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
}
