/* ========================================
   MODERN HOMEPAGE STYLES
   8px Spacing System: 8, 16, 24, 32, 40, 48, 56, 64, 80
   ======================================== */

/* Modern Hero Section */
.hero-modern {
  background: linear-gradient(160deg, #1E40AF 0%, #3B82F6 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px 0;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: auto;
}

.btn-hero svg {
  flex-shrink: 0;
}

.btn-primary-hero {
  background: #fff;
  border: 2px solid #fff;
  color: #1E40AF;
}

.btn-primary-hero:hover {
  background: #F1F5F9;
  border-color: #F1F5F9;
  color: #1E40AF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.hero-feature-item svg {
  color: rgba(255,255,255,.9);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
}

/* Hero Logo Showcase */
.hero-logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35) 0%, rgba(212,175,55,.08) 55%, transparent 75%);
  animation: logoGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoGlowPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.hero-logo-img {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(212,175,55,.25),
    0 8px 32px rgba(0,0,0,.45),
    0 32px 80px rgba(0,0,0,.3);
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* Why Choose Us Section */
.section-why-choose {
  background: linear-gradient(160deg, #1E40AF 0%, #3B82F6 100%);
}

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-center h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}
.section-why-choose .section-header-center h2 {
  color: #fff;
}

.section-header-center .muted {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}
.section-why-choose .section-header-center .muted {
  color: rgba(255,255,255,.8);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  color: #1E293B;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,.3);
  box-shadow: 0 16px 40px rgba(59,130,246,.15);
}

.why-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,64,175,.08);
  border-radius: 16px;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 16px 0;
}

.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 48px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .why-choose-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    padding: 48px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    min-height: 300px;
  }

  .hero-logo-showcase {
    order: -1;
  }

  .hero-logo-img {
    max-width: 320px;
  }

  .hero-logo-glow {
    width: 260px;
    height: 260px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 16px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .why-card {
    padding: 24px;
  }
  
  .section-header-center h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 12px;
  }
  
  .stat-number {
    font-size: 32px;
  }
}
