/* ═══════════════════════════════════════════════════════
   SEIA — Institutional Website Stylesheet
   "Obsidian Precision" — Ultra-premium cinematic design
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ───────────────────────────── */
:root {
  --primary: #0A2540;
  --primary-light: #1B3A5C;
  --primary-lighter: #2D5F8A;
  --accent: #5FC5C0;
  --accent-glow: rgba(95,197,192,0.25);
  --accent-dark: #4BA8A3;

  --bg: #FAFBFC;
  --bg-raised: #FFFFFF;
  --bg-sunken: #F0F2F5;
  --bg-dark: #0A0E14;

  --text-primary: #0A2540;
  --text-secondary: #546E7A;
  --text-tertiary: #90A4AE;
  --text-inverse: #FFFFFF;

  --border: #E2E8F0;
  --border-hover: #CBD5E1;

  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  --gradient-hero: linear-gradient(145deg, #060D18 0%, #0A1628 40%, #0B1E35 100%);
  --gradient-accent: linear-gradient(135deg, #5FC5C0 0%, #4BA8A3 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

  --shadow-xs: 0 1px 2px rgba(10,37,64,0.04);
  --shadow-sm: 0 2px 8px rgba(10,37,64,0.06);
  --shadow-md: 0 4px 16px rgba(10,37,64,0.08);
  --shadow-lg: 0 8px 32px rgba(10,37,64,0.12);
  --shadow-xl: 0 16px 48px rgba(10,37,64,0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Premium Selection Color ─────────────────────────── */
::selection { background: rgba(95,197,192,0.15); color: #0A2540; }
::-moz-selection { background: rgba(95,197,192,0.15); color: #0A2540; }

/* ─── Premium Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(10,37,64,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10,37,64,0.18); }

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(10,37,64,0.1) transparent;
}

/* ─── Layout ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  padding: 100px 0;
  background: var(--bg-sunken);
  position: relative;
}
/* Dot grid texture overlay for sections */
.section::after,
.section-alt::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,37,64,0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.section > .container,
.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  padding: 100px 0;
  background: var(--gradient-hero);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(at 20% 80%, rgba(95,197,192,0.12) 0, transparent 50%),
    radial-gradient(at 80% 20%, rgba(59,130,246,0.08) 0, transparent 50%);
}
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}
.section-dark > .container { position: relative; z-index: 2; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(95,197,192,0.06);
  border: 1px solid rgba(95,197,192,0.15);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--accent-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── Grid helpers ────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-alt { padding: 64px 0; }
  .section-dark { padding: 64px 0; }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR — Dark cinematic, brushed steel identity
   ═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark variant (default for index) */
.navbar-dark {
  background: transparent;
}
.navbar-dark.scrolled {
  background: rgba(5, 8, 14, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 1px 0 rgba(95,197,192,0.06), 0 4px 32px rgba(0,0,0,0.3);
}

/* Light variant (for subpages with light backgrounds) */
.navbar:not(.navbar-dark) {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.navbar:not(.navbar-dark).scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 3px rgba(10,37,64,0.04), 0 4px 24px rgba(10,37,64,0.06);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ─── Logo — Brushed steel sweep + 11 mark ────────────── */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  overflow: hidden;
  padding: 6px 2px;
  text-decoration: none;
}

/* Brushed steel sweep shine */
.navbar-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.06) 60%,
    transparent 65%,
    transparent 100%
  );
  animation: steelSweep 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes steelSweep {
  0% { left: -100%; }
  45% { left: 160%; }
  100% { left: 160%; }
}

.navbar-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(
    135deg,
    #b8c4cc 0%,
    #e4eaee 12%,
    #c8d0d8 24%,
    #f0f4f6 36%,
    #b0bcc4 48%,
    #dce4e8 60%,
    #c0ccd4 72%,
    #eaf0f4 84%,
    #b8c4cc 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: metallicShift 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes metallicShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Light pages — dark logo text */
.navbar:not(.navbar-dark) .navbar-logo-text {
  background: linear-gradient(135deg, #0A2540 0%, #1B3A5C 40%, #0A2540 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar:not(.navbar-dark) .navbar-logo-icon svg {
  filter: drop-shadow(0 0 2px rgba(10,37,64,0.15)) brightness(0.95) contrast(1.1);
}
.navbar:not(.navbar-dark):hover .navbar-logo-icon svg {
  filter: drop-shadow(0 0 6px rgba(95,197,192,0.4)) brightness(1.05) contrast(1.1);
}

.navbar-logo-icon {
  display: inline-flex;
  align-items: center;
  position: relative;
  top: -2px;
  height: 22px;
  z-index: 1;
}
.navbar-logo-icon svg {
  height: 22px;
  width: auto;
  filter: drop-shadow(0 0 2px rgba(95,197,192,0.25)) brightness(1.05) contrast(1.1);
  transition: filter 0.3s var(--ease);
}
.navbar-logo:hover .navbar-logo-icon svg {
  filter: drop-shadow(0 0 8px rgba(95,197,192,0.5)) brightness(1.15) contrast(1.15);
}

/* ─── Navigation links ────────────────────────────────── */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-dark .navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
  position: relative;
  letter-spacing: 0.01em;
}
.navbar-dark .navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #5FC5C0, #4BA8A3);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar-dark .navbar-links a:hover {
  color: rgba(255,255,255,0.95);
}
.navbar-dark .navbar-links a:hover::after {
  width: 100%;
}

/* Light pages nav links */
.navbar:not(.navbar-dark) .navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.navbar:not(.navbar-dark) .navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.navbar:not(.navbar-dark) .navbar-links a:hover { color: var(--text-primary); }
.navbar:not(.navbar-dark) .navbar-links a:hover::after { transform: scaleX(1); }

/* ─── CTA button ──────────────────────────────────────── */
.navbar-cta {
  padding: 10px 24px !important;
  background: var(--gradient-accent) !important;
  color: var(--primary) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px !important;
  border: none;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 2px 12px rgba(95,197,192,0.25);
  letter-spacing: 0.01em;
}
.navbar-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 20px rgba(95,197,192,0.4), 0 0 32px rgba(95,197,192,0.12);
  color: var(--primary) !important;
}

/* Remove underline effect from CTA */
.navbar-links .navbar-cta::after { display: none !important; }
.navbar-dark .navbar-links .navbar-cta { color: var(--primary) !important; }

/* ─── Mobile menu ─────────────────────────────────────── */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}
.navbar-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.navbar-dark .navbar-toggle span {
  background: rgba(255,255,255,0.8);
}
.navbar:not(.navbar-dark) .navbar-toggle span {
  background: var(--text-primary);
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .navbar-toggle { display: flex; }
  .navbar-dark .navbar-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(5, 8, 14, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease);
  }
  .navbar:not(.navbar-dark) .navbar-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease);
  }
  .navbar-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-dark .navbar-links a { color: rgba(255,255,255,0.6); }
  .navbar-dark .navbar-links a:hover { color: #fff; }
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  color: var(--text-inverse);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 600px 500px at 25% 65%, rgba(95,197,192,0.18) 0, transparent 70%),
    radial-gradient(ellipse 500px 400px at 75% 25%, rgba(59,130,246,0.12) 0, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 50%, rgba(124,58,237,0.06) 0, transparent 70%);
}
/* Dot grid overlay on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}
.hero > .container { position: relative; z-index: 3; }

/* ─── Hero centered layout ────────────────────────────── */
.hero-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-centered .hero-badge { margin-bottom: 32px; }
.hero-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.hero-centered .hero-buttons {
  justify-content: center;
}

