/* ============================================================
   ANDY ALPHA WILLIAMS PT — Global Stylesheet
   Brand: Deep Navy / Metallic Cyan / Antique Cream
   Fonts: Oswald (display) + Roboto (body)
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Brand colours */
  --accent-color:       #41C4EB;           /* Metallic Cyan — buttons, links, highlights */
  --accent-color-rgb:   65, 196, 235;       /* For rgba() usage */
  --accent-hover:       #28aed4;           /* Slightly darker on hover */

  --bg-primary:         #0D1B2A;           /* Deep Sea Blue — main background */
  --bg-secondary:       #111E2E;           /* Panel / card background */
  --bg-tertiary:        #162436;           /* Slightly lighter for nested cards */

  --text-primary:       #F5F0E5;           /* Antique Cream — headings & primary text */
  --text-secondary:     #80BEC5;           /* Silver Steel — body / muted text */
  --text-muted:         #567a88;           /* Dimmed text, placeholders */

  --border-color:       #1E3552;           /* Card and section borders */
  --border-strong:      #2a4c68;           /* Stronger border for emphasis */

  /* Typography */
  --font-hero:          'Oswald', sans-serif;
  --font-main:          'Roboto', sans-serif;

  /* Layout */
  --max-width:          1200px;
  --section-pad:        6rem 0;
  --navbar-height:      72px;

  /* Radius */
  --radius-sm:          4px;
  --radius-md:          8px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad);
}

.text-accent {
  color: var(--accent-color);
}

