/* ============================================================
   Software Equality - Enterprise Design System
   enterprise-ds.css  |  ~1500 lines
   ============================================================ */

/* 1. GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Poppins:wght@600;700;800&display=swap');

/* 2. CSS CUSTOM PROPERTIES */
:root {
  /* Backgrounds — warm cream theme */
  --bg:        #EFDECD;
  --surface:   #F5E8D8;
  --surface2:  #E8D5BE;
  --surface3:  #DCCAAC;

  /* Brand */
  --gold:      #C07800;
  --gold-dark: #965C00;
  --gold-light:#E89200;
  --purple:    #7B2FBE;
  --purple-dark:#5A1F8E;
  --cyan:      #0099BB;
  --cyan-dark: #007A96;

  /* Text */
  --text:        #0D0D0D;
  --text-muted:  rgba(0,0,0,0.60);
  --text-dim:    rgba(0,0,0,0.40);

  /* Borders */
  --border:        rgba(128,0,128,0.12);
  --border-gold:   rgba(180,110,0,0.40);
  --border-strong: rgba(128,0,128,0.22);

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #C07800, #0099BB);
  --grad-gold:     linear-gradient(135deg, #C07800, #E89200);
  --grad-purple:   linear-gradient(135deg, var(--purple), #A855F7);
  --grad-surface:  linear-gradient(180deg, #F5E8D8 0%, #EFDECD 100%);

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --max-w:   1280px;
  --nav-h:   68px;
  --radius:  12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(80,0,80,0.10);
  --shadow-md:   0 8px 32px rgba(80,0,80,0.14);
  --shadow-lg:   0 24px 64px rgba(80,0,80,0.18);
  --shadow-gold: 0 0 32px rgba(180,110,0,0.20);
  --shadow-cyan: 0 0 32px rgba(0,153,187,0.18);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s ease;
  --t-spring: 0.35s cubic-bezier(0.34,1.56,0.64,1);

  /* Type scale (1.25x modular ratio, base 16px) */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  1.875rem;  /* 30px */
  --text-3xl:  2.25rem;   /* 36px */
  --text-4xl:  3rem;      /* 48px */
  --text-5xl:  4rem;      /* 64px */

  /* Semantic colours */
  --success:       #00C896;
  --success-bg:    rgba(0,200,150,0.12);
  --warning:       #C07800;
  --warning-bg:    rgba(192,120,0,0.12);
  --error:         #FF4444;
  --error-bg:      rgba(255,68,68,0.12);
  --info:          #0099BB;
  --info-bg:       rgba(0,153,187,0.12);
  --purple-alt:    #A855F7;
}

/* 3. RESET & BASE */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(192,120,0,0.3); color: var(--text); }

/* 4. TYPOGRAPHY SCALE */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(1.1rem, 2.5vw, 2rem); font-weight: 800; }
h2 { font-size: clamp(0.875rem, 1.75vw, 1.375rem); }
h3 { font-size: clamp(0.625rem, 1.25vw, 0.875rem); }
h4 { font-size: 0.625rem; }
h5 { font-size: 0.55rem; }
h6 { font-size: 0.5rem; }

p { color: var(--text-muted); line-height: 1.8; }

.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-muted { color: var(--text-muted); }
.text-gold  { color: var(--gold); }
.text-cyan  { color: var(--cyan); }
.text-center { text-align: center; }

code, pre, .mono { font-family: var(--font-mono); }

/* 5. LAYOUT */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* 6. ANNOUNCEMENT BAR */
.se-announcement {
  background: linear-gradient(90deg, #7B2FBE, #C07800, #0099BB);
  color: #fff !important;
  background-size: 200% 100%;
  animation: announcementShift 6s linear infinite;
  padding: 0.55rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 201;
}
.se-announcement a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
.se-announcement a:hover { opacity: 1; }
.se-announcement .close-ann {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  opacity: 0.7; transition: opacity var(--t-fast); font-size: 1rem;
  background: none; border: none; color: #000; cursor: pointer;
}
.se-announcement .close-ann:hover { opacity: 1; }

@keyframes announcementShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 7. NAVIGATION */
.se-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: 1.5rem;
  background: rgba(239,222,205,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(128,0,128,0.12);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.se-nav.scrolled {
  background: rgba(239,222,205,0.99);
  box-shadow: 0 4px 24px rgba(80,0,80,0.12);
}

.se-nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.se-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  transition: filter var(--t-base), transform var(--t-spring);
}
.se-logo:hover { filter: drop-shadow(0 0 12px rgba(192,120,0,0.5)); transform: scale(1.03); }
.se-logo-icon { display: none; }
.se-logo-text { display: none; }
.se-logo-img {
  height: 0.75cm;
  width: auto;
  display: block;
  overflow: visible;
}
@media (max-width: 768px) {
  .se-logo-img { height: 0.75cm; width: auto; }
}
@media (max-width: 480px) {
  .se-logo-img { height: 0.75cm; width: auto; }
}

/* Nav links */
.se-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.se-nav-item {
  position: relative;
}

.se-nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.se-nav-link:hover, .se-nav-link.active { color: var(--text); background: rgba(0,0,0,0.06); }
.se-nav-link .chevron {
  width: 14px; height: 14px;
  transition: transform var(--t-base);
  opacity: 0.5;
}
.se-nav-item.open .chevron { transform: rotate(180deg); }

/* Nav CTA */
.se-nav-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* 8. MEGA DROPDOWN */
.se-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #F5E8D8;
  border: 1px solid rgba(128,0,128,0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-width: 640px;
  box-shadow: 0 16px 48px rgba(80,0,80,0.14);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  transform: translateX(-50%) translateY(-8px);
  z-index: 300;
}

.se-mega::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--border-strong);
}

.se-nav-item:hover .se-mega,
.se-nav-item.open .se-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.se-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.se-mega-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.25rem 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.se-mega-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: background var(--t-fast), color var(--t-fast);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.se-mega-item:hover { background: rgba(192,120,0,0.08); color: var(--text); }
.se-mega-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: rgba(0,0,0,0.06);
}
.se-mega-item-text { display: flex; flex-direction: column; }
.se-mega-item-title { font-weight: 600; color: var(--text); font-size: 0.875rem; line-height: 1.3; }
.se-mega-item-desc { font-size: 0.75rem; color: var(--text-dim); line-height: 1.4; }

/* 9. MOBILE NAV */
.se-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.se-hamburger:hover { background: rgba(0,0,0,0.08); }
.se-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.se-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.se-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.se-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.se-mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  background: var(--surface);
  border-left: 1px solid var(--border-strong);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.se-mobile-nav.open { transform: translateX(0); }

.se-mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 399;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.se-mobile-overlay.active { opacity: 1; pointer-events: all; }

.se-mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.se-mobile-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  font-size: 1.25rem;
  transition: background var(--t-fast);
}
.se-mobile-close:hover { background: rgba(0,0,0,0.10); }

.se-mobile-links { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }

.se-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 1rem; font-weight: 600;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.se-mobile-link:hover { background: rgba(0,0,0,0.06); color: var(--text); }
.se-mobile-link.active { color: var(--gold); }

.se-mobile-sub {
  padding-left: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.25rem;
}
.se-mobile-sub.open { display: flex; }
.se-mobile-sub a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  display: block;
  transition: color var(--t-fast), background var(--t-fast);
}
.se-mobile-sub a:hover { color: var(--text); background: rgba(0,0,0,0.06); }

.se-mobile-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.75rem;
}

/* 10. HERO */
.se-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  color: #fff;
}
.se-hero h1,.se-hero h2,.se-hero h3,.se-hero h4,.se-hero p,.se-hero span,.se-hero li,.se-hero a:not(.btn) { color: #fff !important; }
.se-hero .se-hero-sub,.se-hero-stat-label,.se-hero-stat-num { color: rgba(255,255,255,0.90) !important; }

.se-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(123,47,190,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0,153,187,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(200,120,0,0.12) 0%, transparent 70%),
    #4A0050;
  z-index: 0;
}

.se-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 1;
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

.se-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  width: 100%;
}

.se-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}
.se-hero-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.se-hero h1 { max-width: 820px; }

.se-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 680px;
  color: var(--text-muted);
  line-height: 1.75;
}

.se-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.se-hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.se-hero-stat {
  display: flex; flex-direction: column; gap: 0.1rem;
}
.se-hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.se-hero-stat-label { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }

/* 11. GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 12. SECTIONS */
.sec {
  padding-block: 6rem;
  position: relative;
}
.sec-sm { padding-block: 3rem; }
.sec-lg { padding-block: 8rem; }
.sec-dark { background: var(--surface); }
.sec-darker { background: var(--surface2); }

.inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sec-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.sec-label::before, .sec-label::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
}

.sec-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-inline: auto;
}

/* 13. CARDS */
.se-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.se-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,120,0,0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.se-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.se-card:hover::before { opacity: 1; }

.se-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(128,0,128,0.10), rgba(0,153,187,0.08));
  border: 1px solid rgba(128,0,128,0.18);
  flex-shrink: 0;
  color: #7c3aed;
}
.se-card-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.se-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.se-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.se-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--t-fast);
}
.se-card-link:hover { gap: 0.65rem; }

/* Service Grid */
.se-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* 14. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: #800080;
  color: #fff;
  box-shadow: 0 4px 20px rgba(128,0,128,0.30);
}
.btn-primary:hover {
  background: #6B006B;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(128,0,128,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(192,120,0,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(192,120,0,0.18);
}

.btn-ghost {
  background: rgba(128,0,128,0.06);
  color: var(--text);
  border: 1px solid rgba(128,0,128,0.25);
}
.btn-ghost:hover {
  background: rgba(128,0,128,0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* 15. STATS */
.se-stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base), border-color var(--t-base);
}
.se-stat-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }

.se-stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.se-stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 16. PROCESS / TIMELINE */
.se-process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base), border-color var(--t-base);
}
.se-process-step:hover { transform: translateY(-4px); border-color: var(--border-gold); }

.se-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800;
  background: var(--grad-brand);
  color: #000;
  flex-shrink: 0;
}

.se-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  position: relative;
}
.se-timeline::before {
  content: '';
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #800080, #0099BB);
  z-index: 0;
}

/* 17. TESTIMONIALS */
.se-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--t-base), border-color var(--t-base);
}
.se-testimonial:hover { transform: translateY(-4px); border-color: var(--border-gold); }

.se-testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}
.se-testimonial-quote::before { content: '"'; color: var(--gold); font-size: 1.5rem; line-height: 0; vertical-align: -0.4em; margin-right: 0.2rem; }

.se-testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: auto;
}
.se-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #000;
  flex-shrink: 0;
}
.se-testimonial-name { font-weight: 700; font-size: 0.95rem; }
.se-testimonial-role { font-size: 0.8rem; color: var(--text-dim); }

.se-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }

/* Testimonial Carousel */
.se-carousel { position: relative; overflow: hidden; }
.se-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.se-carousel-slide { min-width: 100%; padding: 0 0.5rem; }
.se-carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.se-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong); cursor: pointer;
  transition: background var(--t-base), transform var(--t-base);
}
.se-carousel-dot.active { background: var(--gold); transform: scale(1.25); }

/* 18. BLOG CARDS */
.se-blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.se-blog-card:hover { transform: translateY(-4px); border-color: var(--border-gold); box-shadow: var(--shadow-gold); }

.se-blog-card-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.se-blog-card-body { padding: 1.5rem; }
.se-blog-card-meta { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.se-blog-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* 19. TEAM CARDS */
.se-team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--t-base), border-color var(--t-base);
}
.se-team-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.se-team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-brand);
  margin-inline: auto;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #000;
  border: 3px solid rgba(192,120,0,0.3);
}
.se-team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.se-team-role { font-size: 0.85rem; color: var(--gold); margin-bottom: 0.75rem; }

/* 20. PRICING CARDS */
.se-price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  position: relative;
}
.se-price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.se-price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(128,0,128,0.06), var(--surface));
  box-shadow: var(--shadow-gold);
}

.se-price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.se-price-tier { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.se-price-name { font-size: 1.5rem; font-weight: 800; margin-top: 0.25rem; }
.se-price-amount {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.se-price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); vertical-align: middle; }

.se-price-features { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.se-price-feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-muted);
}
.se-price-feature::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* 21. TRUST BAR & MARQUEE */
.se-trust-bar {
  padding-block: 2rem;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.se-companies {
  overflow: hidden;
  position: relative;
}
.se-companies::before,
.se-companies::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
}
.se-companies::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.se-companies::after { right: 0; background: linear-gradient(to left, var(--surface), transparent); }

.se-marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.se-marquee-track:hover { animation-play-state: paused; }

.se-company-item {
  font-size: 0.85rem; font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--t-base);
  display: flex; align-items: center; gap: 0.5rem;
}
.se-company-item:hover { color: var(--text-muted); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 22. FOOTER */
.se-footer {
  background: #2D0030;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 4rem;
  color: #fff;
}
.se-footer h1,.se-footer h2,.se-footer h3,.se-footer h4,.se-footer p,.se-footer span,.se-footer a,.se-footer div { color: rgba(255,255,255,0.85); }
.se-footer .se-footer-title { color: rgba(255,255,255,0.50); }
.se-footer .se-footer-links a { color: rgba(255,255,255,0.70); }
.se-footer .se-footer-links a:hover { color: #E89200; }
.se-footer .se-footer-bottom { color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.10); }
.se-footer .se-footer-bottom a { color: rgba(255,255,255,0.45); }
.se-footer .se-footer-bottom a:hover { color: #E89200; }
.se-footer .se-social-link { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.80); }
.se-footer .se-social-link:hover { background: rgba(192,120,0,0.25); border-color: rgba(192,120,0,0.5); }

.se-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.se-footer-col {}
.se-footer-brand { max-width: 280px; }
.se-footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.75rem; margin-bottom: 1.5rem; line-height: 1.7; }

.se-footer-title {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.se-footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.se-footer-links a {
  font-size: 0.9rem; color: var(--text-muted);
  transition: color var(--t-fast);
}
.se-footer-links a:hover { color: var(--gold); }

.se-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.82rem; color: var(--text-dim);
  flex-wrap: wrap; gap: 0.75rem;
}
.se-footer-bottom a { color: var(--text-dim); transition: color var(--t-fast); }
.se-footer-bottom a:hover { color: var(--gold); }

.se-social-links { display: flex; gap: 0.5rem; }
.se-social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-spring);
}
.se-social-link:hover { background: rgba(192,120,0,0.12); border-color: var(--border-gold); transform: translateY(-2px); }

/* 23. FORMS */
.se-form { display: flex; flex-direction: column; gap: 1.25rem; }

.se-label {
  display: block;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.se-label .required { color: var(--gold); margin-left: 2px; }

.se-input, .se-textarea, .se-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
}
.se-input::placeholder, .se-textarea::placeholder { color: var(--text-dim); }
.se-input:focus, .se-textarea:focus, .se-select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(192,120,0,0.04);
  box-shadow: 0 0 0 3px rgba(192,120,0,0.12);
}
.se-input.error, .se-textarea.error { border-color: #FF4444; }
.se-input.success, .se-textarea.success { border-color: #00C896; }

.se-textarea { min-height: 120px; resize: vertical; line-height: 1.7; }

.se-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.se-select option { background: var(--surface); color: var(--text); }

.se-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.se-error-msg { font-size: 0.8rem; color: #FF6666; margin-top: 0.3rem; display: none; }
.se-error-msg.visible { display: block; }

/* 24. BADGES */
.se-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.se-badge-gold { background: rgba(192,120,0,0.15); color: var(--gold); border: 1px solid rgba(192,120,0,0.25); }
.se-badge-cyan { background: rgba(0,153,187,0.12); color: var(--cyan); border: 1px solid rgba(0,153,187,0.2); }
.se-badge-purple { background: rgba(123,47,190,0.15); color: #A855F7; border: 1px solid rgba(123,47,190,0.25); }
.se-badge-green { background: rgba(0,200,150,0.12); color: #00C896; border: 1px solid rgba(0,200,150,0.2); }

/* 25. ACCORDION */
.se-accordion { display: flex; flex-direction: column; gap: 0.75rem; }

.se-accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.se-accordion-item.open { border-color: var(--border-gold); }

.se-accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background var(--t-fast);
  cursor: pointer;
}
.se-accordion-trigger:hover { background: rgba(128,0,128,0.04); }

.se-accordion-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(192,120,0,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-fast);
}
.se-accordion-item.open .se-accordion-icon { transform: rotate(45deg); background: rgba(192,120,0,0.2); }

.se-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding var(--t-base);
}
.se-accordion-item.open .se-accordion-body { max-height: 500px; }
.se-accordion-content {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.8;
}

/* 26. TABS */
.se-tabs-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.se-tabs-nav::-webkit-scrollbar { display: none; }

.se-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap; cursor: pointer;
}
.se-tab:hover { color: var(--text); }
.se-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.se-tab-panel { display: none; }
.se-tab-panel.active { display: block; }

/* 27. SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Count-up */
.count-up { display: inline-block; }

/* 28. GLOW EFFECTS */
.se-glow {
  box-shadow:
    0 0 20px rgba(192,120,0,0.3),
    0 0 60px rgba(192,120,0,0.15),
    0 0 100px rgba(192,120,0,0.08);
}
.se-glow-cyan {
  box-shadow:
    0 0 20px rgba(0,153,187,0.3),
    0 0 60px rgba(0,153,187,0.15);
}
.se-glow-purple {
  box-shadow:
    0 0 20px rgba(123,47,190,0.4),
    0 0 60px rgba(123,47,190,0.2);
}

/* Glow line */
.se-glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), transparent);
  opacity: 0.4;
}