/* ─── Brand watermark ─────────────────────────────────── */
.hero-bg-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg-mark svg {
  height: clamp(250px, 35vw, 550px);
  width: auto;
  opacity: 1;
}

/* ─── SEIA11 logo title treatment ─────────────────────── */
.seia-logo-title {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(78px, 12.6vw, 134px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.seia-letter-accent {
  color: #5FC5C0;
}
.seia-letter-split {
  display: inline-block;
  transform: scaleX(1.4);
  background: linear-gradient(to right, #5FC5C0 55%, #fff 55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seia-letter-white {
  color: #fff;
}
.seia-eleven-mark {
  display: inline-flex;
  align-items: center;
  position: relative;
  top: -8px;
  margin-left: 3px;
}
.seia-eleven-mark svg {
  height: 0.91em;
  width: auto;
}
.hero-tagline {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255,255,255,0.85);
}
.hero-tagline .seia-letter-accent {
  font-weight: 800;
}

/* ─── Hero stats row ──────────────────────────────────── */
.hero-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  border-radius: 16px;
  background: rgba(95,197,192,0.04);
  border: 1px solid rgba(95,197,192,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(95,197,192,0.04), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 0.45s cubic-bezier(0.19,1,0.22,1);
  animation: heroStatEntrance 0.8s cubic-bezier(0.19,1,0.22,1) both;
}
.hero-stat-pill:nth-child(1) { animation-delay: 1.1s; }
.hero-stat-pill:nth-child(2) { animation-delay: 1.3s; }
.hero-stat-pill:nth-child(3) { animation-delay: 1.5s; }
@keyframes heroStatEntrance {
  0% { opacity: 0; transform: translateY(24px) scale(0.92); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-stat-pill:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(95,197,192,0.35);
  box-shadow: 0 0 40px rgba(95,197,192,0.12), 0 8px 24px rgba(95,197,192,0.08);
}
.stat-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  background: linear-gradient(135deg, #5FC5C0 0%, #4BA8A3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   HERO FEATURE CARDS GRID — Large, fixed, premium
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   HERO FEATURE CARDS — Ultra-premium AI-tech aesthetic
   ═══════════════════════════════════════════════════════ */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1060px;
}
@media (max-width: 900px) {
  .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-features-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hero-stats-row { flex-direction: column; align-items: center; }
}

.hero-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px 28px;
  background: rgba(8, 18, 32, 0.6);
  border: 1px solid rgba(95,197,192,0.06);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.55s cubic-bezier(0.19,1,0.22,1);
  will-change: transform, box-shadow;
  /* Staggered entrance */
  opacity: 0;
  transform: translateY(48px) scale(0.92);
  filter: blur(12px);
  animation: heroCardEntrance 1.1s cubic-bezier(0.19,1,0.22,1) both;
  animation-delay: calc(1.4s + var(--card-delay) * 0.1s);
}
@keyframes heroCardEntrance {
  0% { opacity: 0; transform: translateY(48px) scale(0.92); filter: blur(12px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ─── Scan-line sweep — AI-tech vibe ────────────────── */
.hero-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(95,197,192,0.03) 40%,
    rgba(95,197,192,0.08) 50%,
    rgba(95,197,192,0.03) 60%,
    transparent 100%
  );
  transition: none;
  pointer-events: none;
  z-index: 0;
}
.hero-feature-card:hover::before {
  animation: cardScanSweep 0.8s ease-out forwards;
}
@keyframes cardScanSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ─── Accent edge glow (top + left) ─────────────────── */
.hero-feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(95,197,192,0.08),
    inset 1px 0 0 rgba(95,197,192,0.04);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 0;
}
.hero-feature-card:hover::after { opacity: 1; }

/* ─── Hover state ─────────────────────────────────────── */
.hero-feature-card:hover {
  background: rgba(8, 18, 32, 0.75);
  border-color: rgba(95,197,192,0.2);
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 80px rgba(95,197,192,0.06),
    0 0 0 1px rgba(95,197,192,0.1);
}

/* ─── Ring icon (larger, centered) ─────────────────── */
.hero-feature-card .ring-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero-feature-card .magic-rings {
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
}

/* ─── Card body ──────────────────────────────────────── */
.hf-body {
  position: relative;
  z-index: 1;
}
.hf-body h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-feature-card .hf-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.55;
  margin: 0;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ─── Neural circuit line decoration ───────────────── */
.hero-feature-card .hf-circuit {
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.hero-feature-card:hover .hf-circuit { opacity: 1; }

/* ─── Magic ring activation ───────────────────────── */
.hero-feature-card .magic-ring { opacity: 0; }
.hero-feature-card.rings-active .magic-ring {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
.hero-feature-card.rings-active .magic-ring.ring-1 { transition-delay: 0.05s; }
.hero-feature-card.rings-active .magic-ring.ring-2 { transition-delay: 0.12s; }
.hero-feature-card.rings-active .magic-ring.ring-3 { transition-delay: 0.19s; }
.hero-feature-card.rings-active .magic-ring.ring-4 { transition-delay: 0.26s; }
.hero-feature-card.rings-active .magic-ring.ring-5 { transition-delay: 0.33s; }
.hero-feature-card .magic-ring-glow { opacity: 0; }
.hero-feature-card.rings-active .magic-ring-glow {
  opacity: 1;
  transition: opacity 0.7s ease-out 0.25s;
}

/* ─── Hover amplifies rings ───────────────────────── */
.hero-feature-card:hover .magic-ring.ring-1 {
  filter: drop-shadow(0 0 8px rgba(95,197,192,0.4));
}
.hero-feature-card:hover .magic-ring.ring-2 {
  filter: drop-shadow(0 0 6px rgba(75,168,163,0.3));
}
.hero-feature-card:hover .magic-ring-glow {
  animation: magicGlowIntense 2s ease-in-out infinite;
}
@keyframes magicGlowIntense {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* Old grid layout no longer used */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95,197,192,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(95,197,192,0); }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(95,197,192,0.35), 0 0 0 1px rgba(95,197,192,0.1);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(95,197,192,0.45), 0 0 48px rgba(95,197,192,0.15);
  color: var(--primary);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.06);
  color: var(--text-inverse);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.06);
}

/* Hero floating cards (legacy — used on subpages if needed) */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-float-card {
  position: absolute;
  padding: 18px 24px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: box-shadow 0.4s;
}
.float-card-1 { top: 10%; right: 0; }
.float-card-2 { bottom: 25%; left: -10%; }
.float-card-3 { top: 45%; left: 10%; }

@keyframes floatCard1 {
  0%, 100% { transform: translate(0,0) rotate(2deg); filter: blur(0); }
  50% { transform: translate(-12px, -18px) rotate(-1.5deg); filter: blur(0.3px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translate(0,0) rotate(-1deg); filter: blur(0); }
  50% { transform: translate(14px, -12px) rotate(2.5deg); filter: blur(0.3px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translate(0,0) rotate(1deg); filter: blur(0); }
  50% { transform: translate(-10px, 14px) rotate(-2.5deg); filter: blur(0.3px); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .seia-logo-title { font-size: clamp(62px, 16vw, 100px); }
  .hero-tagline { font-size: clamp(20px, 4.5vw, 32px); }
}

/* ─── Pain Cards ──────────────────────────────────────── */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 1024px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pain-grid { grid-template-columns: 1fr; } }

/* ─── Feature Cards ───────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card-content { padding: 32px; }
.feature-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.feature-card-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Steps ───────────────────────────────────────────── */
.steps-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.step-item {
  text-align: center;
  max-width: 260px;
  position: relative;
}
.step-number {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(95,197,192,0.06);
  border: 2px solid rgba(95,197,192,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  margin: 0 auto 20px;
  transition: all 0.4s var(--ease);
}
.step-item:hover .step-number {
  background: rgba(95,197,192,0.1);
  box-shadow: 0 0 40px rgba(95,197,192,0.2), 0 0 0 1px rgba(95,197,192,0.15);
  transform: scale(1.08);
}
.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Stats Bar ───────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
  position: relative;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 48px;
  background: linear-gradient(135deg, #5FC5C0 0%, #4BA8A3 40%, #5FC5C0 80%, #00E5B8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(95,197,192,0.15));
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ─── Pricing ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; } }

.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(180deg, transparent 0%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(10,37,64,0.12), 0 0 0 1px rgba(95,197,192,0.08);
}
.pricing-card:hover::before {
  background: linear-gradient(180deg, rgba(95,197,192,0.3) 0%, rgba(75,168,163,0.1) 100%);
  opacity: 1;
}
.pricing-card.popular {
  border-color: rgba(95,197,192,0.4);
  box-shadow: 0 0 0 1px rgba(95,197,192,0.2), 0 8px 32px rgba(95,197,192,0.12);
}
.pricing-card.popular::before {
  background: linear-gradient(180deg, rgba(95,197,192,0.4) 0%, rgba(75,168,163,0.15) 100%);
  opacity: 1;
  animation: pricingGlow 3s ease-in-out infinite;
}
@keyframes pricingGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.pricing-card.popular:hover {
  box-shadow: 0 0 0 1px rgba(95,197,192,0.3), 0 24px 64px rgba(95,197,192,0.18), 0 0 40px rgba(95,197,192,0.08);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(95,197,192,0.3);
}
.pricing-plan {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 42px;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-tertiary); }
.pricing-period { font-size: 13px; color: var(--text-tertiary); margin-bottom: 24px; }
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  transition: all 0.25s var(--ease);
}
.pricing-btn:hover {
  border-color: var(--accent);
  background: rgba(95,197,192,0.04);
  color: var(--accent-dark);
  transform: translateY(-2px);
}
.pricing-card.popular .pricing-btn {
  background: var(--gradient-accent);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 14px rgba(95,197,192,0.3);
}
.pricing-card.popular .pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95,197,192,0.45), 0 0 32px rgba(95,197,192,0.12);
}

