/* ==========================================================================
   CloudGenX — Premium Dark Design System
   Typography: Space Grotesk (display) + Inter (body)
   ========================================================================== */

/* --- SFDC Landing Page Palette (kept for sfdc-landing-page.html) --- */
:root {
  --landing-bg: #f8fafc;
  --landing-white: #fff;
  --landing-primary: #2563eb;
  --landing-primary-dark: #1d4ed8;
  --landing-accent: #16a34a;
  --landing-text: #0f172a;
  --landing-subtext: #334155;
  --landing-card: #fff;
  --landing-shadow: 0 2px 8px rgba(0,0,0,0.04);
  --landing-radius: 10px;
}

/* --- Core Design Tokens --- */
:root {
  /* Surfaces */
  --bg-0: #04070d;
  --bg-1: #070b14;
  --bg-2: #0a101e;
  --bg-3: #0e1628;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.24);

  /* Text */
  --text-1: #f2f6fc;
  --text-2: #c3cfde;
  --text-3: #8b9bb4;

  /* Accent system */
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-violet: #a855f7;
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #a855f7 100%);
  --gradient-cta: linear-gradient(135deg, #0ea5e9, #6366f1);
  --gradient-text: linear-gradient(100deg, #7dd3fc 0%, #818cf8 50%, #c084fc 100%);

  /* Legacy aliases (used across pages / inline styles) */
  --ink: #f2f6fc;
  --navy: #04070d;
  --blue-900: #0a101e;
  --blue-800: #0e1628;
  --blue-700: #60a5fa;
  --blue-600: #38bdf8;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --cyan: #67e8f9;
  --paper: #0c1322;
  --mist: #070b14;
  --muted: #8b9bb4;
  --soft: #c3cfde;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.22), 0 18px 60px rgba(56, 189, 248, 0.12);
  --container: 1200px;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  padding-top: 76px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Ambient aurora backdrop across the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 45% at 80% -8%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(ellipse 55% 42% at 8% 32%, rgba(99, 102, 241, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 45% at 92% 78%, rgba(168, 85, 247, 0.07), transparent 60%),
    var(--bg-0);
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(99, 102, 241, 0.45);
  color: #fff;
}

/* Slim, dark scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid var(--bg-0);
  background: rgba(148, 163, 184, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text-1);
  color: var(--bg-0);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Page loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(99, 102, 241, 0.22), transparent 38%),
    var(--bg-0);
  color: var(--text-1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-mark {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  width: 92px;
  height: 78px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(12px);
}

.loader-mark span {
  display: block;
  width: 12px;
  border-radius: 999px 999px 4px 4px;
  background: var(--gradient-brand);
  animation: loaderPulse 850ms ease-in-out infinite;
}

.loader-mark span:nth-child(1) { height: 24px; }
.loader-mark span:nth-child(2) { height: 36px; animation-delay: 120ms; }
.loader-mark span:nth-child(3) { height: 48px; animation-delay: 240ms; }

.page-loader p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

@keyframes loaderPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 10vw, 130px);
}

.section-pad-sm {
  padding-block: clamp(38px, 5vw, 64px);
}

/* --- Scroll reveal --- */
.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* --- Eyebrow / badge --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.07);
  color: #7dd3fc;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
  animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

.brand-name {
  font-family: var(--font-display);
  color: var(--text-1);
  font-weight: 700;
  white-space: nowrap;
}

.brand-name span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand-name.on-dark,
.solution h2 .brand-name {
  color: var(--text-1);
}

.eyebrow .brand-name {
  color: currentColor;
  font-size: inherit;
}

/* --- Typography --- */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
}

h1 span {
  display: block;
}

.hero-title {
  max-width: 860px;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.1;
}

.hero-title span {
  position: relative;
  white-space: nowrap;
}

.hero-title span:last-child {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease, filter 200ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
  background-size: 220% 100%;
  background-position: 120% 0;
  opacity: 0;
  transition: opacity 240ms ease, background-position 700ms ease;
}

.btn:hover::after {
  opacity: 1;
  background-position: -120% 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 10px 32px rgba(14, 165, 233, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: brightness(1.08);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--glass);
  color: var(--text-1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: var(--glass-strong);
}

.section-header {
  max-width: 800px;
  margin: 0 auto clamp(34px, 5vw, 60px);
  text-align: center;
}

.section-header .eyebrow {
  justify-content: center;
}

.section-header h2 {
  color: var(--text-1);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 10px max(16px, calc((100vw - var(--container)) / 2));
  background: rgba(4, 7, 13, 0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 13, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(200px, 21vw, 290px);
  flex: 0 0 auto;
  margin-right: auto;
}

.brand-logo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 0;
}

.desktop-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--glass-strong);
  color: var(--text-1);
}

