:root {
  /* Couleurs du logo Panafricaine CI */
  --color-red: #D62828;
  --color-orange: #F77F00;
  --color-yellow: #FCBF49;
  --color-green: #06D6A0;
  --color-cyan: #00B4D8;
  --color-purple: #7209B7;

  /* Theme principal - Vert/Cyan */
  --primary-color: #059669;
  --primary-dark: #047857;
  --primary-light: var(--color-cyan);

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--color-green) 0%, var(--color-cyan) 100%);
  --rainbow-gradient: linear-gradient(90deg,
    var(--color-red) 0%,
    var(--color-orange) 17%,
    var(--color-yellow) 33%,
    var(--color-green) 50%,
    var(--color-cyan) 67%,
    var(--color-purple) 83%,
    var(--color-red) 100%);

  /* Couleurs neutres */
  --secondary-color: #f8f9fa;
  --secondary-hover: #e9ecef;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-warm: #f0fdfa;
  --border-color: #e2e8f0;

  /* Ombres */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 10px 40px rgba(6, 214, 160, 0.25);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;

  /* Layout */
  --header-height: clamp(50px, 10vw, 80px);
  --container-max: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
}

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--bg-color);
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo img {
  height: var(--header-height);
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.75rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo img {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-color);
  font-size: 1.5rem;
}

.menu-toggle .material-icons {
  font-size: 2rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-warm);
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(6, 214, 160, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(0, 180, 216, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--rainbow-gradient);
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 5rem);
}

.hero-content {
  text-align: left;
  color: var(--text-color);
}

.hero-logo-carofix {
  max-width: 320px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--text-light);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta {
  background: var(--primary-gradient);
  color: var(--bg-color);
  padding: 1rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(6, 214, 160, 0.4);
  filter: brightness(1.1);
}

.hero .btn-secondary {
  background: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.9rem 1.75rem;
  border-radius: var(--border-radius);
}

.hero .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

.hero-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-product-image {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.18));
  transition: var(--transition);
}

.hero-product-image:hover {
  transform: scale(1.02);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--bg-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
  background: var(--color-yellow);
  color: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-color);
  border: 2px solid var(--bg-color);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--bg-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-image-wrapper {
    order: 1;
  }

  .hero-logo-carofix {
    margin: 0 auto 1rem;
    max-width: 180px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-product-image {
    max-height: 40vh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: var(--rainbow-gradient);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.presentation {
  background: var(--bg-light);
}

.presentation-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.presentation-text {
  flex: 1;
  min-width: 300px;
}

.presentation-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.presentation-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.presentation-image {
  flex: 1;
  min-width: 300px;
}

.presentation-image img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  object-fit: contain;
}

.products {
  background: var(--bg-color);
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: var(--bg-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-image {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

.product-features i {
  color: var(--primary-color);
  font-size: 1rem;
}

.advantages {
  background: var(--primary-gradient);
  color: var(--bg-color);
}

.advantages .section-title,
.advantages .section-subtitle {
  color: var(--bg-color);
}

.advantages .section-divider {
  background: var(--bg-color);
}

.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.advantage-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.advantage-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.advantage-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.gallery {
  background: var(--bg-light);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-item {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  aspect-ratio: 4/3;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.85), rgba(0, 180, 216, 0.85));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-dots {
  display: flex;
  gap: 0.5rem;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.gallery-prev,
.gallery-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-prev:hover,
.gallery-next:hover,
.gallery-prev:focus-visible,
.gallery-next:focus-visible {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: scale(1.1);
}

.gallery-prev:focus-visible,
.gallery-next:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--bg-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--bg-color);
  outline-offset: 4px;
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bg-color);
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(5px);
}

/* FAQ Section */
.faq {
  background: var(--bg-light);
}

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

.faq-item {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--primary-color);
}

.contact {
  background: var(--bg-color);
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 3px;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-color);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select:hover {
  border-color: var(--primary-color);
}

.form-group select option {
  padding: 0.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
}

.footer {
  background: var(--text-color);
  color: var(--bg-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bg-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem;
  border-radius: var(--border-radius);
}

.footer-col p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  transition: var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.social-link:focus-visible {
  outline: 2px solid var(--bg-color);
  outline-offset: 4px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--bg-color);
  opacity: 0.9;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--bg-color);
  outline-offset: 2px;
  border-radius: 3px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  opacity: 0.9;
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--bg-color);
}