/* ─── Testimonials ────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { padding: 32px; }
.testimonial-stars { color: var(--warning); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(95,197,192,0.2);
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-tertiary); }

/* ─── Compliance Grid ─────────────────────────────────── */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 900px) { .compliance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .compliance-grid { grid-template-columns: 1fr; } }
.compliance-item {
  padding: 24px;
  text-align: center;
}
.compliance-item .comp-icon { font-size: 28px; margin-bottom: 12px; }
.compliance-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-inverse);
  margin-bottom: 6px;
}
.compliance-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-raised);
  transition: all 0.35s var(--ease);
}
.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 12px rgba(10,37,64,0.04);
}
.faq-item.active {
  border-color: rgba(95,197,192,0.3);
  box-shadow: 0 4px 20px rgba(95,197,192,0.06);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item.active .faq-question {
  color: var(--accent-dark);
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(95,197,192,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  font-size: 18px;
  color: var(--accent-dark);
}
.faq-item.active .faq-toggle {
  background: var(--accent);
  color: var(--primary);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(95,197,192,0.25);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── CTA Section ─────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(145deg, #050B15 0%, #081525 35%, #0A1E38 70%, #071228 100%);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 600px 400px at 25% 75%, rgba(95,197,192,0.18) 0, transparent 70%),
    radial-gradient(ellipse 500px 350px at 75% 25%, rgba(59,130,246,0.12) 0, transparent 70%),
    radial-gradient(ellipse 300px 300px at 50% 50%, rgba(124,58,237,0.06) 0, transparent 60%);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  background: #060D18;
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
  position: relative;
}
/* Gradient accent line at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(95,197,192,0.4) 30%, rgba(75,168,163,0.3) 70%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 3px;
}
.footer-brand .navbar-logo-text {
  font-size: 20px;
  background: linear-gradient(135deg, #e4eaee 0%, #fff 50%, #e4eaee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: none;
}
.footer-brand .navbar-logo-icon {
  height: 20px; top: 0;
}
.footer-brand .navbar-logo-icon svg {
  height: 20px;
}
.footer-brand .gradient-text,
.footer-brand .brand-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer ul a:hover { color: var(--accent); transform: translateX(2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.35);
}

/* ─── Scroll animations — CINEMATIC blur dissolve ─────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 0.8s cubic-bezier(0.16,1,0.3,1),
    transform 0.8s cubic-bezier(0.16,1,0.3,1),
    filter 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Class-based stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* CSS custom property based stagger (up to 9 cards) */
.reveal[style*="--stagger: 1"] { transition-delay: calc(1 * 100ms); }
.reveal[style*="--stagger: 2"] { transition-delay: calc(2 * 100ms); }
.reveal[style*="--stagger: 3"] { transition-delay: calc(3 * 100ms); }
.reveal[style*="--stagger: 4"] { transition-delay: calc(4 * 100ms); }
.reveal[style*="--stagger: 5"] { transition-delay: calc(5 * 100ms); }
.reveal[style*="--stagger: 6"] { transition-delay: calc(6 * 100ms); }
.reveal[style*="--stagger: 7"] { transition-delay: calc(7 * 100ms); }
.reveal[style*="--stagger: 8"] { transition-delay: calc(8 * 100ms); }
.reveal[style*="--stagger: 9"] { transition-delay: calc(9 * 100ms); }

/* ═══════════════════════════════════════════════════════
   CINEMATIC EFFECTS
   ═══════════════════════════════════════════════════════ */

/* Floating gradient orbs — larger, more cinematic */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  pointer-events: none;
  animation: floatOrb 20s ease-in-out infinite;
  will-change: transform;
}
.floating-orb.orb-accent { width: 500px; height: 500px; background: #5FC5C0; }
.floating-orb.orb-blue { width: 450px; height: 450px; background: #3B82F6; animation-delay: -7s; }
.floating-orb.orb-purple { width: 380px; height: 380px; background: #7C3AED; animation-delay: -13s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(-25px, -15px) scale(1.05); }
}

/* Glassmorphism card base — with gradient border glow on hover */
.glass-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 24px;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
/* Gradient border glow overlay */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(95,197,192,0.3) 0%, rgba(75,168,163,0.1) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 1;
}
/* Radial light bloom on hover */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(95,197,192,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.glass-card > * {
  position: relative;
  z-index: 2;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(10,37,64,0.14), 0 0 0 1px rgba(95,197,192,0.2);
  border-color: rgba(95,197,192,0.3);
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover::after { opacity: 1; }

/* Dark glassmorphism variant */
.glass-card-dark {
  background: rgba(10,37,64,0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.glass-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(95,197,192,0.25) 0%, rgba(75,168,163,0.08) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.glass-card-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(95,197,192,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.glass-card-dark > * {
  position: relative;
  z-index: 2;
}
.glass-card-dark:hover {
  background: rgba(10,37,64,0.75);
  border-color: rgba(95,197,192,0.25);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 40px rgba(95,197,192,0.1);
}
.glass-card-dark:hover::before { opacity: 1; }
.glass-card-dark:hover::after { opacity: 1; }

/* Accent top line reveal on hover */
.card-accent-line { position: relative; overflow: hidden; }
.card-accent-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 3;
}
.card-accent-line:hover::before { opacity: 1; }

/* Icon container — neutral base, glow on hover */
.icon-box {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: all 0.4s var(--ease);
}
.icon-box-accent { background: rgba(10,37,64,0.04); }
.icon-box-error { background: rgba(239,68,68,0.06); }
.icon-box-info { background: rgba(59,130,246,0.06); }
*:hover > .icon-box-accent {
  background: rgba(95,197,192,0.12);
  box-shadow: 0 0 28px rgba(95,197,192,0.2), 0 0 0 1px rgba(95,197,192,0.1);
  transform: scale(1.1) rotate(-3deg);
}
*:hover > .icon-box-error {
  background: rgba(239,68,68,0.1);
  box-shadow: 0 0 24px rgba(239,68,68,0.15);
  transform: scale(1.1) rotate(-3deg);
}
*:hover > .icon-box-info {
  background: rgba(59,130,246,0.1);
  box-shadow: 0 0 24px rgba(59,130,246,0.15);
  transform: scale(1.1) rotate(-3deg);
}

/* Compatibility ring */
.compat-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--border) 0);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  transition: all 0.35s var(--ease);
}
.compat-ring:hover {
  box-shadow: 0 0 20px rgba(95,197,192,0.15);
}
.compat-ring::after {
  content: '';
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--bg-raised);
  position: absolute;
}
.compat-ring-label {
  position: relative; z-index: 2;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 22px;
  color: var(--accent);
}

/* URL pattern pills */
.url-pill {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(95,197,192,0.06);
  border: 1px solid rgba(95,197,192,0.15);
  border-radius: 999px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--accent-dark);
  transition: all 0.25s var(--ease);
}
.url-pill:hover {
  background: rgba(95,197,192,0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95,197,192,0.15);
}

/* Tech pills */
.tech-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 14px;
  transition: all 0.25s var(--ease);
}
.tech-pill:hover {
  border-color: var(--accent);
  background: rgba(95,197,192,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(95,197,192,0.12);
}

/* Impact numbers */
.impact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(95,197,192,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.impact-card:hover::before { opacity: 1; }
.impact-number {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 48px;
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 8px rgba(95,197,192,0.1));
}
.impact-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* Gradient text — base definition, enhanced shimmer below in cinematic section */

/* Context table */
.context-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.context-table th {
  text-align: left; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-tertiary); padding: 12px 20px;
}
.context-table td {
  padding: 20px; background: var(--bg-raised);
  font-size: 14px; color: var(--text-secondary); transition: all 0.3s;
}
.context-table tr td:first-child {
  border-radius: 12px 0 0 12px;
  font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-primary);
}
.context-table tr td:last-child { border-radius: 0 12px 12px 0; }
.context-table tbody tr:hover td { background: rgba(95,197,192,0.04); }