/* 29. COOKIE BANNER */
.se-cookie-banner {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  max-width: 560px;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  display: flex; flex-direction: column; gap: 1rem;
  transform: translateY(calc(100% + 2rem));
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.se-cookie-banner.visible { transform: translateY(0); }
.se-cookie-banner p { font-size: 0.875rem; line-height: 1.7; }
.se-cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* 30. BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #800080;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(192,120,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-spring);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: scale(1.1) translateY(-2px); }

/* 31. HERO PAGE INNER */
.se-page-hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.se-page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(123,47,190,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,153,187,0.1) 0%, transparent 60%);
}
.se-page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
/* Centred hero variant */
.se-page-hero--centred .se-page-hero-inner { margin: 0 auto; text-align: center; }
.se-page-hero--centred .se-breadcrumb { justify-content: center; }
.se-page-hero--centred .se-hero-ctas  { justify-content: center; }

/* 32. BREADCRUMB */
.se-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.se-breadcrumb a { color: var(--text-dim); transition: color var(--t-fast); }
.se-breadcrumb a:hover { color: var(--gold); }
.se-breadcrumb-sep { opacity: 0.4; }

/* 33. FEATURE LIST */
.se-feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.se-feature-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem; color: var(--text-muted);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.se-feature-item:hover { border-color: var(--border-gold); background: rgba(192,120,0,0.04); }
.se-feature-item-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* 34. DIVIDERS */
.se-divider { height: 1px; background: var(--border); margin-block: 2rem; }
.se-divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.3; margin-block: 2rem; }

/* 35. HIGHLIGHT BOX */
.se-highlight {
  padding: 1.5rem;
  background: rgba(192,120,0,0.06);
  border: 1px solid rgba(192,120,0,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.se-highlight p { color: var(--text-muted); }

/* 36. TAG */
.se-tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* 37. PROGRESS / LOADER */
.se-progress-bar {
  height: 4px; width: 100%;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.se-progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width 1s ease;
}

/* 38. INLINE CODE */
.se-inline-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.15em 0.45em;
  color: var(--cyan);
}

/* 39. LOADING SPINNER */
.se-spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 40. TOAST */
.se-toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 600;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}
.se-toast.visible { transform: translateX(-50%) translateY(0); }
.se-toast-success { border-color: rgba(0,200,150,0.4); color: #00C896; }
.se-toast-error { border-color: rgba(255,68,68,0.4); color: #FF6666; }

/* 41. FLOATING STAT CARDS (hero) */
.se-float-stats {
  display: flex; gap: 1.5rem;
  flex-wrap: wrap;
}
.se-float-card {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.se-float-card-num {
  font-size: 1.75rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.se-float-card-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* 42. TWO-COL LAYOUT */
.se-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.se-two-col.reverse { direction: rtl; }
.se-two-col.reverse > * { direction: ltr; }

/* 43. VISUAL PANEL */
.se-visual-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.se-visual-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(192,120,0,0.06) 0%, transparent 70%);
}

/* 44. CTA SECTION */
.se-cta-section {
  background: linear-gradient(135deg, #5A0060, #800080, #6B2FBE);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
  color: #fff;
}
.se-cta-section h1,.se-cta-section h2,.se-cta-section h3,.se-cta-section p,.se-cta-section span { color: #fff !important; }
.se-cta-section .btn-primary { background: #fff; color: #800080; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.se-cta-section .btn-primary:hover { background: #f0e0ff; }
.se-cta-section .btn-outline,.se-cta-section .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.se-cta-section .btn-outline:hover,.se-cta-section .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.se-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(123,47,190,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(0,153,187,0.2) 0%, transparent 60%);
}
.se-cta-section > * { position: relative; z-index: 1; }


/* ============================================================
   RESPONSIVE BREAKPOINTS — COMPREHENSIVE MOBILE/TABLET
   ============================================================ */

/* Tablet large: 1200px */
@media (max-width: 1200px) {
  .container { padding-inline: clamp(1rem, 4vw, 2rem); }
  .se-hero-content { padding: clamp(3rem,6vw,6rem) clamp(1rem,4vw,2rem); }
}

/* Tablet: 1024px */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .se-nav-links    { display: none; }
  .se-hamburger    { display: flex !important; }
  .se-footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .se-two-col      { grid-template-columns: 1fr; gap: 2.5rem; }
  .se-two-col.reverse { direction: ltr; }
  .se-mega         { display: none !important; }
  .se-cta-section  { padding: 3rem 2rem; }
  .se-hero-content { padding: 4rem 1.5rem; }
  .se-stat-card    { padding: 1.5rem; }
  .se-service-grid { grid-template-columns: repeat(2, 1fr); }
  .se-process-step { padding: 1.5rem; }
  .se-timeline     { grid-template-columns: repeat(3, 1fr); }
  .se-price-grid   { grid-template-columns: repeat(2, 1fr); }
  .se-bootcamp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root {
    --nav-h: 58px;
    font-size: 15px;
  }

  /* Spacing */
  .sec     { padding-block: clamp(2.5rem, 8vw, 4rem); }
  .sec-lg  { padding-block: clamp(3rem, 10vw, 5rem); }
  .container { padding-inline: 1.1rem; }

  /* Typography */
  p  { font-size: 0.95rem; }

  /* Hero */
  .se-hero-content  { padding: clamp(2.5rem, 8vw, 3.5rem) 1.1rem; }
  .se-hero h1       { font-size: clamp(1.75rem, 7.5vw, 2.4rem); }
  .se-hero-sub      { font-size: clamp(0.95rem, 3.5vw, 1.1rem); }
  .se-hero-stats    { gap: 1rem; flex-wrap: wrap; }
  .se-hero-stat     { font-size: 0.8rem; }
  .se-hero-ctas     { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .se-hero-ctas .btn { width: 100%; justify-content: center; padding: 0.9rem 1.5rem; }

  /* Navigation */
  .se-logo-text   { font-size: 0.95rem; }
  .se-nav-cta     { gap: 0.5rem; }
  .se-nav-cta .btn-outline { display: none; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-auto { grid-template-columns: 1fr; gap: 1rem; }

  /* Cards */
  .se-card         { padding: 1.5rem; }
  .se-card-glass   { padding: 1.5rem; }
  .se-stat-card    { padding: 1.25rem; text-align: center; }
  .se-stat-number  { font-size: clamp(2rem, 8vw, 2.5rem); }
  .se-price-card   { padding: 1.75rem 1.25rem; }

  /* Services */
  .se-service-grid  { grid-template-columns: 1fr; gap: 1rem; }

  /* Process */
  .se-process-step  { padding: 1.25rem; }
  .se-step-num      { font-size: 1.5rem; }

  /* Timeline */
  .se-timeline      { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Tabs */
  .se-tabs-nav  { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
  .se-tabs-nav::-webkit-scrollbar { display: none; }
  .se-tab       { padding: 0.55rem 0.85rem; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }

  /* Footer */
  .se-footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .se-footer-brand  { max-width: 100%; }
  .se-footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Misc */
  .se-form-row     { grid-template-columns: 1fr; }
  .se-cta-section  { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
  .se-cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .back-to-top     { bottom: 5rem; right: 1rem; width: 40px; height: 40px; }
  .se-float-stats  { gap: 0.75rem; flex-wrap: wrap; }
  .se-float-card   { padding: 0.75rem 1rem; min-width: 0; flex: 1 1 calc(50% - 0.375rem); }
  .se-price-grid   { grid-template-columns: 1fr; }
  .se-bootcamp-grid { grid-template-columns: 1fr; }

  /* Section labels */
  .sec-label { font-size: 0.72rem; }
  .sec-title { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .sec-sub   { font-size: 0.95rem; }

  /* Announcement bar */
  .se-announcement { font-size: 0.76rem; padding: 0.45rem 2.5rem 0.45rem 1rem; }
}

/* Small mobile: 480px */
@media (max-width: 480px) {
  :root { font-size: 14px; }

  .se-hero-content   { padding: 2rem 1rem; }
  .se-timeline       { grid-template-columns: 1fr; }
  .se-float-stats    { flex-direction: column; }
  .se-float-card     { flex: none; width: 100%; }
  .grid-4            { grid-template-columns: 1fr; }
  .se-card, .se-card-glass { padding: 1.25rem; }
  .se-stat-number    { font-size: clamp(1.75rem, 10vw, 2.25rem); }

  /* Touch targets */
  .btn, .se-nav-link, .se-tab { min-height: 44px; }
  .se-chip, .seai-chip { min-height: 36px; }

  /* CTA section */
  .se-cta-section { padding: 1.75rem 1rem; }
  .se-cta-section h2 { font-size: 1.4rem; }
}

/* Extra small: 360px */
@media (max-width: 360px) {
  :root { font-size: 13px; }
  .container { padding-inline: 0.875rem; }
  .se-hero h1 { font-size: 1.5rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
}

/* ============================================================
   REDUCED MOTION - ALL ANIMATIONS RESPECT THIS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gradient-text  { animation: none; }
  .se-mesh        { animation: none; }
  .se-marquee-track { animation: none; }
  .se-announcement { animation: none; }
  .reveal,.reveal-left,.reveal-right,.reveal-scale { opacity:1; transform:none; }
  #se-particles   { display: none; }
  .se-blob        { animation: none !important; }
}

/* ============================================================
   FLASH / DREAMWEAVER ANIMATIONS
   ============================================================ */

/* Particle canvas */
#se-particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Animated blob backgrounds */
.se-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  animation: seBlob 18s ease-in-out infinite;
}
.se-blob-1 { width: 600px; height: 600px; background: var(--gold); animation-delay: 0s; }
.se-blob-2 { width: 500px; height: 500px; background: var(--cyan); animation-delay: -6s; }
.se-blob-3 { width: 400px; height: 400px; background: var(--purple); animation-delay: -12s; }
@keyframes seBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px,-40px) scale(1.1); }
  66%      { transform: translate(-40px,60px) scale(0.9); }
}

/* Gradient text shimmer */
.gradient-text, .se-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 30%, var(--gold) 60%, var(--cyan) 90%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: seShimmer 4s linear infinite;
}
@keyframes seShimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -100% 50%; }
}

/* Animated gradient border */
.se-glow-border {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.se-glow-border::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle,0deg), var(--gold), var(--cyan), var(--purple), var(--gold));
  z-index: -1;
  animation: seBorderSpin 4s linear infinite;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes seBorderSpin { to { --angle: 360deg; } }

/* Glow pulse */
.se-glow-pulse {
  animation: seGlowPulse 3s ease-in-out infinite;
}
@keyframes seGlowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(192,120,0,0.3), 0 0 60px rgba(192,120,0,0.1); }
  50%      { box-shadow: 0 0 40px rgba(192,120,0,0.6), 0 0 80px rgba(192,120,0,0.2); }
}

