/* MaupinAI.org — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* Base resets */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero gradient accent */
.hero-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #fef3c7 100%);
}

/* Subtle section divider */
.section-divider {
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 2px;
}

/* Card hover effects */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Audience card */
.audience-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.audience-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}

/* Step number styling */
.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}
.faq-toggle {
  transition: transform 0.2s ease;
}
.faq-toggle.open {
  transform: rotate(180deg);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 400px;
}

/* CTA button pulse */
.cta-primary {
  position: relative;
  overflow: hidden;
}
.cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.cta-primary:hover::after {
  transform: translateX(100%);
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Fade-in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo text styling */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: #1e293b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Hero visual element */
.hero-visual {
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Focus-visible for keyboard nav */
a:focus-visible, button:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Newsletter form */
#newsletter-form input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(180deg, #f8fafc 0%, #fef3c7 100%);
  }
}

/* Print styles */
@media print {
  nav, .mobile-menu, .cta-primary {
    display: none;
  }
}
