

/* =========================================
   Theme Stylesheet for TestKnot
   ========================================= */

:root {
  /* ========================================
     Core Brand Colors
     ======================================== */

  --color-navy: #2D3E78;
  --color-navy-dark: #1E2B55;
  --color-navy-light: #3D5198;

  --color-sky-blue: #609ACD;
  --color-sky-dark: #3E7AB0;
  --color-sky-light: #8AB9DE;

  --color-coral: #C34A36;
  --color-coral-dark: #9E3324;
  --color-coral-light: #FF8066;

  --color-plum: #4B4453;
  --color-plum-dark: #302838;
  --color-plum-light: #B0A8B9;


  /* ========================================
     Neutral Scale
     ======================================== */

  --color-neutral-900: #302838;
  --color-neutral-700: #4B4453;
  --color-neutral-500: #7A7285;
  --color-neutral-300: #B0A8B9;
  --color-neutral-100: #EAE8ED;
  --color-neutral-50: #F7F6F9;

  --color-white: #FFFFFF;


  /* ========================================
     RGB Colors
     Required for opacity utilities
     Example: border-white/30
     ======================================== */

  --color-white-rgb: 255 255 255;

  --color-navy-rgb: 45 62 120;
  --color-sky-blue-rgb: 96 154 205;
  --color-coral-rgb: 195 74 54;
  --color-plum-rgb: 75 68 83;


  /* ========================================
     Semantic Colors
     ======================================== */

  --color-primary: var(--color-navy);
  --color-primary-dark: var(--color-navy-dark);
  --color-primary-light: var(--color-navy-light);

  --color-secondary: var(--color-sky-blue);
  --color-secondary-dark: var(--color-sky-dark);
  --color-secondary-light: var(--color-sky-light);


  /* ========================================
     Utility Colors
     ======================================== */

  --color-accent: var(--color-coral);
  --color-warning: #F59E0B;
  --color-danger: #DC2626;
  --color-wizard-bg: var(--color-neutral-50);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-neutral-50);
  color: var(--color-plum);
}

.font-display {
  font-family: 'Poppins', sans-serif;
}

/* Guide caps heading weight at 700 -- never 800/900.
   Overrides Tailwind's font-black/font-extrabold if used in markup. */
h1, h2, h3, h4, .font-display {
  font-weight: 700;
}

/* Global line height adjustment for h2 headers across the site */
h2 {
  line-height: 1.15 !important;
}

/* Glass card */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Console backgrounds across use-case logs and terminals */
.console-bg {
  background-color: #0f172a; /* Slate 900 */
  background-image: radial-gradient(circle at top right, rgba(96, 154, 205, 0.09), transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Custom minimal scrollbar for code blocks & log consoles */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 99px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Gradient text -- FIXED: was a solid color, not a gradient */
.gradient-text {
  background: var(--color-navy-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bg {
  /* background: linear-gradient(160deg, #0f172a 0%, #1e2d5a 40%, var(--color-primary) 70%, var(--color-secondary) 100%); */
   background: var(--color-primary);
}

.hero-gradient {
  background-color: var(--color-neutral-50);
}

/* Card hover animation */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(45,62,120,0.12);
}

/* FAQs */
.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}
summary::-webkit-details-marker {
  display: none;
}

/* Scrollbar customization */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-neutral-100); }
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 3px;
}

