/* New Landing Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #000;
}

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

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 28px;
  font-weight: 900;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: white;
}

.cta-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-button:hover {
  background: white;
  color: #111827;
}

/* Mobile Nav */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.lang-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.lang-link.active {
  background: white;
  color: #111827;
}

/* Hero Section with Car Background */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
              url('https://images.unsplash.com/photo-1485291571150-772bcfc10da5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2128&q=80') center/cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  padding-top: 80px; /* Add padding to push content below header */
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: white;
}

/* Cost Overlay */
.cost-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

.cost-items {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cost-value {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.total-cost {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-top: 20px;
}

.total-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-amount {
  color: white;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.monthly-amount {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-top: 4px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #111827;
}

.features-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: #f8fafc;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* How it Works */
.how-it-works {
  padding: 100px 0;
  background: #f8fafc;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 48px;
  height: 48px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.step p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: #111827;
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.final-cta p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 15px 0;
    text-align: center;
    width: 100%;
  }
  
  .language-switcher {
    margin-bottom: 10px;
    justify-content: center;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 100px; /* Adjust padding for mobile */
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cost-overlay {
    padding: 30px 20px;
  }

  .total-amount {
    font-size: 2rem;
  }
}

/* Footer */
.footer {
  background: #0a0f1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Barba.js Transitions */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}
.barba-enter-from {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