.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.header-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--glass);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--text-1);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 70px 0 auto auto;
  z-index: 45;
  width: min(360px, calc(100% - 24px));
  height: calc(100dvh - 82px);
  margin-right: 12px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 24px));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-nav-content {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: rgba(99, 102, 241, 0.16);
  color: var(--text-1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 75% -12%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 50% at -5% 95%, rgba(124, 58, 237, 0.15), transparent 60%),
    var(--bg-0);
}

/* Subtle engineering grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 25%, transparent 75%);
}

/* Drifting glow orb */
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.20), rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  filter: blur(60px);
  animation: orbDrift 16s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-90px, 70px) scale(1.12); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.hero-lead {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 660px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  backdrop-filter: blur(12px);
}

.trust-row div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: rgba(10, 16, 30, 0.72);
}

.trust-row img {
  width: auto;
  max-width: 118px;
  max-height: 46px;
  padding: 0;
  background: none;
  object-fit: contain;
}

.trust-row strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.trust-row span {
  color: var(--text-3);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-visual {
  min-width: 0;
}

/* --- Apply form: floating glass panel --- */
.apply-form {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 45%),
    rgba(10, 16, 30, 0.78);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  color: var(--text-1);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.apply-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient-brand);
  z-index: 1;
}

.form-orbit {
  position: absolute;
  top: -64px;
  right: -54px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(56, 189, 248, 0.20);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 62%);
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.form-orbit::after {
  content: "";
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: inherit;
}

.apply-heading {
  position: relative;
  padding-bottom: 14px;
}

.apply-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.apply-kicker {
  display: block;
  margin-bottom: 10px;
  color: #7dd3fc;
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.apply-form h2 {
  margin-bottom: 16px;
  color: var(--text-1);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.12;
  text-align: center;
}

.orientation-banner {
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.18));
  color: #bae6fd;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.apply-grid label {
  display: grid;
  min-width: 0;
}

.apply-grid label.full {
  grid-column: 1 / -1;
}

.apply-grid label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.apply-grid input,
.apply-grid select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-1);
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.apply-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.apply-grid select option {
  background: var(--bg-2);
  color: var(--text-1);
}

.apply-grid input::placeholder {
  color: var(--text-3);
}

.apply-grid input:focus,
.apply-grid select:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.apply-form p {
  margin: 18px auto 20px;
  max-width: 460px;
  color: var(--text-3);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}

.apply-form button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: var(--gradient-cta);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.apply-form button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(99, 102, 241, 0.4);
}

.apply-form button:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
  filter: none;
}

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

.form-success {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-weight: 700;
  text-align: center;
}

.whatsapp-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-weight: 800;
}

/* ==========================================================================
   Dashboard mock (legacy component)
   ========================================================================== */
.dashboard-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.dashboard-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 3vw, 26px);
}

.dashboard-panel {
  min-height: 134px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 7, 13, 0.6);
}

.dashboard-panel.wide { grid-column: 1 / -1; }
.dashboard-panel.tall { grid-column: 1 / -1; min-height: 170px; }

.dashboard-panel span {
  color: var(--text-3);
  font-weight: 700;
}

