/* Emil Kowalski micro-interactions & motion upgrade
   Loaded after style.css — overrides --t and adds specific transitions */

/* ─── Custom easing + smarter --t ──────────────────────── */
:root {
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
       box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1),
       background 180ms ease,
       border-color 180ms ease,
       color 160ms ease,
       opacity 200ms ease;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1),
              background 160ms ease,
              filter 160ms ease;
}
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-white:hover   { transform: translateY(-2px); }
  .btn-primary:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(37,99,235,.3); }
  .btn-white:active   { transform: scale(0.97); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
}

/* ─── Nav CTA ──────────────────────────────────────────── */
.nav-cta {
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
              background 160ms ease,
              box-shadow 160ms ease;
}
.nav-cta:active { transform: scale(0.96); }

/* ─── Filter buttons ───────────────────────────────────── */
.filter-btn {
  transition: background 150ms ease,
              border-color 150ms ease,
              color 150ms ease,
              transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}
.filter-btn:active { transform: scale(0.97); }

/* ─── Navbar ───────────────────────────────────────────── */
.navbar {
  transition: padding 280ms cubic-bezier(0.23, 1, 0.32, 1),
              background 280ms ease,
              backdrop-filter 280ms ease,
              box-shadow 280ms ease;
}

/* ─── Nav links ────────────────────────────────────────── */
.nav-link {
  transition: color 150ms ease;
}
.nav-link::after {
  transition: width 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Brand logo — animated ────────────────────────────── */
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(27,146,216,0)); }
  50%       { filter: drop-shadow(0 0 8px rgba(27,146,216,0.55)); }
}
.brand-logo {
  animation: logo-float 3s ease-in-out infinite, logo-glow 3s ease-in-out infinite;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) and (pointer: fine) {
  .nav-brand:hover .brand-logo {
    animation-play-state: paused;
    transform: rotate(-6deg) scale(1.12) translateY(0);
  }
}

/* ─── Stat cards ───────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover {
    border-color: rgba(255,255,255,0.16);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 32px 64px rgba(0,0,0,0.40);
  }
  .stat-card:hover .stat-bg-glow { opacity: 0.32; }
}

/* ─── Formation cards ──────────────────────────────────── */
.f-card {
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .f-card:hover { transform: translateY(-5px); }
}

/* ─── OPCO cards ───────────────────────────────────────── */
.opco-card {
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .opco-card:hover { transform: translateY(-4px); }
}
.opco-card-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: #93C5FD;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .opco-card:hover .opco-card-more { opacity: 1; transform: translateY(0); }
}
@media (hover: none) {
  .opco-card-more { opacity: 0.7; transform: none; }
}

/* ─── Why cards ────────────────────────────────────────── */
.why-card {
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1),
              background 200ms ease,
              border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .why-card:hover { transform: translateX(5px); }
}

/* ─── Footer links ─────────────────────────────────────── */
.footer-links a {
  transition: color 150ms ease,
              padding-left 150ms cubic-bezier(0.23, 1, 0.32, 1);
}
.footer-bottom a {
  transition: color 150ms ease;
}

/* ─── Footer social icons ──────────────────────────────── */
.footer-social a {
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover { transform: translateY(-3px) scale(1.08); }
}
.footer-social a:active { transform: scale(0.94); }

