:root {
  --primary: #1a5f7a;
  --primary-dark: #0e3d4f;
  --primary-light: #2b8bab;
  --secondary: #f4a261;
  --secondary-dark: #e76f51;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --success: #2ecc71;
  --gradient-start: #e76f51;
  --gradient-end: #f4a261;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
  color: var(--dark);
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

/* Modern Header */
.modern-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 12px 24px;
  z-index: 1000;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-icon i {
  color: white;
  font-size: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-tag {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-btn-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: 40px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header-btn-outline:hover {
  background: var(--primary);
  color: white;
}

.car-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--light);
  border-radius: 40px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.car-selector img {
  width: 32px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.car-selector:hover {
  background: var(--primary);
  color: white;
}

/* Main Content */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero-modern {
  position: relative;
  background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf1 100%);
  border-radius: 32px;
  margin: 24px 0 48px;
  overflow: hidden;
  padding: 60px 48px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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='%231a5f7a' fill-opacity='0.05'%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-container {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 95, 122, 0.1);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.hero-badge i {
  font-size: 12px;
}

.hero-headline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-accent {
  color: var(--secondary);
  display: block;
}

.hero-description {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.trust-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.stat-item i {
  color: var(--secondary);
  font-size: 16px;
}

.hero-visual {
  flex: 1;
  position: relative;
}

.hero-car-image img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.floating-card {
  position: absolute;
  background: white;
  padding: 10px 18px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
  top: 20%;
  right: -10px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  left: -10px;
  animation-delay: 1.5s;
}

.floating-card i {
  color: var(--success);
  font-size: 16px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(244, 162, 97, 0.1);
  color: var(--secondary);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title-modern {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-title-modern .highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.section-subtitle-modern {
  font-size: 16px;
  color: var(--gray);
}

/* Filter Pills */
.filter-modern {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 24px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: transparent;
}

/* Services Grid */
.services-section {
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.service-card-modern {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card-modern:hover .card-image img {
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular-badge i {
  font-size: 10px;
}

.card-content {
  padding: 20px;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 10px;
  background: var(--light);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.card-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-includes {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-includes i {
  color: var(--secondary);
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating i {
  color: #fbbf24;
  font-size: 13px;
}

.rating span {
  font-size: 13px;
  font-weight: 600;
}

.rating-count {
  color: var(--gray);
  font-weight: normal;
}

.duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gray);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-info {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 40px;
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: var(--primary);
  color: white;
}

.btn-book {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-decoration: none;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-book:hover {
  transform: translateX(4px);
}

/* Videos Section */
.videos-section {
  margin-bottom: 60px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.video-card-modern {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-thumb-modern {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.video-thumb-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-btn i {
  color: white;
  font-size: 20px;
  margin-left: 4px;
}

.video-card-modern:hover .play-btn {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 16px;
}

.video-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.video-info p {
  font-size: 13px;
  color: var(--gray);
}

/* Features Section */
.features-section {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  color: white;
  font-size: 30px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

/* Process Section */
.process-section {
  margin-bottom: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
}

.step {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 24px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-weight: 800;
  font-size: 14px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 28px;
  color: var(--primary);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

/* Modern Footer */
.modern-footer {
  background: linear-gradient(135deg, var(--dark), #1a252f);
  color: white;
  padding: 48px 24px 24px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo i {
  font-size: 28px;
  color: var(--secondary);
}

.footer-logo span {
  font-size: 20px;
  font-weight: 700;
}

.footer-column p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-column p i {
  margin-right: 8px;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Bottom Navigation */
.bottom-nav-modern {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--gray);
  transition: all 0.3s ease;
  font-size: 12px;
}

.nav-item i {
  font-size: 22px;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Video Modal */
.video-modal-modern {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-container {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.modal-close-modern {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-modern:hover {
  transform: scale(1.1);
}

.video-frame-modern {
  width: 100%;
  min-height: 400px;
  background: black;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 0 16px;
  }
  
  .hero-modern {
    padding: 40px 24px;
    margin: 16px 0 32px;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-headline {
    font-size: 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .trust-stats {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .section-title-modern {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .step-connector {
    display: none;
  }
  
  .filter-modern {
    gap: 8px;
  }
  
  .filter-pill {
    padding: 6px 16px;
    font-size: 12px;
  }
  
  .header-container {
    padding: 0 8px;
  }
  
  .logo-name {
    font-size: 18px;
  }
  
  .car-selector span {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 28px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    justify-content: center;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .card-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Utility Classes */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav-modern {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  
  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}