/* ============================================================
   NEXTGEN DIGITAL ACADEMY
   Main Stylesheet — Design System + Tailwind Integration
   ============================================================
   Layer order:
     1. Tailwind base
     2. CSS Custom Properties (design tokens)
     3. Tailwind components
     4. Tailwind utilities
   ============================================================ */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Inter, system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: JetBrains Mono, Courier New, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* ── Headings (Montserrat, display weight) ───────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-white);
}

/* Fluid type scale */

h1 {
  font-size: clamp(2.4rem,  6vw,  5.25rem);
}

h2 {
  font-size: clamp(1.9rem,  4vw,  3.5rem);
}

h3 {
  font-size: clamp(1.4rem,  3vw,  2.25rem);
}

h4 {
  font-size: clamp(1.2rem,  2vw,  1.75rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-base);
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Focus ───────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── Scrollbar ───────────────────────────────────────────── */

::-webkit-scrollbar       {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-card);
}

::-webkit-scrollbar-thumb {
  background:    var(--c-orange);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-orange-l);
}

/* ── Selection ───────────────────────────────────────────── */

::-moz-selection {
  background: rgba(255, 102, 0, 0.28);
  color: var(--text-white);
}

::selection {
  background: rgba(255, 102, 0, 0.28);
  color: var(--text-white);
}

/* ── Container ───────────────────────────────────────────── */

.container-site {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

@media (min-width: 768px)  {
  .container-site {
    padding-inline: var(--sp-10);
  }
}

@media (min-width: 1024px) {
  .container-site {
    padding-inline: var(--sp-16);
  }
}

@media (min-width: 1440px) {
  .container-site {
    padding-inline: var(--sp-20);
  }
}

/* ── Section Wrapper ─────────────────────────────────────── */

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8125rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition:
      transform    var(--ease-spring),
      box-shadow   var(--ease-base),
      background   var(--ease-base),
      border-color var(--ease-base),
      color        var(--ease-base);
}

/* Shine sweep on hover */

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,0.12) 50%,
      transparent 100%
    );
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Primary — orange filled */

.btn-primary {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange-l));
  color: #ffffff;
  border-color: var(--c-orange);
  box-shadow: 0 0 22px var(--glow-md), 0 4px 16px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px var(--glow-lg), 0 8px 28px rgba(0,0,0,0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 15px var(--glow-sm);
}

/* Secondary — outlined orange */

/* Ghost — glassmorphism */

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--bg-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 102, 0, 0.35);
}

/* Sizes */

.btn-sm   {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* Icon-only circle button */

/* ── CARDS ───────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition:
      transform    var(--ease-base),
      border-color var(--ease-base),
      box-shadow   var(--ease-base);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.30);
  box-shadow:
      0 8px 32px rgba(0,0,0,0.55),
      0 0  22px var(--glow-xs);
}

/* Glassmorphism card */

/* Orange left-accent card (pitch-deck style) */

/* Orange-fill card (inverted, pitch-deck style) */

/* Glow card with inner warmth */

/* ── BADGES ──────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── SECTION LABEL (pill above headings) ─────────────────── */

/* Pulsing dot */

/* ── DIVIDERS ────────────────────────────────────────────── */

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-orange-l));
  border-radius: 2px;
  margin: var(--sp-4) 0;
}

/* Animated draw-in (pair with .divider-animated class) */

.divider-animated {
  transform-origin: left;
  transform: scaleX(0);
}

/* ── NAVBAR ──────────────────────────────────────────────── */

.\!navbar {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  height: var(--navbar-h) !important;
  z-index: var(--z-sticky) !important;
  display: flex !important;
  align-items: center !important;
  transition:
      background      var(--ease-base),
      box-shadow      var(--ease-base),
      backdrop-filter var(--ease-base),
      height          var(--ease-base) !important;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--navbar-h);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  transition:
      background      var(--ease-base),
      box-shadow      var(--ease-base),
      backdrop-filter var(--ease-base),
      height          var(--ease-base);
}

.\!navbar.scrolled {
  background: rgba(10, 10, 10, 0.90) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  box-shadow:
      0 1px 0 rgba(255, 102, 0, 0.12),
      0 4px 28px rgba(0, 0, 0, 0.55) !important;
  height: var(--navbar-h-sm) !important;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.90);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
      0 1px 0 rgba(255, 102, 0, 0.12),
      0 4px 28px rgba(0, 0, 0, 0.55);
  height: var(--navbar-h-sm);
}

/* Nav link */

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  transition: color var(--ease-base), background var(--ease-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--c-orange);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--ease-spring);
}

.nav-link:hover,
  .nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
  .nav-link.active::after {
  width: 70%;
}

/* Mobile nav panel */

.mobile-nav {
  position: fixed;
  inset: var(--navbar-h) 0 0 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  gap: var(--sp-2);
  transform: translateX(100%);
  transition: transform var(--ease-expo);
  border-top: 1px solid var(--bg-border);
}

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

/* Hamburger */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  padding: 2px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--ease-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── PAGE LOADER ─────────────────────────────────────────── */

.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-black);
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.loader-logo {
  width: 72px;
  height: 72px;
  -o-object-fit: contain;
     object-fit: contain;
  animation: floatSm 2s ease-in-out infinite;
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: var(--bg-border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-orange), var(--c-orange-l));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--c-orange);
  transition: width 0.25s ease;
}