/* Neon glow text */
.se-neon {
  color: var(--cyan);
  text-shadow: 0 0 7px var(--cyan), 0 0 21px var(--cyan), 0 0 42px rgba(0,153,187,0.5);
  animation: seNeonFlicker 5s ease-in-out infinite;
}
@keyframes seNeonFlicker {
  0%,19%,21%,23%,25%,54%,56%,100% {
    text-shadow: 0 0 7px var(--cyan), 0 0 21px var(--cyan), 0 0 42px rgba(0,153,187,0.5);
  }
  20%,24%,55% {
    text-shadow: none;
  }
}

/* 3D Card tilt (applied via JS) */
.se-tilt {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}
.se-tilt .se-tilt-inner {
  transform: translateZ(20px);
}

/* Sparkle container */
.se-sparkle-host {
  position: relative;
  overflow: visible;
}
.se-sparkle {
  position: absolute;
  pointer-events: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: seSparkle 0.8s ease-out forwards;
}
@keyframes seSparkle {
  0%   { opacity: 1; transform: scale(0) translate(0,0); }
  50%  { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.5) translate(var(--sx,20px), var(--sy,-30px)); }
}

/* Ripple effect */
.se-ripple-host { position: relative; overflow: hidden; }
.se-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: seRipple 0.7s linear;
  pointer-events: none;
}
@keyframes seRipple {
  to { transform: scale(4); opacity: 0; }
}

/* Typewriter cursor */
.se-typewriter::after {
  content: '|';
  animation: seCursor 1s step-end infinite;
  color: var(--gold);
  margin-left: 2px;
}
@keyframes seCursor {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Floating icons */
.se-float {
  animation: seFloat 4s ease-in-out infinite;
}
.se-float-slow { animation: seFloat 6s ease-in-out infinite; }
.se-float-fast { animation: seFloat 2.5s ease-in-out infinite; }
@keyframes seFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Stagger reveal (children animated in) */
.se-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.se-stagger.in-view > *:nth-child(1)  { transition-delay: 0.05s; }
.se-stagger.in-view > *:nth-child(2)  { transition-delay: 0.12s; }
.se-stagger.in-view > *:nth-child(3)  { transition-delay: 0.19s; }
.se-stagger.in-view > *:nth-child(4)  { transition-delay: 0.26s; }
.se-stagger.in-view > *:nth-child(5)  { transition-delay: 0.33s; }
.se-stagger.in-view > *:nth-child(6)  { transition-delay: 0.40s; }
.se-stagger.in-view > *:nth-child(7)  { transition-delay: 0.47s; }
.se-stagger.in-view > *:nth-child(8)  { transition-delay: 0.54s; }
.se-stagger.in-view > * { opacity: 1; transform: translateY(0); }

/* Scan line effect (futuristic) */
.se-scanline {
  position: relative;
  overflow: hidden;
}
.se-scanline::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -100%;
  height: 4px;
  background: linear-gradient(transparent, rgba(0,153,187,0.15), transparent);
  animation: seScan 4s linear infinite;
}
@keyframes seScan {
  to { top: 200%; }
}

/* Marquee enhanced */
.se-marquee-track {
  animation: seMarquee 32s linear infinite !important;
  will-change: transform;
}
@keyframes seMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero background shimmer */
.se-hero {
  position: relative;
}
.se-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(192,120,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,153,187,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 20%, rgba(123,47,190,0.07) 0%, transparent 50%);
  pointer-events: none;
  animation: seHeroBg 12s ease-in-out infinite alternate;
  z-index: 0;
}
.se-hero > * { position: relative; z-index: 1; }
@keyframes seHeroBg {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Enhanced reveal animation */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal       { transform: translateY(30px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92) translateY(20px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

/* Card hover shine sweep */
.se-card, .se-card-glass {
  position: relative;
  overflow: hidden;
}
.se-card::after, .se-card-glass::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.se-card:hover::after, .se-card-glass:hover::after {
  left: 125%;
}

/* Stat card glow on hover */
.se-stat-card {
  transition: transform var(--t-spring), box-shadow var(--t-base);
}
.se-stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), var(--shadow-gold);
}

/* Button enhanced */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}
/* ============================================================
   RESEARCH DATA SECTIONS  — injected June 2026
   ============================================================ */