.dashboard-panel strong {
  font-size: clamp(1.35rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.demo-form {
  align-content: start;
}

.demo-form > span {
  color: var(--text-1);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.15;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid label span {
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.demo-form .btn {
  width: fit-content;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-track i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand);
}

/* ==========================================================================
   Sections — shared surfaces
   ========================================================================== */
.stats,
.problem,
.curriculum,
.resources,
.expertise,
.about-metrics {
  position: relative;
  background: var(--bg-1);
  color: var(--text-1);
}

.solution,
.career {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 90% 10%, rgba(99, 102, 241, 0.10), transparent 60%),
    var(--bg-2);
  color: var(--text-1);
}

.testimonials,
.faq {
  background: var(--bg-1);
  color: var(--text-1);
}

.about-story {
  background: var(--bg-2);
  color: var(--text-1);
}

.about-story h2,
.resources h2,
.expertise h2,
.testimonials h2,
.faq h2,
.about-story-layout h2,
.about-values h2 {
  color: var(--text-1);
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat-card {
  position: relative;
  min-height: 190px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-2);
  transition: background 240ms ease;
}

.stat-card:hover {
  background: var(--bg-3);
}

.stat-card span,
.card-mark {
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-card p,
.feature-card p,
.text-stack,
.career-panel,
.resources p {
  color: var(--text-3);
}

/* --- Cards --- */
.cards-grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 24px);
}

.cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card.compact {
  min-height: 200px;
}

.feature-card h3 {
  margin-top: 30px;
  color: var(--text-1);
}

.card-mark {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.07);
}

/* --- Solution / timeline --- */
.solution-grid,
.career-grid,
.resources-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.solution-grid > div:first-child p {
  max-width: 560px;
  color: var(--text-2);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: transform 240ms ease, border-color 240ms ease;
}

.timeline article:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.4);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.timeline p {
  color: var(--text-3);
}

/* --- Curriculum --- */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.curriculum-grid article {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  color: var(--text-1);
  font-weight: 700;
  text-align: center;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.curriculum-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.curriculum-grid strong {
  line-height: 1.25;
  font-size: 0.98rem;
}

.curriculum-logo {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.salesforce-cloud {
  width: 74px;
  background: none;
}

.curriculum-logo img {
  max-width: 100%;
  max-height: 64px;
  display: block;
  object-fit: contain;
}

.image-logo {
  overflow: hidden;
  background: #fff;
}

.image-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wide-logo {
  width: 82px;
}

.automation-icon::before {
  content: "";
  width: 28px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 999px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(20deg);
}

.automation-icon::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 13px;
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-20deg);
}

.apex-icon {
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
}

.apex-icon::before {
  content: "</>";
  font-size: 1rem;
  font-weight: 900;
}

.lightning-icon {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}

.lightning-icon::before {
  content: "";
  width: 18px;
  height: 30px;
  background: currentColor;
  clip-path: polygon(48% 0, 100% 0, 62% 42%, 100% 42%, 28% 100%, 45% 56%, 0 56%);
}

.api-icon {
  overflow: hidden;
  background: rgba(52, 211, 153, 0.14);
  background-image: linear-gradient(135deg, transparent 44%, currentColor 45%, currentColor 52%, transparent 53%);
  color: #6ee7b7;
}

.api-icon::before,
.api-icon::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 4px;
  background: rgba(6, 24, 18, 0.9);
}

.api-icon::before {
  transform: translate(-10px, -3px);
}

.api-icon::after {
  transform: translate(10px, 6px);
}

.api-icon span {
  display: none;
}

.devops-icon {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.devops-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 4px solid currentColor;
  border-radius: 999px;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: rotate(-28deg);
}

.project-icon {
  background: rgba(217, 70, 239, 0.14);
  color: #e9a8f5;
}

.project-icon::before {
  content: "";
  width: 28px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) center 8px / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 7px 5px no-repeat;
}

