

:root {
  --bg-dark: #07101a;
  --bg-darker: #040c13;
  --bg-section: rgba(10, 18, 28, 0.75);
  --primary: #00e3d0;
  --primary-dim: rgba(0,227,208,0.12);
  --secondary: #4f8cff;
  --accent-glow: rgba(0,227,208,0.18);
  --text: #e8f0f8;
  --muted: #8fa3b8;
  --border: rgba(0, 227, 208, 0.13);
  --border-soft: rgba(255,255,255,0.05);
  --card-bg: rgba(8,16,26,0.8);
  --radius: 14px;
  --radius-lg: 20px;
  --font-head: "Segoe UI", Roboto, sans-serif;
  --font-body: "Segoe UI", Roboto, sans-serif;
  --max-w: 1140px;
  --section-pad: clamp(70px, 9vw, 110px);
}


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--primary);
  color: #041018;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }


body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(0,227,208,0.09) 0%, transparent 38%),
    radial-gradient(ellipse at 82% 16%, rgba(79,140,255,0.09) 0%, transparent 38%),
    radial-gradient(ellipse at 50% 82%, rgba(0,227,208,0.05) 0%, transparent 32%),
    linear-gradient(155deg, #07101a 0%, #050e18 55%, #040c13 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background:
    linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.07) 49.5%, transparent 50.5%),
    linear-gradient(45deg,  transparent 0%, rgba(255,255,255,0.04) 49.5%, transparent 50.5%);
  background-size: 240px 240px, 280px 280px;
}


.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 6%, 80px);
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 6%, 80px);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 12, 19, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,227,208,0.5));
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }

.navbar nav a {
  color: var(--text);
  margin-left: 6px;
  padding: 5px 10px;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.navbar nav a:hover { color: var(--primary); background: var(--primary-dim); }

.nav-cta {
  background: var(--primary-dim) !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: rgba(0,227,208,0.22) !important;
}


.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  position: relative;
  z-index: 1;
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6ef5e6 100%);
  color: #03110f;
  box-shadow: 0 10px 32px rgba(0,227,208,0.22);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0,227,208,0.28);
  filter: brightness(1.05);
}

.cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}


.hero {
  padding: clamp(90px, 14vw, 150px) clamp(20px, 6%, 80px) clamp(80px, 12vw, 130px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 1000px;
  top: -480px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,227,208,0.15) 0%, rgba(79,140,255,0.07) 30%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.highlight {
  background: linear-gradient(135deg, var(--primary), #6ef5e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-bar li { display: flex; align-items: center; gap: 7px; }
.trust-bar span { color: var(--primary); font-size: 1rem; }


.mot, .services, .audience, .faq, .contact {
  padding: var(--section-pad) 0;
}

.about {
  padding: var(--section-pad) 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.008) 100%),
    rgba(5, 10, 18, 0.6);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 10% 50%, rgba(0,227,208,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 90% 50%, rgba(79,140,255,0.06) 0%, transparent 50%);
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 52px;
  text-align: center;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}


.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(0,0,0,0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,0.03) 0%, transparent 40%);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(79,140,255,0.3);
  box-shadow: 0 24px 52px rgba(0,0,0,0.3);
}

.card h3 {
  font-family: var(--font-head);
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p { color: var(--muted); font-size: 0.96rem; line-height: 1.65; }


.mot { text-align: center; }
.mot h2 { margin-bottom: 16px; }
.mot .cta { margin: 24px auto 52px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.step-card { text-align: left; padding-top: 38px; }

.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 8px;
  position: absolute;
  top: 22px;
  right: 26px;
}


.services { background: transparent; }
.services h2 { text-align: center; margin-bottom: 52px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}


.audience { text-align: center; }
.audience h2 { margin-bottom: 16px; }

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.audience-tag {
  background: var(--primary-dim);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.audience-tag:hover {
  background: rgba(0,227,208,0.2);
  border-color: var(--primary);
  color: var(--primary);
}


.faq { background: transparent; }
.faq h2 { text-align: center; margin-bottom: 48px; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--primary); }

.faq-q[aria-expanded="true"] { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.24s ease;
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}


.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-text .section-label { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-text strong { color: var(--text); }
.about-text .cta { margin-top: 8px; }

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.trust-card { padding: 22px; }


.contact { text-align: center; }
.contact h2 { margin-bottom: 14px; }

.contact-box {
  margin: 36px auto 0;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 40px;
  display: inline-block;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0,0,0,0.24);
  min-width: 320px;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(0,227,208,0.06) 0%, transparent 40%);
}

