:root {
  --bg: #05070d;
  --panel: rgba(255, 255, 255, 0.04);
  --card: rgba(255, 255, 255, 0.06);
  --text: #e9edf5;
  --muted: #9ca6c1;
  --accent: #6be3ff;
  --accent-2: #7b6bff;
  --accent-3: #f7b733;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(107, 227, 255, 0.1), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(123, 107, 255, 0.15), transparent 25%),
              radial-gradient(circle at 50% 80%, rgba(247, 183, 51, 0.08), transparent 30%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  padding: 24px clamp(16px, 4vw, 48px) 72px;
  position: relative;
  overflow: hidden;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.1rem;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.footer-logo {
  height: 46px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0 12px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.nav-links a:focus-visible::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #02040a;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(123, 107, 255, 0.4);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--accent);
}

.btn.small {
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.btn.full {
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 72px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0;
}

.hero-copy .lede {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 20px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
  position: relative;
}

.card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.35rem;
  opacity: 0.9;
}

.glass.card h3 {
  margin-top: 8px;
}

.glass.card ul {
  padding-left: 18px;
  color: var(--muted);
}

.layers {
  display: grid;
  gap: 10px;
}

.layer {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.layer.primary { background: linear-gradient(120deg, rgba(107, 227, 255, 0.35), rgba(123, 107, 255, 0.25)); }
.layer.secondary { background: linear-gradient(120deg, rgba(123, 107, 255, 0.35), rgba(247, 183, 51, 0.25)); }
.layer.tertiary { background: linear-gradient(120deg, rgba(247, 183, 51, 0.35), rgba(107, 227, 255, 0.25)); }

.layer:hover,
.layer:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(107, 227, 255, 0.25);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
}

.section {
  padding: 64px clamp(16px, 4vw, 44px);
  scroll-margin-top: 80px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.training-selector .section-header {
  max-width: 100%;
  position: relative;
  padding-right: 120px;
}

.section h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.training-selector .section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: 940px;
}

.section .lede {
  color: var(--muted);
  max-width: 640px;
}

.training-selector .section-header .lede {
  max-width: 940px;
}

.solutions-panel .section-header {
  max-width: 100%;
  margin-bottom: 24px;
}

.solutions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.solutions-header h2 {
  margin: 6px 0 6px 0;
  max-width: 900px;
}

.solutions-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.solutions-grid .card .muted {
  color: var(--muted);
}

.software-panel .cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.solutions-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px;
}

.solutions-grid .card {
  min-height: 0;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.solutions-grid .card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.services-grid .card {
  min-height: 0;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-grid .card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.solutions-grid .card h3 {
  margin: 6px 0 0 0;
}

.solutions-grid .card p.muted {
  margin: 0;
}

.solutions-grid .card ul {
  padding-left: 18px;
  margin: 6px 0 0 0;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.services-grid .card h3 {
  margin: 6px 0 0 0;
}

.services-grid .card p.muted {
  margin: 0;
}

.services-grid .card ul {
  padding-left: 18px;
  margin: 6px 0 0 0;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.solutions-how {
  margin-top: 14px;
}

.solutions-how .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solutions-snapshots {
  margin-top: 16px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.snapshot {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 12px;
}

.services .card,
.cases .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.15s ease, border-color 0.2s ease;
  min-height: 280px;
}

.services .card:hover,
.cases .card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.services h3,
.cases h3 {
  margin: 12px 0;
}

.services ul,
.cases ul {
  color: var(--muted);
  padding-left: 18px;
}

.products .cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.products .card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(107, 227, 255, 0.08), rgba(123, 107, 255, 0.05));
  box-shadow: var(--shadow);
}

.products .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.products .card .pill {
  align-self: flex-start;
}

.products .card ul {
  flex: 1;
  margin-top: 8px;
}

.products .card .link {
  margin-top: 12px;
}

.link {
  color: var(--accent);
  font-weight: 700;
}

.capabilities {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cap-card {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.cap-card h4 {
  margin: 8px 0;
}

.cap-card p {
  color: var(--muted);
}

.cases .case {
  border-image: linear-gradient(120deg, var(--accent), var(--accent-2)) 1;
}

.training-selector .planner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.planner-header {
  position: relative;
  gap: 8px;
  padding-right: 120px;
}

.planner-header .btn.small {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
}

.planner-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill.selectable {
  cursor: pointer;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
}

.pill.selectable.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(107, 227, 255, 0.25);
}

.planner-results .cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.match-count {
  color: var(--muted);
  margin: 4px 0 10px 0;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.planner .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px; flex: 1 1 22%;
}

.goal-wide {
  min-width: 320px;
  width: 100%;
}

.course-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.course-head {
  padding: 12px 16px;
  background: linear-gradient(120deg, rgba(107, 227, 255, 0.05), rgba(123, 107, 255, 0.05));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.course-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-blurb {
  margin: 0;
}

.course-actions {
  padding: 0 16px 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.course-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.curriculum-local {
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 16px 14px;
}

.curriculum-local ul {
  color: var(--muted);
  padding-left: 18px;
}

.curriculum-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}

body.training-open #training-selector {
  display: block;
}

.cta {
  display: flex;
  justify-content: center;
}

.cta-box {
  max-width: 1040px;
  width: 100%;
  padding: 32px;
  background: linear-gradient(135deg, rgba(107, 227, 255, 0.12), rgba(123, 107, 255, 0.12));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta .lede {
  color: #1b1f2b;
  max-width: 560px;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(920px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.contact-card p {
  color: var(--muted);
}

.contact-meta {
  font-size: 0.95rem;
  margin-top: -6px;
  margin-bottom: 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-weight: 600;
}

input, select, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-family: inherit;
}

select option {
  background: #0a0d16;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin: 6px 0 0;
  color: var(--accent);
  font-weight: 600;
  min-height: 20px;
}

.alt-contact {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px clamp(16px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.015);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 18px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px 12px;
}

.footer-links a {
  color: var(--muted);
  display: inline-block;
  padding: 2px 0;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
  align-self: center;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(4px);
  z-index: 15;
  display: none;
}

body.nav-open .nav-scrim {
  display: block;
}

.floating-assist {
  position: fixed;
  right: 22px;
  bottom: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(107, 227, 255, 0.7);
  background: radial-gradient(circle at 35% 25%, rgba(107, 227, 255, 0.25), rgba(123, 107, 255, 0.28)) , #0b0f1d;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 0 4px rgba(5, 7, 13, 0.6), 0 0 18px rgba(107, 227, 255, 0.25);
  cursor: pointer;
  z-index: 30;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: floaty 5s ease-in-out infinite;
  position: fixed;
}

.floating-assist .assist-text {
  display: none;
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 7, 13, 0.96);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.floating-assist:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 50px rgba(123, 107, 255, 0.35);
}

.floating-assist:hover .assist-text {
  display: inline-flex;
}

.floating-assist:focus-visible .assist-text {
  display: inline-flex;
}

.assist-icon {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assist-text {
  white-space: nowrap;
}

.assist-icon svg {
  width: 46px;
  height: 46px;
  display: block;
  filter: brightness(2.6) contrast(1.6) saturate(1.2) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.assist-icon img {
  width: 64px;
  height: 64px;
  display: block;
  filter:
    brightness(1.7)
    contrast(1.45)
    drop-shadow(0 0 10px rgba(107, 227, 255, 0.35))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

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

.assist-panel {
  position: fixed;
  right: 22px;
  bottom: 60px;
  width: min(340px, 88vw);
  background: #f8fafc;
  color: #0b1220;
  border: 1px solid #d6dce7;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  z-index: 31;
  backdrop-filter: blur(6px);
  max-height: 100vh;
  overflow: auto;
  box-sizing: border-box;
}

.assist-panel h4 {
  margin: 2px 0 6px 0;
}

.assist-panel label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 10px;
}

.assist-panel input,
.assist-panel select,
.assist-panel textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d6dce7;
  background: #ffffff;
  color: #0b1220;
}

.assist-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.assist-close {
  background: transparent;
  border: 1px solid #c4ccda;
  border-radius: 10px;
  color: #0b1220;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.assist-copy {
  color: #4a566f;
  margin: 4px 0 8px;
}

.assist-status {
  min-height: 18px;
  color: #4a566f;
  font-size: 0.95rem;
  margin: 8px 0 0;
}

.assist-alt {
  color: #4a566f;
  font-size: 0.95rem;
  margin: 8px 0 0;
}

.assist-alt a {
  color: #0a7acc;
  font-weight: 700;
}

.assist-actions {
  margin-top: 8px;
}
.assist-chat {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.chat-window {
  border: 1px solid #d6dce7;
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 6px;
  min-height: 240px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.chat-msg.bot {
  justify-content: flex-start;
}

.chat-msg.user {
  justify-content: flex-end;
}

.chat-bubble {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f1f4f9;
  color: #0b1220;
  font-size: 0.95rem;
  border: 1px solid #d6dce7;
  max-width: 260px;
}

.chat-msg.user .chat-bubble {
  border-color: #0a7acc;
  background: #e8f4ff;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef2f7;
  border: 1px solid #d6dce7;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}

.assist-form-wrapper {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-color: var(--accent);
}

.legal {
  padding-top: 40px;
  padding-bottom: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.planner-highlight {
  box-shadow: 0 0 0 2px rgba(107, 227, 255, 0.4), 0 20px 60px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 52px;
  }

  .footer-logo {
    height: 40px;
  }

  .assist-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 88px;
    max-height: 70vh;
    background: rgba(5, 7, 13, 0.95);
  }

  .nav-links {
    position: static;
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(5, 7, 13, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-top: 10px;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    z-index: 20;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    gap: 10px;
  }

  .training-selector .planner {
    grid-template-columns: 1fr;
  }

  .planner .form-row {
    min-width: 160px;
    flex: 1 1 45%;
  }

  .planner .form-row {
    min-width: 160px;
    flex: 1 1 45%;
  }

  .floating-assist {
    right: 14px;
    bottom: 78px;
    padding: 12px;
    width: 72px;
    height: 72px;
  }

  .assist-icon img {
    width: 56px;
    height: 56px;
  }
}
