/* Policybase Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero gradient background */
.hero-gradient {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #ede9fe 100%);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Pricing card highlight */
.pricing-highlight {
  border: 2px solid #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* CTA gradient button */
.btn-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  transition: all 0.2s ease;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* Comparison table row striping */
.comparison-row:nth-child(even) {
  background-color: #f8fafc;
}

/* FAQ accordion transition */
.faq-content {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

/* Sticky header shadow on scroll */
.header-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* NZ badge */
.nz-badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
}

/* Blog card image placeholder */
.blog-image-placeholder {
  background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
}

/* Prose content spacing */
.content-prose p {
  margin-bottom: 1rem;
}
.content-prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.content-prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.content-prose ul, .content-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.content-prose li {
  margin-bottom: 0.25rem;
}
.content-prose a {
  color: #4f46e5;
  text-decoration: underline;
}
.content-prose a:hover {
  color: #4338ca;
}
.content-prose strong {
  font-weight: 600;
}
.content-prose blockquote {
  border-left: 3px solid #e0e7ff;
  padding-left: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
