/* =============================================================
   SEELO ENTERPRISE SOLUTIONS — base.css  v2.1
   Themes : dark (default) + light  [data-theme="light"]
   Nav     : always-visible sticky bar — never hides on scroll
   Mobile  : full-screen drawer with accordion submenus
============================================================= */
 
/* ─────────────────────────────────────────────────────────────
   1. DARK THEME TOKENS (default)
───────────────────────────────────────────────────────────── */
:root,
[data-theme="dark"] {
 
  /* Surfaces */
  --bg:              #080c18;
  --bg-2:            #0c1020;
  --bg-card:         rgba(255,255,255,0.03);
  --surface:         rgba(255,255,255,0.055);
  --border:          rgba(255,255,255,0.07);
  --border-focus:    rgba(0,212,255,0.45);
 
  /* Brand */
  --primary:         #00d4ff;
  --primary-dim:     rgba(0,212,255,0.11);
  --primary-glow:    rgba(0,212,255,0.22);
  --accent:          #f0b429;
  --accent-dim:      rgba(240,180,41,0.12);
  --purple:          #7c5cbf;
 
  /* Text */
  --txt:             #e4e7f0;
  --txt-2:           #7a8498;
  --txt-3:           #434c63;
 
  /* Effects */
  --mesh-a:          rgba(0,212,255,0.065);
  --mesh-b:          rgba(124,92,191,0.065);
  --mesh-c:          rgba(240,180,41,0.025);
  --grid-line:       rgba(255,255,255,0.012);
  --shadow-card:     0 4px 48px rgba(0,0,0,0.45);
  --shadow-glow:     0 0 48px rgba(0,212,255,0.14);
  --shadow-nav:      0 1px 0 rgba(255,255,255,0.04), 0 12px 48px rgba(0,0,0,0.55);
 
  /* Nav */
  --nav-bg:          rgba(8,12,24,0.88);
  --nav-border:      rgba(255,255,255,0.06);
 
  /* Loader */
  --loader-bg:       #080c18;
 
  /* Theme-icon visibility */
  --icon-dark-d:  block;
  --icon-light-d: none;
}
 
/* ─────────────────────────────────────────────────────────────
   2. LIGHT THEME TOKENS
───────────────────────────────────────────────────────────── */
[data-theme="light"] {
 
  --bg:              #f8fafc;
  --bg-2:            #eef2f7;
  --bg-card:         #ffffff;
  --surface:         #f1f5f9;
  --border:          rgba(15,23,42,0.13);
  --border-focus:    rgba(0,119,168,0.55);
 
  --primary:         #0077a8;
  --primary-dim:     rgba(0,119,168,0.1);
  --primary-glow:    rgba(0,119,168,0.18);
  --accent:          #9a5d00;
  --accent-dim:      rgba(154,93,0,0.1);
  --purple:          #6240a8;
 
  --txt:             #111827;
  --txt-2:           #4b5563;
  --txt-3:           #667085;
 
  --mesh-a:          rgba(0,144,200,0.055);
  --mesh-b:          rgba(98,64,168,0.045);
  --mesh-c:          rgba(192,123,0,0.03);
  --grid-line:       rgba(0,0,0,0.022);
  --shadow-card:     0 4px 40px rgba(0,0,0,0.09);
  --shadow-glow:     0 0 40px rgba(0,144,200,0.1);
  --shadow-nav:      0 1px 0 rgba(0,0,0,0.05), 0 8px 40px rgba(0,0,0,0.08);
 
  --nav-bg:          rgba(240,244,251,0.92);
  --nav-border:      rgba(0,0,0,0.07);
 
  --loader-bg:       #f0f4fb;
 
  --icon-dark-d:  none;
  --icon-light-d: block;
  color-scheme: light;
}
 
/* ─────────────────────────────────────────────────────────────
   3. GLOBAL TOKENS (theme-independent)
───────────────────────────────────────────────────────────── */
:root {
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
 
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
 
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
 
  --t-fast: 140ms;
  --t-base: 260ms;
  --t-slow: 480ms;
 
  /* ── NAV dimensions ── */
  --bar-h:    38px;                               /* announcement bar  */
  --nav-h:    68px;                               /* main nav          */
  --header-h: calc(var(--bar-h) + var(--nav-h));  /* total header      */
 
  --container: 1280px;
}
 
/* ─────────────────────────────────────────────────────────────
   4. RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Offset anchors so they clear the sticky header */
  scroll-padding-top: var(--header-h);
}
 
body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease-base), color 0.3s var(--ease-base);
}
 
::selection { background: var(--primary); color: var(--bg); }
 
/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--primary-dim); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
 
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea { font-family: var(--font-body); }
 
/* ─────────────────────────────────────────────────────────────
   5. LAYOUT HELPERS
───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
}
.section    { padding-block: 6rem; }
.section-sm { padding-block: 4rem; }
.section-lg { padding-block: 9rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
 
/* ─────────────────────────────────────────────────────────────
   6. GLOBAL BACKGROUND (mesh + grid)
───────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at  8% -5%,  var(--mesh-a) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 92%  98%, var(--mesh-b) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50%  50%, var(--mesh-c) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.35s ease;
}
 
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
/* ─────────────────────────────────────────────────────────────
   7. ANNOUNCEMENT BAR
───────────────────────────────────────────────────────────── */

.announcement-bar {
  position: relative;
  z-index: 1100;

  min-height: var(--bar-h);

  display: flex;
  align-items: center;
  justify-content: center;

  padding-inline: 3rem;

  background: linear-gradient(
    90deg,
    rgba(0, 212, 255, 0.07),
    rgba(124, 92, 191, 0.07),
    rgba(0, 212, 255, 0.07)
  );

  border-bottom: 1px solid var(--border);

  overflow: hidden;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.3s ease;
}


/* ─────────────────────────────────────────────────────────────
   SHIMMER SWEEP
───────────────────────────────────────────────────────────── */

