/* ─── LANDING PAGE STYLING ─────────────────────────────────── */
:root {
  /* Modern gradient colors */
  --gradient-start: #4361ee;
  --gradient-end: #7209b7;
}

/* Override main padding and margin for landing page */
body.landing {
  background-color: #fff;
}

body.landing main {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* Hero section styling */
.landing-container {
  width: 100%;
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 6rem 5% 8rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/placeholder-dots.svg');
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background-color: white;
  color: var(--gradient-start);
}

.cta-buttons .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Feature sections */
.features {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.features h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

.features ul {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  max-width: 600px;
}

.features li {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.5;
}

.features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.features img {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.features img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Alternate layout for features */
.features-businesses {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.features-businesses h2, 
.features-businesses ul {
  width: 100%;
  max-width: 45%;
}

.features-businesses h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.features-businesses h2:after {
  left: 0;
  transform: none;
}

.features-businesses img {
  max-width: 45%;
  order: 2;
}

.features-influencers {
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  background-color: #f8f9fa;
  border-radius: 20px;
  margin: 4rem auto;
}

.features-influencers h2, 
.features-influencers ul {
  width: 100%;
  max-width: 45%;
}

.features-influencers h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.features-influencers h2:after {
  left: 0;
  transform: none;
}

.features-influencers img {
  max-width: 45%;
  order: 2;
}

/* How it works section */
.how-it-works {
  padding: 5rem 5%;
  max-width: 1000px;
  margin: 0 auto 5rem;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.how-it-works h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

.how-it-works ol {
  counter-reset: steps;
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.how-it-works li {
  flex: 1;
  min-width: 280px;
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  font-size: 1.2rem;
  line-height: 1.5;
  counter-increment: steps;
  transition: all 0.3s ease;
}

.how-it-works li:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.how-it-works li:before {
  content: counter(steps);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .features-businesses,
  .features-influencers {
    flex-direction: column;
    align-items: center;
  }
  
  .features-businesses h2,
  .features-businesses ul,
  .features-influencers h2,
  .features-influencers ul,
  .features-businesses img,
  .features-influencers img {
    max-width: 100%;
    width: 100%;
    order: 0;
  }
  
  .features-businesses h2,
  .features-influencers h2 {
    text-align: center;
  }
  
  .features-businesses h2:after,
  .features-influencers h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 5% 6rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .features h2 {
    font-size: 2rem;
  }
  
  .features li {
    font-size: 1.1rem;
  }
  
  .how-it-works h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 3rem 5% 5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
} 