.dev-credit a {
  color: var(--primary-light);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover,
.dev-credit a:focus-visible {
  color: var(--bg-color);
  text-decoration: underline;
}

.dev-credit a:focus-visible {
  outline: 2px solid var(--bg-color);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 820px) {
  body {
    font-size: 1.1rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1001;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
  }

  .nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-link {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: block;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

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

  .products-grid,
  .advantages-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card,
  .advantage-card {
    max-width: 100%;
  }

  .contact-wrapper {
    flex-direction: column-reverse;
  }

  .contact-form {
    padding: 2rem;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .gallery-item {
    min-width: 100%;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   PRODUCT CARDS - Enhanced Design
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background: var(--bg-color);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-primary);
}

.product-card.featured {
  border: 2px solid var(--primary-color);
}

.product-card.featured::before {
  transform: scaleX(1);
  height: 5px;
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--text-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-badge.premium {
  background: var(--primary-gradient);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 15px rgba(6, 214, 160, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(0, 180, 216, 0.6); }
}

/* Product Ribbon */
.product-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
  padding: 0.4rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Product Image */
.product-card .product-image {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 220px;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-image img {
  width: auto;
  height: 85%;
  max-width: 85%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

/* Product Content */
.product-card .product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 1.5rem 1.5rem 0.25rem;
  line-height: 1.3;
}

.product-card .product-subtitle {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 1.5rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .product-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 1.5rem 1.25rem;
  flex-grow: 1;
}

/* Product Specs Preview */
.product-specs-preview {
  display: flex;
  gap: 0.5rem;
  margin: 0 1.5rem 1.5rem;
  flex-wrap: wrap;
}

.product-specs-preview .spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-light);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
}

.product-specs-preview .spec-item i {
  color: var(--primary-color);
  font-size: 0.85rem;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.btn-product-details,
.btn-product-download {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-product-details {
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
}

.btn-product-details:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-product-download {
  background: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-product-download:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* Products CTA */
.products-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  border-radius: 15px;
  border: 1px dashed var(--border-color);
}

.products-cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ============================================
   PRODUCT MODAL
   ============================================ */

.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.product-modal-content {
  position: relative;
  background: var(--bg-color);
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-modal.active .product-modal-content {
  transform: scale(1) translateY(0);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-close:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: rotate(90deg);
}

/* Modal Layout - 2 columns */
.product-modal-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-height: 90vh;
}

.product-modal-left {
  background: var(--bg-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 0;
}

.product-modal-image {
  position: relative;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.product-modal-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 300px;
}

.product-modal-image .product-modal-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary-gradient);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-modal-actions .btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
}

.product-modal-actions .btn-primary {
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
}

.product-modal-actions .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.product-modal-actions .btn-secondary {
  background: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.product-modal-actions .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.product-modal-right {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}

/* Modal Header */
.product-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.product-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.product-modal-header p {
  font-size: 1rem;
  color: var(--text-light);
}

/* Modal Body */
.product-modal-body {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.modal-section h3 i {
  color: var(--primary-color);
}

/* Applications */
.modal-applications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-applications .app-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-applications .app-tag i {
  font-size: 0.85rem;
}

/* Limits Grid */
.modal-limits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.modal-limits-grid .limit-item {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.modal-limits-grid .limit-item .limit-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.modal-limits-grid .limit-item .limit-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
}

/* Specs Grid */
.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.modal-specs-grid .spec-card {
  background: var(--bg-light);
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.modal-specs-grid .spec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-specs-grid .spec-card .spec-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1.25rem;
  margin: 0 auto 0.75rem;
}

.modal-specs-grid .spec-card .spec-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.modal-specs-grid .spec-card .spec-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Composition */
.modal-composition {
  display: grid;
  gap: 0.75rem;
}

.modal-composition .comp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.modal-composition .comp-item .comp-name {
  font-weight: 500;
  color: var(--text-color);
}

.modal-composition .comp-item .comp-value {
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(6, 214, 160, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

/* Instructions */
.modal-instructions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.modal-instructions .instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.modal-instructions .instruction-item .instruction-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.modal-instructions .instruction-item .instruction-text {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* Packaging */
.modal-packaging {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.modal-packaging .package-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.modal-packaging .package-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.modal-packaging .package-item .package-info .package-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.modal-packaging .package-item .package-info .package-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
}

.modal-packaging .color-dots {
  display: flex;
  gap: 0.5rem;
}

.modal-packaging .color-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
}

.modal-packaging .color-dot.white {
  background: #fff;
  box-shadow: inset 0 0 0 1px #ddd;
}

.modal-packaging .color-dot.grey {
  background: #9e9e9e;
}

/* Modal Footer */
.product-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.product-modal-footer .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  text-decoration: none;
}

.product-modal-footer .btn-primary {
  background: var(--primary-color);
  color: var(--bg-color);
}

.product-modal-footer .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.product-modal-footer .btn-secondary {
  background: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.product-modal-footer .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .product-modal-content {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .product-modal-layout {
    grid-template-columns: 1fr;
    max-height: 100vh;
  }

  .product-modal-left {
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    position: relative;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
  }

  .product-modal-image {
    width: 120px;
    flex-shrink: 0;
    padding: 0.5rem;
  }

  .product-modal-image img {
    max-height: 100px;
  }

  .product-modal-image .product-modal-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .product-modal-actions {
    flex: 1;
    gap: 0.5rem;
  }

  .product-modal-actions .btn-block {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .product-modal-right {
    max-height: calc(100vh - 150px);
  }

  .product-modal-header {
    padding: 1rem 1.5rem;
  }

  .product-modal-header h2 {
    font-size: 1.25rem;
  }

  .product-modal-body {
    padding: 1rem 1.5rem;
  }

  .modal-limits-grid {
    grid-template-columns: 1fr;
  }

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

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
}

@media (max-width: 480px) {
  .modal-specs-grid {
    grid-template-columns: 1fr;
  }

  .modal-instructions {
    grid-template-columns: 1fr;
  }
}