/* Backdrop decoration radial shapes & grids */
.radial-sky {
  background: radial-gradient(circle, var(--color-secondary), transparent);
}
.radial-indigo {
  background: radial-gradient(circle, var(--color-secondary-light), transparent);
}
.grid-dots {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.grid-dots-dark {
  background-image: radial-gradient(rgba(48,40,56,0.04) 1px, transparent 1px); /* plum-dark tint, not raw slate */
  background-size: 40px 40px;
}
.hero-pill {
  background: rgba(96,154,205,0.2);
  border: 1px solid rgba(96,154,205,0.4);
  color: var(--color-secondary-light);
}
.hero-pill-dark {
  background: rgba(45,62,120,0.06);
  border: 1px solid rgba(45,62,120,0.12);
  color: var(--color-primary);
}

/* QA Guides covers */
.cover-api {
  background: linear-gradient(135deg, var(--color-plum-dark) 0%, #302838 100%);
}
.cover-playwright {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Explicit height to ensure <a> and <button> render with identical height */
  min-height: 40px;
  min-width: 80px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 2px solid transparent;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 62, 120, 0.16);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background-color: var(--color-sky-blue);
  color: var(--color-white);
}
.btn-secondary:hover {
  background-color: var(--color-sky-dark); /* was hardcoded #4A81B3, off-palette */
  border-color: var(--color-sky-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 154, 205, 0.16);
}
.btn-secondary:active { transform: translateY(0); }

.btn-outlined {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outlined:hover {
  background-color: rgba(45, 62, 120, 0.06);
  transform: translateY(-1px);
}
.btn-outlined:active { transform: translateY(0); }

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-outline-white:active { transform: translateY(0); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  border: none;
  color: var(--color-sky-blue);
  padding: 4px 8px;
  min-height: auto;
  min-width: auto;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.btn-link:hover {
  color: var(--color-sky-dark); /* was hardcoded #4A81B3 */
  gap: 10px;
}

/* BADGES / TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}
.tag-active   { background: rgba(96,154,205,0.12);  color: var(--color-sky-dark); }
.tag-progress { background: rgba(45,62,120,0.10);   color: var(--color-primary); }
.tag-coral    { background: rgba(195,74,54,0.12);   color: var(--color-coral-dark); }
.tag-plum     { background: rgba(75,68,83,0.10);    color: var(--color-plum); }

.neutral-bg{
  background-color: var(--color-neutral-50);
}

.section-alt {
  background-color: var(--color-white);
 
}
#features{
   background-color: var(--color-neutral-50);
}

/* Eyebrow labels above section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow-navy  { background: rgba(45,62,120,0.08); color: var(--color-navy); }
.eyebrow-sky   { background: rgba(96,154,205,0.12); color: var(--color-sky-dark); }
.eyebrow-coral { background: rgba(195,74,54,0.10); color: var(--color-coral-dark); }

.section-title { color: var(--color-neutral-900); }
.section-lede  { color: var(--color-neutral-500); }

/* Logo strip */
.logo-strip { background: var(--color-white); border-bottom: 1px solid var(--color-neutral-100); }
.logo-item  { color: var(--color-neutral-300); transition: color 0.2s ease; }
.logo-item:hover { color: var(--color-plum); }

/* Stat cards (Benefits panel) */
.stat-card { background: var(--color-white); border: 1px solid var(--color-neutral-100); }
.stat-figure { color: var(--color-navy); }
.stat-label { color: var(--color-neutral-900); }
.stat-sub { color: var(--color-neutral-300); }

.stat-card-coral { background: var(--color-coral); }
.stat-card-coral .stat-figure,
.stat-card-coral .stat-label { color: var(--color-white); }
.stat-card-coral .stat-sub { color: rgba(255,255,255,0.65); }

.stat-card-navy { background: var(--color-navy); }
.stat-card-navy .stat-figure,
.stat-card-navy .stat-label { color: var(--color-white); }
.stat-card-navy .stat-sub { color: rgba(255,255,255,0.6); }

/* Feature icon chips — each takes a different brand hue so the
   full four-colour palette actually shows up somewhere besides tags */
.icon-chip { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-chip-navy  { background: rgba(45,62,120,0.09);  color: var(--color-navy); }
.icon-chip-sky   { background: rgba(96,154,205,0.14); color: var(--color-sky-dark); }
.icon-chip-coral { background: rgba(195,74,54,0.10);  color: var(--color-coral-dark); }
.icon-chip-plum  { background: rgba(75,68,83,0.09);   color: var(--color-plum); }

.feature-card { background: var(--color-white); border: 1px solid var(--color-neutral-100); }
.feature-card:hover { border-color: rgba(45,62,120,0.2); }
.feature-title { color: var(--color-neutral-900); }
.feature-copy { color: var(--color-neutral-500); }

/* Analytics preview window */
.window-chrome { background: var(--color-neutral-50); border-bottom: 1px solid var(--color-neutral-100); }
.window-url { background: var(--color-white); color: var(--color-neutral-300); border: 1px solid var(--color-neutral-100); }
.metric-tile { background: var(--color-neutral-50); border: 1px solid var(--color-neutral-100); }
.metric-label { color: var(--color-neutral-500); }
.metric-value { color: var(--color-neutral-900); }
.metric-up { color: var(--color-sky-dark); }
.metric-flag { color: var(--color-coral); }
.bar-fill { background: var(--color-navy); }
.bar-fill-alert { background: var(--color-coral); }
.track { background: var(--color-neutral-100); }

/* Testimonial / trust band */
.trust-band { background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%); position: relative; overflow: hidden; }
.trust-band::before {
  content: '\201C';
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 220px;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}
.trust-copy { color: rgba(255,255,255,0.82); }

/* Contact section */
.contact-card { background: var(--color-white); border: 1px solid var(--color-neutral-100); }
.field-label { color: var(--color-neutral-500); }
.field-input { border: 1px solid var(--color-neutral-100); color: var(--color-neutral-900); }
.field-input::placeholder { color: var(--color-neutral-300); }
.field-input:focus { border-color: var(--color-navy); box-shadow: 0 0 0 3px rgba(45,62,120,0.10); }
.contact-note { color: var(--color-neutral-300); }
.contact-info-card { background: var(--color-neutral-50); border: 1px solid var(--color-neutral-100); }

/* Optimize vertical spacing between sections on laptops and desktops to prevent excessive gaps */
@media (min-width: 1024px) {
  section.py-24 {
    padding-top: 4.5rem !important;    /* 72px instead of 96px */
    padding-bottom: 4.5rem !important; /* 72px instead of 96px */
  }
  section.py-20 {
    padding-top: 4rem !important;      /* 64px instead of 80px */
    padding-bottom: 4rem !important;   /* 64px instead of 80px */
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  section.py-24 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  section.py-20 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* --- Global Section Content Standardization (Headings, Paragraphs & Buttons) --- */

/* 1. Section Headings (h2) */
section h2, 
.section-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important; /* Brand guide cap */
  color: var(--color-navy-dark) !important; /* Deep corporate brand navy blue */
  font-size: 1.875rem !important; /* 30px on mobile */
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important; /* Standardized bottom margin (mb-6) */
}
@media (min-width: 768px) {
  section h2,
  .section-title {
    font-size: 2.375rem !important; /* Standardized ~38px on tablet/desktop, slightly increased */
  }
}

/* Ensure h2 inside dark sections (like trust band or CTAs) are white */
section.trust-band h2,
section.bg-gradient-to-br h2,
section.hero-bg h2,
.bg-gradient-to-br h2,
.hero-bg h2,
section h2.text-white {
  color: var(--color-white) !important;
}

/* 2. Section Description Paragraphs (p) */
section p.text-slate-500,
section p.text-neutral-500,
section p.text-slate-650,
section p.text-slate-600,
.section-lede {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.875rem !important; /* 14px on mobile */
  line-height: 1.625 !important; /* leading-relaxed */
  color: #64748b !important; /* Standard Slate-500 */
  margin-bottom: 1.5rem; 
}
@media (min-width: 768px) {
  section p.text-slate-500,
  section p.text-neutral-500,
  section p.text-slate-650,
  section p.text-slate-600,
  .section-lede {
    font-size: 1rem !important; /* 16px on tablet/desktop */
  }
}

/* Ensure p inside dark sections (like trust band or CTAs) are white/70 */
section.trust-band p,
section.bg-gradient-to-br p,
section.hero-bg p,
.bg-gradient-to-br p,
.hero-bg p,
section p.text-white\/70,
section p.text-white\/80,
section p.text-white\/85 {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 3. Section Buttons */
/* Make sure all buttons inside sections share the exact same height and border-radius */
section .btn,
.btn {
  height: 44px !important; /* Standardized height */
  min-height: 44px !important;
  border-radius: 12px !important; /* Standardized border-radius (rounded-xl) */
  font-size: 0.875rem !important; /* 14px (text-sm) */
  font-weight: 600 !important;
  padding: 10px 24px !important; /* Standardized padding */
}


.blog section h2,
.blog .section-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
   font-size: 22px !important; 
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important; 
}
@media (min-width: 768px) {
  .blog section h2,
  .blog .section-title {
    font-size: 28px !important;
  }
}
.blog p{
 font-size: 0.875rem;
}
@media (min-width: 768px) {
.blog p{
  font-size: 1rem;
}
}


 .card-hover-lift {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .card-hover-lift:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 35px -10px rgba(45, 62, 120, 0.12);
    }
    .badge-pill {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 9999px;
    }

/* ═══════════════════════════════════════════════════════════ GLOBAL ANIMATION SUITE */

/* --- 1. Keyframes --- */
@keyframes tkFadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tkFadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -22px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tkFadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-36px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tkFadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tkScaleIn {
  0% {
    opacity: 0;
    transform: scale3d(0.93, 0.93, 1);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tkFloatSlow {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes tkPulseSoft {
  0%, 100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.44;
  }
}

/* --- 2. Hero Section Entrance Classes --- */
.hero-badge-anim {
  animation: tkFadeInDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-anim {
  animation: tkFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-subtitle-anim {
  animation: tkFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-cta-anim {
  animation: tkFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-mockup-anim {
  animation: tkScaleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.ambient-orb-1 {
  animation: tkFloatSlow 10s ease-in-out infinite, tkPulseSoft 8s ease-in-out infinite !important;
}

.ambient-orb-2 {
  animation: tkFloatSlow 13s ease-in-out 3s infinite reverse, tkPulseSoft 9s ease-in-out 2s infinite !important;
}

/* --- 3. Scroll Reveal Engine --- */
.tk-reveal-init {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.tk-reveal-init.tk-reveal-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Variants */
.tk-reveal-init.tk-reveal-left {
  transform: translate3d(-40px, 0, 0);
}
.tk-reveal-init.tk-reveal-left.tk-reveal-visible {
  transform: translate3d(0, 0, 0) !important;
}

.tk-reveal-init.tk-reveal-right {
  transform: translate3d(40px, 0, 0);
}
.tk-reveal-init.tk-reveal-right.tk-reveal-visible {
  transform: translate3d(0, 0, 0) !important;
}

.tk-reveal-init.tk-reveal-scale {
  transform: scale3d(0.92, 0.92, 1);
}
.tk-reveal-init.tk-reveal-scale.tk-reveal-visible {
  transform: scale3d(1, 1, 1) !important;
}

/* Stagger Delays for Grid Cascades */
.tk-delay-1 { transition-delay: 80ms !important; }
.tk-delay-2 { transition-delay: 160ms !important; }
.tk-delay-3 { transition-delay: 240ms !important; }
.tk-delay-4 { transition-delay: 320ms !important; }
.tk-delay-5 { transition-delay: 400ms !important; }
.tk-delay-6 { transition-delay: 480ms !important; }

/* --- 4. Micro-Interactions & Hover Polish --- */
.card-hover,
.card-hover-lift,
.pricing-popular,
.post-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.card-hover:hover,
.card-hover-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px -10px rgba(45, 62, 120, 0.16) !important;
}

/* Button hover feedback */
.btn {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Icon chips subtle pop on hover */
.group:hover .icon-chip,
.group:hover .icon-chip-sky,
.group:hover .icon-chip-navy {
  transform: scale(1.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 5. Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .tk-reveal-init {
    opacity: 1 !important;
    transform: none !important;
  }
}
section h2, #the-workflow h2
.section-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important; 
  color: var(--color-navy-dark) !important; 
  font-size: 1.875rem !important; 
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important; 
}
@media (min-width: 768px) {
  section h2,
  .section-title {
    font-size: 2.375rem !important; 
  }
}

    .custom-gradient-bg {
      background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-primary-light) 100%);
    }

    .glow-effect:hover {
      box-shadow: 0 0 30px rgba(96, 154, 205, 0.2);
    }

    .hover-scale {
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .hover-scale:hover {
      transform: scale(1.03);
    }

.legal-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 1rem;
      padding: 2rem;
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .legal-card:hover {
      border-color: #cbd5e1;
      box-shadow: 0 10px 25px -5px rgba(45, 62, 120, 0.05);
    }
    .toc-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 0.75rem;
      border-radius: 0.5rem;
      font-size: 0.8125rem;
      color: #64748b;
      transition: all 0.15s ease;
      text-decoration: none;
      border-left: 2px solid transparent;
    }
    .toc-link:hover {
      color: var(--color-primary);
      background-color: #f1f5f9;
      border-left-color: var(--color-secondary);
    }
    .toc-link.active {
      color: var(--color-primary);
      font-weight: 600;
      background-color: rgba(96, 154, 205, 0.1);
      border-left-color: var(--color-primary);
    }
    .section-anchor {
      scroll-margin-top: 100px;
    }
   
   
    .section-anchor {
      scroll-margin-top: 100px;
    }

    /* Styled policy tables */
    .policy-table-wrapper {
      width: 100%;
      overflow-x: auto;
      border-radius: 0.75rem;
      border: 1px solid #e2e8f0;
      margin-top: 0.75rem;
      margin-bottom: 0.75rem;
    }
    .policy-table {
      width: 100%;
      text-align: left;
      border-collapse: collapse;
      font-size: 0.875rem;
    }
    .policy-table th {
      background-color: #f8fafc;
      color: var(--color-navy-dark);
      font-weight: 600;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #e2e8f0;
      white-space: nowrap;
    }
    .policy-table td {
      padding: 0.875rem 1rem;
      border-bottom: 1px solid #f1f5f9;
      color: #475569;
      vertical-align: top;
    }
    .policy-table tr:last-child td {
      border-bottom: none;
    }
    .policy-table tr:hover td {
      background-color: #f8fafc;
    }
     .custom-gradient-bg {
      background: linear-gradient(135deg, #0F172A 0%, #1E2B55 50%, #2D3E78 100%);
    }

   
     /* Custom animation utility enhancements */
    .glow-effect:hover {
      box-shadow: 0 0 30px rgba(96, 154, 205, 0.25);
    }

    .custom-gradient-bg {
      background: linear-gradient(135deg, #0F172A 0%, #1E2B55 50%, #2D3E78 100%);
    }

    .hover-scale {
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .hover-scale:hover {
      transform: scale(1.03);
    }
    .certificate-blk img{
     width: 80px;
     margin: 0 auto;
    }

    .certificate-blk1 img{
     width: 160px;
     margin: 0 auto;
    }

/* ═══════════════════════════════════════════════════════════ LIVE INDICATOR ANIMATION */
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@-webkit-keyframes ping {
  0% {
    -webkit-transform: scale(1);
    opacity: 0.85;
  }
  75%, 100% {
    -webkit-transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes live-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 10px 3px rgba(255, 181, 71, 0.45);
  }
}

@-webkit-keyframes live-glow {
  0%, 100% {
    -webkit-transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6);
  }
  50% {
    -webkit-transform: scale(1.06);
    box-shadow: 0 0 10px 3px rgba(255, 181, 71, 0.45);
  }
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite !important;
  -webkit-animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite !important;
  will-change: transform, opacity;
}

.live-dot-glow {
  animation: live-glow 2s ease-in-out infinite !important;
  -webkit-animation: live-glow 2s ease-in-out infinite !important;
  will-change: transform, box-shadow;
}
   