/* Dark banner with mesh */
.dark-banner {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  color: var(--text-inverse);
  position: relative; overflow: hidden;
}
.dark-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(at 20% 80%, rgba(95,197,192,0.15) 0, transparent 50%),
    radial-gradient(at 80% 20%, rgba(59,130,246,0.1) 0, transparent 50%);
}
.dark-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.dark-banner > * { position: relative; z-index: 2; }

/* Legal document styles */
.legal-content h2 {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 24px;
  margin-top: 48px; margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p {
  font-size: 15px; line-height: 1.8;
  color: var(--text-secondary); margin-bottom: 16px;
}
.legal-content strong { color: var(--text-primary); font-weight: 600; }
.legal-content ul { list-style: none; margin: 16px 0; padding: 0; }
.legal-content ul li {
  padding: 10px 0 10px 24px; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: relative; line-height: 1.7;
}
.legal-content ul li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
.legal-highlight {
  padding: 20px 24px;
  background: rgba(95,197,192,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.legal-layout {
  display: grid; grid-template-columns: 1fr 240px;
  gap: 48px; align-items: start;
}
.legal-toc {
  position: sticky; top: 100px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
}
.legal-toc-title {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-tertiary); margin-bottom: 16px;
}
.legal-toc a {
  display: block; padding: 8px 12px;
  font-size: 13px; color: var(--text-secondary);
  border-radius: 8px; transition: all 0.2s; margin-bottom: 2px;
}
.legal-toc a:hover { background: rgba(95,197,192,0.06); color: var(--accent-dark); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* Premium form */
.premium-form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.premium-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px; font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary); background: var(--bg);
  outline: none; transition: all 0.25s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(95,197,192,0.1);
  background: white;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px;
  border: none; border-radius: 999px; cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 14px rgba(95,197,192,0.3);
}
.form-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(95,197,192,0.45), 0 0 32px rgba(95,197,192,0.1);
}
.form-submit:active { transform: scale(0.97); }

