/**
 * ITSOFT DZ - Homepage Styles
 * Modern animated tech design
 */

/* ============================================
   HERO SECTION WITH CAROUSEL & NETWORK ANIMATION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  color: #1a1a1a;
  padding: 6rem 2rem;
  overflow: hidden;
}

/* Network Background Canvas */
.hero-network-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.6;
}

#networkCanvas {
  width: 100%;
  height: 100%;
}

/* Dynamic Gradient Layer */
.hero-gradient-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 163, 224, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  transition: background 1s ease;
}

/* Carousel Container */
.hero-carousel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
}

/* Individual Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

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

/* Hero Label */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 163, 224, 0.1));
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0066CC;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: labelFadeIn 0.8s ease forwards;
}

.hero-slide.active .hero-label {
  animation-delay: 0.3s;
}

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

/* Hero Title with Staggered Animation */
.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .title-line {
  animation: titleSlideUp 0.8s ease forwards;
}

.hero-slide.active .title-line:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-slide.active .title-line:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-slide.active .title-line:nth-child(3) {
  animation-delay: 0.7s;
}

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

/* Hero Description */
.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #334155;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .hero-description {
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

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

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .hero-cta {
  animation: fadeInUp 0.8s ease forwards 1.1s;
}

/* Carousel Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #0066CC;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.indicator:hover::before,
.indicator.active::before {
  width: 100%;
  height: 100%;
}

.indicator.active {
  background: rgba(0, 102, 204, 0.5);
}

.indicator:hover {
  background: rgba(0, 102, 204, 0.4);
  transform: scale(1.1);
}

/* Carousel Controls */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.hero-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e5e7eb;
  color: #0f172a;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-control:hover {
  background: #0066CC;
  border-color: #0066CC;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.hero-control:active {
  transform: scale(0.95);
}

/* Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 102, 204, 0.1);
  z-index: 20;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0066CC, #00A3E0);
  width: 0%;
  transition: width 0.1s linear;
}

/* Dark Mode Hero Styles */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

[data-theme="dark"] #networkCanvas {
  filter: brightness(1.2);
}

[data-theme="dark"] .hero-gradient-layer {
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 163, 224, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .hero-label {
  background: linear-gradient(135deg, rgba(0, 163, 224, 0.15), rgba(0, 102, 204, 0.15));
  border-color: rgba(0, 163, 224, 0.3);
  color: #00A3E0;
}

[data-theme="dark"] .hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #00A3E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .hero-description {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .indicator {
  background: rgba(0, 163, 224, 0.3);
}

[data-theme="dark"] .indicator::before {
  background: #00A3E0;
}

[data-theme="dark"] .indicator.active {
  background: rgba(0, 163, 224, 0.5);
}

[data-theme="dark"] .indicator:hover {
  background: rgba(0, 163, 224, 0.4);
}

[data-theme="dark"] .hero-control {
  background: rgba(30, 41, 59, 0.8);
  border-color: #334155;
  color: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-control:hover {
  background: #0066CC;
  border-color: #0066CC;
  color: white;
}

[data-theme="dark"] .hero-progress {
  background: rgba(0, 163, 224, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 100%;
  }

  .hero-indicators {
    bottom: 1rem;
  }

  .hero-controls {
    bottom: 1rem;
    right: 1rem;
  }

  .hero-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero-controls {
    display: none;
  }
}

/* ============================================
   STATS SECTION WITH ANIMATED COUNTERS
   ============================================ */
  color: #334155;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Global lead text style */
.lead {
  color: #334155;
}

/* ============================================
   STATS SECTION WITH ANIMATED COUNTERS
   ============================================ */

.stats-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Animated Grid Background */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(rgba(0, 102, 204, 0.03) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.03) 2px, transparent 2px);
  background-size: 60px 60px;
  animation: gridScroll 30s linear infinite;
}

