/* ========================================
   MODERN HOMEPAGE STYLES
   ======================================== */

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: var(--space-20) 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(4, 138, 191, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(242, 183, 5, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-300) 0%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.btn-primary-hero {
  padding: var(--space-4) var(--space-8);
  background: white;
  color: var(--primary-700);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  color: var(--primary-800);
}

.btn-secondary-hero {
  padding: var(--space-4) var(--space-8);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-8);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  opacity: 0.9;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-main-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.floating-card {
  position: absolute;
  background: white;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  font-size: var(--text-xl);
  color: var(--primary-500);
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: -10%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 10%;
  left: 10%;
  animation-delay: 2s;
}

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

/* Section Title */
.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--text-lg);
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-12);
}

/* How It Works Section */
.how-it-works {
  padding: var(--space-24) 0;
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  transition: all var(--transition-base);
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: white;
}

.step-number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-primary);
}

.step-icon i {
  font-size: var(--text-4xl);
  color: white;
}

.step-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Testimonials Section */
.testimonials {
  padding: var(--space-24) 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.quote-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.quote-icon i {
  font-size: var(--text-2xl);
  color: white;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-200);
}

.author-info h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

.author-info p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: 0;
}

.rating {
  display: flex;
  gap: var(--space-1);
}

.rating i {
  color: var(--accent-500);
  font-size: var(--text-sm);
}

/* CTA Section */
.cta-section {
  padding: var(--space-24) 0;
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(242, 183, 5, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(4, 138, 191, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.95;
}

.btn-cta {
  padding: var(--space-5) var(--space-10);
  background: white;
  color: var(--primary-700);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-2xl);
  font-size: var(--text-lg);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-2xl);
  color: var(--primary-800);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

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

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

  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-section {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .cta-content h2 {
    font-size: var(--text-3xl);
  }

  .cta-content p {
    font-size: var(--text-base);
  }

  .floating-card {
    display: none;
  }
}
