/*
 * Premium Polish — Vanta-inspired visual enhancements
 * Shared across: index.html, ravendata.html, ravenresearch-landing.html
 * DO NOT touch nav/tab switching — injected by unified-nav.js
 */

/* ─── Scroll Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.reveal-delay-5 { transition-delay: 0.6s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.reveal-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.reveal-visible { opacity: 1; transform: scale(1); }


/* ─── Premium CTA Section ───────────────────────────────────── */
.pp-cta-section {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}
.pp-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pp-cta-section .container { position: relative; }
.pp-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.pp-cta-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}
.pp-cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.pp-cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.pp-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.4), 0 8px 32px rgba(99,102,241,0.3);
  letter-spacing: -0.01em;
}
.pp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.6), 0 16px 48px rgba(99,102,241,0.45);
}
.pp-btn-primary--cyan {
  background: linear-gradient(135deg, #00c4ee 0%, #6366f1 100%);
  box-shadow: 0 0 0 1px rgba(0,196,238,0.4), 0 8px 32px rgba(0,196,238,0.25);
}
.pp-btn-primary--cyan:hover {
  box-shadow: 0 0 0 1px rgba(0,196,238,0.6), 0 16px 48px rgba(0,196,238,0.4);
}
.pp-btn-primary--amber {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #0a0a0f;
  box-shadow: 0 0 0 1px rgba(245,158,11,0.4), 0 8px 32px rgba(245,158,11,0.25);
}
.pp-btn-primary--amber:hover {
  box-shadow: 0 0 0 1px rgba(245,158,11,0.6), 0 16px 48px rgba(245,158,11,0.4);
}
.pp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  transition: all 0.2s;
}
.pp-btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.pp-cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.pp-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.pp-cta-trust-item .chk-green { color: #10b981; font-size: 0.875rem; }


/* ─── Gradient Section Divider ──────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0.08) 60%, transparent);
  margin: 0;
}

/* ─── Premium Card Shadows ──────────────────────────────────── */
.card-premium {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.card-premium:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.08) inset;
}

/* ─── Section Label Refinement ──────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.section-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

/* ─── Gradient Bottom Border on Hero ───────────────────────── */
.hero-bottom-border {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,0.25) 30%,
    rgba(0,212,255,0.25) 50%,
    rgba(99,102,241,0.25) 70%,
    transparent 100%
  );
}

/* ─── Better Pricing Card Highlight ────────────────────────── */
.pricing-card-featured-glow {
  position: relative;
}
.pricing-card-featured-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(139,92,246,0.6));
  z-index: -1;
  filter: blur(12px);
  opacity: 0.5;
}

/* ─── Image / Illustration Placeholder Cards ────────────────── */
.illus-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.illus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.06), transparent 70%);
}

/* ─── Typography Refinement ─────────────────────────────────── */
.pp-hero-title {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.pp-section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.pp-body-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}

/* ─── Mobile responsiveness ─────────────────────────────────── */
@media (max-width: 768px) {
  .pp-cta-section { padding: 3.5rem 0; }
  .pp-btn-primary, .pp-btn-secondary { min-height: 44px; }
  .pp-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
  .pp-btn-primary, .pp-btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pp-cta-section p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .pp-cta-section { padding: 2.5rem 0; }
  .pp-btn-primary { padding: 0.875rem 1.5rem; }
  .pp-btn-secondary { padding: 0.875rem 1.25rem; }
}

/* ─── Noise texture overlay for depth ───────────────────────── */
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