/* ─── Page header for subpages ────────────────────────── */
.page-header {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(at 30% 70%, rgba(95,197,192,0.12) 0, transparent 50%),
    radial-gradient(at 70% 30%, rgba(59,130,246,0.08) 0, transparent 50%);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1,
.page-header p {
  animation: heroContentEntrance 1s cubic-bezier(0.19, 1, 0.22, 1) 0.2s both;
}
.page-header p {
  animation-delay: 0.4s;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── Container narrow ───────────────────────────────── */
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Mission statement ──────────────────────────────── */
.mission-statement {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.mission-statement strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── Stagger children animation ─────────────────────── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    filter 0.6s var(--ease);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 640ms; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── Email pill ─────────────────────────────────────── */
.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(95,197,192,0.08);
  border: 1px solid rgba(95,197,192,0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-dark);
  margin: 12px 0;
  transition: all 0.25s var(--ease);
}
.email-pill:hover {
  background: rgba(95,197,192,0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(95,197,192,0.1);
}

/* ─── Utility ─────────────────────────────────────────── */
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.pill-grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(94,197,192,0.06);
  border: 1px solid rgba(94,197,192,0.15);
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #546E7A);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pill-grid span:hover {
  background: rgba(94,197,192,0.12);
  border-color: rgba(94,197,192,0.35);
  color: var(--accent, #5EC5C0);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(94,197,192,0.1);
}

/* ─── Domain Pattern Cards (Compatibilidade) ──────────── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .domain-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .domain-grid { grid-template-columns: 1fr; } }

.domain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Subtle gradient shimmer on top */
.domain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(94,197,192,0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* Radial glow on hover */
.domain-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(94,197,192,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.domain-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(94,197,192,0.3);
  box-shadow:
    0 16px 48px rgba(10,37,64,0.10),
    0 0 0 1px rgba(94,197,192,0.15),
    0 0 32px rgba(94,197,192,0.06);
}
.domain-card:hover::before { opacity: 1; }
.domain-card:hover::after { opacity: 1; }

.domain-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94,197,192,0.1), rgba(94,197,192,0.04));
  border: 1px solid rgba(94,197,192,0.15);
  color: #5EC5C0;
  margin-bottom: 14px;
  transition: all 0.35s ease;
}
.domain-card:hover .domain-card-icon {
  background: linear-gradient(135deg, rgba(94,197,192,0.18), rgba(94,197,192,0.08));
  border-color: rgba(94,197,192,0.3);
  box-shadow: 0 0 16px rgba(94,197,192,0.12);
  transform: scale(1.05);
}

.domain-card-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary, #0A2540);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.domain-card-pattern {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #5EC5C0;
  background: rgba(94,197,192,0.08);
  border: 1px solid rgba(94,197,192,0.12);
  border-radius: 8px;
  padding: 5px 12px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}
