/* =================================
   ENHANCED DESIGN - Better Sections
   ================================= */

/* Better Section Spacing */
.section {
  padding: 80px 0 !important;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0 !important;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 0 !important;
  }
}

/* Dark Sections - More Contrast */
.section--dark {
  background: var(--bg-2) !important;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

/* Section Headers - More Prominent */
.section__header {
  text-align: center;
  margin-bottom: 60px !important;
  animation: fadeInUp 0.6s ease-out;
}

@media (min-width: 768px) {
  .section__header {
    margin-bottom: 80px !important;
  }
}

.section__title {
  font-size: clamp(28px, 5vw, 42px) !important;
  margin-bottom: 20px !important;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.section__subtitle {
  font-size: clamp(16px, 2.5vw, 20px) !important;
  color: var(--txt);
  opacity: 0.9;
  line-height: 1.7;
  max-width: 700px !important;
}

/* Hero Improvements */
.hero {
  padding: 140px 0 80px !important;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 160px 0 100px !important;
  }
}

.hero__title {
  font-size: clamp(32px, 7vw, 56px) !important;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 22px) !important;
  line-height: 1.6;
  margin-bottom: 40px !important;
  opacity: 0.95;
}

/* Better Cards */
.card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15) !important;
}

.card--with-image {
  overflow: hidden;
}

.card__image {
  margin: -32px -32px 24px -32px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img {
  transform: scale(1.05);
}

/* Better Grid Spacing */
.grid {
  gap: 32px !important;
}

@media (min-width: 768px) {
  .grid {
    gap: 40px !important;
  }
}

/* CTA Box Enhancement */
.cta-box {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(31, 182, 255, 0.12)) !important;
  border: 2px solid rgba(0, 229, 255, 0.25) !important;
  border-radius: 24px !important;
  padding: 60px !important;
  margin: 60px 0;
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.1);
}

@media (max-width: 768px) {
  .cta-box {
    padding: 40px 24px !important;
    text-align: center;
  }
}

/* Better Footer Spacing */
.footer {
  margin-top: 0 !important;
  padding: 100px 0 40px !important;
  background: var(--bg-2);
  border-top: 2px solid rgba(0, 229, 255, 0.1);
}

/* Mobile Menu Fix */
@media (max-width: 1024px) {
  .nav__menu.active {
    right: 0 !important;
    display: flex !important;
  }
}

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

/* Hero Stats Better Design */
.hero__stats {
  margin-top: 60px !important;
  padding-top: 60px !important;
  border-top: 2px solid rgba(0, 229, 255, 0.15) !important;
}

.hero__stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hero__stat:hover {
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-4px);
}

.hero__stat strong {
  font-size: clamp(32px, 4vw, 40px) !important;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Dividers for Better Separation */
.section:not(.section--dark) + .section:not(.section--dark)::before,
.section--dark + .section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.3;
}

/* Better Button Styles */
.btn-lg {
  padding: 18px 48px !important;
  font-size: 18px !important;
  font-weight: 600;
  border-radius: 12px !important;
}

.btn-primary {
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4) !important;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.6) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(0, 229, 255, 0.4) !important;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
  .section {
    padding: 60px 0 !important;
  }
  
  .hero {
    padding: 120px 0 60px !important;
  }
  
  .hero__title {
    font-size: clamp(28px, 8vw, 38px) !important;
  }
  
  .section__header {
    margin-bottom: 40px !important;
  }
  
  .grid {
    gap: 24px !important;
  }
  
  .card {
    padding: 24px !important;
  }
  
  .card__image {
    margin: -24px -24px 20px -24px;
  }
}
