/* OIRIS Custom Styles — supplements Tailwind CDN */

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

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

/* Gradient text helper */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero glow effect */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

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

/* Pricing toggle */
.pricing-toggle {
  position: relative;
  width: 56px;
  height: 28px;
  background: #334155;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing-toggle.active {
  background: #3b82f6;
}
.pricing-toggle::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}
.pricing-toggle.active::after {
  transform: translateX(28px);
}

/* Popular badge pulse */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); }
}
.badge-pulse {
  animation: badge-pulse 2s ease-in-out infinite;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer.open {
  max-height: 500px;
}

/* Mobile nav overlay */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* Comparison table */
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}
.comparison-table thead th {
  background: #1e293b;
  font-weight: 600;
  position: sticky;
  top: 0;
}
.comparison-table tr:hover {
  background: rgba(59,130,246,0.05);
}

/* Blog card image placeholder */
.blog-thumb {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  aspect-ratio: 16/9;
}

/* Step connector line */
.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
}

/* Scroll indicator fade */
.scroll-fade {
  mask-image: linear-gradient(to bottom, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent);
}

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

/* Print styles */
@media print {
  nav, footer, .mobile-nav { display: none; }
  body { background: white; color: black; }
}