.announcement-bar::before {
  content: '';

  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-dim) 50%,
    transparent
  );

  background-size: 200% 100%;

  animation: shimmer 5s infinite linear;

  pointer-events: none;
}

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

  to {
    background-position: 200% 0;
  }
}


/* ─────────────────────────────────────────────────────────────
   SLIDER
───────────────────────────────────────────────────────────── */

.announcement-slider {
  position: relative;

  width: 100%;

  min-height: calc(var(--bar-h) - 2px);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  z-index: 1;
}


/* ─────────────────────────────────────────────────────────────
   INDIVIDUAL ANNOUNCEMENT
───────────────────────────────────────────────────────────── */

.announcement-slide {
  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;

  transform:
    translateY(14px)
    scale(0.985);

  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(
      0.22,
      1,
      0.36,
      1
    );
}


/* Active announcement */

.announcement-slide.active {
  position: relative;

  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  pointer-events: auto;
}


/* ─────────────────────────────────────────────────────────────
   CONTENT
───────────────────────────────────────────────────────────── */

.announcement-content {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 0.6rem;

  max-width: calc(100vw - 7rem);

  font-size: 0.76rem;

  font-family: var(--font-mono);

  letter-spacing: 0.04em;

  color: var(--txt-2);

  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   DOT
───────────────────────────────────────────────────────────── */

.announcement-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--primary);

  animation: pulse-dot 2s infinite;

  flex-shrink: 0;

  box-shadow:
    0 0 0 4px rgba(0, 212, 255, 0.08);
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}


/* ─────────────────────────────────────────────────────────────
   MESSAGE
───────────────────────────────────────────────────────────── */

.announcement-message {
  display: inline-flex;

  align-items: center;

  min-width: 0;
}


/* ─────────────────────────────────────────────────────────────
   LINK
───────────────────────────────────────────────────────────── */

.announcement-link {
  color: var(--primary);

  font-weight: 500;

  transition:
    opacity var(--t-fast),
    color var(--t-fast);
}

.announcement-link:hover {
  opacity: 0.7;
}


/* ─────────────────────────────────────────────────────────────
   SEPARATOR
───────────────────────────────────────────────────────────── */

.announcement-separator {
  margin-inline: 0.35rem;

  color: var(--txt-3);

  opacity: 0.7;
}


/* ─────────────────────────────────────────────────────────────
   NAVIGATION CONTROLS
───────────────────────────────────────────────────────────── */

.announcement-controls {
  position: absolute;

  right: 3.2rem;

  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  display: flex;

  align-items: center;

  gap: 0.2rem;
}


/* ─────────────────────────────────────────────────────────────
   PREVIOUS / NEXT
───────────────────────────────────────────────────────────── */

.announcement-nav {
  width: 24px;
  height: 24px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;

  border-radius: var(--r-xs);

  background: transparent;

  color: var(--txt-3);

  font-size: 0.65rem;

  cursor: pointer;

  transition:
    color var(--t-fast),
    background var(--t-fast),
    transform var(--t-fast);
}

.announcement-nav:hover {
  color: var(--txt);

  background: var(--surface);

  transform: scale(1.05);
}

.announcement-nav:active {
  transform: scale(0.92);
}


/* ─────────────────────────────────────────────────────────────
   COUNTER
───────────────────────────────────────────────────────────── */

.announcement-counter {
  min-width: 32px;

  color: var(--txt-3);

  font-family: var(--font-mono);

  font-size: 0.62rem;

  letter-spacing: 0.03em;

  text-align: center;

  user-select: none;
}


/* ─────────────────────────────────────────────────────────────
   CLOSE BUTTON
───────────────────────────────────────────────────────────── */

.announcement-close {
  position: absolute;

  right: 0.85rem;

  top: 50%;

  transform: translateY(-50%);

  width: 26px;
  height: 26px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: var(--r-xs);

  border: 0;

  background: transparent;

  color: var(--txt-3);

  font-size: 0.7rem;

  cursor: pointer;

  z-index: 10;

  transition:
    color var(--t-fast),
    background var(--t-fast),
    transform var(--t-fast);
}

.announcement-close:hover {
  color: var(--txt);

  background: var(--surface);

  transform:
    translateY(-50%)
    scale(1.05);
}

.announcement-close:active {
  transform:
    translateY(-50%)
    scale(0.92);
}


/* ─────────────────────────────────────────────────────────────
   CLOSING ANIMATION
───────────────────────────────────────────────────────────── */

.announcement-bar.is-closing {
  opacity: 0;

  transform: translateY(-100%);

  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   ACCESSIBILITY
───────────────────────────────────────────────────────────── */

.announcement-nav:focus-visible,
.announcement-close:focus-visible,
.announcement-link:focus-visible {
  outline: 2px solid var(--primary);

  outline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {

  .announcement-bar::before {
    animation: none;
  }

  .announcement-dot {
    animation: none;
  }

  .announcement-slide {
    transition: opacity 0.15s ease;
    transform: none;
  }

  .announcement-slide.active {
    transform: none;
  }

  .announcement-bar {
    transition: opacity 0.15s ease;
  }
}


/* ─────────────────────────────────────────────────────────────
   MOBILE
───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {

  .announcement-bar {
    padding-inline: 1rem 2.8rem;
  }

  .announcement-content {
    max-width: calc(100vw - 4rem);

    font-size: 0.68rem;

    line-height: 1.4;
  }

  .announcement-controls {
    right: 2.65rem;
  }

  .announcement-nav {
    width: 21px;
    height: 21px;
  }

  .announcement-counter {
    display: none;
  }

  .announcement-close {
    right: 0.65rem;
  }
}


/* ─────────────────────────────────────────────────────────────
   SMALL MOBILE
───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {

  .announcement-bar {
    padding-inline: 0.75rem 2.5rem;
  }

  .announcement-content {
    max-width: calc(100vw - 3.5rem);

    gap: 0.45rem;

    font-size: 0.63rem;
  }

  .announcement-dot {
    width: 5px;
    height: 5px;
  }

  .announcement-separator {
    margin-inline: 0.2rem;
  }

  .announcement-controls {
    display: none;
  }

}
 
/* ─────────────────────────────────────────────────────────────
   8. SITE HEADER (sticky wrapper)
───────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* The header is ALWAYS visible — never hidden on scroll.
     It simply gains a frosted-glass effect as the user scrolls. */
}
 
/* ─────────────────────────────────────────────────────────────
   9. NAVBAR
───────────────────────────────────────────────────────────── */
#main-nav {
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition:
    box-shadow var(--t-slow) var(--ease-base),
    border-color 0.3s ease;
}
 