.contact-box p { position: relative; z-index: 1; color: var(--muted); }
.contact-box strong { color: var(--text); display: block; margin-bottom: 6px; }
.contact-box a { color: var(--primary); font-weight: 600; font-size: 1.08rem; }
.contact-box a:hover { text-decoration: underline; }
.contact-nudge { margin-top: 14px; font-size: 0.88rem; opacity: 0.75; }


footer {
  padding: 36px 0;
  background: rgba(3, 9, 15, 0.85);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 6%, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo { pointer-events: auto; }
.footer-logo .logo-text { font-size: 1.15rem; }

.footer-tagline {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 460px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  font-size: 0.86rem;
}

.footer-nav a { color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary); }
.footer-nav span { color: rgba(143, 163, 184, 0.4); }

.footer-copy { color: rgba(143, 163, 184, 0.55); font-size: 0.82rem; }


section { scroll-margin-top: 80px; }

@media (max-width: 960px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .trust-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
    padding: 14px 6%;
  }

  nav { justify-content: center; gap: 6px; flex-wrap: wrap; }
  .navbar nav a { margin-left: 0; font-size: 0.87rem; padding: 5px 9px; }

  h1 { font-size: 2.3rem; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .cta { width: 100%; max-width: 340px; text-align: center; }

  .trust-bar { gap: 8px 18px; font-size: 0.82rem; }

  .trust-cards { grid-template-columns: 1fr; }

  .contact-box { width: 100%; min-width: 0; text-align: left; }

  .steps-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.75rem; }
}


@media print {
  body { background: #fff; color: #000; }
  .navbar, .cta, footer { display: none; }
  .hero { padding: 20px 0; }
}


.prose-section {
  padding: clamp(60px, 9vw, 110px) 0;
}

.prose-inner {
  max-width: 780px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.5;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

.prose-section h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.prose-lead {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.prose-section h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 12px;
}

.prose-section p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.prose-section ul {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose-section ul li {
  color: var(--muted);
  font-size: 0.98rem;
  padding-left: 20px;
  position: relative;
}

.prose-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.85em;
}

.prose-section a {
  color: var(--primary);
}

.prose-section a:hover {
  text-decoration: underline;
}


:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* High-contrast focus for dark backgrounds */
.cta:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}


:root {
  --muted: #9eb5cc;
}


.card {
  contain: layout style;
}


.card:hover,
.cta:hover,
.audience-tag:hover {
  will-change: transform;
}


@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


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


.logo-icon {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}


.navbar nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-dim);
}


.navbar {
  min-height: 64px;
}

/* Learning Hub additions */
.learning-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(70px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.learning-hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -320px;
  top: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,227,208,0.14) 0%, rgba(79,140,255,0.07) 34%, transparent 62%);
  filter: blur(18px);
  pointer-events: none;
}

.learning-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.learning-hero-copy h1 {
  max-width: 760px;
}

.learning-hero-copy .hero-sub {
  text-align: left;
  margin-left: 0;
  margin-bottom: 18px;
}

.learning-hero-note,
.learning-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 720px;
}

.learning-actions {
  justify-content: flex-start;
  margin-top: 34px;
  margin-bottom: 0;
}

.learning-visual {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pause-device {
  width: min(100%, 390px);
  min-height: 430px;
  border: 1px solid rgba(0,227,208,0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,227,208,0.12), transparent 32%),
    linear-gradient(160deg, rgba(8,16,26,0.94), rgba(6,12,21,0.76));
  box-shadow: 0 30px 80px rgba(0,0,0,0.36), inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.pause-device::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(79,140,255,0.18), transparent 66%);
  pointer-events: none;
}

