/* Nursing Ready — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom font loading */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Gradient backgrounds */
.gradient-hero {
  background: linear-gradient(135deg, #0D9488 0%, #0EA5E9 100%);
}

.gradient-hero-soft {
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 40%, #0EA5E9 100%);
}

.gradient-cta {
  background: linear-gradient(135deg, #0D9488 0%, #0EA5E9 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #0D9488, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover effects */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Button hover glow */
.btn-glow {
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
}

/* Navbar scroll effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 600px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotate {
  transform: rotate(180deg);
}

/* Stat counter animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* Pulse animation for CTA */
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(13, 148, 136, 0); }
}

.pulse-cta {
  animation: pulse-soft 2.5s infinite;
}

/* Pricing card highlight */
.pricing-highlight {
  position: relative;
}

.pricing-highlight::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #0D9488, #0EA5E9);
  border-radius: 1.1rem;
  z-index: -1;
}

/* Step connector line */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0D9488, #0EA5E9);
  opacity: 0.3;
}

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

.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Table styles for guides */
.lab-table th {
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  color: white;
}

.lab-table tr:nth-child(even) {
  background-color: #f0fdfa;
}

.lab-table td, .lab-table th {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}

/* Testimonial cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 4rem;
  color: #0D9488;
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

/* iPhone mockup placeholder */
.iphone-mockup {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: 2.5rem;
  padding: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.iphone-screen {
  background: linear-gradient(180deg, #0D9488 0%, #0f766e 100%);
  border-radius: 2rem;
  overflow: hidden;
}

/* Content guide styles */
.guide-content h2 {
  color: #0D9488;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ccfbf1;
}

.guide-content h3 {
  color: #134e4a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.guide-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #374151;
}

.guide-content ul, .guide-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #374151;
}

.guide-content strong {
  color: #0f766e;
}

/* Selection color */
::selection {
  background-color: #ccfbf1;
  color: #0D9488;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #0D9488;
  outline-offset: 2px;
  border-radius: 4px;
}