#main-nav.scrolled {
  box-shadow: var(--shadow-nav);
  border-color: transparent;
}
 
.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* ── Logo ─────────────────────────────── */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);

  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  transition: transform var(--t-base) var(--ease-out);
}

/* ── Logo Image ───────────────────────── */

.nav-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

/* ── Logo Shine ───────────────────────── */

.nav-logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 55%
  );

  z-index: 3;
  pointer-events: none;
}

/* ── Logo Hover ───────────────────────── */

.nav-logo:hover .nav-logo-mark {
  transform: rotate(-6deg) scale(1.08);
}

/* ── Logo Text ────────────────────────── */

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-3);
  transition: color 0.3s ease;
}

.accent {
  color: var(--primary);
}
 
/* ── Desktop links ────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
 
.nav-item { position: relative; }
 
.nav-link,
.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.48rem 0.82rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--txt-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
  position: relative;
}
 
.nav-link:hover,
.nav-link-btn:hover { color: var(--txt); background: var(--surface); }
 
.nav-link.active,
.nav-link-btn[aria-expanded="true"] { color: var(--txt); background: var(--surface); }
 
/* Active underline indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
}
 
/* Animated chevron — aria-expanded is the sole rotation driver */
.nav-chevron {
  font-size: 0.65rem;
  color: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base);
}
.nav-link-btn[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
 
/* ── Dropdown panel ────────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  z-index: 999;
 
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.2s var(--ease-out),
    visibility 0.2s,
    transform 0.2s var(--ease-out);
}
 
/* Show via aria-expanded */
.nav-item .nav-link-btn[aria-expanded="true"] + .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
 
/* Top connecting arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
 
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
.dropdown-grid--compact { gap: 0; }
 
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
  text-decoration: none;
}
.dropdown-item:hover { background: var(--surface); }
 
/* Single authoritative definition — NOT redefined in §21 */
.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--bg);
  transform: scale(1.08);
}
 
.dropdown-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.2;
}
.dropdown-desc {
  font-size: 0.76rem;
  color: var(--txt-2);
  line-height: 1.4;
}
 
/* ── Nav Actions ──────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
 
/* ── Theme toggle (desktop) ──────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--txt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition:
    border-color var(--t-base),
    color var(--t-base),
    background var(--t-base),
    transform var(--t-base);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: rotate(16deg) scale(1.06);
}
.theme-toggle .icon-dark  { display: var(--icon-dark-d,  block); }
.theme-toggle .icon-light { display: var(--icon-light-d, none);  }
 
/* ── Hamburger ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-left: auto;
  flex-shrink: 0;
}
.ham-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--txt-2);
  border-radius: 99px;
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
}
 
/* Animated to ✕ */
.hamburger[aria-expanded="true"] .ham-line--top {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .ham-line--mid {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .ham-line--bot {
  transform: translateY(-6.5px) rotate(-45deg);
}
 
/* ─────────────────────────────────────────────────────────────
   10. MOBILE MENU — full-screen side drawer
───────────────────────────────────────────────────────────── */
.mobile-menu {
  display: none; /* flex when JS enabled on mobile */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  z-index: 1200;
  background: var(--bg-2);
  flex-direction: column;
  overflow: hidden;
  transform: translateX(110%);
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: -20px 0 80px rgba(0,0,0,0.45);
}
 
.mobile-menu.is-open { transform: translateX(0); }
 
/* Backdrop */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base) ease;
  pointer-events: none;
}
.mobile-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
 
/* Header row */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-3);
}
 
/* Theme row (inside header) */
.mobile-theme-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mobile-theme-label {
  font-size: 0.78rem;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
 
/* Pill toggle */
.theme-pill {
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base);
}
.theme-pill[data-active="true"] {
  background: var(--primary-dim);
  border-color: var(--primary);
}
.pill-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), background var(--t-base);
}
.theme-pill[data-active="true"] .pill-knob {
  transform: translateX(20px);
  background: var(--primary);
}
 
/* Menu body — scrollable */
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu-body::-webkit-scrollbar { width: 3px; }
.mobile-menu-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
 
/* Flat links */
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-2);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.mobile-link:hover {
  color: var(--txt);
  background: var(--surface);
}
.mobile-link i { font-size: 0.8rem; opacity: 0.5; }
 
/* ── Accordion ──────────────────────── */
.mobile-accordion {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.mobile-accordion.is-open {
  border-color: var(--border);
  background: var(--bg-card);
}
 
.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  font-family: var(--font-body);
  border-radius: var(--r-md);
  text-align: left;
}
.mobile-accordion-trigger:hover { color: var(--txt); background: var(--surface); }
.mobile-accordion.is-open .mobile-accordion-trigger { color: var(--txt); }
 
/* acc-icon — .is-open is the sole rotation driver; no hover conflict */
.acc-icon {
  font-size: 0.75rem;
  color: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base);
  flex-shrink: 0;
}
.mobile-accordion.is-open .acc-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
 
/* Accordion body — height animation */
.mobile-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.mobile-accordion.is-open .mobile-accordion-body {
  grid-template-rows: 1fr;
}
.mobile-accordion-body > * {
  /* inner wrapper created by JS — overflow hidden hides during collapse */
  overflow: hidden;
}
 