.pause-device-top {
  width: 74px;
  height: 6px;
  background: rgba(232,240,248,0.22);
  border-radius: 999px;
  margin: 0 auto 42px;
}

.pause-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pause-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(143,163,184,0.16);
}

.pause-lines span:nth-child(1) { width: 68%; }
.pause-lines span:nth-child(2) { width: 92%; }
.pause-lines span:nth-child(3) { width: 54%; }

.rush-message,
.pause-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(4,12,19,0.74);
  padding: 20px;
  position: relative;
  z-index: 1;
}

.rush-message {
  margin-bottom: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}

.rush-label {
  display: inline-block;
  color: #03110f;
  background: var(--primary);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.rush-message strong,
.pause-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.rush-message p,
.pause-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.pause-card {
  margin-left: 44px;
  border-color: rgba(79,140,255,0.26);
  background: linear-gradient(145deg, rgba(0,227,208,0.12), rgba(79,140,255,0.08));
}

.pause-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-dim);
  margin-bottom: 12px;
}

.learning-section {
  padding: var(--section-pad) 0;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.challenge-section,
.pillars-section,
.checklist-section,
.success-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.014) 0%, rgba(255,255,255,0.006) 100%),
    rgba(5, 10, 18, 0.44);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.mini-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

.mini-card:nth-child(2) { margin-left: 34px; }
.mini-card:nth-child(3) { margin-left: 68px; }

.mini-card span {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.72rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.mini-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.mini-card-strong {
  border-color: rgba(79,140,255,0.34);
  background: linear-gradient(145deg, rgba(0,227,208,0.09), rgba(79,140,255,0.08));
}

.pillars-section { text-align: center; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.pillar-card {
  min-height: 245px;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-dim);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.learning-quote {
  max-width: 760px;
  margin: 38px auto 0;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  background: rgba(8,16,26,0.72);
  color: var(--muted);
  padding: 20px 24px;
  text-align: left;
}

.learning-quote strong { color: var(--text); }

.resources-section h2,
.lesson-content > h2 { text-align: center; }

.resource-toolbar {
  max-width: 920px;
  margin: 0 auto 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.learning-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(8,16,26,0.86);
  color: var(--text);
  padding: 16px 18px;
  font: inherit;
  box-shadow: 0 14px 38px rgba(0,0,0,0.18);
}

.learning-search::placeholder { color: rgba(158,181,204,0.65); }

.learning-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,227,208,0.14);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(8,16,26,0.76);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: #03110f;
  border-color: var(--primary);
  background: var(--primary);
  transform: translateY(-1px);
}

.resource-count,
.resource-empty {
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.resource-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 40%),
    var(--card-bg);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79,140,255,0.34);
  box-shadow: 0 24px 56px rgba(0,0,0,0.3);
}

.resource-card[hidden] { display: none; }

.resource-badge {
  align-self: flex-start;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.resource-card h3 {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.25;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.resource-card a {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.94rem;
}

.resource-card a:hover { text-decoration: underline; }

.lesson-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.lesson-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(8,16,26,0.72);
}

.lesson-sidebar a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.lesson-sidebar a:hover {
  color: var(--primary);
  background: var(--primary-dim);
}

.lesson-content {
  max-width: 820px;
}

.lesson-block {
  scroll-margin-top: 100px;
  margin: 0 0 24px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: 0 18px 44px rgba(0,0,0,0.2);
}

.lesson-block h3 {
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.lesson-block p,
.lesson-list li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.lesson-block p + p { margin-top: 12px; }

.lesson-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-list li {
  position: relative;
  padding-left: 22px;
}

.lesson-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.scenario-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,227,208,0.2);
  background: var(--primary-dim);
}

.scenario-panel strong {
  color: var(--text);
}

.scenario-panel p { margin-top: 6px; }

.scenario-panel-warning {
  border-color: rgba(79,140,255,0.34);
  background: rgba(79,140,255,0.09);
}