/* ─── Form inputs ──────────────────────────────────────── */
.form-group input,
.form-group textarea {
  transition: border-color 150ms ease,
              background 150ms ease,
              box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Chatbot FAB ──────────────────────────────────────── */
.chatbot-fab {
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .chatbot-fab:hover { transform: scale(1.08); }
}
.chatbot-fab:active { transform: scale(0.95); }

/* ─── Chatbot send button ──────────────────────────────── */
.chatbot-input-wrap button {
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .chatbot-input-wrap button:hover { transform: scale(1.08); }
}
.chatbot-input-wrap button:active { transform: scale(0.95); }

/* ─── Chatbot input ────────────────────────────────────── */
.chatbot-input-wrap input {
  transition: border-color 150ms ease,
              background 150ms ease,
              box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Chatbot close ────────────────────────────────────── */
.chatbot-close {
  transition: background 150ms ease,
              color 150ms ease,
              transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.chatbot-close:active { transform: scale(0.9); }

/* ─── Suggestion buttons ───────────────────────────────── */
.suggestion-btn {
  transition: background 150ms ease,
              border-color 150ms ease,
              color 150ms ease,
              transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}
.suggestion-btn:active { transform: scale(0.97); }

/* ─── Badge pop ────────────────────────────────────────── */
@keyframes badge-pop {
  0%   { transform: scale(0.9); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}

/* ─── Chat message entry ───────────────────────────────── */
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ─── Consistent focus ring ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── OPCO Ticker with logos ───────────────────────────── */
.opco-ticker {
  background: transparent;
  overflow: hidden;
  padding: 14px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: opco-ticker 42s linear infinite;
  white-space: nowrap;
}
.opco-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.ticker-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.ticker-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}
.ticker-name {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  flex-shrink: 0;
}
@keyframes opco-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Reviews section ──────────────────────────────────── */
.reviews-section {
  padding: 80px 0;
  background: linear-gradient(165deg, #0e2245 0%, #071122 100%);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform 220ms cubic-bezier(0.23,1,0.32,1), box-shadow 220ms ease, background 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.35); background: rgba(255,255,255,.08); }
}
.review-stars { color: #FBBF24; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-text  { color: rgba(255,255,255,.72); font-size: 0.93rem; line-height: 1.68; font-style: italic; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue, #2563EB); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; flex-shrink: 0;
}
.review-author strong { display: block; color: white; font-size: 0.88rem; }
.review-author span   { color: rgba(255,255,255,.55); font-size: 0.78rem; }

/* ─── Google Maps card ─────────────────────────────────── */
.maps-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  height: 300px;
  margin-top: 40px;
  border: 1px solid rgba(0,0,0,0.06);
}
.maps-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ─── WhatsApp FAB ─────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 96px;
  right: 24px;
  height: 52px;
  padding: 0 20px 0 16px;
  background: #25D366;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 180ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 180ms ease;
  white-space: nowrap;
}
.whatsapp-fab svg { flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .whatsapp-fab:hover { transform: scale(1.06) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
}
.whatsapp-fab:active { transform: scale(0.95); }

/* ─── Formation modal ──────────────────────────────────── */
.fmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.fmodal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.fmodal {
  background: white;
  border-radius: 22px;
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.23,1,0.32,1);
}
.fmodal-overlay.active .fmodal { transform: translateY(0) scale(1); }
.fmodal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  z-index: 2;
  transition: background 150ms ease, transform 150ms cubic-bezier(0.34,1.56,0.64,1);
}
.fmodal-close:hover  { background: rgba(0,0,0,0.28); }
.fmodal-close:active { transform: scale(0.9); }
.fmodal-head {
  padding: 32px 28px 24px;
  border-radius: 22px 22px 0 0;
  color: white;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.fmodal-icon { font-size: 2.4rem; line-height: 1; flex-shrink: 0; margin-top: 3px; }
.fmodal-head-info { flex: 1; min-width: 0; }
.fmodal-title { font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; padding-right: 40px; }
.fmodal-meta  { display: flex; gap: 7px; flex-wrap: wrap; }
.fmodal-tag {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fmodal-body { padding: 26px 28px 30px; }
.fmodal-section { margin-bottom: 22px; }
.fmodal-section:last-child { margin-bottom: 0; }
.fmodal-section h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin: 0 0 10px;
}
.fmodal-section p { color: #374151; line-height: 1.65; font-size: 0.92rem; margin: 0; }
.fmodal-list { list-style: none; padding: 0; margin: 0; }
.fmodal-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fmodal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563EB;
  font-weight: 700;
  font-size: 0.8rem;
}
.fmodal-list.prog li::before { content: none; }
.mod-num {
  font-weight: 700;
  font-size: 0.72rem;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 6px;
}
.fmodal-opcos { display: flex; flex-wrap: wrap; gap: 7px; }
.fmodal-opco-tag {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.fmodal-cta {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #F3F4F6;
  flex-wrap: wrap;
}
.fmodal-cta .btn { flex: 1; min-width: 140px; justify-content: center; text-align: center; }
.fmodal-close-btn {
  flex: 1;
  min-width: 100px;
  border: none;
  background: #F3F4F6;
  color: #374151;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  font-family: inherit;
}
.fmodal-close-btn:hover  { background: #E5E7EB; }
.fmodal-close-btn:active { transform: scale(0.97); }
@media (max-width: 480px) {
  .fmodal-head { padding: 24px 20px 18px; }
  .fmodal-body { padding: 20px 20px 24px; }
  .fmodal-title { font-size: 1.1rem; }
}

/* ─── Ticker logo fallback ─────────────────────────────── */
.ticker-logo .ta { display: none; }
.ticker-logo.fl {
  background: var(--c, #2563EB);
  border-radius: 7px;
}
.ticker-logo.fl img    { display: none; }
.ticker-logo.fl .ta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ─── OPCO modal logo ──────────────────────────────────── */
.omodal-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.omodal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.omodal-logo .ta {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.omodal-logo.fl {
  background: var(--c, #2563EB);
}
.omodal-logo.fl img    { display: none; }
.omodal-logo.fl .ta    { display: flex; }

/* ─── Hero 3D scene ─────────────────────────────────────── */
.hero-3d-scene {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(50vw, 580px);
  height: min(50vw, 580px);
  transform: translateY(-55%);
  pointer-events: none;
  perspective: 1000px;
  transform-style: preserve-3d;
}
@media (max-width: 940px) { .hero-3d-scene { display: none; } }

.h3d-sphere {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%,
    rgba(147,197,253,0.65) 0%,
    rgba(59,130,246,0.38) 38%,
    rgba(30,64,175,0.18) 65%,
    transparent 100%);
  animation: h3d-breathe 6s ease-in-out infinite;
}
.h3d-core {
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    rgba(255,255,255,0.45),
    rgba(96,165,250,0.18),
    transparent);
  animation: h3d-breathe 6s ease-in-out infinite reverse;
}
.h3d-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.16);
}
.h3d-ring-1 { animation: h3d-ring1 14s linear infinite; border-color: rgba(147,197,253,0.24); }
.h3d-ring-2 { animation: h3d-ring2 20s linear infinite reverse; border-color: rgba(167,139,250,0.18); inset: -5%; }
.h3d-ring-3 { animation: h3d-ring3 30s linear infinite; border-color: rgba(251,191,36,0.14); inset: -12%; }

.h3d-ring-1::before {
  content: ''; position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(147,197,253,0.92);
  box-shadow: 0 0 14px rgba(147,197,253,0.7);
  top: 50%; left: -5px; transform: translateY(-50%);
}
.h3d-ring-2::after {
  content: ''; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(167,139,250,0.9);
  box-shadow: 0 0 10px rgba(167,139,250,0.6);
  top: -4px; left: 50%; transform: translateX(-50%);
}
.h3d-accent { position: absolute; border-radius: 50%; }
.h3d-accent-1 {
  width: 14%; height: 14%;
  background: radial-gradient(circle, rgba(139,92,246,0.62), transparent);
  top: 12%; right: 14%;
  animation: h3d-float1 7s ease-in-out infinite;
}
.h3d-accent-2 {
  width: 9%; height: 9%;
  background: radial-gradient(circle, rgba(245,158,11,0.58), transparent);
  bottom: 16%; left: 10%;
  animation: h3d-float2 9s ease-in-out infinite;
}
.h3d-accent-3 {
  width: 5.5%; height: 5.5%;
  background: radial-gradient(circle, rgba(255,255,255,0.42), transparent);
  top: 28%; right: 8%;
  animation: h3d-float3 5s ease-in-out infinite;
}
.h3d-grid {
  position: absolute;
  inset: -8%;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 44px 44px;
  border-radius: 50%;
  mask-image: radial-gradient(ellipse at center, black 22%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 22%, transparent 68%);
  animation: h3d-gridrot 40s linear infinite;
}

@keyframes h3d-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}
@keyframes h3d-ring1 {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to   { transform: rotateX(70deg) rotateZ(360deg); }
}
@keyframes h3d-ring2 {
  from { transform: rotateX(45deg) rotateY(20deg) rotateZ(0deg); }
  to   { transform: rotateX(45deg) rotateY(20deg) rotateZ(360deg); }
}
@keyframes h3d-ring3 {
  from { transform: rotateX(22deg) rotateY(65deg) rotateZ(0deg); }
  to   { transform: rotateX(22deg) rotateY(65deg) rotateZ(360deg); }
}
@keyframes h3d-float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-6px,-10px) scale(1.1); }
  66% { transform: translate(5px,-5px) scale(0.94); }
}
@keyframes h3d-float2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(8px,-14px); }
}
@keyframes h3d-float3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-4px,7px) scale(1.2); }
}
@keyframes h3d-gridrot {
  from { transform: rotateZ(0deg); }
  to   { transform: rotateZ(360deg); }
}