@keyframes gridScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 102, 204, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: white;
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #e6f0ff, #f0f9ff);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0066CC;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #1a1a1a 0%, #0066CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SERVICES PREVIEW SECTION
   ============================================ */

.services-preview {
  background: var(--bg-primary);
  padding: 6rem 0;
  position: relative;
}

/* Section Headers */
.services-preview .section-header h2,
.products-preview .section-header h2,
.why-choose-us .section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.services-preview .section-header p,
.products-preview .section-header p,
.why-choose-us .section-header p {
  font-size: 1.125rem;
  color: #334155;
  max-width: 600px;
  margin: 0 auto;
}

/* Subtle gradient background */
.services-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(at 50% 0%, rgba(0, 102, 204, 0.03), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card-preview {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066CC, #00A3E0);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card-preview:hover {
  border-color: #0066CC;
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
  transform: translateY(-10px);
}

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

.service-card-preview .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #e6f0ff, #f0f9ff);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0066CC;
  transition: all 0.4s;
}

.service-card-preview:hover .icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, #0066CC, #00A3E0);
  color: white;
}

.service-card-preview h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.service-card-preview p {
  color: #334155;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.service-card-preview .btn-link {
  color: #0066CC;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.service-card-preview .btn-link:hover {
  color: #00A3E0;
  gap: 0.75rem;
}

/* ============================================
   PRODUCTS PREVIEW SECTION
   ============================================ */

.products-preview {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
  position: relative;
}

.products-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.05), transparent),
    radial-gradient(circle at 20% 80%, rgba(0, 163, 224, 0.05), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card-preview {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card-preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 163, 224, 0.1));
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card-preview:hover {
  border-color: #0066CC;
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
  transform: translateY(-10px);
}

.product-card-preview:hover::after {
  opacity: 1;
}

.product-card-preview .image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #e6f0ff 0%, #f0f9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #0066CC;
  position: relative;
  overflow: hidden;
}

.product-card-preview .image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.2), transparent);
  animation: imageGlow 3s ease-in-out infinite;
}

@keyframes imageGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.product-card-preview .content {
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.product-card-preview h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.product-card-preview p {
  color: #334155;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.product-card-preview .features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-card-preview .feature-tag {
  background: linear-gradient(135deg, #e6f0ff, #f0f9ff);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  color: #0066CC;
  font-weight: 500;
  border: 1px solid rgba(0, 102, 204, 0.2);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
  background: var(--bg-primary);
  padding: 6rem 0;
}

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

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0066CC, #00A3E0);
  transform: scaleY(0);
  transition: transform 0.4s;
}

.benefit-card:hover {
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.1);
  transform: translateX(10px);
}

.benefit-card:hover::before {
  transform: scaleY(1);
}

.benefit-card .icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e6f0ff, #f0f9ff);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #0066CC;
  transition: all 0.4s;
}

.benefit-card:hover .icon {
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #0066CC, #00A3E0);
  color: white;
}

.benefit-card .content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.benefit-card .content p {
  color: #334155;
  font-size: 0.9375rem;
  margin: 0;
}

/* ============================================
   CTA SECTION WITH GRADIENT BACKGROUND
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #0066CC 0%, #004C99 50%, #00A3E0 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Particles */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.1), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.08), transparent),
    radial-gradient(2px 2px at 60px 40px, rgba(255,255,255,0.1), transparent),
    radial-gradient(2px 2px at 80px 80px, rgba(255,255,255,0.08), transparent);
  background-size: 100% 100%;
  animation: particlesRise 20s linear infinite;
}

@keyframes particlesRise {
  0% {
    background-position: 0% 100%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, 100% 100%;
  }
}

.cta-section h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 10;
}