.domain-card:hover .domain-card-pattern {
  background: rgba(94,197,192,0.14);
  border-color: rgba(94,197,192,0.25);
  box-shadow: 0 0 12px rgba(94,197,192,0.08);
}

/* ─── Órgãos Stats Cards ──────────────────────────────── */
.orgaos-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .orgaos-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .orgaos-stats { grid-template-columns: 1fr; } }

.orgaos-stat-card {
  text-align: center;
  padding: 32px 24px 28px;
}
.orgaos-stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(94,197,192,0.12), rgba(94,197,192,0.04));
  border: 1px solid rgba(94,197,192,0.12);
  color: #5EC5C0;
  transition: all 0.35s ease;
}
.orgaos-stat-card:hover .orgaos-stat-icon {
  background: linear-gradient(135deg, rgba(94,197,192,0.2), rgba(94,197,192,0.08));
  box-shadow: 0 0 20px rgba(94,197,192,0.12);
  transform: scale(1.08);
}
.orgaos-stat-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  background: linear-gradient(135deg, #5EC5C0 0%, #4BA8A3 40%, #5EC5C0 80%, #00E5B8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(94,197,192,0.12));
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.orgaos-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #546E7A);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.orgaos-stat-bar {
  width: 100%;
  height: 3px;
  background: rgba(94,197,192,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.orgaos-stat-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #5EC5C0, #4DBFCE);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Hero canvas removed — clean hero */

/* ═══════════════════════════════════════════════════════
   CINEMATIC HERO ENTRANCE
   ═══════════════════════════════════════════════════════ */
.hero-content {
  animation: heroContentEntrance 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes heroContentEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-badge {
  animation: heroBadgeEntrance 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.3s both;
}
@keyframes heroBadgeEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-title-animate {
  animation: heroTitleEntrance 1s cubic-bezier(0.19, 1, 0.22, 1) 0.5s both;
}
@keyframes heroTitleEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-subtitle {
  animation: heroSubEntrance 1s cubic-bezier(0.19, 1, 0.22, 1) 0.7s both;
}
@keyframes heroSubEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-buttons {
  animation: heroButtonsEntrance 1s cubic-bezier(0.19, 1, 0.22, 1) 0.9s both;
}
@keyframes heroButtonsEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-visual {
  animation: heroVisualEntrance 1.4s cubic-bezier(0.19, 1, 0.22, 1) 0.6s both;
}
@keyframes heroVisualEntrance {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
    filter: blur(16px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* ═══════════════════════════════════════════════════════
   CINEMATIC REVEAL VARIANTS
   ═══════════════════════════════════════════════════════ */

/* Slide from left */
.reveal-slide-left {
  opacity: 0;
  transform: translateX(-80px) translateY(20px);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* Slide from right */
.reveal-slide-right {
  opacity: 0;
  transform: translateX(80px) translateY(20px);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* Slide up with spring */
.reveal-slide-up {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.85s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Scale in (cinematic zoom) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  filter: blur(12px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* Stagger delays for all cinematic variants */
.reveal-slide-left[style*="--stagger: 1"],
.reveal-slide-right[style*="--stagger: 1"],
.reveal-slide-up[style*="--stagger: 1"],
.reveal-scale[style*="--stagger: 1"] { transition-delay: calc(1 * 100ms); }
.reveal-slide-left[style*="--stagger: 2"],
.reveal-slide-right[style*="--stagger: 2"],
.reveal-slide-up[style*="--stagger: 2"],
.reveal-scale[style*="--stagger: 2"] { transition-delay: calc(2 * 100ms); }
.reveal-slide-left[style*="--stagger: 3"],
.reveal-slide-right[style*="--stagger: 3"],
.reveal-slide-up[style*="--stagger: 3"],
.reveal-scale[style*="--stagger: 3"] { transition-delay: calc(3 * 100ms); }
.reveal-slide-left[style*="--stagger: 4"],
.reveal-slide-right[style*="--stagger: 4"],
.reveal-slide-up[style*="--stagger: 4"],
.reveal-scale[style*="--stagger: 4"] { transition-delay: calc(4 * 100ms); }
.reveal-slide-left[style*="--stagger: 5"],
.reveal-slide-right[style*="--stagger: 5"],
.reveal-slide-up[style*="--stagger: 5"],
.reveal-scale[style*="--stagger: 5"] { transition-delay: calc(5 * 100ms); }
.reveal-slide-left[style*="--stagger: 6"],
.reveal-slide-right[style*="--stagger: 6"],
.reveal-slide-up[style*="--stagger: 6"],
.reveal-scale[style*="--stagger: 6"] { transition-delay: calc(6 * 100ms); }
.reveal-slide-left[style*="--stagger: 7"],
.reveal-slide-right[style*="--stagger: 7"],
.reveal-slide-up[style*="--stagger: 7"],
.reveal-scale[style*="--stagger: 7"] { transition-delay: calc(7 * 100ms); }
.reveal-slide-left[style*="--stagger: 8"],
.reveal-slide-right[style*="--stagger: 8"],
.reveal-slide-up[style*="--stagger: 8"],
.reveal-scale[style*="--stagger: 8"] { transition-delay: calc(8 * 100ms); }
.reveal-slide-left[style*="--stagger: 9"],
.reveal-slide-right[style*="--stagger: 9"],
.reveal-slide-up[style*="--stagger: 9"],
.reveal-scale[style*="--stagger: 9"] { transition-delay: calc(9 * 100ms); }

/* ═══════════════════════════════════════════════════════
   ENHANCED GRADIENT TEXT SHIMMER
   ═══════════════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, #5FC5C0 0%, #4BA8A3 30%, #5FC5C0 60%, #00E5B8 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextShimmer 6s ease-in-out infinite;
}
@keyframes gradientTextShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════════════════════
   MAGIC RINGS — Cinematic ring animation around icons
   Inspired by reactbits.dev/animations/magic-rings
   Colors: #0A2540 → #5FC5C0 (SEIA brand)
   ═══════════════════════════════════════════════════════ */

/* Hero ring card — legacy (kept for backward compat) */

/* Ring icon wrapper — contains rings + icon */
.ring-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* Central icon */
.ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3));
}

/* Magic rings container */
.magic-rings {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
}

/* Individual rings — concentric arcs with different speeds */
.magic-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
}

.magic-ring.ring-1 {
  inset: 0;
  border-color: rgba(0, 212, 170, 0.35);
  border-top-color: transparent;
  border-left-color: transparent;
  animation: magicSpin 3.5s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0, 212, 170, 0.2));
}
.magic-ring.ring-2 {
  inset: 4px;
  border-color: rgba(0, 180, 216, 0.3);
  border-bottom-color: transparent;
  border-right-color: transparent;
  animation: magicSpinReverse 4.2s linear infinite;
  filter: drop-shadow(0 0 3px rgba(0, 180, 216, 0.15));
}
.magic-ring.ring-3 {
  inset: 8px;
  border-color: rgba(0, 212, 170, 0.25);
  border-top-color: transparent;
  border-right-color: transparent;
  animation: magicSpin 5s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.15));
}
.magic-ring.ring-4 {
  inset: 12px;
  border-color: rgba(10, 37, 64, 0.4);
  border-bottom-color: rgba(0, 212, 170, 0.2);
  border-left-color: transparent;
  animation: magicSpinReverse 6s linear infinite;
}
.magic-ring.ring-5 {
  inset: -4px;
  border-width: 1px;
  border-color: rgba(0, 212, 170, 0.12);
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: magicSpin 8s linear infinite;
}

/* Pulsing glow behind the rings */
.magic-ring-glow {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  animation: magicGlow 3.45s ease-in-out infinite;
  pointer-events: none;
}

@keyframes magicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes magicSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes magicGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Stagger ring animation delays per card */
.float-card-1 .magic-ring.ring-1 { animation-delay: 0s; }
.float-card-1 .magic-ring.ring-2 { animation-delay: 0.3s; }
.float-card-1 .magic-ring.ring-3 { animation-delay: 0.6s; }
.float-card-2 .magic-ring.ring-1 { animation-delay: 0.8s; }
.float-card-2 .magic-ring.ring-2 { animation-delay: 1.1s; }
.float-card-2 .magic-ring.ring-3 { animation-delay: 0.2s; }
.float-card-3 .magic-ring.ring-1 { animation-delay: 0.5s; }
.float-card-3 .magic-ring.ring-2 { animation-delay: 0.9s; }
.float-card-3 .magic-ring.ring-3 { animation-delay: 1.4s; }

/* Ring entrance handled by .rings-active on .hero-feature-card (see above) */

/* Float card entrance kept for subpages using old hero-visual */

/* ═══════════════════════════════════════════════════════
   SECTION HEADER REVEAL ENHANCEMENT
   ═══════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}

/* ═══════════════════════════════════════════════════════
   STAT NUMBER GLOW ON COUNT COMPLETE
   ═══════════════════════════════════════════════════════ */
.stat-number.counted {
  animation: statGlowPulse 1.5s ease-out forwards;
}
@keyframes statGlowPulse {
  0% { filter: drop-shadow(0 0 0 rgba(95,197,192,0)); }
  30% { filter: drop-shadow(0 0 24px rgba(95,197,192,0.5)); }
  100% { filter: drop-shadow(0 0 12px rgba(95,197,192,0.15)); }
}

/* ─── Reduced motion — respect user preference ──────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-slide-up,
  .reveal-scale {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .stagger-children > * {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero-content,
  .hero-badge,
  .hero-title-animate,
  .hero-subtitle,
  .hero-buttons,
  .hero-visual,
  .hero-stat-pill,
  .hero-feature-card {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero-canvas {
    display: none;
  }
  .magic-ring,
  .magic-ring-glow {
    animation: none !important;
    opacity: 0.5;
  }
  .hero-ring-card .magic-ring { opacity: 0.4; }
  .hero-ring-card .magic-ring-glow { opacity: 0.3; }
}