.project-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 14px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.interview-icon {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

.interview-icon::before {
  content: "";
  width: 26px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.interview-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* --- Career / placements --- */
.career-panel {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 240ms ease, transform 240ms ease;
}

.career-panel:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.career-panel h3 {
  color: var(--text-1);
}

.placement-extras .placement-header {
  margin-top: 48px;
}

.placement-extras .placement-grid {
  margin-top: 24px;
  gap: 24px;
}

.employer-logo-caption {
  margin: 44px 0 0;
  color: var(--text-3);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.employer-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 20px;
  align-items: center;
}

.employer-logo {
  min-height: 90px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.employer-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.employer-logo img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.employer-logo.logo-text {
  background: var(--glass);
}

/* Transparent tile for logos that already work on dark (e.g. Salesforce cloud) */
.employer-logo.logo-transparent {
  background: var(--glass);
}

.employer-logo.logo-text span {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.salesforce-logo-large {
  width: min(240px, 76%);
  padding: 0;
  margin: 32px auto 0;
  background: none;
  opacity: 1;
}

.salary-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.salary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 7, 13, 0.55);
  color: var(--text-2);
  transition: border-color 200ms ease, transform 200ms ease;
}

.salary-list div:hover {
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateX(4px);
}

.salary-list strong {
  font-family: var(--font-display);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: right;
}

/* ==========================================================================
   About pages
   ========================================================================== */
.about-hero,
.about-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 80% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(168, 85, 247, 0.12), transparent 60%),
    var(--bg-0);
}

.about-hero::before,
.about-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 25%, transparent 75%);
}

.about-hero .container,
.about-page-hero .container {
  position: relative;
  z-index: 1;
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 360px);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.about-page-copy {
  max-width: 760px;
}