.cta-section .btn-primary {
  background: white;
  color: #0066CC;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.cta-section .btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 100%;
  }

  .services-preview,
  .products-preview,
  .why-choose-us,
  .cta-section {
    padding: 4rem 0;
  }

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

  .stat-card {
    padding: 1.5rem;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   DARK MODE STYLES
   ============================================ */

[data-theme="dark"] {
  /* Hero Section */
  --hero-gradient: linear-gradient(135deg, #0066CC 0%, #0f172a 100%);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(at 40% 20%, rgba(0, 102, 204, 0.4) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(0, 163, 224, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(99, 102, 241, 0.3) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(0, 102, 204, 0.3) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(239, 68, 68, 0.2) 0px, transparent 50%);
}

[data-theme="dark"] .hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #00A3E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
[data-theme="dark"] .stats-section {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom-color: var(--dark-border);
}

[data-theme="dark"] .stats-section::before {
  background:
    linear-gradient(rgba(0, 102, 204, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.05) 2px, transparent 2px);
}

[data-theme="dark"] .stat-card {
  background: rgba(30, 41, 59, 0.5);
  border-color: var(--dark-border);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .stat-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: #0066CC;
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

[data-theme="dark"] .stat-card::before {
  background: radial-gradient(circle at center, rgba(0, 102, 204, 0.2), transparent);
}

[data-theme="dark"] .stat-icon {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 163, 224, 0.2));
  color: #00A3E0;
}

[data-theme="dark"] .stat-number {
  background: linear-gradient(135deg, #ffffff 0%, #00A3E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Services Preview */
[data-theme="dark"] .services-preview {
  background: var(--dark-bg);
}

[data-theme="dark"] .services-preview .section-header h2,
[data-theme="dark"] .service-card h3 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .services-preview .section-header p,
[data-theme="dark"] .service-card p {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .service-card {
  background: var(--dark-bg-alt);
  border-color: var(--dark-border);
}

[data-theme="dark"] .service-card:hover {
  background: rgba(0, 102, 204, 0.05);
  border-color: #0066CC;
}

[data-theme="dark"] .service-icon {
  background: rgba(0, 102, 204, 0.15);
}

/* Products Preview */
[data-theme="dark"] .products-preview {
  background: var(--dark-bg-alt);
}

[data-theme="dark"] .products-preview .section-header h2,
[data-theme="dark"] .product-card h3 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .products-preview .section-header p,
[data-theme="dark"] .product-card p {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .product-card {
  background: var(--dark-bg);
  border-color: var(--dark-border);
}

[data-theme="dark"] .product-card:hover {
  background: rgba(0, 102, 204, 0.05);
  border-color: #0066CC;
}

[data-theme="dark"] .product-image {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 163, 224, 0.1) 100%);
}

[data-theme="dark"] .product-image::after {
  background: radial-gradient(circle, rgba(0, 163, 224, 0.2) 0%, transparent 70%);
}

/* Why Choose Us */
[data-theme="dark"] .why-choose-us {
  background: var(--dark-bg);
}

[data-theme="dark"] .why-choose-us .section-header h2 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .why-choose-us .section-header p {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .benefit-item h3 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .benefit-item p {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .benefit-item {
  border-left-color: rgba(0, 102, 204, 0.3);
}

[data-theme="dark"] .benefit-item:hover {
  background: rgba(0, 102, 204, 0.05);
  border-left-color: #0066CC;
}

/* CTA Section */
[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, #0066CC 0%, #0f172a 100%);
}

[data-theme="dark"] .cta-section::before {
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 163, 224, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .cta-section h2 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .cta-section p {
  color: var(--dark-text-muted);
}

/* Floating Icons in Hero */
[data-theme="dark"] .floating-icon {
  color: rgba(0, 163, 224, 0.4);
}

[data-theme="dark"] .floating-icon:nth-child(1) { color: rgba(0, 102, 204, 0.4); }
[data-theme="dark"] .floating-icon:nth-child(2) { color: rgba(0, 163, 224, 0.4); }
[data-theme="dark"] .floating-icon:nth-child(3) { color: rgba(0, 102, 204, 0.4); }

/* ============================================
   TRUST SECTION / ILS NOUS FONT CONFIANCE
   ============================================ */

.trust-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 163, 224, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.trust-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.trust-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
  color: white;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.trust-label i {
  color: #fbbf24;
}

.trust-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.trust-header p {
  font-size: 1.125rem;
  color: #334155;
  max-width: 600px;
  margin: 0 auto;
}

/* Partners Slider */
.partners-slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.partners-slider {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  will-change: transform;
}

.partners-slider:not([data-manual-scroll]) {
  animation: scrollPartners 30s linear infinite;
}

.partners-slider:not([data-manual-scroll]):hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-slide {
  flex: 0 0 auto;
  width: 200px;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 140px;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
  border-color: #0066CC;
}

.partner-logo i {
  font-size: 2.5rem;
  color: #0066CC;
  transition: color 0.3s ease;
}

.partner-logo:hover i {
  color: #004C99;
}

.partner-logo span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
}

/* Partners Controls */
.partners-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.partner-prev,
.partner-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e5e7eb;
  color: #0f172a;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-prev:hover,
.partner-next:hover {
  background: #0066CC;
  border-color: #0066CC;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.partner-prev:active,
.partner-next:active {
  transform: scale(0.95);
}

/* Trust Info */
.trust-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.trust-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #334155;
  font-weight: 500;
}

.trust-info-item i {
  color: #10b981;
  font-size: 1.25rem;
}

/* Trust Section Dark Mode */
[data-theme="dark"] .trust-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .trust-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 163, 224, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
}

[data-theme="dark"] .trust-header h2 {
  color: var(--dark-text-main);
}

[data-theme="dark"] .trust-header p {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .partner-logo {
  background: var(--dark-bg-alt);
  border-color: var(--dark-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .partner-logo:hover {
  background: rgba(0, 102, 204, 0.1);
  border-color: #0066CC;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

[data-theme="dark"] .partner-logo i {
  color: #00A3E0;
}

[data-theme="dark"] .partner-logo:hover i {
  color: #0066CC;
}

[data-theme="dark"] .partner-logo span {
  color: var(--dark-text-main);
}

[data-theme="dark"] .partner-prev,
[data-theme="dark"] .partner-next {
  background: var(--dark-bg-alt);
  border-color: var(--dark-border);
  color: var(--dark-text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .partner-prev:hover,
[data-theme="dark"] .partner-next:hover {
  background: #0066CC;
  border-color: #0066CC;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

[data-theme="dark"] .trust-info-item {
  color: var(--dark-text-muted);
}

[data-theme="dark"] .trust-info-item i {
  color: #10b981;
}

/* Trust Section Responsive */
@media (max-width: 768px) {
  .trust-section {
    padding: 3rem 0;
  }

  .trust-header h2 {
    font-size: 1.75rem;
  }

  .trust-header p {
    font-size: 1rem;
  }

  .partners-slider-wrapper {
    padding: 0 1rem;
  }

  .partners-slider {
    gap: 1rem;
  }

  .partner-slide {
    width: 150px;
  }

  .partner-logo {
    padding: 1.5rem 1rem;
    height: 120px;
  }

  .partner-logo i {
    font-size: 2rem;
  }

  .partner-logo span {
    font-size: 0.875rem;
  }

  .trust-info {
    gap: 1.5rem;
    justify-content: center;
  }

  .trust-info-item {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .partners-slider-wrapper {
    padding: 0 0.5rem;
  }

  .partner-slide {
    width: 130px;
  }

  .partner-logo {
    padding: 1rem 0.75rem;
    height: 100px;
  }

  .partner-logo i {
    font-size: 1.75rem;
  }

  .partner-logo span {
    font-size: 0.8125rem;
  }

  .partners-controls {
    gap: 0.75rem;
  }

  .partner-prev,
  .partner-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