.title-xl {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ── Logo neon sweep animation ─────────────────────────────── */
@keyframes logo-neon-sweep {
  from { background-position: -10% center; }
  to   { background-position: 110% center; }
}

/* ── Nav glow animation ─────────────────────────────────────── */
@keyframes nav-glow {
  0%, 100% {
    color: var(--text-secondary);
    text-shadow: none;
  }
  50% {
    color: #ffffff;
    text-shadow:
      0 0 6px  rgba(var(--accent-color-rgb), 1),
      0 0 16px rgba(var(--accent-color-rgb), 0.9),
      0 0 36px rgba(var(--accent-color-rgb), 0.7),
      0 0 70px rgba(var(--accent-color-rgb), 0.4);
  }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.98);
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.nav-logo-mark {
  display: inline-block;
}

.nav-logo span {
  /* Narrow hotspot: pure white core → cyan → fades back to dim cyan base */
  background: linear-gradient(
    90deg,
    #5bd4f0       0%,
    #5bd4f0      38%,
    #a8eeff      44%,
    #ffffff      50%,
    #a8eeff      56%,
    #5bd4f0      62%,
    #5bd4f0     100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Always-on outer neon halo */
  filter:
    drop-shadow(0 0 4px  rgba(var(--accent-color-rgb), 0.7))
    drop-shadow(0 0 14px rgba(var(--accent-color-rgb), 0.45));
  /* alternate = seamless left→right→left with no jump at loop point */
  animation: logo-neon-sweep 2.4s ease-in-out infinite alternate;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: none;
  position: relative;
  padding-bottom: 2px;
  animation: nav-glow 2.8s ease-in-out infinite;
}

.nav-links li:nth-child(1) a { animation-delay: 0s; }
.nav-links li:nth-child(2) a { animation-delay: 0.45s; }
.nav-links li:nth-child(3) a { animation-delay: 0.9s; }
.nav-links li:nth-child(4) a { animation-delay: 1.35s; }
.nav-links li:nth-child(5) a { animation-delay: 1.8s; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  animation: none;
  text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 1),
               0 0 28px rgba(var(--accent-color-rgb), 0.6),
               0 0 55px rgba(var(--accent-color-rgb), 0.25);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.btn-login:hover {
  color: var(--text-primary);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-lines span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ── Mobile Drawer ──────────────────────────────────────────── */
.mobile-nav-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-primary);
  padding: 5rem 2.5rem 2.5rem;
  gap: 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.38s linear;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-drawer a {
  font-family: var(--font-hero);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  transition: color 0.2s, padding-left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-drawer a:hover {
  color: var(--accent-color);
  padding-left: 0.75rem;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent-color);
  color: #0D1B2A;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-color-rgb), 0.35);
}

.btn-primary:hover::before {
  animation: btn-shimmer 0.55s ease forwards;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-color);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(65, 196, 235, 0.1);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--accent-color-rgb), 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-large {
  display: block;
  width: 100%;
  background: var(--accent-color);
  color: #0D1B2A;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-large:hover {
  background: var(--accent-hover);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--navbar-height) + 2rem) 2rem 4rem;
  background:
    linear-gradient(to bottom, rgba(13,27,42,0.96) 0%, rgba(13,27,42,1.0) 100%),
    url('/assets/gym_cable.png') center/cover no-repeat;
  background-color: var(--bg-primary);
  position: relative;
  background-position: calc(50% + var(--px, 0px)) calc(50% + var(--py, 0px));
  will-change: background-position;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-logo-mark {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-logo-mark img {
  pointer-events: none;
  display: block;
  width: clamp(240px, 30vw, 420px);
  height: auto;
}

.hero-content h1 {
  font-family: var(--font-hero);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

/* Hero entrance animation */
.hero-animate {
  animation: hero-fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-animate .title-xl {
  animation: hero-fade-up 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-animate p {
  animation: hero-fade-up 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-animate div {
  animation: hero-fade-up 1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card-wide {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.card-wide:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 40px rgba(var(--accent-color-rgb), 0.1);
}

/* ── Shared CTA Panel ───────────────────────────────────────── */
.shared-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.shared-cta-panel.visible {
  animation: cta-glow 3s ease-in-out 0.6s infinite;
}

.shared-cta-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.shared-cta-panel h2 {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.shared-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label,
label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select,
input,
textarea,
select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
input:focus,
textarea:focus {
  border-color: var(--accent-color);
}

.form-group input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Contact Channel Cards ──────────────────────────────────── */
.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--bg-secondary);
}

.channel-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-content > div:first-child {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

/* ── Grid Helpers ───────────────────────────────────────────── */
.responsive-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.responsive-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.responsive-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Footer link accent hover ───────────────────────────────── */
.footer-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s, letter-spacing 0.2s;
}

.footer-links a:hover {
  color: var(--accent-color);
  letter-spacing: 0.12em;
}

/* ── ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */

/* Scroll reveal system */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.28s; }
.stagger-4 { transition-delay: 0.42s; }

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Scale-in reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Keyframes */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btn-shimmer {
  from { left: -80%; }
  to   { left: 180%; }
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0); }
  50%       { box-shadow: 0 0 28px 2px rgba(var(--accent-color-rgb), 0.12); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes accent-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

/* Floating helper for images */
.float-anim {
  animation: float-y 5s ease-in-out infinite;
}

/* Accent line under headings */
.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 1.25rem 0;
  transform-origin: left;
}

.reveal .accent-line {
  transform: scaleX(0);
  transition: transform 0.55s 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible .accent-line {
  transform: scaleX(1);
}

/* Glowing accent text pulse */
.text-accent-glow {
  color: var(--accent-color);
  animation: accent-pulse 3s ease-in-out infinite;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .responsive-split {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .responsive-three {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 0;
  }

  .navbar {
    padding: 0 1.5rem;
  }

  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .title-xl {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .responsive-two,
  .responsive-three {
    grid-template-columns: 1fr !important;
  }

  .responsive-split {
    gap: 2rem !important;
  }

  .card-wide,
  .card-glow {
    padding: 1.75rem;
  }

  .shared-cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    display: none;
  }

  .hero-logo-mark img {
    width: clamp(200px, 70vw, 360px);
    height: auto;
  }
}

/* ── Portal / Admin pages ───────────────────────────────────── */
.portal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(var(--accent-color-rgb), 0.08);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  color: var(--accent-color);
}

.main-content {
  padding: 2.5rem 3rem;
  overflow-y: auto;
}

/* ── Tables ─────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

tr:last-child td {
  border-bottom: none;
}

/* ── Badges / Tags ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.badge-success { background: rgba(0, 200, 110, 0.12); color: #00c86e; }
.badge-warning { background: rgba(255, 180, 0, 0.12); color: #ffb400; }
.badge-error   { background: rgba(255, 60, 60, 0.12);  color: #ff3c3c; }
.badge-neutral { background: rgba(var(--accent-color-rgb), 0.08); color: var(--accent-color); }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* =====================================================================
   INTERACTIVE & ANIMATED ENHANCEMENTS v2
   ===================================================================== */

/* ── Scroll progress bar ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-color), #28aed4, var(--accent-color));
  background-size: 200% auto;
  z-index: 9999;
  animation: progress-shimmer 2.5s linear infinite;
  box-shadow: 0 0 10px rgba(65, 196, 235, 0.65);
  border-radius: 0 2px 2px 0;
}

@keyframes progress-shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ── Page load transition ────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9998;
  pointer-events: none;
  animation: page-fade-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-fade-in {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ── Cursor spotlight (desktop only) ─────────────────────────────── */
.cursor-spotlight {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 196, 235, 0.055) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: opacity 0.4s ease;
}

/* ── Magnetic button ─────────────────────────────────────────────── */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease,
              box-shadow 0.25s ease !important;
}

/* ── Glow card ───────────────────────────────────────────────────── */
.card-glow {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.card-glow:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 196, 235, 0.5) !important;
  box-shadow:
    0 18px 48px rgba(65, 196, 235, 0.13),
    0 0 0 1px rgba(65, 196, 235, 0.1);
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% -10%, rgba(65, 196, 235, 0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 1;
}

/* ── Stats strip ─────────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  margin: 4rem 0;
}

.stat-inline {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.stat-inline:last-child { border-right: none; }

.stat-inline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(65, 196, 235, 0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stat-inline:hover { background: var(--bg-tertiary); }
.stat-inline:hover::before { opacity: 1; }

.stat-inline .stat-value {
  font-family: var(--font-hero);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  display: block;
}

.stat-inline .stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  display: block;
}

/* ── Stat bars ───────────────────────────────────────────────────── */
.stat-bar-wrap {
  margin-bottom: 1.75rem;
}

.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.stat-bar-track {
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-color), #28aed4);
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(65, 196, 235, 0.45);
  position: relative;
}

.stat-bar-fill::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 10px rgba(65, 196, 235, 0.9);
}