/* Accordion body direct child links (when no wrapper) */
.mobile-accordion-body {
  padding: 0 0.5rem;
  overflow: hidden;
  /* fallback height: 0 when closed */
  max-height: 0;
  transition: max-height var(--t-slow) var(--ease-out), padding var(--t-base);
}
.mobile-accordion.is-open .mobile-accordion-body {
  max-height: 500px;
  padding: 0 0.5rem 0.5rem;
}
 
.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--txt-2);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-sub-link i { color: var(--primary); font-size: 0.85rem; flex-shrink: 0; }
.mobile-sub-link:hover { color: var(--txt); background: var(--surface); }
 
/* Divider */
.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}
 
/* CTA button */
.btn-mobile-cta {
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
  padding-block: 0.9rem;
}/* =============================================================
   SEELO ENTERPRISE SOLUTIONS — base.css  v2.1
   Themes : dark (default) + light  [data-theme="light"]
   Nav     : always-visible sticky bar — never hides on scroll
   Mobile  : full-screen drawer with accordion submenus
============================================================= */
 
/* ─────────────────────────────────────────────────────────────
   1. DARK THEME TOKENS (default)
───────────────────────────────────────────────────────────── */
:root,
[data-theme="dark"] {
 
  /* Surfaces */
  --bg:              #080c18;
  --bg-2:            #0c1020;
  --bg-card:         rgba(255,255,255,0.03);
  --surface:         rgba(255,255,255,0.055);
  --border:          rgba(255,255,255,0.07);
  --border-focus:    rgba(0,212,255,0.45);
 
  /* Brand */
  --primary:         #00d4ff;
  --primary-dim:     rgba(0,212,255,0.11);
  --primary-glow:    rgba(0,212,255,0.22);
  --accent:          #f0b429;
  --accent-dim:      rgba(240,180,41,0.12);
  --purple:          #7c5cbf;
 
  /* Text */
  --txt:             #e4e7f0;
  --txt-2:           #7a8498;
  --txt-3:           #434c63;
 
  /* Effects */
  --mesh-a:          rgba(0,212,255,0.065);
  --mesh-b:          rgba(124,92,191,0.065);
  --mesh-c:          rgba(240,180,41,0.025);
  --grid-line:       rgba(255,255,255,0.012);
  --shadow-card:     0 4px 48px rgba(0,0,0,0.45);
  --shadow-glow:     0 0 48px rgba(0,212,255,0.14);
  --shadow-nav:      0 1px 0 rgba(255,255,255,0.04), 0 12px 48px rgba(0,0,0,0.55);
 
  /* Nav */
  --nav-bg:          rgba(8,12,24,0.88);
  --nav-border:      rgba(255,255,255,0.06);
 
  /* Loader */
  --loader-bg:       #080c18;
 
  /* Theme-icon visibility */
  --icon-dark-d:  block;
  --icon-light-d: none;
}
 
/* ─────────────────────────────────────────────────────────────
   2. LIGHT THEME TOKENS
───────────────────────────────────────────────────────────── */
[data-theme="light"] {
 
  --bg:              #f8fafc;
  --bg-2:            #eef2f7;
  --bg-card:         #ffffff;
  --surface:         #f1f5f9;
  --border:          rgba(15,23,42,0.13);
  --border-focus:    rgba(0,119,168,0.55);
 
  --primary:         #0077a8;
  --primary-dim:     rgba(0,119,168,0.1);
  --primary-glow:    rgba(0,119,168,0.18);
  --accent:          #9a5d00;
  --accent-dim:      rgba(154,93,0,0.1);
  --purple:          #6240a8;
 
  --txt:             #111827;
  --txt-2:           #4b5563;
  --txt-3:           #667085;
 
  --mesh-a:          rgba(0,144,200,0.055);
  --mesh-b:          rgba(98,64,168,0.045);
  --mesh-c:          rgba(192,123,0,0.03);
  --grid-line:       rgba(0,0,0,0.022);
  --shadow-card:     0 4px 40px rgba(0,0,0,0.09);
  --shadow-glow:     0 0 40px rgba(0,144,200,0.1);
  --shadow-nav:      0 1px 0 rgba(0,0,0,0.05), 0 8px 40px rgba(0,0,0,0.08);
 
  --nav-bg:          rgba(240,244,251,0.92);
  --nav-border:      rgba(0,0,0,0.07);
 
  --loader-bg:       #f0f4fb;
 
  --icon-dark-d:  none;
  --icon-light-d: block;
  color-scheme: light;
}
 
/* ─────────────────────────────────────────────────────────────
   3. GLOBAL TOKENS (theme-independent)
───────────────────────────────────────────────────────────── */
:root {
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
 
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
 
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
 
  --t-fast: 140ms;
  --t-base: 260ms;
  --t-slow: 480ms;
 
  /* ── NAV dimensions ── */
  --bar-h:    38px;                               /* announcement bar  */
  --nav-h:    68px;                               /* main nav          */
  --header-h: calc(var(--bar-h) + var(--nav-h));  /* total header      */
 
  --container: 1280px;
}
 
/* ─────────────────────────────────────────────────────────────
   4. RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Offset anchors so they clear the sticky header */
  scroll-padding-top: var(--header-h);
}
 
body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease-base), color 0.3s var(--ease-base);
}
 
::selection { background: var(--primary); color: var(--bg); }
 
/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--primary-dim); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
 
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea { font-family: var(--font-body); }
 