/* ── GLOW ORB (background decorative blobs) ──────────────── */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
      circle,
      var(--glow-md) 0%,
      transparent 68%
    );
  pointer-events: none;
  filter: blur(1px);
  animation: glowPulse 4s ease-in-out infinite;
}

/* ── GRID TEXTURE OVERLAY ────────────────────────────────── */

/* ── ORANGE DOT CLUSTER (pitch-deck signature) ───────────── */

/* ── TEXT GRADIENT ───────────────────────────────────────── */

/* ── ICON CIRCLE ─────────────────────────────────────────── */

.card:hover .icon-circle,
  .icon-circle:hover {
  background: rgba(255, 102, 0, 0.18);
  box-shadow: 0 0 18px var(--glow-sm);
}

/* ── STAT BLOCK ──────────────────────────────────────────── */

/* ── SCROLL INDICATOR ────────────────────────────────────── */

/* ── TOOLTIP ─────────────────────────────────────────────── */

/* ── GLASS SURFACE ───────────────────────────────────────── */

/* ── TAG / CHIP ──────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--bg-border);
  transition: all var(--ease-fast);
}

.tag:hover {
  border-color: rgba(255, 102, 0, 0.3);
  color: var(--c-orange-l);
}

/* ── CERT BADGE STRIP (govt/ISO logos) ───────────────────── */

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-full {
  height: 100%;
}

.h-12 {
  height: 3rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-8 {
  gap: 2rem;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.bg-brand-dark {
  --tw-bg-opacity: 1;
  background-color: rgb(10 10 10 / var(--tw-bg-opacity, 1));
}

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-brand-text-m {
  --tw-text-opacity: 1;
  color: rgb(102 102 102 / var(--tw-text-opacity, 1));
}

.text-brand-text-p {
  --tw-text-opacity: 1;
  color: rgb(245 245 245 / var(--tw-text-opacity, 1));
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ============================================================
   DESIGN TOKENS — CSS Custom Properties
   ============================================================ */

:root {
  /* ── Orange Brand Spectrum ─────────────────────────────── */
  --c-orange:      #FF6600;
  --c-orange-l:    #FF9A3C;
  --c-orange-d:    #D94F00;
  --c-orange-x:    #8B2E00;
  /* ── Glow Variants (rgba) ──────────────────────────────── */
  --glow-xs:       rgba(255, 102, 0, 0.15);
  --glow-sm:       rgba(255, 102, 0, 0.25);
  --glow-md:       rgba(255, 102, 0, 0.42);
  --glow-lg:       rgba(255, 102, 0, 0.60);
  --glow-xl:       rgba(255, 102, 0, 0.80);
  /* ── Dark Background Scale ─────────────────────────────── */
  --bg-void:       #000000;
  --bg-black:      #080808;
  --bg-dark:       #0A0A0A;
  /* page root                   */
  --bg-darker:     #0D0D0D;
  --bg-card:       #111111;
  /* card/panel fills            */
  --bg-surface:    #161616;
  /* slightly elevated           */
  --bg-elevated:   #1C1C1C;
  --bg-border:     #242424;
  /* visible dividers            */
  --bg-border-dim: #1A1A1A;
  /* very subtle dividers        */
  /* ── Text Hierarchy ─────────────────────────────────────── */
  --text-white:     #FFFFFF;
  --text-primary:   #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted:     #666666;
  --text-disabled:  #3A3A3A;
  /* ── Fonts ──────────────────────────────────────────────── */
  --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter',      system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  /* ── Spacing (8pt grid) ─────────────────────────────────── */
  --sp-1:   0.25rem;
  /*  4px */
  --sp-2:   0.5rem;
  /*  8px */
  --sp-3:   0.75rem;
  /* 12px */
  --sp-4:   1rem;
  /* 16px */
  --sp-5:   1.25rem;
  /* 20px */
  --sp-6:   1.5rem;
  /* 24px */
  --sp-8:   2rem;
  /* 32px */
  --sp-10:  2.5rem;
  /* 40px */
  --sp-12:  3rem;
  /* 48px */
  --sp-16:  4rem;
  /* 64px */
  --sp-20:  5rem;
  /* 80px */
  --sp-24:  6rem;
  /* 96px */
  /* ── Radius ─────────────────────────────────────────────── */
  --r-sm:   0.375rem;
  --r-md:   0.5rem;
  --r-lg:   0.75rem;
  --r-xl:   1rem;
  --r-2xl:  1.5rem;
  --r-3xl:  2rem;
  --r-full: 9999px;
  /* ── Transitions ─────────────────────────────────────────── */
  --ease-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   800ms cubic-bezier(0.16, 1, 0.3, 1);
  /* ── Z-Index ─────────────────────────────────────────────── */
  --z-base:    1;
  --z-raised:  10;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;
  --z-loader:  1000;
  /* ── Layout ──────────────────────────────────────────────── */
  --navbar-h:        92px;
  --navbar-h-sm:     72px;
  --container-max:   1440px;
  --container-px:    var(--sp-6);
  --section-py:      var(--sp-24);
}

/* ============================================================
   BASE LAYER
   ============================================================ */

/* ============================================================
   COMPONENT LAYER
   ============================================================ */

/* end @layer components */

@media (min-width: 1024px) {
  .lg\:hidden.loader-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }
}