.about-page-copy p {
  max-width: 650px;
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.about-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.founder-card {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.founder-card div {
  padding: clamp(20px, 3vw, 28px);
}

.founder-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-card h2 {
  margin-bottom: 8px;
  color: var(--text-1);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

.founder-card p {
  color: var(--text-2);
  font-weight: 700;
}

.about-highlights,
.about-values {
  background: var(--bg-1);
  color: var(--text-1);
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.about-highlight-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--bg-2);
}

.about-highlight-grid strong {
  font-family: var(--font-display);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.about-highlight-grid span {
  color: var(--text-3);
  font-weight: 600;
  line-height: 1.35;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.about-story-content {
  display: grid;
  gap: 18px;
  color: var(--text-3);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.about-copy p {
  max-width: 680px;
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.mentor-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.mentor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.mentor-body {
  padding: 22px;
}

.mentor-body p {
  color: #93c5fd;
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metrics-grid article {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--bg-2);
  transition: background 240ms ease;
}

.metrics-grid article:hover {
  background: var(--bg-3);
}

.metrics-grid strong {
  font-family: var(--font-display);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.metrics-grid span {
  color: var(--text-3);
  font-weight: 600;
}

/* --- Testimonials --- */
.testimonial-card {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-card p {
  margin-top: 30px;
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
}

.testimonial-card strong {
  color: #7dd3fc;
  font-weight: 700;
}

/* --- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  transition: border-color 220ms ease, background 220ms ease;
  overflow: hidden;
}

.faq-list details:hover {
  border-color: rgba(125, 211, 252, 0.35);
}

.faq-list details[open] {
  border-color: rgba(99, 102, 241, 0.45);
  background: var(--glass-strong);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  color: var(--text-1);
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #7dd3fc;
  border-bottom: 2px solid #7dd3fc;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 240ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--text-3);
}

/* --- Sticky mobile CTA --- */
.sticky-mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  display: none;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.4);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-stack {
  display: grid;
  gap: 18px;
  font-size: clamp(1rem, 2vw, 1.08rem);
}

/* --- Final CTA --- */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}

.final-cta .cta-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 920px;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 90% at 50% -30%, rgba(99, 102, 241, 0.28), transparent 65%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    var(--bg-2);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.final-cta .cta-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.8;
}

.cta-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.cta-card p,
.final-cta p {
  color: var(--text-2);
}

.final-cta .btn-primary {
  box-shadow: 0 18px 48px rgba(99, 102, 241, 0.4);
}

/* --- Landing page helpers (legacy) --- */
.landing-section-title {
  text-align: center;
  color: var(--landing-text);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.landing-h3 {
  text-align: center;
  color: var(--landing-text);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.landing-h3-accent {
  text-align: center;
  color: var(--landing-primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-0);
  color: var(--text-1);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(56, 189, 248, 0.6), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 76px);
}

.footer-brand p,
.footer-col p {
  max-width: 360px;
  margin-top: 18px;
  color: var(--text-3);
}

.footer-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-lockup img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.footer-logo-lockup strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-1);
  font-size: 1.5rem;
  line-height: 1;
}

.footer-logo-lockup strong span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-logo-lockup small {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-weight: 600;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-col a {
  color: var(--text-2);
  width: fit-content;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--text-1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  transition: transform 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.45);
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.92rem;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .desktop-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .desktop-nav a {
    padding: 8px 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-header {
    padding-inline: 16px;
  }
}

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

@media (min-width: 981px) and (max-width: 1160px) {
  .brand-logo {
    width: 210px;
  }

  .desktop-nav {
    gap: 2px;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-hero-grid,
  .about-page-grid,
  .solution-grid,
  .career-grid,
  .resources-grid,
  .split-grid,
  .about-story-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .founder-card {
    max-width: 360px;
    justify-self: center;
    margin-inline: auto;
  }

  .stats-grid,
  .metrics-grid,
  .about-highlight-grid,
  .cards-grid.three,
  .curriculum-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section-pad {
    padding-block: 56px;
  }

  .brand-logo {
    width: min(64vw, 230px);
  }

  .mobile-nav {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.1rem);
  }

  .hero-title {
    font-size: clamp(1.8rem, 8.4vw, 2.5rem);
  }

  .hero-title span {
    white-space: normal;
  }

  .hero::after {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -140px;
  }

  .hero-actions,
  .about-page-actions,
  .footer-bottom,
  .salary-list div {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .trust-row,
  .stats-grid,
  .metrics-grid,
  .cards-grid.three,
  .cards-grid.two,
  .curriculum-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 22px;
    border-radius: 18px;
  }

  .apply-grid {
    grid-template-columns: 1fr;
  }

  .orientation-banner {
    margin-bottom: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .demo-form .btn {
    width: 100%;
  }

  .dashboard-panel.wide,
  .dashboard-panel.tall {
    grid-column: auto;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
  }

  .salary-list strong {
    text-align: left;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }

  .sticky-mobile-cta {
    display: inline-flex;
  }

  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 180px;
  }

  .site-header {
    gap: 10px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   Tech Enhancement Layer — high-end SaaS / developer aesthetic
   (additive; layered on top of the base design system)
   ========================================================================== */
:root {
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "SF Mono", "Menlo", "Consolas", monospace;
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 0;
  height: 3px;
  background: var(--gradient-brand);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.85);
  pointer-events: none;
  will-change: width;
}

/* --- Hero particle constellation canvas --- */
.hero,
.about-hero,
.about-page-hero {
  position: relative;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 85%);
}

.hero > .container,
.about-hero > .container,
.about-page-hero > .container {
  position: relative;
  z-index: 3;
}

/* --- Command-line / terminal mono tagline --- */
.cli-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(2, 6, 14, 0.55);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cli-line .cli-prompt {
  color: var(--accent-cyan);
  font-weight: 700;
}

.cli-line .cli-cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  border-radius: 1px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  animation: cliBlink 1.15s steps(1) infinite;
}

@keyframes cliBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* --- Infinite tech-stack marquee --- */
.tech-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tech-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  padding-left: 14px;
  animation: techMarquee 36s linear infinite;
}

.tech-marquee:hover .tech-track {
  animation-play-state: paused;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.tech-chip:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: var(--glass-strong);
  color: var(--text-1);
}

.tech-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

@keyframes techMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Counter polish (avoid layout shift while animating) --- */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* --- Stronger neon on primary CTA + cards (tech finish) --- */
.btn-primary {
  box-shadow: 0 10px 32px rgba(14, 165, 233, 0.32), 0 0 0 1px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5), 0 0 24px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.feature-card,
.testimonial-card,
.curriculum-grid article {
  position: relative;
}

.feature-card::after,
.curriculum-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.55), rgba(168, 85, 247, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.feature-card:hover::after,
.curriculum-grid article:hover::after {
  opacity: 1;
}

/* --- Moving placement reviews (marquee carousel) --- */
.reviews-block {
  margin-top: 48px;
}

.reviews-marquee {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  animation: reviewsMarquee 64s linear infinite;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
  animation-play-state: paused;
}

@keyframes reviewsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 auto;
  width: min(360px, 82vw);
  min-height: 238px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 15px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(22, 30, 51, 0.97), rgba(10, 16, 30, 0.98));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.review-quote {
  margin: 0;
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.65;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.32);
}

.review-name {
  display: block;
  color: var(--text-1);
  font-weight: 700;
}

.review-name .masked {
  font-family: var(--font-mono);
  color: var(--text-3);
  letter-spacing: 1px;
}

.review-role {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 0.84rem;
  font-weight: 600;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-tag.package {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.13);
  color: #6ee7b7;
}

@media (prefers-reduced-motion: reduce) {
  .tech-track,
  .reviews-track {
    animation: none;
  }
  .cli-line .cli-cursor {
    animation: none;
  }
}

/* ==========================================================================
   Stellar theme — continuous starfield behind the whole page (all pages)
   A single fixed canvas renders the stars; section surfaces are made
   translucent so the sky shows through from top to bottom.
   ========================================================================== */
#stellar-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Deepen the base sky so stars read crisply over a richer space gradient */
body::before {
  background:
    radial-gradient(ellipse 70% 50% at 80% -8%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 6% 28%, rgba(99, 102, 241, 0.11), transparent 60%),
    radial-gradient(ellipse 65% 50% at 94% 72%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 120%, rgba(13, 21, 41, 0.55), transparent 70%),
    #03060c;
}

/* Hero + page heroes: fully see-through (just keep the accent glows) */
.hero {
  background:
    radial-gradient(ellipse 70% 55% at 75% -12%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 50% at -5% 95%, rgba(124, 58, 237, 0.15), transparent 60%),
    transparent;
}

.about-hero,
.about-page-hero {
  background:
    radial-gradient(ellipse 65% 55% at 80% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(168, 85, 247, 0.12), transparent 60%),
    transparent;
}

/* Content bands: translucent veil keeps text legible while stars glimmer through */
.stats,
.problem,
.curriculum,
.resources,
.expertise,
.about-metrics,
.testimonials,
.faq,
.about-highlights,
.about-values,
.tech-marquee {
  background: rgba(6, 10, 19, 0.52);
}

.solution,
.career,
.about-story {
  background:
    radial-gradient(ellipse 60% 60% at 90% 10%, rgba(99, 102, 241, 0.10), transparent 60%),
    rgba(9, 14, 26, 0.46);
}

.final-cta {
  background: transparent;
}

.site-footer {
  background: rgba(4, 7, 13, 0.68);
}

/* Keep content cards crisp and readable above the starfield */
.feature-card,
.testimonial-card,
.career-panel,
.timeline article,
.curriculum-grid article,
.faq-list details,
.stat-card {
  background-color: rgba(11, 17, 30, 0.92);
}

@media (max-width: 640px) {
  .review-card {
    width: min(300px, 84vw);
    min-height: 218px;
    padding: 22px;
  }
}