.checklist-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.checklist-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.24);
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.checklist-feedback {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}

.checklist-feedback-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.checklist-score-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.checklist-score-value {
  color: var(--text);
  font-weight: 800;
}

.checklist-meter {
  width: 100%;
  height: 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.checklist-meter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #22c55e 0%, #84cc16 22%, #eab308 45%, #f97316 68%, #ef4444 86%, #dc2626 100%);
  opacity: 0.22;
}

.checklist-meter-bar {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
  background: #22c55e;
}

.checklist-status {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--text);
}

.checklist-guidance {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.checklist-card label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.checklist-card input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.checklist-card input:checked + span {
  color: var(--text);
}

.checklist-reset {
  align-self: flex-start;
  margin-top: 10px;
  border: 1px solid var(--border);
  color: var(--primary);
  background: var(--primary-dim);
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 800;
}

.checklist-reset:hover {
  background: rgba(0,227,208,0.18);
}

.success-card,
.learning-cta-box {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 15%, rgba(0,227,208,0.1), transparent 32%),
    linear-gradient(145deg, rgba(8,16,26,0.92), rgba(6,12,21,0.76));
  padding: clamp(32px, 6vw, 58px);
  box-shadow: 0 24px 66px rgba(0,0,0,0.28);
}

.success-card h2,
.learning-cta-box h2 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.success-card p,
.learning-cta-box p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 26px;
  line-height: 1.72;
}

.learning-cta-box .hero-actions {
  margin: 28px 0 0;
}

@media (max-width: 960px) {
  .learning-hero-inner,
  .split-panel,
  .checklist-inner {
    grid-template-columns: 1fr;
  }

  .learning-visual {
    min-height: 0;
  }

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

  .lesson-layout {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 760px) {
  .learning-hero-copy .hero-sub,
  .learning-hero-copy h1,
  .learning-hero-note,
  .learning-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .learning-actions,
  .learning-cta-box .hero-actions {
    justify-content: center;
  }

  .pause-card,
  .mini-card:nth-child(2),
  .mini-card:nth-child(3) {
    margin-left: 0;
  }

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

  .lesson-block,
  .checklist-card {
    padding: 22px;
  }
}

@media print {
  .learning-search,
  .filter-group,
  .lesson-sidebar,
  .learning-visual,
  .checklist-reset {
    display: none;
  }

  .learning-section,
  .learning-hero {
    padding: 20px 0;
  }
}


.learning-hero + .pillars-section {
  border-top: 1px solid var(--border);
}


/* Homepage Learning Hub reference
   Small trust-building bridge before the contact section. */
.learning-home {
  padding: clamp(46px, 7vw, 82px) 0;
  background:
    radial-gradient(ellipse at 12% 30%, rgba(0,227,208,0.055) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 70%, rgba(79,140,255,0.055) 0%, transparent 44%),
    rgba(5, 10, 18, 0.42);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.learning-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(145deg, rgba(8,16,26,0.92), rgba(6,12,21,0.78));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 22px 58px rgba(0,0,0,0.24);
  position: relative;
  overflow: hidden;
}

.learning-home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.035) 0%, transparent 34%),
    radial-gradient(circle at 8% 15%, rgba(0,227,208,0.10), transparent 34%);
}

.learning-home-copy,
.learning-home-action {
  position: relative;
  z-index: 1;
}

.learning-home h2 {
  margin-bottom: 16px;
}

.learning-home-copy p {
  color: var(--muted);
  max-width: 780px;
  line-height: 1.72;
  margin-bottom: 12px;
}

.learning-home-copy strong {
  color: var(--text);
}

.learning-home-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.learning-home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.learning-home-chips li {
  border: 1px solid var(--border);
  color: var(--primary);
  background: var(--primary-dim);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.learning-home .cta {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .learning-home-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .learning-home-action {
    align-items: center;
  }

  .learning-home-chips {
    justify-content: center;
  }

  .learning-home .cta {
    white-space: normal;
  }
}
