/* ==========================================================
   HYPERSCHEDULE — LANDING PAGE
   AetherFlow particle canvas hero · Blue-Grey-White theme
   ========================================================== */

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

.landing-body {
  background: #0d1117;
  color: #e2e8f0;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
}
html.light .landing-body { background: #f8fafc; color: #1e293b; }

/* ═══════════════════════════════════════════════════════
   HERO — AetherFlow particle canvas (urgentflex theme)
   ═══════════════════════════════════════════════════════ */
.hs-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Deep blue-grey base — canvas paints over this */
  background: #060a14;
  /* Subtle grain texture for depth */
  isolation: isolate;
}
html.light .hs-hero { background: #EBF5FF; }

/* The particle canvas — absolute fill, z-index 0 */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: auto; /* capture mouse for repulsion */
}

/* ── NAV (floats over canvas) ── */
.hs-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.hs-nav {
  width: 100%;
  padding: 14px 0;
  transition: padding 0.3s ease;
}

.hs-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 20px;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

/* Scrolled: frosted pill */
.hs-nav[data-scrolled="true"] .hs-nav-inner {
  background: rgba(10, 15, 26, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 0 0 1px rgba(96,165,250,0.10), 0 8px 32px rgba(0,0,0,0.5);
}
html.light .hs-nav[data-scrolled="true"] .hs-nav-inner {
  background: rgba(248,250,252,0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.08);
}

/* Logo */
.hs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.hs-logo-svg { width: 28px; height: 28px; }
.hs-logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
html.light .hs-logo-text { color: #0f172a; }

/* Nav links */
.hs-nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0; padding: 0;
}
.hs-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.hs-nav-link:hover { color: #fff; }
html.light .hs-nav-link { color: #64748b; }
html.light .hs-nav-link:hover { color: #0f172a; }

/* Nav CTA buttons */
.hs-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.hs-btn-ghost {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hs-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
html.light .hs-btn-ghost { border-color: rgba(0,0,0,0.12); color: #475569; }
html.light .hs-btn-ghost:hover { background: rgba(0,0,0,0.04); color: #0f172a; }

.hs-btn-primary {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 20px;
  background: #3B82F6;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(59,130,246,0.40);
}
.hs-btn-primary:hover {
  background: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59,130,246,0.55);
}

/* Hamburger */
.hs-hamburger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
html.light .hs-hamburger {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.10);
  color: #475569;
}
.hs-hamburger svg { width: 18px; height: 18px; position: absolute; transition: opacity 0.2s, transform 0.25s; }
.hs-hamburger .icon-hamburger { opacity: 1; transform: rotate(0); }
.hs-hamburger .icon-close    { opacity: 0; transform: rotate(-90deg); }
.hs-nav[data-menu-open="true"] .hs-hamburger .icon-hamburger { opacity: 0; transform: rotate(90deg); }
.hs-nav[data-menu-open="true"] .hs-hamburger .icon-close     { opacity: 1; transform: rotate(0); }

/* Mobile dropdown */
.hs-mobile-menu {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.25,0.1,0.25,1);
}
.hs-nav[data-menu-open="true"] .hs-mobile-menu { max-height: 400px; }

.hs-mobile-menu-content {
  background: rgba(10,15,26,0.97);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  margin: 4px 0 8px;
  padding: 20px 24px;
}
html.light .hs-mobile-menu-content {
  background: rgba(248,250,252,0.98);
  border-color: rgba(0,0,0,0.08);
}

.hs-mobile-links { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hs-mobile-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s;
}
.hs-mobile-link:last-child { border-bottom: none; }
.hs-mobile-link:hover { color: #fff; }
html.light .hs-mobile-link { color: #64748b; border-bottom-color: rgba(0,0,0,0.06); }
html.light .hs-mobile-link:hover { color: #0f172a; }

.hs-mobile-cta { display: flex; flex-direction: column; gap: 8px; }
.hs-btn-full { display: block; text-align: center; width: 100%; border-radius: 12px !important; padding: 10px 18px !important; }

@media (max-width: 768px) {
  .hs-nav-links, .hs-nav-actions { display: none; }
  .hs-hamburger { display: flex; }
}

/* ── HERO CONTENT (centred text layer) ── */
.hs-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 24px;
  max-width: 820px;
  width: 100%;
  /* Prevent canvas from capturing text clicks */
  pointer-events: none;
}
.hs-hero-content > * { pointer-events: auto; }

/* Badge — frosted pill matching AetherFlowHero */
.hs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 999px;
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(96,165,250,0.28);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  margin-bottom: 32px;
  font-size: 12.5px;
  font-weight: 600;
  color: #93C5FD;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(96,165,250,0.08), 0 2px 16px rgba(59,130,246,0.12);
}
html.light .hs-hero-badge {
  background: rgba(59,130,246,0.07);
  border-color: rgba(37,99,235,0.22);
  color: #1D4ED8;
  box-shadow: 0 0 0 1px rgba(59,130,246,0.06), 0 2px 12px rgba(59,130,246,0.08);
}
.badge-icon { width: 14px; height: 14px; flex-shrink: 0; color: #60A5FA; }
html.light .badge-icon { color: #2563EB; }

/* Headline — AetherFlow gradient: white fading to slate (dark) / navy fading to blue-grey (light) */
.hs-hero-headline {
  font-size: clamp(56px, 10vw, 112px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 0 0 28px;
  /* White top → blue-grey bottom — matches AetherFlowHero bg-gradient-to-b from-white to-gray-400 */
  background: linear-gradient(175deg,
    #ffffff 0%,
    #e2e8f0 35%,
    #93C5FD 70%,
    #60A5FA 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Subtle text-shadow glow can't apply to gradient-text; use filter instead */
  filter: drop-shadow(0 0 40px rgba(96,165,250,0.18));
}
html.light .hs-hero-headline {
  background: linear-gradient(175deg,
    #0f172a 0%,
    #1e3a5f 40%,
    #1D4ED8 80%,
    #2563EB 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(37,99,235,0.12));
}

/* Sub — muted description text */
.hs-hero-sub {
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(148,163,184,0.90);
  margin: 0 0 44px;
  font-weight: 400;
}
html.light .hs-hero-sub { color: #475569; }

/* CTA hero button — white bg / dark text matches original AetherFlowHero exactly */
.hs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.40),
    0 1px 4px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.15);
}
.hs-cta-btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(59,130,246,0.15);
}
html.light .hs-cta-btn {
  background: #1e293b;
  color: #f8fafc;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 4px 24px rgba(15,23,42,0.25);
}
html.light .hs-cta-btn:hover {
  background: #0f172a;
  box-shadow: 0 10px 36px rgba(15,23,42,0.35);
}
.cta-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s; }
.hs-cta-btn:hover .cta-arrow { transform: translateX(3px); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255,255,255,0.3);
  animation: cue-bounce 2s ease-in-out infinite;
}
.scroll-cue svg { width: 24px; height: 24px; }
html.light .scroll-cue { color: rgba(0,0,0,0.2); }
@keyframes cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── FADE-UP ANIMATION (replaces framer-motion) ── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: var(--anim-delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   LOGO SLIDER
   ═══════════════════════════════════════════════════════ */
.hs-logo-bar {
  background: #0d1117;
  padding: 8px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 10;
}
html.light .hs-logo-bar { background: #f8fafc; border-top-color: rgba(0,0,0,0.06); }

.hs-logo-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.hs-logo-label {
  flex-shrink: 0;
  min-width: 140px;
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.35);
  text-align: right;
}
html.light .hs-logo-label { color: #94a3b8; border-right-color: rgba(0,0,0,0.08); }

.hs-slider-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
}
.progressive-blur {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}
.progressive-blur-left  { left: 0;  background: linear-gradient(90deg,  #0d1117 0%, transparent 100%); }
.progressive-blur-right { right: 0; background: linear-gradient(270deg, #0d1117 0%, transparent 100%); }
html.light .progressive-blur-left  { background: linear-gradient(90deg,  #f8fafc 0%, transparent 100%); }
html.light .progressive-blur-right { background: linear-gradient(270deg, #f8fafc 0%, transparent 100%); }

.hs-slider-track {
  display: flex;
  width: max-content;
  animation: slide-logos 36s linear infinite;
}
.hs-slider-track:hover { animation-play-state: paused; }
.hs-slider-set {
  display: flex;
  align-items: center;
  gap: 112px;
  padding-right: 112px;
  flex-shrink: 0;
}
.slider-logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.slider-logo-text:hover { color: rgba(255,255,255,0.65); }
html.light .slider-logo-text { color: rgba(0,0,0,0.22); }
html.light .slider-logo-text:hover { color: rgba(0,0,0,0.55); }
@keyframes slide-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════════════ */
.landing-main { background: #0d1117; }
html.light .landing-main { background: #f8fafc; }

.hs-section { padding: 100px 0; background: #0d1117; }
html.light .hs-section { background: #f8fafc; }
.hs-section-alt { background: #0a0f1a; }
html.light .hs-section-alt { background: #f1f5f9; }

.hs-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .hs-container { padding: 0 48px; } }

/* Section header */
.section-header { text-align: center; margin-bottom: 64px; }
.section-overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f1f5f9;
  line-height: 1.1;
  margin-bottom: 16px;
}
html.light .section-title { color: #0f172a; }
.section-sub {
  font-size: 16px;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
html.light .section-sub { color: #64748b; }

/* Glass cards */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.glass-card:hover {
  border-color: rgba(96,165,250,0.18);
  box-shadow: 0 8px 40px rgba(59,130,246,0.08);
}
html.light .glass-card {
  background: rgba(255,255,255,0.80);
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
html.light .glass-card:hover {
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 4px 24px rgba(59,130,246,0.10);
}

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.feature-card { padding: 32px; }
.feature-card:hover { transform: translateY(-4px); }

.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg { width: 20px; height: 20px; }
/* Blue-toned icon: primary brand colour */
.icon-blue  { background: rgba(59,130,246,0.12); color: #60A5FA; }
/* Slate-toned icon: secondary / neutral */
.icon-slate { background: rgba(148,163,184,0.12); color: #94a3b8; }

.feature-title { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; letter-spacing: -0.01em; }
html.light .feature-title { color: #0f172a; }
.feature-desc  { font-size: 14px; color: #64748b; line-height: 1.65; }

/* Steps */
.steps-timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.step-item { display: flex; gap: 24px; }
.step-connector { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-number {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; font-family: 'JetBrains Mono', monospace;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.22);
  color: #60A5FA;
  flex-shrink: 0;
}
.step-line {
  width: 2px; flex: 1; min-height: 32px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.18), transparent);
  margin: 8px 0;
}
.step-content { flex: 1; padding: 24px; margin-bottom: 20px; }
.step-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(59,130,246,0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step-icon svg { width: 18px; height: 18px; color: #60A5FA; }
.step-title { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; letter-spacing: -0.01em; }
html.light .step-title { color: #0f172a; }
.step-desc { font-size: 14px; color: #64748b; line-height: 1.65; }

/* Safety */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; gap: 40px; } }

.safety-rule-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.safety-rule { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #94a3b8; }
html.light .safety-rule { color: #475569; }
.rule-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(52,211,153,0.12); color: #34D399;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}

.safety-mockup-card { padding: 24px; }
.safety-mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
html.light .safety-mockup-header { border-bottom-color: rgba(0,0,0,0.06); }
.safety-rule-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.safety-rule-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rule-icon {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.rule-pass { background: rgba(52,211,153,0.15); color: #34D399; }
.rule-warn { background: rgba(245,158,11,0.15); color: #FCD34D; }
.rule-name { flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #64748b; }
.rule-tag {
  font-size: 9px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  padding: 2px 7px; border-radius: 4px; letter-spacing: 0.02em; flex-shrink: 0;
}
.rule-tag.hard { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.rule-tag.soft { background: rgba(245,158,11,0.15); color: #FCD34D; }
.rule-tag.warn { background: rgba(245,158,11,0.10); color: #FCD34D; }
.rule-tag.info { background: rgba(59,130,246,0.12); color: #93C5FD; }
.safety-mockup-footer {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #475569;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05);
}
html.light .safety-mockup-footer { border-top-color: rgba(0,0,0,0.05); }

/* Roles */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.role-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.role-pill:hover { background: rgba(59,130,246,0.07); border-color: rgba(59,130,246,0.18); transform: translateY(-2px); }
html.light .role-pill { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }
html.light .role-pill:hover { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.18); }
.role-pill-name { font-size: 12px; font-weight: 500; color: #64748b; line-height: 1.3; }

/* CTA section */
.hs-cta-section { padding-bottom: 40px; }
.cta-card { position: relative; overflow: hidden; padding: 64px 48px; text-align: center; }
.cta-glow {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #f1f5f9; letter-spacing: -0.025em; margin: 12px 0 16px; }
html.light .cta-title { color: #0f172a; }
.cta-sub { font-size: 16px; color: #64748b; max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.hs-cta-ghost {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500; padding: 16px 24px;
  border-radius: 12px; color: #94a3b8; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hs-cta-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
html.light .hs-cta-ghost { color: #64748b; }
html.light .hs-cta-ghost:hover { background: rgba(0,0,0,0.04); color: #0f172a; }
.cta-ghost-inv { border: 1px solid rgba(255,255,255,0.12); }
html.light .cta-ghost-inv { border-color: rgba(0,0,0,0.10); }

/* Footer */
.hs-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0;
  background: #0a0f1a;
}
html.light .hs-footer { background: #f1f5f9; border-top-color: rgba(0,0,0,0.06); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { margin-bottom: 4px; }
.footer-copy   { font-size: 13px; color: rgba(255,255,255,0.25); }
html.light .footer-copy { color: #94a3b8; }
.footer-copy-2 { font-size: 12px; color: rgba(255,255,255,0.14); }
html.light .footer-copy-2 { color: #cbd5e1; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.badge-green { background: rgba(52,211,153,0.12); color: #34D399; border: 1px solid rgba(52,211,153,0.20); }

/* Reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0,0,0.2,1), transform 0.65s cubic-bezier(0,0,0.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hs-hero-headline { font-size: 52px; }
  .hs-hero-sub { font-size: 15px; }
  .hs-cta-btn { font-size: 14px; padding: 13px 24px; }
  .hs-logo-label { display: none; }
  .cta-card { padding: 40px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-section { padding: 64px 0; }
}
@media (max-width: 400px) { .roles-grid { grid-template-columns: 1fr; } }
