/* Custom styles beyond Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Gradient hero background with mesh texture */
.hero-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-gradient > * {
  position: relative;
  z-index: 1;
}

/* 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.12);
}

/* Step connector line */
.step-connector {
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: #00adb5;
}
@media (max-width: 768px) {
  .step-connector::after {
    display: none;
  }
}

/* CTA button pulse */
.pulse-btn {
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 173, 181, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0, 173, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 173, 181, 0); }
}

/* Teal accent border */
.accent-border {
  border-left: 4px solid #00adb5;
}

/* Featured card */
.featured-card {
  border: 2px solid #00adb5;
  position: relative;
}
.featured-card::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00adb5;
  color: white;
  padding: 2px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* Floating call button (desktop) */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  background: #00adb5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 173, 181, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse-ring 2s ease-out infinite;
}
.floating-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 173, 181, 0.5);
}
@media (max-width: 767px) {
  .floating-call {
    display: none;
  }
}

/* Blog styles */
.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.prose h2 {
  color: #1a1a2e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  color: #1a1a2e;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol {
  color: #4b5563;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.prose strong {
  color: #1a1a2e;
}
.prose blockquote {
  border-left: 4px solid #00adb5;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

/* Add padding to body for mobile CTA bar */
@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }
}