/* ─── Card 3D tilt shine layer ─────────────────────────── */
.f-card, .opco-card, .stat-card, .review-card {
  position: relative;
}
.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 1;
}
.f-card > *:not(.tilt-shine),
.opco-card > *:not(.tilt-shine),
.stat-card > *:not(.tilt-shine),
.review-card > *:not(.tilt-shine) {
  position: relative;
  z-index: 2;
}

/* ─── Premium 3D depth & ambient effects ─────────────── */

/* Richer shadow on card hover (depth illusion) */
@media (hover: hover) and (pointer: fine) {
  .f-card:hover {
    box-shadow:
      0 22px 48px rgba(0,0,0,0.10),
      0 8px 16px rgba(37,99,235,0.07);
  }
  .opco-card:hover {
    box-shadow:
      0 18px 36px rgba(37,99,235,0.10),
      0 6px 14px rgba(0,0,0,0.06);
  }
  .review-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.11);
  }
  /* OPCO logo ring on card hover */
  .opco-card:hover .opco-logo-box {
    box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
  }
}

/* Gradient underline accent on section titles */
.section-title {
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue, #2563EB) 0%, rgba(37,99,235,0) 100%);
  margin: 10px auto 0;
}

/* Floating ambient glow orbs — stat section */
@keyframes orb-drift-a {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(18px, -24px) scale(1.12); }
}
@keyframes orb-drift-b {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(-14px, 18px); }
}

/* Why cards get a border-glow as they're revealed */
@keyframes why-card-glow {
  from { box-shadow: 0 0 0 0 rgba(37,99,235,0.18); }
  to   { box-shadow: 0 0 0 4px rgba(37,99,235,0); }
}
.why-card {
  animation: none;
}

/* OPCO logo box: smooth size & inner shadow */
.opco-logo-box {
  transition: box-shadow 250ms cubic-bezier(0.23,1,0.32,1);
}

/* ─── Stat section keyframes ──────────────────────────── */
@keyframes stats-bg-a {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.25); }
}
@keyframes stats-bg-b {
  from { transform: translate(0,0); }
  to   { transform: translate(-20px, -30px) scale(1.18); }
}
@keyframes stat-orbit-a {
  from { transform: rotateX(65deg) rotateZ(0deg); }
  to   { transform: rotateX(65deg) rotateZ(360deg); }
}
@keyframes stat-orbit-b {
  from { transform: rotateX(78deg) rotateY(18deg) rotateZ(0deg); }
  to   { transform: rotateX(78deg) rotateY(18deg) rotateZ(360deg); }
}
@keyframes stat-core-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%       { transform: scale(1.08); filter: brightness(1.15); }
}

/* ─── Prefers-reduced-motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