/* ─────────────────────────────────────────────────────────────
   5. LAYOUT HELPERS
───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
}
.section    { padding-block: 6rem; }
.section-sm { padding-block: 4rem; }
.section-lg { padding-block: 9rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
 
/* ─────────────────────────────────────────────────────────────
   6. GLOBAL BACKGROUND (mesh + grid)
───────────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at  8% -5%,  var(--mesh-a) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 92%  98%, var(--mesh-b) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50%  50%, var(--mesh-c) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.35s ease;
}
 
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
 
/* ─────────────────────────────────────────────────────────────
   7. ANNOUNCEMENT BAR
───────────────────────────────────────────────────────────── */
.announcement-bar {
  position: relative;
  z-index: 1100;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 3rem;
  background: linear-gradient(90deg,
    rgba(0,212,255,0.07),
    rgba(124,92,191,0.07),
    rgba(0,212,255,0.07));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.3s ease;
}
 
/* shimmer sweep */
.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--primary-dim) 50%, transparent);
  background-size: 200% 100%;
  animation: shimmer 5s infinite linear;
  pointer-events: none;
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}
 
.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--txt-2);
}
 
.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1);   }
  50%      { opacity: 0.5; transform: scale(1.5); }
}
 
.announcement-link {
  color: var(--primary);
  font-weight: 500;
  transition: opacity var(--t-fast);
}
.announcement-link:hover { opacity: 0.7; }
 
.announcement-close {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
  color: var(--txt-3);
  font-size: 0.7rem;
  transition: color var(--t-fast), background var(--t-fast);
}
.announcement-close:hover {
  color: var(--txt);
  background: var(--surface);
}
 
/* ─────────────────────────────────────────────────────────────
   8. SITE HEADER (sticky wrapper)
───────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* The header is ALWAYS visible — never hidden on scroll.
     It simply gains a frosted-glass effect as the user scrolls. */
}
 
/* ─────────────────────────────────────────────────────────────
   9. NAVBAR
───────────────────────────────────────────────────────────── */
#main-nav {
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition:
    box-shadow var(--t-slow) var(--ease-base),
    border-color 0.3s ease;
}
 
#main-nav.scrolled {
  box-shadow: var(--shadow-nav);
  border-color: transparent;
}
 
.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
 
/* ── Logo ─────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
 
.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #060a14;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 55%);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-6deg) scale(1.08); }
 
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
 
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-3);
  transition: color 0.3s ease;
}
.accent { color: var(--primary); }
 
/* ── Desktop links ────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
 
.nav-item { position: relative; }
 
.nav-link,
.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.48rem 0.82rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--txt-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
  position: relative;
}
 
.nav-link:hover,
.nav-link-btn:hover { color: var(--txt); background: var(--surface); }
 
.nav-link.active,
.nav-link-btn[aria-expanded="true"] { color: var(--txt); background: var(--surface); }
 
/* Active underline indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
}
 
/* Animated chevron — aria-expanded is the sole rotation driver */
.nav-chevron {
  font-size: 0.65rem;
  color: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base);
}
.nav-link-btn[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
 
/* ── Dropdown panel ────────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  z-index: 999;
 
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.2s var(--ease-out),
    visibility 0.2s,
    transform 0.2s var(--ease-out);
}
 
/* Show via aria-expanded */
.nav-item .nav-link-btn[aria-expanded="true"] + .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
 
/* Top connecting arrow */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
 
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}
.dropdown-grid--compact { gap: 0; }
 
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
  text-decoration: none;
}
.dropdown-item:hover { background: var(--surface); }
 
/* Single authoritative definition — NOT redefined in §21 */
.dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: var(--bg);
  transform: scale(1.08);
}
 
.dropdown-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.2;
}
.dropdown-desc {
  font-size: 0.76rem;
  color: var(--txt-2);
  line-height: 1.4;
}
 
/* ── Nav Actions ──────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
 
/* ── Theme toggle (desktop) ──────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--txt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition:
    border-color var(--t-base),
    color var(--t-base),
    background var(--t-base),
    transform var(--t-base);
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: rotate(16deg) scale(1.06);
}
.theme-toggle .icon-dark  { display: var(--icon-dark-d,  block); }
.theme-toggle .icon-light { display: var(--icon-light-d, none);  }
 
/* ── Hamburger ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-left: auto;
  flex-shrink: 0;
}
.ham-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--txt-2);
  border-radius: 99px;
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
}
 
/* Animated to ✕ */
.hamburger[aria-expanded="true"] .ham-line--top {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .ham-line--mid {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .ham-line--bot {
  transform: translateY(-6.5px) rotate(-45deg);
}
 
/* ─────────────────────────────────────────────────────────────
   10. MOBILE MENU — full-screen side drawer
───────────────────────────────────────────────────────────── */
.mobile-menu {
  display: none; /* flex when JS enabled on mobile */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 92vw);
  z-index: 1200;
  background: var(--bg-2);
  flex-direction: column;
  overflow: hidden;
  transform: translateX(110%);
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: -20px 0 80px rgba(0,0,0,0.45);
}
 
.mobile-menu.is-open { transform: translateX(0); }
 
/* Backdrop */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base) ease;
  pointer-events: none;
}
.mobile-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
 
/* Header row */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-3);
}
 
/* Theme row (inside header) */
.mobile-theme-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mobile-theme-label {
  font-size: 0.78rem;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
 
/* Pill toggle */
.theme-pill {
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base);
}
.theme-pill[data-active="true"] {
  background: var(--primary-dim);
  border-color: var(--primary);
}
.pill-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), background var(--t-base);
}
.theme-pill[data-active="true"] .pill-knob {
  transform: translateX(20px);
  background: var(--primary);
}
 
/* Menu body — scrollable */
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu-body::-webkit-scrollbar { width: 3px; }
.mobile-menu-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
 
/* Flat links */
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-2);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.mobile-link:hover {
  color: var(--txt);
  background: var(--surface);
}
.mobile-link i { font-size: 0.8rem; opacity: 0.5; }
 
/* ── Accordion ──────────────────────── */
.mobile-accordion {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.mobile-accordion.is-open {
  border-color: var(--border);
  background: var(--bg-card);
}
 
.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--txt-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  font-family: var(--font-body);
  border-radius: var(--r-md);
  text-align: left;
}
.mobile-accordion-trigger:hover { color: var(--txt); background: var(--surface); }
.mobile-accordion.is-open .mobile-accordion-trigger { color: var(--txt); }
 
