/* Hero Section */
.services-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-image {
  background: white;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

/* Urgency Badge: Creates ethical FOMO */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: rgb(239 0 0 / 48%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: subtle-pulse 3s ease-in-out infinite;
}

.urgency-badge svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.urgency-slots {
  color: #fbbf24;
  font-weight: 700;
}

@keyframes subtle-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}

.btn-whatsapp-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 20px 40px;
  background: #25d366;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  border: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-primary:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.cta-trust-line {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.cta-proof {
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Micro-urgency: Speed + ease signals */
.cta-micro-urgency {
  font-size: 0.9rem;
  color: #fbbf24;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  transition: all 0.2s ease;
}

.demo-link:hover {
  color: #fbbf24;
  text-decoration: none;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 18px 40px;
  background: white;
  color: #667eea;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 18px 40px;
  background: #25d366;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Feature Images Section */
.feature-images {
  padding: 60px 0;
  background: #f8f9fa;
}

.images-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.image-item {
  flex: 1;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Problem-Solution Section */
.problem-solution {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 1rem;
}

.ps-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ps-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.problem-side,
.solution-side {
  padding: 1.5rem;
  border-radius: 12px;
}

.problem-side {
  background: #fff5f5;
  border-left: 4px solid #fc8181;
}

.solution-side {
  background: #f0fff4;
  border-left: 4px solid #48bb78;
}

.icon-problem,
.icon-solution {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ps-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #2d3748;
}

.ps-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Demo Section */
.demo-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.demo-box {
  max-width: 1200px;
  margin: 0 auto;
}

.demo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.demo-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.demo-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.demo-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.credential-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  overflow: hidden;
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-badge {
  background: #764ba2;
}

.credential-card h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  word-wrap: break-word;
}

.card-desc {
  color: #718096;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cred-details {
  background: #f7fafc;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cred-item:last-child {
  margin-bottom: 0;
}

.cred-label {
  font-weight: 600;
  color: #4a5568;
  min-width: 70px;
  font-size: 0.9rem;
}

.cred-value {
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  color: #667eea;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  flex: 1;
  min-width: 0;
  word-break: break-all;
  font-size: 0.9rem;
}

.btn-demo {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.demo-encourage {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.demo-encourage p {
  color: white;
  font-size: 1.1rem;
  margin: 0;
}

/* Visual Proof Section */
.visual-proof {
  padding: 80px 0;
  background: white;
}

.visual-proof .section-header h2 {
  color: #1a202c;
}

.visual-proof .section-header p {
  color: #718096;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #718096;
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.cta-box h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 18px 40px;
  background: #25d366;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-large:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-hero {
    min-height: 450px;
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Mobile: vertical layout with smaller images */
  .images-grid {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .image-item {
    max-width: 280px;
    margin: 0 auto;
  }

  .ps-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .demo-credentials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .credential-card {
    padding: 1.5rem;
  }

  .credential-card h3 {
    font-size: 1.3rem;
  }

  .cred-details {
    padding: 1rem;
  }

  .cred-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cred-label {
    min-width: auto;
  }

  .cred-value {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
  }

  .btn-demo {
    padding: 12px;
    font-size: 0.95rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }

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

  .cta-actions {
    flex-direction: column;
  }

  .btn-primary-large,
  .btn-whatsapp,
  .btn-whatsapp-large {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-hero {
    padding: 40px 0 30px;
    min-height: 400px;
    background-size: 90%;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary-large,
  .btn-whatsapp {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .problem-solution,
  .demo-section,
  .visual-proof,
  .features-section,
  .final-cta {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .demo-section {
    padding: 40px 0;
  }

  .demo-box {
    padding: 0;
  }

  .demo-header h2 {
    font-size: 1.4rem;
    padding: 0 0.5rem;
  }

  .demo-header p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .demo-credentials {
    padding: 0 0.5rem;
    gap: 1rem;
  }

  .credential-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .card-badge {
    font-size: 0.75rem;
    padding: 5px 15px;
    width: max-content;
    top: 3px;
  }

  .credential-card h3 {
    font-size: 1.2rem;
    margin-top: 0.75rem;
  }

  .card-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .cred-details {
    padding: 0.75rem;
  }

  .cred-label {
    font-size: 0.85rem;
  }

  .cred-value {
    font-size: 0.8rem;
    padding: 8px;
  }

  .btn-demo {
    padding: 10px;
    font-size: 0.9rem;
  }

  .demo-encourage {
    margin: 0 0.5rem;
    padding: 1rem;
  }

  .demo-encourage p {
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 1rem;
    width: 88vw;
    margin: auto;
  }
}

/* Mid-Page CTA */
.mid-page-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border-radius: 16px;
}

.mid-page-cta .btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 20px 40px;
  background: #25d366;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  border: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mid-page-cta .btn-whatsapp-large:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.mid-page-cta .cta-trust-line {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #2d3748;
  font-weight: 600;
}

/* Mid-page CTA headline and subtext */
.mid-cta-headline {
  font-size: 2rem;
  color: #1a202c;
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.mid-cta-subtext {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.mid-cta-subtext .urgency-slots {
  color: #ef4444;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-cta-wrapper {
    width: 100%;
  }

  .urgency-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    width: 100%;
    justify-content: center;
  }

  .btn-whatsapp-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }

  .cta-micro-urgency {
    font-size: 0.85rem;
    justify-content: center;
    text-align: center;
  }

  .mid-page-cta {
    padding: 2rem 1rem;
  }

  .mid-cta-headline {
    font-size: 1.5rem;
  }

  .mid-cta-subtext {
    font-size: 1rem;
  }

  .mid-page-cta .btn-whatsapp-large {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }
}
