:root {
  --sf: 'Space Grotesk', sans-serif;
  --bf: 'Inter', sans-serif;
  --deep-sea: #0a1628;
  --purple: #8b5cf6;
  --blue: #00adff;
  --mint: #00d9c0;
  --white: #ffffff;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;

  /* HubSpot form theming (site-wide) */
  --hsf-global__font-family: 'Inter', sans-serif;
  --hsf-global__font-size: 14px;
  --hsf-global__color: #d1d5db;
  --hsf-global-error__color: #f87171;
  --hsf-background__background-color: transparent;
  --hsf-background__border-color: transparent;
  --hsf-background__border-radius: 0px;
  --hsf-background__padding: 0px;
  --hsf-field-input__background-color: rgba(255, 255, 255, 0.1);
  --hsf-field-input__border-color: rgba(255, 255, 255, 0.2);
  --hsf-field-input__border-radius: 8px;
  --hsf-field-input__color: #ffffff;
  --hsf-field-input__font-size: 16px;
  --hsf-field-input__placeholder-color: #9ca3af;
  --hsf-field-label__color: #d1d5db;
  --hsf-field-label__font-size: 14px;
  --hsf-button__background-color: rgba(139, 92, 246, 0.8);
  --hsf-button__color: #ffffff;
  --hsf-button__border-color: rgba(139, 92, 246, 0.5);
  --hsf-button__border-radius: 8px;
  --hsf-button__font-family: 'Inter', sans-serif;
  --hsf-button__font-size: 14px;
  --hsf-button__font-weight: 500;
  --hsf-button--hover__background-color: #8b5cf6;
  --hsf-button--hover__color: #ffffff;
  --hsf-button--hover__border-color: #8b5cf6;
  --hsf-legal-consent__color: #9ca3af;
  --hsf-legal-consent__font-size: 12px;
  --hsf-rich-text__color: #9ca3af;
  --hsf-rich-text__font-size: 12px;
  --hsf-row__vertical-spacing: 16px;
  --hsf-module__vertical-spacing: 12px;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--bf);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-300);
  background: linear-gradient(135deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.hero-awards{
    font-family:var(--sf);font-size:3rem;font-weight:700;margin-bottom:4px;
}
/* ============================================================
   2. SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 24px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  font-weight: 500;
  z-index: 100;
  transition: top 0.3s;
  font-family: var(--bf);
  font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   3. FOCUS & REDUCED MOTION
   ============================================================ */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   4. TAILWIND UTILITY CLASSES
   ============================================================ */
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }
.text-gray-200 { color: var(--gray-200); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-24 { padding-bottom: 6rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.italic { font-style: italic; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.inline-flex { display: inline-flex; }
.transition-colors { transition: color 0.3s; }

/* ============================================================
   5. GRADIENT TEXT
   ============================================================ */
.grad-text {
  color: #8b5cf6; /* solid fallback */
  background: linear-gradient(90deg, #8b5cf6 0%, #00adff 50%, #00d9c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-stat {
  color: #8b5cf6;
  background: linear-gradient(135deg, #8b5cf6 0%, #8b5cf6 30%, #00adff 60%, #00d9c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.6)) drop-shadow(0 0 24px rgba(139,92,246,0.4));
}

/* ============================================================
   6. AMBIENT BACKGROUND GLOWS
   ============================================================ */
.ambient-glow-1 {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(139,92,246,0.06) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}
.ambient-glow-2 {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 70%, rgba(139,92,246,0.04) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}

/* ============================================================
   7. NEURAL CANVAS
   ============================================================ */
#neuralCanvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
/* --- Primary --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--bf);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(139,92,246,0.8);
  border: 1px solid rgba(139,92,246,0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.3);
}
.btn-primary .btn-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #8b5cf6, #00adff);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover .btn-fill { transform: translateX(0); }
.btn-primary .btn-text,
.btn-primary .btn-arrow { position: relative; z-index: 1; }
.btn-primary .btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* --- Secondary --- */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--bf);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  overflow: visible;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-secondary .btn-border-static {
  position: absolute; inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: opacity 0.3s;
  pointer-events: none;
}
.btn-secondary:hover .btn-border-static { opacity: 0; }
.btn-secondary .border-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.btn-secondary .border-svg rect {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.6s ease-out;
}
.btn-secondary:hover .border-svg rect { stroke-dashoffset: 0; }
.btn-secondary .btn-glow {
  position: absolute; inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.btn-secondary:hover .btn-glow { opacity: 1; }
.btn-secondary .btn-text,
.btn-secondary .btn-arrow { position: relative; z-index: 1; }
.btn-secondary .btn-arrow { transition: transform 0.3s; }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   9. HERO LAYOUT
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: center;
}
.hero-section{
    padding-top:12rem;padding-bottom:10rem;
}
.hero-grid .hero-text p { max-width: 26em; }
@media (min-width: 1200px) {
  .px-6 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .hero-section .px-6 { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 768px) {
    .py-20 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
    .hero-section { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}
@media (max-width: 900px) {
  .hero-section { padding-top: 8rem !important; padding-bottom: 5rem !important; }
}
@media (max-width: 500px) {
  .hero-section { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}

/* ============================================================
   10. AWARDS GRID
   ============================================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  padding: 0; margin: 0;
}
@media (max-width: 1100px) { .awards-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 700px) { .awards-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 400px) { .awards-grid { grid-template-columns: 1fr !important; } }

/* --- Award Card --- */
.award-card {
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  list-style: none;
  opacity: 0;
  transform: translateY(20px);
}
.award-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.award-card:hover, .award-card:focus-within {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 15px rgba(139,92,246,0.1);
  transform: translateY(-4px);
}
.award-card.visible:hover, .award-card.visible:focus-within {
  transform: translateY(-4px);
}

/* Shimmer */
.shimmer-effect {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(255,255,255,0.04) 50%, transparent 55%);
  animation: shimmer 25s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .shimmer-effect { animation: none; } }

/* Hover glow */
.award-card .card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.1) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.award-card:hover .card-glow,
.award-card:focus-within .card-glow { opacity: 1; }

/* Award provider name — compliant purple accent (§1 Cross-Page Spec) */
.text-purple-accent { color: #a78bfa; } /* ~6.2:1 on #0a1628 — passes AA & AAA */

/* Badge fades out on hover */
.award-badge {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.award-card:hover .award-badge,
.award-card:focus-within .award-badge {
  opacity: 0;
}

/* Default / hover state toggle */
.award-card .state-default {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.award-card .state-hover {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(calc(-50% + 8px));
  padding: 0 0.75rem;
}
.award-card:hover .state-default,
.award-card:focus-within .state-default {
  opacity: 0;
  transform: translateY(-8px);
}
.award-card:hover .state-hover,
.award-card:focus-within .state-hover {
  opacity: 1;
  transform: translateY(-50%);
}

/* Award badge image */
.award-badge {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.award-badge img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ============================================================
   11. CERTIFICATIONS GRID
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0; margin: 0;
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 500px) { .cert-grid { grid-template-columns: 1fr !important; } }

.cert-card {
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  backdrop-filter: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  position: relative;
  overflow: hidden;
}
.cert-card:hover, .cert-card:focus-within {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,92,246,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 20px rgba(139,92,246,0.08);
  transform: translateY(-2px);
}
.cert-card .card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.cert-card:hover .card-glow,
.cert-card:focus-within .card-glow { opacity: 1; }
.cert-card .cert-card-inner {
  position: relative;
  z-index: 1;
}
.cert-icon-wrap {
  width: 100%; height: 110px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-icon-wrap .cert-icon {
  width: 6rem; height: 6rem;
  background: linear-gradient(135deg, #8b5cf6, #00adff, #00d9c0);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* ============================================================
   12. STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 500px) { .stats-grid { grid-template-columns: 1fr !important; } }

/* ============================================================
   13. TESTIMONIAL QUOTE MARKS
   ============================================================ */
.quote-mark {
  opacity: 0.2;
}
@media (max-width: 640px) { .quote-mark { display: none; } }

/* Testimonial author — row on desktop, column on mobile */
.testimonial-author { flex-direction: column; }
@media (min-width: 640px) { .testimonial-author { flex-direction: row; } }

/* ============================================================
   14. MD RESPONSIVE HELPERS
   ============================================================ */
@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (max-width: 767px) {
  .sm\:flex-row { flex-direction: column; }
  .sm\:ml-4 { margin-left: 0; }
  .hero-awards{
    font-size:2.25rem;line-height:2.25rem; margin-bottom: 1rem;
}
}
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:ml-4 { margin-left: 1rem; }
}