/* ===== PRICING SECTION ===== */
.pricing-section {
  background: var(--bg-secondary);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pricing-grid" width="16" height="16" patternUnits="userSpaceOnUse"><path d="M 16 0 L 0 0 0 16" fill="none" stroke="%23f59e0b" stroke-width="0.3" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-grid)"/></svg>');
  animation: float 22s ease-in-out infinite;
  z-index: 1;
}

.pricing-section .container {
  position: relative;
  z-index: 2;
}

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

.pricing-grid.desktop-only {
  display: grid;
}

.pricing-swiper.mobile-only {
  display: none;
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.pricing-card.popular {
  border: 2px solid #6366f1;
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 0 0 20px 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.pricing-card.popular .pricing-btn {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

.pricing-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.pricing-footer {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--border-radius-lg);
}

.pricing-footer p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--bg-primary);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-grid" width="18" height="18" patternUnits="userSpaceOnUse"><path d="M 18 0 L 0 0 0 18" fill="none" stroke="%236366f1" stroke-width="0.2" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-grid)"/></svg>');
  animation: float 28s ease-in-out infinite reverse;
  z-index: 1;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-search {
  position: relative;
  margin-bottom: 3rem;
}

.faq-search input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.faq-search input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible; /* Allow scanning lines to extend beyond container */
  padding: 0 2rem; /* Add padding to prevent clipping */
}

.faq-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  overflow: visible; /* Allow scanning line to extend beyond boundaries */
  transition: var(--transition);
  margin: 0 -2rem; /* Negative margin to compensate for parent padding */
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: #6366f1;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== BLOG SECTION ===== */
.blog-section {
  background: var(--bg-secondary);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-grid" width="7" height="7" patternUnits="userSpaceOnUse"><path d="M 7 0 L 0 0 0 7" fill="none" stroke="%2306b6d4" stroke-width="0.25" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-grid)"/></svg>');
  animation: float 32s ease-in-out infinite;
  z-index: 1;
}

.blog-section .container {
  position: relative;
  z-index: 2;
}

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

.blog-grid.desktop-only {
  display: grid;
}

.blog-swiper.mobile-only {
  display: none;
}

.blog-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.blog-card.featured {
  grid-column: span 2;
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.blog-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.placeholder-icon {
  font-size: 3rem;
}

.blog-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.blog-content {
  padding: 2rem;
}

.blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.blog-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.author-avatar {
  font-size: 1.2rem;
}

.share-btn {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.share-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.blog-footer-section {
  text-align: center;
  padding: 3rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--border-radius-lg);
}

.blog-footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-footer-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* ===== FOOTER ENHANCEMENTS ===== */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: #06b6d4;
  transform: translateX(5px);
}

.footer-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== FORM ENHANCEMENTS ===== */
.form-select {
  width: 100%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-select option {
  background: var(--text-primary);
  color: white;
  padding: 1rem;
}

.form-note {
  margin-top: 1rem;
  text-align: center;
}

.form-note span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes aiSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aiPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes starGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.3) drop-shadow(0 0 5px #fbbf24); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #6366f1; }
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .blog-card.featured {
    grid-column: span 1;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-badges {
    justify-content: center;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-grid.desktop-only {
    display: none !important;
  }
  
  .pricing-swiper.mobile-only {
    display: block !important;
    padding-bottom: 40px;
  }
  
  .blog-grid.desktop-only {
    display: none !important;
  }
  
  .blog-swiper.mobile-only {
    display: block !important;
    padding-bottom: 40px;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }
} 