/* ── Process / timeline steps ────────────────────────────────────── */
.process-steps {
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease;
  border-radius: var(--radius-sm);
}

.process-step:last-child { border-bottom: none; }

.process-step:hover {
  padding-left: 1.5rem;
  background: rgba(65, 196, 235, 0.03);
}

.process-step-num {
  font-family: var(--font-hero);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
  width: 3.5rem;
  transition: opacity 0.3s ease;
}

.process-step:hover .process-step-num { opacity: 1; }

.process-step-body h3 {
  font-family: var(--font-hero);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.process-step-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Text shimmer ────────────────────────────────────────────────── */
.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    rgba(255, 255, 255, 0.9) 45%,
    var(--accent-color) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer-move 4s linear infinite;
}

@keyframes text-shimmer-move {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ── Individual item reveal ──────────────────────────────────────── */
[data-reveal-item] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal-item].visible {
  opacity: 1;
  transform: none;
}

/* ── Heading underline animation ─────────────────────────────────── */
.heading-underline {
  position: relative;
  display: inline-block;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.8s 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(65, 196, 235, 0.5);
}

[data-reveal-item].visible .heading-underline::after,
.reveal.visible .heading-underline::after {
  width: 100%;
}

/* ── Hero decorative orbs (inside hero, position:absolute) ───────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: orb-drift ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(65, 196, 235, 0.13) 0%, transparent 70%);
  top: -10%;
  left: -8%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(40, 174, 212, 0.1) 0%, transparent 70%);
  bottom: 5%;
  right: -5%;
  animation-duration: 14s;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(65, 196, 235, 0.09) 0%, transparent 70%);
  top: 50%;
  left: 55%;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes orb-drift {
  0%, 100% { transform: translateY(0) scale(1); }
  40%       { transform: translateY(-35px) scale(1.07); }
  70%       { transform: translateY(20px) scale(0.95); }
}

/* ── Enhanced hero logo glow ────────────────────────────────── */

/* ── Form field focus glow ───────────────────────────────────────── */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(65, 196, 235, 0.13);
}

/* ── SVG icon bounce on card hover ──────────────────────────────── */
.card-glow svg,
.card-wide svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
}

.card-glow:hover svg,
.card-wide:hover svg {
  transform: scale(1.2) rotate(-5deg);
  color: var(--accent-color);
}

/* ── Section separator ───────────────────────────────────────────── */
.section-sep {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
  color: var(--accent-color);
}

.section-sep::before,
.section-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* ── Responsive: stats strip ─────────────────────────────────────── */
@media (max-width: 768px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-inline {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .stat-inline:last-child { border-bottom: none; }
}