/* acc-icon — .is-open is the sole rotation driver; no hover conflict */
.acc-icon {
  font-size: 0.75rem;
  color: var(--txt-3);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base);
  flex-shrink: 0;
}
.mobile-accordion.is-open .acc-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
 
/* Accordion body — height animation */
.mobile-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.mobile-accordion.is-open .mobile-accordion-body {
  grid-template-rows: 1fr;
}
.mobile-accordion-body > * {
  /* inner wrapper created by JS — overflow hidden hides during collapse */
  overflow: hidden;
}
 
/* Accordion body direct child links (when no wrapper) */
.mobile-accordion-body {
  padding: 0 0.5rem;
  overflow: hidden;
  /* fallback height: 0 when closed */
  max-height: 0;
  transition: max-height var(--t-slow) var(--ease-out), padding var(--t-base);
}
.mobile-accordion.is-open .mobile-accordion-body {
  max-height: 500px;
  padding: 0 0.5rem 0.5rem;
}
 
.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: var(--txt-2);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-sub-link i { color: var(--primary); font-size: 0.85rem; flex-shrink: 0; }
.mobile-sub-link:hover { color: var(--txt); background: var(--surface); }
 
/* Divider */
.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}
 
/* CTA button */
.btn-mobile-cta {
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
  padding-block: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────
   11. BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  transition: all var(--t-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}
 
/* Ghost */
.btn-ghost { color: var(--txt-2); }
.btn-ghost:hover {
  color: var(--txt);
  border-color: var(--border);
  background: var(--surface);
}
 
/* Outline */
.btn-outline {
  color: var(--primary);
  border-color: rgba(0,212,255,0.28);
}
.btn-outline:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
}
 
/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #006ecf 100%);
  color: #060a14;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn-primary:hover::before  { opacity: 1; }
.btn-primary:hover          { transform: translateY(-1px); box-shadow: 0 8px 24px var(--primary-glow); }
.btn-primary:active         { transform: translateY(0); }
 
.btn-lg { padding: 0.82rem 1.9rem; font-size: 0.95rem; border-radius: var(--r-md); }
 
/* ─────────────────────────────────────────────────────────────
   12. MAIN
   FIX: explicit margin/padding reset eliminates nav-to-content gap
───────────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
 
/* ─────────────────────────────────────────────────────────────
   13. FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.35s ease;
}
 
/* Rainbow top rule */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--primary) 35%, var(--purple) 65%, transparent 100%);
  opacity: 0.7;
}
 
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr repeat(3, 1fr);
  gap: 4rem;
  padding-block: 5rem 4rem;
}
 
/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
  width: fit-content;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #060a14;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--txt);
  transition: color 0.3s ease;
}
 
.footer-tagline {
  font-size: 0.85rem;
  color: var(--txt-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
 
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  font-size: 0.9rem;
  transition: all var(--t-base);
  text-decoration: none;
}
.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: translateY(-2px);
}
 
/* Nav columns */
.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt);
  margin-bottom: 1.4rem;
  transition: color 0.3s ease;
}
 
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav-link {
  font-size: 0.86rem;
  color: var(--txt-2);
  transition: color var(--t-fast), padding-left var(--t-base);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.footer-nav-link:hover { color: var(--txt); padding-left: 4px; }
 
.footer-nav-link--badge { align-items: center; }
.badge-hiring {
  padding: 0.1rem 0.45rem;
  background: var(--accent-dim);
  border: 1px solid rgba(240,180,41,0.25);
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
}
 
/* Newsletter */

.footer-newsletter-copy {
    font-size: 0.84rem;
    color: var(--txt-2);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-top: 0.5rem;
}

.newsletter-field {
    display: flex;
    gap: 0.4rem;
}

.newsletter-input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.84rem;
    color: var(--txt);
    outline: none;
    transition:
        border-color var(--t-fast),
        background 0.3s ease,
        color 0.3s ease;
    min-width: 0;
}

.newsletter-input::placeholder {
    color: var(--txt-3);
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: linear-gradient(
        135deg,
        var(--primary),
        #006ecf
    );
    color: #060a14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition:
        opacity var(--t-fast),
        transform var(--t-base);
    border: none;
    cursor: pointer;
}

.newsletter-btn:hover {
    opacity: 0.85;
    transform: scale(1.06);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-note {
    font-size: 0.7rem;
    color: var(--txt-3);
    margin-top: 0.6rem;
}

/* Newsletter loading spinner */

.newsletter-btn .spin {
    animation: newsletter-spin 0.8s linear infinite;
}

@keyframes newsletter-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-legal-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.footer-legal-link {
  font-size: 0.76rem;
  color: var(--txt-3);
  transition: color var(--t-fast);
  text-decoration: none;
}
.footer-legal-link:hover { color: var(--txt-2); }
 
/* Rule + Bottom */
.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.2;
}
 
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}
 
.footer-copy {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--txt-3);
}
.footer-copy strong { color: var(--primary); font-weight: 500; }
 
.footer-badges { display: flex; gap: 0.6rem; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--txt-2);
  letter-spacing: 0.04em;
}
.trust-badge i { color: var(--accent); }
 