.se-research-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.se-rs-header { text-align: center; margin-bottom: 48px; }
.se-rs-badge {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 14px;
  background: rgba(128,0,128,0.10); color: #800080;
  border: 1px solid rgba(128,0,128,0.25);
}
.se-rs-title { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; margin-bottom: 8px; color: var(--text); }
.se-rs-sub { color: var(--text-muted); font-size: 0.95rem; max-width: 640px; margin: 0 auto; }
.se-stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
  gap: 16px; margin-bottom: 40px;
}
.se-stat-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  transition: transform var(--t-base), border-color var(--t-base);
}
.se-stat-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.se-stat-num {
  font-size: 2.2rem; font-weight: 800; font-family: var(--font-heading);
  background: linear-gradient(135deg, #800080, #0099BB); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1; margin-bottom: 6px; display: block;
}
.se-stat-lbl { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.se-stat-src { font-size: 0.68rem; color: var(--text-dim); margin-top: 4px; }
.se-chart-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 28px 20px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.se-chart-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.se-chart-title span { color: var(--gold); }
.se-hbar { margin-bottom: 10px; }
.se-hbar-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.se-hbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; height: 10px; overflow: hidden; }
.se-hbar-fill { height: 10px; border-radius: 4px; background: linear-gradient(90deg, #800080, #0099BB); transition: width 1.2s ease; }
.se-data-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.se-data-table th {
  background: var(--surface2); color: var(--text-muted); font-weight: 600;
  padding: 10px 14px; text-align: left; font-size: 0.7rem;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.se-data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.se-data-table tr:last-child td { border-bottom: none; }
.se-data-table tr:hover td { background: rgba(255,255,255,0.03); }
.se-pill {
  display: inline-block; padding: 2px 10px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 700;
}
.se-pill-gold { background: rgba(192,120,0,0.15); color: var(--gold); }
.se-pill-cyan { background: rgba(0,153,187,0.12); color: var(--cyan); }
.se-pill-purple { background: rgba(123,47,190,0.18); color: #c084fc; }
.se-pill-green { background: rgba(16,185,129,0.15); color: #34d399; }
.se-pill-red { background: rgba(239,68,68,0.15); color: #f87171; }
.se-timeline { position: relative; padding-left: 28px; margin: 0; list-style: none; }
.se-timeline::before { content:''; position:absolute; left:9px; top:0; bottom:0; width:2px; background: var(--border); }
.se-tl-item { position: relative; margin-bottom: 22px; }
.se-tl-dot { position:absolute; left:-23px; top:4px; width:12px; height:12px; border-radius:50%; border:2px solid #800080; background: var(--bg); }
.se-tl-dot.done { background: #800080; }
.se-tl-date { font-size:0.72rem; color:#800080; font-weight:700; margin-bottom:2px; }
.se-tl-text { font-size:0.85rem; color:var(--text-muted); }
.se-tl-text strong { color: var(--text); }
.se-cite-bar {
  margin-top: 24px; padding: 12px 16px; background: var(--surface3);
  border-radius: var(--radius); border-left: 3px solid var(--gold);
  font-size: 0.72rem; color: var(--text-dim); line-height: 1.6;
}
.se-cite-bar strong { color: var(--text-muted); }
.se-ranking { margin: 0; padding: 0; list-style: none; }
.se-ranking li {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 0.85rem;
}
.se-ranking li:last-child { border-bottom: none; }
.se-rank-n { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.72rem; background: rgba(128,0,128,0.12); color: #800080; flex-shrink: 0; }
.se-rank-bar-wrap { flex: 1; background: rgba(0,0,0,0.06); border-radius: 3px; height: 6px; }
.se-rank-bar-fill { height: 6px; border-radius: 3px; background: linear-gradient(90deg,#800080,#0099BB); }
.se-rank-val { font-weight: 700; color: var(--text); font-size: 0.82rem; min-width: 40px; text-align: right; }
.se-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .se-two-col { grid-template-columns: 1fr; } .se-stat-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   CROSS-BROWSER COMPATIBILITY & RESPONSIVE POLISH
   Added June 2026 — all PCs, mobiles, tablets
   ============================================================ */

/* ---- iOS Safari & Mobile Specifics ---- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  /* iOS safe areas */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  /* Prevent pull-to-refresh on iOS */
  overscroll-behavior-y: none;
}

/* Remove tap highlight on mobile */
a, button, [role="button"], input, select, textarea, label {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Smooth scrolling momentum on iOS */
.se-tabs-nav,
.se-mobile-menu,
[data-scroll] {
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

/* Prevent text inflation on landscape mobile (Android) */
p, li, td, th, span, a {
  -webkit-text-size-adjust: none;
}

/* ---- Viewport height fix for iOS Safari (100vh bug) ---- */
.se-hero,
.se-hero-content,
.se-fullscreen {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: fill-available;
}

/* ---- Flexbox cross-browser ---- */
.flex,
.se-nav-inner,
.se-nav-cta,
.se-hero-ctas,
.se-hero-stats,
.se-footer-bottom,
.se-tabs-nav,
.se-process-steps,
.se-ranking li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

/* ---- Transform prefixes (Safari < 9, IE10) ---- */
.se-card,
.se-card-glass,
.se-stat-card,
.se-service-card,
.btn {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ---- backdrop-filter on all surfaces that use blur ---- */
.se-nav,
.se-nav.scrolled,
.se-mobile-menu,
.se-mega,
.se-cookie-banner {
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

/* Firefox fallback — backdrop-filter not supported */
@-moz-document url-prefix() {
  .se-nav,
  .se-nav.scrolled,
  .se-mobile-menu,
  .se-mega,
  .se-cookie-banner {
    background: rgba(30,0,30,0.97) !important;
  }
}

/* ---- Gradient text cross-browser ---- */
.gradient-text,
.se-stat-num,
.se-rs-title {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* IE/Edge fallback */
  color: var(--gold);
}

/* ---- Animation prefixes ---- */
@-webkit-keyframes announcementShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@-webkit-keyframes fadeInUp {
  from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* ---- Appearance reset (Firefox, Safari) ---- */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

/* ---- User select for interactive elements ---- */
.btn,
.se-tab,
.se-chip,
nav a,
.se-hamburger {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ---- Touch action (prevent 300ms delay) ---- */
a, button, [role="button"], .btn, .se-tab {
  touch-action: manipulation;
}

/* ---- Border-box on everything (IE10 compat) ---- */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ---- CSS Grid IE11 basic fallback ---- */
/* IE11 gets single-column layout for main grids */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .grid-2, .grid-3, .grid-4, .grid-auto,
  .se-service-grid, .se-price-grid, .se-bootcamp-grid,
  .se-stat-grid, .se-footer-grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-auto > *,
  .se-service-grid > *, .se-price-grid > *, .se-bootcamp-grid > *,
  .se-stat-grid > *, .se-footer-grid > * {
    -ms-flex: 0 0 calc(50% - 1.5rem);
    flex: 0 0 calc(50% - 1.5rem);
    margin: 0.75rem;
  }
  .se-two-col {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .se-two-col > * {
    -ms-flex: 0 0 calc(50% - 1rem);
    flex: 0 0 calc(50% - 1rem);
    margin: 0.5rem;
  }
}

/* ---- Research / Data sections — responsive ---- */
@media (max-width: 1024px) {
  .se-research-section { padding: 60px 0; }
  .se-stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .se-chart-wrap { padding: 20px 20px 16px; }
  .se-data-table th,
  .se-data-table td { padding: 8px 10px; font-size: 0.78rem; }
}

@media (max-width: 768px) {
  .se-research-section { padding: 40px 0; }
  .se-rs-header { margin-bottom: 32px; }
  .se-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
  .se-stat-card { padding: 16px 12px; }
  .se-stat-num { font-size: 1.6rem; }
  .se-chart-wrap { padding: 16px 14px 12px; overflow-x: auto; }
  /* Make data tables scrollable on small screens */
  .se-data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .se-data-table { min-width: 480px; }
  .se-data-table th,
  .se-data-table td { padding: 7px 9px; font-size: 0.76rem; }
  .se-two-col { grid-template-columns: 1fr !important; gap: 16px; }
  .se-timeline { padding-left: 20px; }
  .se-cite-bar { font-size: 0.68rem; padding: 10px 12px; }
  .se-ranking li { gap: 8px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .se-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .se-stat-num { font-size: 1.4rem; }
  .se-stat-lbl { font-size: 0.74rem; }
  .se-chart-wrap { padding: 12px 10px 10px; }
  .se-chart-title { font-size: 0.88rem; }
  .se-hbar-label { font-size: 0.72rem; }
}

/* ---- Scroll-snapping for mobile carousels ---- */
@supports (scroll-snap-type: x mandatory) {
  .se-tabs-nav {
    scroll-snap-type: x mandatory;
  }
  .se-tab {
    scroll-snap-align: start;
  }
}

/* ---- Print styles ---- */
@media print {
  .se-nav,
  .se-announcement,
  .se-cookie-banner,
  .se-hamburger,
  .se-mobile-menu,
  .back-to-top,
  #se-particles,
  .se-float-stats { display: none !important; }

  body { background: #fff !important; color: #000 !important; }
  .se-card, .se-card-glass, .se-stat-card { border: 1px solid #ccc !important; box-shadow: none !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.7em; color: #444; }
}

/* ---- Forced colours (Windows High Contrast) ---- */
@media (forced-colors: active) {
  .btn-primary,
  .btn-outline { border: 2px solid ButtonText; }
  .se-card { border: 1px solid ButtonText; }
  .gradient-text { -webkit-text-fill-color: CanvasText; color: CanvasText; }
  .se-stat-num { -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

/* ---- Safari-specific: smooth font rendering ---- */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    body { -webkit-font-smoothing: antialiased; }
    .se-nav { -webkit-backdrop-filter: blur(20px); }
  }
}

/* ---- Firefox: scrollbar styling ---- */
@supports (scrollbar-width: thin) {
  * { scrollbar-width: thin; scrollbar-color: var(--border-gold) transparent; }
}

/* ---- Tablet portrait (768px–1024px) polish ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .se-hero-content { padding: 4rem 2rem; }
  .se-service-grid { grid-template-columns: repeat(2, 1fr); }
  .se-process-steps { gap: 1rem; }
  .se-process-step { padding: 1.25rem; }
  .se-footer-grid { grid-template-columns: 1fr 1fr; }
  .se-price-grid { grid-template-columns: 1fr 1fr; }
  .se-bootcamp-grid { grid-template-columns: 1fr 1fr; }
  .se-timeline { grid-template-columns: repeat(3, 1fr); }
  .se-stat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Large desktop (1440px+) ---- */
@media (min-width: 1440px) {
  :root { --max-w: 1360px; }
  .se-hero-content { padding: 7rem 2rem; }
}

/* ---- 4K / retina displays ---- */
@media (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2) {
  .se-logo-img { image-rendering: -webkit-optimize-contrast; }
}


/* ============================================================
   RESPONSIVE POLISH — JUNE 2026
   Covers: mobile overflow, hero height, grid reflow, 
           inline styles on terms/privacy/cookies pages
   ============================================================ */

/* Prevent any element from causing horizontal overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* All images, videos, SVGs scale down */
img, svg, video, iframe, canvas {
  max-width: 100%;
  height: auto;
}

/* Scrollable tables on all screens */
.se-data-table-wrap,
.se-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  border-radius: var(--radius);
}

/* Long words / URLs don't break layout */
p, li, td, th, h1, h2, h3, h4, h5, h6, a {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---- Hero: reasonable height on short screens / landscape mobile ---- */
@media (max-height: 600px) and (max-width: 900px) {
  .se-hero { min-height: auto; padding: 5rem 0 3rem; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  /* Hero */
  .se-hero { min-height: 80vh; }

  /* Remove padding on hero mini header pages */
  .se-hero[style*="min-height:240px"] { min-height: auto !important; padding: 4rem 0 2rem !important; }

  /* Research sections */
  .se-research-section { padding: 40px 0; }
  .se-stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .se-chart-wrap { overflow-x: auto; }
  .se-data-table { min-width: 480px; }
  .se-two-col { grid-template-columns: 1fr !important; }

  /* Tables in content pages (terms, privacy, cookies) */
  table { width: 100%; overflow-x: auto; display: block; }

  /* Section padding */
  .sec { padding-block: clamp(2rem, 8vw, 4rem); }
  .sec-lg { padding-block: clamp(2.5rem, 10vw, 5rem); }

  /* CTA section */
  .se-cta-section { padding: 2.5rem 1.5rem !important; border-radius: var(--radius-lg) !important; }

  /* Cards */
  .se-card, .se-card-glass { padding: 1.25rem; }
  .se-price-card { padding: 1.5rem 1.25rem; }
  .se-stat-card { padding: 1.25rem; }

  /* Fix inline-style hero sections on legal pages */
  section[style*="padding:6rem"] { padding: 3rem 0 1.5rem !important; }
  section[style*="padding:3rem 2rem 5rem"] { padding: 1.5rem 1rem 3rem !important; }

  /* Footer grid */
  .se-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Mega nav (hidden on mobile anyway) */
  .se-mega { display: none !important; }
}

/* ---- Tablet (769px–1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .se-hero { min-height: 80vh; }
  .se-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .se-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .se-price-grid { grid-template-columns: 1fr 1fr; }
  .se-cta-section { padding: 3rem 2rem; }
}

/* ---- Extra small (≤480px) ---- */
@media (max-width: 480px) {
  /* Stat grid: 2 cols minimum */
  .se-stat-grid { grid-template-columns: 1fr 1fr !important; }

  /* Hero CTA buttons full width */
  .se-hero-ctas { flex-direction: column; align-items: stretch; }
  .se-hero-ctas .btn { width: 100%; justify-content: center; }

  /* CTA section */
  .se-cta-section { padding: 2rem 1rem !important; }
  .se-cta-section h2 { font-size: 1.3rem !important; }

  /* Float stats in hero */
  .se-float-stats { flex-direction: column; }
  .se-float-card { width: 100%; }
}

/* ---- Legal / content pages: max-width prose width ---- */
.se-prose {
  max-width: 860px;
}
@media (max-width: 768px) {
  .se-prose { padding-inline: 1rem; }
}

/* ---- Fix any hardcoded wide elements ---- */
.se-mega { max-width: min(640px, 95vw); }

/* ---- Ensure nav doesn't wrap ---- */
.se-nav-inner {
  flex-wrap: nowrap;
  min-width: 0;
}
.se-logo { flex-shrink: 0; }

/* ---- Mobile nav z-index layering ---- */
.se-mobile-nav { z-index: 1000; }
.se-mobile-overlay { z-index: 999; }

/* ---- Print: light bg always ---- */
@media print {
  :root {
    --bg: #fff !important;
    --surface: #f5f5f5 !important;
    --text: #000 !important;
  }
}

/* ============================================================
   WORDPRESS-LIKE ENHANCEMENTS  |  Added v3.0
   Reading Progress · TOC · Share Bar · Copy Code
   Image Lightbox · Site Search · Reading Time
   ============================================================ */

/* ---- 1. Reading Progress Bar -------------------------------- */
#se-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ---- 2. Table of Contents ---------------------------------- */
#se-toc-panel {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 200px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
#se-toc-panel.se-toc-visible {
  opacity: 1;
  visibility: visible;
}
.se-toc-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.se-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.se-toc-list li {
  margin: 0;
  padding: 0;
}
.se-toc-list a {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.22rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  line-height: 1.4;
  border-left: 2px solid transparent;
}
.se-toc-list a:hover,
.se-toc-list a.se-toc-active {
  color: var(--gold);
  background: rgba(180, 110, 0, 0.06);
  border-left-color: var(--gold);
}
.se-toc-list .se-toc-h3 a {
  padding-left: 1.1rem;
  font-size: 0.72rem;
}

/* ---- 3. Share Bar ------------------------------------------ */
#se-share-bar {
  position: fixed;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
#se-share-bar.se-share-visible {
  opacity: 1;
  visibility: visible;
}
.se-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.se-share-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: scale(1.12);
  box-shadow: var(--shadow-md);
}
.se-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.se-share-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 9999;
}
.se-share-btn:hover[data-tooltip]::after {
  opacity: 1;
}

/* ---- 4. Reading Time Badge --------------------------------- */
.se-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-top: 0.75rem;
}
.se-reading-time svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---- 5. Copy Code Button ----------------------------------- */
.se-code-wrap {
  position: relative;
}
.se-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.7rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.se-copy-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.se-copy-btn.copied {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
pre { position: relative; }

/* ---- 6. Image Lightbox ------------------------------------- */
#se-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: zoom-out;
}
#se-lightbox.se-lb-open {
  opacity: 1;
  visibility: visible;
}
#se-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  cursor: default;
}
#se-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
#se-lightbox-close:hover { background: rgba(255,255,255,0.2); }
#se-lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  max-width: 80%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 7. Site Search Overlay (Ctrl+K) ----------------------- */
#se-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
#se-search-overlay.se-search-open {
  opacity: 1;
  visibility: visible;
}
#se-search-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(-16px);
  transition: transform 0.25s;
}
#se-search-overlay.se-search-open #se-search-modal {
  transform: translateY(0);
}
#se-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
#se-search-input-wrap svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #888;
}
#se-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: #111;
  background: transparent;
}
#se-search-input::placeholder { color: #aaa; }
#se-search-close-btn {
  background: #f0f0f0;
  border: none;
  color: #555;
  font-size: 0.72rem;
  padding: 3px 7px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
#se-search-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.5rem;
}
.se-search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  transition: background 0.15s;
  cursor: pointer;
}
.se-search-item:hover,
.se-search-item.se-search-selected {
  background: #F7F2FF;
}
.se-search-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #C07800, #0099BB);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.se-search-item-text { flex: 1; min-width: 0; }
.se-search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.se-search-item-desc {
  font-size: 0.75rem;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.se-search-item mark {
  background: #FFF3C0;
  color: inherit;
  padding: 0;
  border-radius: 2px;
}
#se-search-empty {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  padding: 2rem 1rem;
}
#se-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.72rem;
  color: #aaa;
}
.se-search-kbd {
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.7rem;
  color: #555;
  font-family: monospace;
}

/* ---- 8. Search trigger in nav ------------------------------ */
.se-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(128,0,128,0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.se-search-trigger:hover {
  background: rgba(128,0,128,0.1);
  border-color: var(--border-strong);
}
.se-search-trigger svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.se-search-trigger .se-search-kbd {
  margin-left: 0.25rem;
}

/* ---- 9. Print Button --------------------------------------- */
.se-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.se-print-btn:hover {
  background: var(--surface2);
  color: var(--text);
}
.se-print-btn svg {
  width: 14px;
  height: 14px;
}

/* ---- 10. "Back to blog" breadcrumb-like chip --------------- */
.se-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.se-blog-back:hover { color: var(--gold); }

/* ---- Responsive: hide TOC & share on small screens --------- */
@media (max-width: 1200px) {
  #se-toc-panel { display: none !important; }
}
@media (max-width: 900px) {
  #se-share-bar { display: none !important; }
}
@media (max-width: 600px) {
  #se-search-modal { max-width: calc(100vw - 2rem); }
  #se-search-overlay { padding-top: 5vh; }
}

@media print {
  .se-nav, .se-footer, #se-share-bar, #se-toc-panel,
  .se-cookie-banner, .back-to-top, #se-search-overlay,
  #se-lightbox, .se-ai-widget { display: none !important; }
  body { font-size: 11pt; }
  h1, h2, h3 { page-break-after: avoid; }
  pre, blockquote { page-break-inside: avoid; }
  a { color: inherit; text-decoration: underline; }
}

/* ============================================================
   UNIVERSAL BROWSER / DEVICE FIX  |  v3.1  30 Jun 2026
   Covers: Safari iOS/macOS · Firefox · Chrome Android
           Samsung Internet · Edge · IE11 · Opera Mini
   ============================================================ */

/* ---- 1. Hero always has dark background (Safari/FF fallback) */
.se-hero {
  background: #4A0050;
  background: linear-gradient(135deg, #4A0050 0%, #2D0050 100%);
}
/* Ensure hero text is always white even without .se-hero-bg div */
.se-hero,
.se-hero * {
  color: #fff;
}
.se-hero .btn-primary { color: #fff !important; }
.se-hero .btn-outline { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }

/* ---- 2. Fix Firefox nav — cream bg (backdrop-filter unsupported) */
@-moz-document url-prefix() {
  .se-nav,
  .se-nav.scrolled {
    background: rgba(239,222,205,0.97) !important;
  }
}

/* ---- 3. Flexbox gap fallback (Safari < 14.1, iOS < 14.5) ---
   Use margin instead of gap for flex containers                */
@supports not (gap: 1rem) {
  .se-hero-ctas   { margin: -0.5rem; }
  .se-hero-ctas > * { margin: 0.5rem; }
  .se-hero-stats  { margin: -0.5rem; }
  .se-hero-stats > * { margin: 0.5rem; }
  .se-nav-links   { margin: 0 -0.5rem; }
  .se-nav-links > * { margin: 0 0.5rem; }
  .se-footer-grid { margin: -0.75rem; }
  .se-footer-grid > * { margin: 0.75rem; }
}

/* ---- 4. iOS Safari safe-area — add constant() prefix -------- */
@supports (padding: constant(safe-area-inset-bottom)) {
  body {
    padding-left:   constant(safe-area-inset-left);
    padding-right:  constant(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
  }
}
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left:   env(safe-area-inset-left);
    padding-right:  env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---- 5. Viewport height: fix iOS 100vh bug ------------------- */
.se-hero { min-height: 100vh; min-height: -webkit-fill-available; }
@supports (min-height: 100dvh) {
  .se-hero { min-height: 100dvh; }
}

/* ---- 6. CSS Grid fallback for older Safari (< 10.1) ---------- */
@supports not (display: grid) {
  .grid-2, .grid-3, .grid-4, .grid-auto,
  .se-service-grid, .se-price-grid, .se-stat-grid,
  .se-footer-grid, .se-bootcamp-grid {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .grid-2 > *, .grid-3 > *, .grid-4 > * {
    flex: 0 0 calc(50% - 1rem);
    margin: 0.5rem;
  }
  .se-stat-grid > * {
    flex: 0 0 calc(25% - 1rem);
    margin: 0.5rem;
  }
}

/* ---- 7. aspect-ratio fallback (Safari < 15) ------------------ */
@supports not (aspect-ratio: 1) {
  .se-card-icon,
  .se-stat-card-icon { width: 48px; height: 48px; }
}

/* ---- 8. Prevent font scaling on orientation change (iOS) ----- */
@media screen and (orientation: landscape) {
  html { -webkit-text-size-adjust: none; text-size-adjust: none; }
}

/* ---- 9. Samsung Internet / Android Chrome: input fixes ------- */
input, textarea, select {
  -webkit-appearance: none;
  border-radius: 0;                  /* Stop iOS rounding inputs */
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border-radius: var(--radius);      /* Re-apply our radius */
}

/* ---- 10. Focus-visible polyfill for Safari < 15.4 ----------- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---- 11. Sticky positioning — older Android WebView fallback - */
.se-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

/* ---- 12. word-break for CJK / long strings on Android -------- */
p, li, td, th, h1, h2, h3, h4, h5 {
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}
h1, h2, h3 { hyphens: none; -webkit-hyphens: none; }  /* Don't hyphenate headings */

/* ---- 13. Smooth scroll — Safari needs -webkit- prefix -------- */
html {
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
}

/* ---- 14. Img rendering — crisp on retina Mac/iOS ------------- */
img {
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
}

/* ---- 15. clamp() fallback for IE / old Edge (pre-Chromium) --- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .se-hero-content { padding: 5rem 1.5rem; }
  .container { padding: 0 1.5rem; }
}

/* ---- 16. Mobile nav z-index on older iOS (stacking context) -- */
.se-mobile-nav  { z-index: 9998 !important; }
.se-mobile-overlay { z-index: 9997 !important; }
#se-search-overlay { z-index: 10000 !important; }
#se-lightbox       { z-index: 9999 !important; }
.se-cookie-banner  { z-index: 9996 !important; }
#se-progress-bar   { z-index: 10001 !important; }

/* ---- 17. Ensure body bg covers full viewport on all browsers - */
body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: var(--bg);
  background-attachment: scroll;   /* Fixes background-fixed on mobile */
}
html { background-color: var(--bg); }

/* ---- 18. Table layout for older Android browsers ------------- */
.se-data-table { table-layout: fixed; }
.se-data-table th, .se-data-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---- 19. Form element consistency across browsers ------------ */
.se-form input,
.se-form textarea,
.se-form select {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-clip: padding-box;     /* Fixes Safari input background */
  width: 100%;
}
.se-form textarea { resize: vertical; }

/* ---- 20. Responsive typography — no overflow on any screen --- */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  max-width: 100%;
}

/* --- Full-width sections never overflow on 320px phones ------- */
section, .sec, .se-hero, .se-footer, .se-nav {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ---- 21. Opera Mini — remove animations (performance) -------- */
@media screen and (max-width: 320px) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   24. HORIZONTAL DRAG-SCROLL cursor state
============================================================ */
.se-tabs-nav,
.se-table-scroll,
.se-data-table-wrap,
.se-chart-wrap,
[data-scroll] { cursor: grab; }
.se-dragging { cursor: grabbing !important; user-select: none; scroll-behavior: auto !important; }
.se-dragging * { pointer-events: none; }

/* ============================================================
   25. LANGUAGE SWITCHER — Google Translate widget in the nav
============================================================ */
.se-lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--border, rgba(0,0,0,0.12));
  background: rgba(0,0,0,0.03);
}
.se-lang:hover { border-color: var(--gold, #FF9F00); }
.se-lang-globe { color: var(--text, #111); flex-shrink: 0; display: block; }
#google_translate_element { display: inline-flex; align-items: center; line-height: 1; }

/* Reshape Google's injected gadget to sit cleanly in the nav */
.goog-te-gadget {
  font-size: 0 !important;
  font-family: var(--font-sans, inherit) !important;
  color: transparent !important;
}
.goog-te-gadget span { display: none !important; }        /* hide 'Powered by' text */
.goog-te-gadget .goog-te-combo {
  margin: 0 !important; padding: 4px 6px !important;
  font-size: 0.82rem !important; font-weight: 600 !important;
  color: var(--text, #111) !important;
  background: transparent !important; border: none !important;
  cursor: pointer; max-width: 150px;
}

/* Hide the Google top banner and stop it pushing the page down */
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

@media (max-width: 640px) { .goog-te-gadget .goog-te-combo { max-width: 96px; } }

/* ============================================================
   26. LOGO — larger and clearer for stronger brand presence
============================================================ */
.se-logo-img { height: 40px !important; width: auto !important; }
.se-logo { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18)); }
.se-nav.scrolled .se-logo-img { height: 34px !important; }
@media (max-width: 640px) { .se-logo-img { height: 32px !important; } }

/* ============================================================
   27. PAGE-THEMED HERO ANIMATION (canvas behind hero content)
============================================================ */
.se-hero, .se-page-hero { position: relative; }
.se-hero-anim {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.9;
}
/* keep hero text/content above the animation layer */
.se-hero > .se-hero-content,
.se-hero > .inner,
.se-page-hero > .inner,
.se-page-hero > .se-page-hero-inner { position: relative; z-index: 2; }

@media print { .se-hero-anim { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .se-hero-anim { display: none !important; } }

/* ============================================================
   28. ANIMATED CONCEPT FLOW (explains each page's process)
============================================================ */
.se-flow-wrap { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1rem 1rem; }
.se-flow-title {
  text-align: center; color: var(--text, #111);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 700;
  margin-bottom: 1.5rem;
}
.se-flow { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 8px; }
.se-flow-step {
  flex: 1 1 130px; max-width: 180px; min-width: 118px;
  background: var(--surface, #f6f6f8);
  border: 1px solid var(--border, rgba(0,0,0,0.12));
  border-radius: 14px; padding: 14px 12px; text-align: center;
  transition: transform .35s, border-color .35s, box-shadow .35s, background .35s;
}
.se-flow-step.active {
  border-color: var(--gold, #FF9F00);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  background: #fff;
}
.se-flow-lbl { font-weight: 700; font-size: 0.92rem; color: var(--text, #111); margin-bottom: 3px; }
.se-flow-sub { font-size: 0.74rem; color: var(--text-muted, #666); line-height: 1.35; }
.se-flow-arrow { display: flex; align-items: center; color: var(--gold, #FF9F00); font-size: 1.15rem; opacity: 0.65; }
@media (max-width: 640px) {
  .se-flow-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
  .se-flow-step { flex-basis: 100%; max-width: 340px; }
}

/* ---- 22. Responsive breakpoint patches ----------------------- */
/* Extra small (320px — older iPhones, budget Androids) */
@media (max-width: 380px) {
  .se-nav-inner { padding-inline: 0.75rem; }
  .se-hero-content { padding: 1.5rem 0.75rem; }
  .container { padding-inline: 0.75rem; }
  .se-hero-ctas { flex-direction: column; }
  .se-hero-ctas .btn { width: 100%; text-align: center; }
  .btn { padding: 0.75rem 1rem; font-size: 0.85rem; }
  .se-price-card { padding: 1.25rem 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
}

/* Small (381px–480px — modern small phones) */
@media (min-width: 381px) and (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .se-hero-ctas { flex-direction: column; }
}

/* Medium-small (481px–767px — large phones, small tablets) */
@media (min-width: 481px) and (max-width: 767px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
}

/* Tablet landscape (1024px–1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
  :root { --max-w: 960px; }
  .se-service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 23. Fix sticky nav on Safari (transform: none trick) ---- */
.se-nav {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background, box-shadow;
}

/* ---- 24. Ensure buttons are tappable on all touch devices ---- */
.btn, button, [role="button"],
.se-tab, .se-chip, .se-accordion-trigger,
.back-to-top, .se-share-btn, .se-copy-btn {
  min-height: 44px;        /* Apple HIG minimum tap target */
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn { min-width: unset; } /* Reset for text-only but
/* ============================================================
   ALIGNMENT FIX v3.5 — Desktop / Tablet / Mobile
   ============================================================ */

/* ---- General: ensure all .inner blocks are centred ---------- */
.inner, .container {
  box-sizing: border-box;
  width: 100%;
}

/* ---- .sec-header always centred ----------------------------- */
.sec-header {
  text-align: center;
  margin-inline: auto;
}

/* ---- Page hero: non-centred pages keep left text but
        the inner block itself is width-constrained & padded --- */
.se-page-hero .inner { width: 100%; }

/* ---- Centred page hero: fix mobile CTA stack alignment ------ */
@media (max-width: 768px) {
  .se-page-hero--centred .se-hero-ctas {
    align-items: center;
  }
  .se-page-hero--centred .se-hero-ctas .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ---- Tablet (769px – 1024px): keep 2-col grids readable ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rs-stats { grid-template-columns: repeat(2, 1fr); }
  .rs-two   { grid-template-columns: 1fr; gap: 1.5rem; }
  .se-page-hero-inner { max-width: 680px; }
  .se-page-hero--centred .se-page-hero-inner { max-width: 680px; }
}

/* ---- Desktop wide: prevent over-stretching on ultra-wide ---- */
@media (min-width: 1400px) {
  .se-page-hero-inner { max-width: 860px; }
  .se-page-hero--centred .se-page-hero-inner { max-width: 860px; }
}

/* ---- Mobile: prevent horizontal overflow on small screens --- */
@media (max-width: 768px) {
  .rs-section { padding: 2rem 1.25rem; }
  .rs-two { gap: 1rem; }
  .rs-stat-num { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .rs-bar-label { width: 80px; font-size: 0.7rem; }
  .se-page-hero-inner { max-width: 100%; }
}

/* ---- Draggable carousel cursor signal ----------------------- */
.se-carousel-track { user-select: none; -webkit-user-select: none; }

/* ---- Horizontal scroll elements: show subtle scroll hint ---- */
.se-tabs-nav { scrollbar-width: none; -ms-overflow-style: none; }
.se-tabs-nav::-webkit-scrollbar { display: none; }

/* ---- Fix .inner padding on very small screens --------------- */
@media (max-width: 360px) {
  .inner, .container { padding-inline: 0.75rem; }
}

/* ============================================================
   FIX: Callback FAB container blocks share-bar clicks
   The #se-cb-fab div is a large transparent fixed element at
   z-index:9998 on the left — pointer-events:none on the
   container lets clicks pass through to the share bar.
   Re-enable events only on the visible interactive children.
   ============================================================ */
#se-cb-fab { pointer-events: none; }
#se-cb-toggle,
#se-cb-close,
#se-cb-panel:not(.se-hidden),
#se-cb-panel:not(.se-hidden) * { pointer-events: auto; }

/* Raise share bar above any remaining overlaps */
#se-share-bar { z-index: 9500; }

/* ============================================================
   99. SCROLL & INPUT SAFETY LAYER  (last in file = highest priority)
   Guarantees the page can always scroll and that no closed overlay,
   floating button, or decorative canvas can trap mouse / touch /
   keyboard input. This is a defensive backstop.
============================================================ */
/* Exactly ONE scroll container (html). If body is a scroll container
   (which happens whenever body has overflow-x:hidden -> overflow-y
   computes to auto), the mouse wheel and arrow keys target a different
   element than the scrollbar, so only the scrollbar scrolls. Forcing
   body overflow:visible makes html the sole scroller again. */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}
body {
  overflow: visible !important;   /* both axes visible = body is NOT a scroll container */
  height: auto !important;
  max-height: none !important;
  position: static !important;
}
/* Decorative full-viewport canvases must never intercept input */
#se-particles,
.se-hero-anim { pointer-events: none !important; }

/* Large transparent floating containers pass clicks through;
   only their visible interactive children capture events */
#se-cb-fab { pointer-events: none !important; }
#se-cb-toggle,
#se-cb-close,
#se-cb-panel:not(.se-hidden),
#se-cb-panel:not(.se-hidden) * { pointer-events: auto !important; }

/* Closed overlays must never capture events, even if their
   hidden-state rule was somehow dropped */
#se-search-overlay:not(.se-search-open),
#se-lightbox:not(.se-lb-open),
.se-mobile-nav:not(.open),
.se-mobile-overlay:not(.active) { pointer-events: none !important; }

/* ============================================================
   29. FOOTER VISIBILITY FIX
   The company-details line uses an inline color:var(--text-dim)
   (40% black) which is invisible on the dark footer. Force it to a
   light colour. !important overrides the inline style.
============================================================ */
.se-footer [style*="--text-dim"],
.se-footer [style*="text-dim"] { color: rgba(255,255,255,0.72) !important; }
.se-footer-bottom, .se-footer-bottom a, .se-footer-bottom span { color: rgba(255,255,255,0.6) !important; }
