/* JAREXA - LED Car Accessories */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 10px;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  color: var(--light);
  font-size: 14px;
  transition: all 0.3s;
}

.lang-current:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
}

.lang-current svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.lang-dropdown.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dark-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lang-dropdown.open .lang-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--light);
  text-decoration: none;
  transition: background 0.2s;
}

.lang-item:hover {
  background: rgba(99, 102, 241, 0.2);
}

.lang-item.active {
  background: var(--primary);
}

.cart-btn {
  position: relative;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cart-count {
  background: var(--accent);
  color: var(--dark);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.95rem;
}

.hero-feature svg {
  color: var(--secondary);
}

/* Products Section */
.products {
  padding: 100px 0;
  background: var(--dark-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: var(--primary);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.price-old {
  font-size: 1rem;
  color: var(--gray);
  text-decoration: line-through;
}

.product-add {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.product-add:hover {
  background: var(--primary-dark);
}

/* Benefits Section */
.benefits {
  padding: 80px 0;
}

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

.benefit-item {
  text-align: center;
  padding: 30px;
  background: var(--dark-light);
  border-radius: 16px;
  transition: all 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-text {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: var(--dark-light);
}

.reviews-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 350px;
  background: var(--dark);
  padding: 30px;
  border-radius: 16px;
  scroll-snap-align: start;
}

.review-stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-name {
  font-weight: 600;
}

.review-car {
  color: var(--gray);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark-light);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.1);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--gray);
  line-height: 1.8;
}

/* Order Form Section */
.order-section {
  padding: 80px 0;
  background: var(--dark-light);
}

.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--dark);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.cart-items {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-price {
  color: var(--secondary);
  font-weight: 700;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 15px;
  background: var(--dark-light);
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--dark-light);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.form-radio:hover {
  background: rgba(99, 102, 241, 0.1);
}

.form-radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.form-submit {
  width: 100%;
  padding: 20px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 15px;
}

/* Payment Icons */
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-icons img {
  height: 30px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.payment-icons img:hover {
  opacity: 1;
}

/* Delivery Info */
.delivery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 15px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
}

.delivery-info img {
  height: 24px;
}

.delivery-info span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-text {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-contact h4, .footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-contact p {
  color: var(--gray);
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
}

.footer-links a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--dark-light);
  padding: 25px;
  border-radius: 16px;
  z-index: 9999;
  display: none;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-popup h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.cookie-popup p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-popup a {
  color: var(--primary);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.cookie-accept {
  background: var(--primary);
  color: white;
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-decline {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray);
}

.cookie-decline:hover {
  border-color: var(--light);
  color: var(--light);
}

/* Mini Cart */
.mini-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: var(--dark);
  z-index: 2000;
  transition: right 0.3s;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.mini-cart.open {
  right: 0;
}

.mini-cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-cart-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.5rem;
  cursor: pointer;
}

.mini-cart-items {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.mini-cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

.cart-overlay.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    min-width: 280px;
  }

  .order-form {
    padding: 25px;
  }

  .footer-content {
    flex-direction: column;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.6s ease forwards;
}