/* ─────────────────────────────────────────────────────────────
   14. UTILITY / CARD / TAG / HEADING HELPERS
───────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.82rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-primary { background: var(--primary-dim); border: 1px solid rgba(0,212,255,0.2); color: var(--primary); }
.tag-accent  { background: var(--accent-dim);  border: 1px solid rgba(240,180,41,0.2); color: var(--accent); }
.tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; animation: pulse-dot 2s infinite;
}
 
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    background 0.3s ease;
}
.card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}
 
.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--txt);
}
.h-display em {
  font-style: normal;
  background: linear-gradient(95deg, var(--primary) 0%, #0068cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
 
.h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.2;  letter-spacing: -0.02em; }
 
/* ─────────────────────────────────────────────────────────────
   15. TOAST
───────────────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  font-size: 0.86rem;
  color: var(--txt);
  min-width: 260px;
  max-width: 360px;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform var(--t-base) var(--ease-out);
}
.toast.show    { transform: translateX(0); }
.toast-icon    { font-size: 1rem; flex-shrink: 0; }
.toast-success .toast-icon { color: #22d3a5; }
.toast-error   .toast-icon { color: #f87171; }
.toast-info    .toast-icon { color: var(--primary); }
.toast-warning .toast-icon { color: var(--accent); }
 
/* ─────────────────────────────────────────────────────────────
   16. BACK TO TOP
───────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--txt-2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease-out);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
 
/* ─────────────────────────────────────────────────────────────
   17. PAGE LOADER
───────────────────────────────────────────────────────────── */

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--loader-bg, #080c18);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ── Logo + Brand Name ───────────────────────────────────── */

.loader-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.loader-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.loader-logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--txt);
  line-height: 1;
  white-space: nowrap;
}

.loader-logo-name span {
  color: var(--primary);
}

/* ── Loading Track ────────────────────────────────────────── */

.loader-track {
  width: 140px;
  height: 2px;
  background: var(--surface);
  border-radius: 99px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--primary),
    #006ecf
  );
  border-radius: 99px;
  animation: loadbar 1s var(--ease-out) forwards;
}

@keyframes loadbar {
  0% {
    width: 0%;
  }

  70% {
    width: 82%;
  }

  100% {
    width: 100%;
  }
}

/* ── Loading Text ─────────────────────────────────────────── */

.loader-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--txt-3);
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

/* ── Mobile ───────────────────────────────────────────────── */

@media (max-width: 480px) {
  .loader-logo {
    width: 40px;
    height: 40px;
  }

  .loader-logo-name {
    font-size: 1.5rem;
  }

  .loader-logo-wrap {
    gap: 0.55rem;
  }
}
 
/* ─────────────────────────────────────────────────────────────
   18. DJANGO / FLASH MESSAGES
   FIX: was calc(--nav-h + 1rem) — ignored announcement bar height.
        Now uses --header-h so messages clear both bar + nav.
───────────────────────────────────────────────────────────── */
.flash-messages {
  position: fixed;
  top: calc(var(--header-h) + 1rem);
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.flash {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem 1.2rem;
  border-radius: var(--r-md);
  font-size: 0.86rem;
  border: 1px solid;
  backdrop-filter: blur(20px);
  animation: slideInR 0.3s var(--ease-out);
  max-width: 360px;
}
@keyframes slideInR {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.flash--success { background: rgba(34,211,165,0.09);  border-color: rgba(34,211,165,0.3);  color: #22d3a5; }
.flash--error   { background: rgba(248,113,113,0.09); border-color: rgba(248,113,113,0.3); color: #f87171; }
.flash--warning { background: rgba(240,180,41,0.09);  border-color: rgba(240,180,41,0.3);  color: var(--accent); }
.flash--info    { background: var(--primary-dim);     border-color: rgba(0,212,255,0.28);  color: var(--primary); }
 
/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --bar-h: 34px;
    --nav-h: 60px;
  }
 
  .nav-links,
  .nav-actions { display: none; }
 
  .hamburger { display: flex; }
 
  /* Activate mobile menu flex layout */
  .mobile-menu     { display: flex; }
  .mobile-backdrop { display: block; }
 
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    padding-block: 3rem 2.5rem;
  }
  .footer-brand,
  .footer-newsletter-col { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-badges { justify-content: center; flex-wrap: wrap; }
 
  .section    { padding-block: 4rem; }
  .section-lg { padding-block: 5.5rem; }
 
  #back-to-top { display: none; }
 
  #toast-container { bottom: 1rem; right: 1rem; left: 1rem; }
  .toast { min-width: unset; max-width: 100%; }
}
 
@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }
  .btn-lg { padding: 0.75rem 1.4rem; font-size: 0.88rem; }
  .announcement-content { font-size: 0.7rem; }
  .nav-container { padding-inline: 1rem; }
  .mobile-menu { width: min(360px, 100vw); }
  .footer-grid { gap: 1.75rem 1rem; }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-container { gap: 0.75rem; padding-inline: 1.25rem; }
  .nav-links { gap: 0; }
  .nav-link, .nav-link-btn { padding-inline: 0.55rem; font-size: 0.8rem; }
  .footer-grid { gap: 2rem; }
}
 
/* ─────────────────────────────────────────────────────────────
   20. PRINT
───────────────────────────────────────────────────────────── */
@media print {
  .announcement-bar,
  #main-nav,
  .mobile-menu,
  #page-loader,
  #back-to-top,
  #toast-container { display: none !important; }
  body { background: white; color: black; }
}

/* ─────────────────────────────────────────────────────────────
   21. SELO ENTERPRISE ICON SYSTEM (PRODUCTION READY)
───────────────────────────────────────────────────────────── */

/* ================= BASE ICON STYLE ================= */
i.bi,
.nav-links i,
.dropdown-item i,
.mobile-sub-link i,
.footer-social i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  transition: all 0.25s ease;
  will-change: transform, filter, color;
}

/* ================= ICON COLOR PALETTE ================= */
.icon-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #6d5efc, #00d4ff, #00ffa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Solid Colors */
.icon-purple { color: #a855f7 !important; }
.icon-blue   { color: #3b82f6 !important; }
.icon-green  { color: #22c55e !important; }
.icon-orange { color: #f97316 !important; }
.icon-red    { color: #ef4444 !important; }
.icon-cyan   { color: #06b6d4 !important; }
.icon-yellow { color: #eab308 !important; }

/* ================= NAV ICON ENHANCEMENT ================= */
.nav-links a i,
.nav-link i {
  margin-right: 6px;
  opacity: 0.9;
}

/* Hover animation */
.nav-links a:hover i,
.nav-link:hover i,
.dropdown-item:hover i,
.mobile-sub-link:hover i {
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
  opacity: 1;
}

/* Active state glow */
.nav-links a.active i {
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

/* ================= DROPDOWN ICONS ================= */
.dropdown-icon i {
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
}

/* Hover effect */
.dropdown-item:hover .dropdown-icon i {
  transform: rotate(6deg) scale(1.2);
  background: rgba(0, 212, 255, 0.1);
}

/* ================= MOBILE ICONS ================= */
.mobile-link i,
.mobile-sub-link i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Mobile hover */
.mobile-link:hover i,
.mobile-sub-link:hover i {
  transform: translateX(4px) scale(1.15);
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5));
}

/* ================= FOOTER SOCIAL ICONS ================= */
.footer-social i {
  font-size: 1.2rem;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Social hover glow */
.footer-social a:hover i {
  transform: translateY(-3px) scale(1.2);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.7));
}

/* ================= SPECIAL GRADIENT BRAND ICON ================= */
.brand-icon,
.nav-logo i {
  background: linear-gradient(135deg, #6d5efc, #00d4ff, #00ffa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ================= ACCESSIBILITY + SMOOTHING ================= */
i {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ================= DARK MODE BOOST ================= */
[data-theme="dark"] i {
  filter: brightness(1.05);
}

/* ================= OPTIONAL ICON PULSE ================= */
@keyframes iconPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.icon-pulse:hover {
  animation: iconPulse 0.6s ease-in-out;
}


/* =========================================================
   GLOBAL ICON BASE FIX (IMPORTANT)
   ========================================================= */
i.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: inherit; /* critical for theme control */
}

/* =========================================================
   NAV ICON DEFAULT COLORS (DESKTOP)
   ========================================================= */
.nav-link i {
  color: #8ab4ff; /* soft blue default */
  font-size: 1.05rem;
}

/* Dropdown icons */
.dropdown-icon i {
  color: #00d4ff;
  font-size: 1.1rem;
}

/* Nav action icons */
.nav-actions i {
  color: #a78bfa;
}

/* Theme toggle icons */
.theme-toggle .icon-dark {
  color: #fbbf24; /* moon */
}

.theme-toggle .icon-light {
  color: #facc15; /* sun */
}

/* Chevron */
.nav-chevron {
  color: #9ca3af;
  transition: 0.3s ease;
}

/* =========================================================
   HOVER EFFECTS (DESKTOP NAV)
   ========================================================= */
.nav-link:hover i {
  color: #00e5ff;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

.dropdown-item:hover i {
  color: #22c55e;
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
}

.nav-link:hover .nav-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

/* =========================================================
   GRADIENT ICON OPTION (USE CLASS)
   ========================================================= */
.icon-gradient {
  background: linear-gradient(135deg, #6d5efc, #00d4ff, #00ffa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   COLOR VARIANTS (OPTIONAL UTILITY CLASSES)
   ========================================================= */
.icon-purple { color: #a855f7 !important; }
.icon-blue   { color: #3b82f6 !important; }
.icon-green  { color: #22c55e !important; }
.icon-orange { color: #f97316 !important; }
.icon-red    { color: #ef4444 !important; }
.icon-cyan   { color: #06b6d4 !important; }
.icon-yellow { color: #eab308 !important; }

/* =========================================================
   MOBILE ICONS
   ========================================================= */
.mobile-link i {
  color: #93c5fd;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.mobile-sub-link i {
  color: #60a5fa;
  margin-right: 8px;
}

/* Mobile hover effect */
.mobile-link:hover i,
.mobile-sub-link:hover i {
  color: #00e5ff;
  transform: translateX(4px) scale(1.15);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

/* Accordion icons */
.acc-icon {
  color: #a78bfa;
  transition: 0.3s ease;
}

.mobile-accordion-trigger:hover .acc-icon {
  color: #00e5ff;
  transform: rotate(90deg);
}

/* =========================================================
   BUTTON ICONS
   ========================================================= */
.btn i {
  margin-left: 6px;
  transition: all 0.25s ease;
}

.btn:hover i {
  transform: translateX(3px);
  color: #ffffff;
}

/* Primary button glow icon */
.btn-primary i {
  color: #ffffff;
}

/* =========================================================
   DROPDOWN ICON WRAPPER FIX
   ========================================================= */
.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-icon {
  background: rgba(0, 229, 255, 0.15);
  transform: scale(1.1);
}

/* =========================================================
   ACTIVE / SELECTED STATE (OPTIONAL)
   ========================================================= */
.nav-item.active i {
  color: #00e5ff;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.7));
}

/* Light-theme contrast corrections for rules above that intentionally use
   bright dark-mode icon colours. */
[data-theme="light"] .nav-link i,
[data-theme="light"] .mobile-link i,
[data-theme="light"] .mobile-sub-link i {
  color: #2563eb;
}

[data-theme="light"] .dropdown-icon i,
[data-theme="light"] .nav-link:hover i,
[data-theme="light"] .mobile-link:hover i,
[data-theme="light"] .mobile-sub-link:hover i,
[data-theme="light"] .nav-item.active i {
  color: var(--primary);
}

[data-theme="light"] .nav-actions i,
[data-theme="light"] .acc-icon {
  color: #6d28d9;
}

[data-theme="light"] .nav-link:hover .nav-chevron {
  color: var(--txt);
}

[data-theme="light"] .btn:hover i,
[data-theme="light"] .btn-primary i {
  color: inherit;
}

/* Stronger text contrast across every page in light mode. */
[data-theme="light"] {
  --txt: #000000;
  --txt-2: #111111;
  --txt-3: #262626;
}

[data-theme="dark"] {
  --txt: #ffffff;
  --txt-2: #d7dce7;
  --txt-3: #aeb8cc;
}
