/* =========================================================
   BRUCE GOLDWELL AI KNOWLEDGE CENTER
   File: /ai-knowledge-center/script.css
   ========================================================= */

/* ---------- ROOT VARIABLES ---------- */

:root {
  --navy: #061a33;
  --navy-medium: #0a2d52;
  --navy-light: #104a7a;

  --blue: #177ddc;
  --blue-bright: #25a7ff;
  --cyan: #34d8ff;
  --teal: #16c9b7;
  --purple: #7857ff;

  --gold: #f3c75f;
  --gold-dark: #d8a830;

  --white: #ffffff;
  --off-white: #f5f9fd;
  --light-blue: #eaf5ff;
  --light-gray: #e2e9f0;
  --gray: #617084;
  --dark-gray: #24354a;
  --black: #07111f;

  --success: #1aa76c;
  --warning: #e59c24;
  --danger: #d94b4b;

  --shadow-light: 0 8px 24px rgba(4, 28, 52, 0.10);
  --shadow-medium: 0 14px 36px rgba(4, 28, 52, 0.16);
  --shadow-dark: 0 18px 50px rgba(0, 12, 28, 0.26);

  --gradient-primary:
    linear-gradient(135deg, #061a33 0%, #0a4271 55%, #118fba 100%);

  --gradient-ai:
    linear-gradient(135deg, #126fd1 0%, #5b54e8 50%, #11b8cb 100%);

  --gradient-light:
    linear-gradient(135deg, #f7fbff 0%, #e7f5ff 100%);

  --border-radius: 16px;
  --border-radius-small: 10px;
  --border-radius-large: 26px;

  --container-width: 1180px;
  --transition: all 0.3s ease;
}

/* ---------- RESET ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  color: var(--dark-gray);
  background: var(--white);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--purple);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.45rem;
}

blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  color: var(--navy);
  background: var(--light-blue);
  border-left: 5px solid var(--blue-bright);
  border-radius: 0 var(--border-radius-small)
    var(--border-radius-small) 0;
}

/* ---------- ACCESSIBILITY ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- GLOBAL LAYOUT ---------- */

.container {
  width: min(92%, var(--container-width));
  margin-inline: auto;
}

.narrow-container {
  width: min(92%, 860px);
  margin-inline: auto;
}

main {
  min-height: 60vh;
}

section {
  padding: 72px 0;
}

.section-light {
  background: var(--off-white);
}

.section-blue {
  background: var(--light-blue);
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-gradient {
  color: var(--white);
  background: var(--gradient-primary);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-gradient .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-gradient h1,
.section-gradient h2,
.section-gradient h3,
.section-gradient h4 {
  color: var(--white);
}

p {
  margin-top: 0;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-muted {
  color: var(--gray);
}

.highlight {
  color: var(--blue);
}

.gold-text {
  color: var(--gold-dark);
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: rgba(6, 26, 51, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 25px rgba(0, 10, 25, 0.20);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 230px;
  gap: 12px;
}

.site-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--gradient-ai);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(52, 216, 255, 0.34);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.site-title {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.site-title span {
  display: block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 6px;
  list-style: none;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.90);
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active,
.main-nav [aria-current="page"] {
  color: var(--white);
  background: rgba(52, 216, 255, 0.15);
}

/* ---------- MOBILE NAVIGATION ---------- */

.menu-toggle {
  display: none;
  padding: 10px 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-weight: 700;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  color: var(--white);
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(4, 20, 42, 0.96) 0%,
      rgba(5, 28, 55, 0.86) 45%,
      rgba(6, 33, 65, 0.52) 100%
    );
}

.hero::after {
  position: absolute;
  z-index: -1;
  width: 700px;
  height: 700px;
  right: -260px;
  bottom: -390px;
  content: "";
  background: rgba(52, 216, 255, 0.13);
  border: 1px solid rgba(52, 216, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 100px rgba(52, 216, 255, 0.17),
    inset 0 0 80px rgba(120, 87, 255, 0.12);
}

.hero-content {
  width: min(92%, var(--container-width));
  margin-inline: auto;
  padding: 100px 0;
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--cyan);
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.36);
}

.hero p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-small {
  min-height: 430px;
}

.hero-small .hero-content {
  padding: 80px 0;
}

.hero-center .hero-copy {
  margin-inline: auto;
  text-align: center;
}

.hero-center p {
  margin-inline: auto;
}

/* ---------- HERO IMAGE CLASSES ---------- */

.hero-home {
  background-image:
    url("images/hero-ai-knowledge-center.jpg");
}

.hero-beginners {
  background-image:
    url("images/hero-ai-beginners.jpg");
}

.hero-authors {
  background-image:
    url("images/hero-ai-authors.jpg");
}

.hero-business {
  background-image:
    url("images/hero-ai-business.jpg");
}

.hero-life {
  background-image:
    url("images/hero-ai-for-life.jpg");
}

.hero-work {
  background-image:
    url("images/hero-ai-for-work.jpg");
}

.hero-tools {
  background-image:
    url("images/hero-ai-tools.jpg");
}

.hero-prompts {
  background-image:
    url("images/hero-ai-prompts.jpg");
}

.hero-books {
  background-image:
    url("images/hero-ai-books.jpg");
}

.hero-ethics {
  background-image:
    url("images/hero-ai-ethics.jpg");
}

/* ---------- BUTTONS ---------- */

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-group.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  gap: 8px;
  color: var(--white);
  background: var(--gradient-ai);
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(23, 125, 220, 0.24);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.btn:hover,
.btn:focus {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 13px 30px rgba(23, 125, 220, 0.34);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--light-gray);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--navy);
  background: var(--light-blue);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.btn-gold {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(243, 199, 95, 0.22);
}

.btn-gold:hover,
.btn-gold:focus {
  color: var(--navy);
  background: #ffe196;
}

.btn-small {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 0.86rem;
}

/* ---------- BREADCRUMBS ---------- */

.breadcrumb {
  color: var(--gray);
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb .container {
  padding-top: 13px;
  padding-bottom: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.breadcrumb li {
  margin: 0;
  font-size: 0.88rem;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: #97a5b5;
  content: "/";
}

.breadcrumb a {
  font-weight: 700;
}

/* ---------- CARDS ---------- */

.card-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-grid.two-column {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.card-grid.three-column {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.card-grid.four-column {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(23, 125, 220, 0.38);
  transform: translateY(-7px);
  box-shadow: var(--shadow-medium);
}

.card::before {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  content: "";
  background: var(--gradient-ai);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--white);
  background: var(--gradient-ai);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(23, 125, 220, 0.22);
  font-size: 1.55rem;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

.card-link::after {
  content: "→";
  transition: var(--transition);
}

.card-link:hover::after {
  transform: translateX(5px);
}

.card-dark {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-medium);
  border-color: rgba(255, 255, 255, 0.10);
}

.card-dark h3 {
  color: var(--white);
}

.card-dark a {
  color: var(--cyan);
}

/* ---------- LEARNING PATHS ---------- */

.learning-path {
  position: relative;
  padding-left: 74px;
}

.learning-path-number {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  top: 0;
  left: 0;
  place-items: center;
  color: var(--white);
  background: var(--gradient-ai);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(23, 125, 220, 0.24);
  font-weight: 900;
}

.level-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  background: var(--light-blue);
  border: 1px solid rgba(23, 125, 220, 0.20);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CONTENT LAYOUT ---------- */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 44px;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 48px;
}

.article-content h3 {
  margin-top: 32px;
}

.article-content img {
  margin: 28px auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.sidebar {
  position: sticky;
  top: 108px;
}

.sidebar-box {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
}

.sidebar-box h3 {
  font-size: 1.2rem;
}

.sidebar-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-box li {
  margin: 0;
  border-bottom: 1px solid var(--light-gray);
}

.sidebar-box li:last-child {
  border-bottom: 0;
}

.sidebar-box a {
  display: block;
  padding: 10px 0;
  font-size: 0.94rem;
  font-weight: 700;
}

/* ---------- FEATURE SECTION ---------- */

.feature-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.feature-image img {
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

.feature-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 32px;
}

.feature-list li::before {
  position: absolute;
  display: grid;
  width: 21px;
  height: 21px;
  top: 4px;
  left: 0;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

/* ---------- INFORMATION BOXES ---------- */

.info-box,
.tip-box,
.warning-box,
.disclaimer-box {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--border-radius-small);
}

.info-box {
  background: var(--light-blue);
  border-left: 5px solid var(--blue);
}

.tip-box {
  background: #eafaf5;
  border-left: 5px solid var(--success);
}

.warning-box {
  background: #fff6e5;
  border-left: 5px solid var(--warning);
}

.disclaimer-box {
  color: #445164;
  background: #f2f4f7;
  border-left: 5px solid #8492a4;
  font-size: 0.92rem;
}

.info-box strong,
.tip-box strong,
.warning-box strong,
.disclaimer-box strong {
  color: var(--navy);
}

/* ---------- TABLES ---------- */

.table-wrapper {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow-light);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--light-gray);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--navy-medium);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: var(--off-white);
}

/* ---------- BOOK CARDS ---------- */

.book-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.book-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.book-cover {
  width: min(100%, 220px);
  margin: 0 auto 22px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 10, 30, 0.22);
}

.book-card h3 {
  font-size: 1.2rem;
}

.book-card .btn {
  width: 100%;
  margin-top: auto;
}

.book-meta {
  margin-bottom: 14px;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--blue);
  content: "+";
  font-size: 1.6rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
}

/* ---------- GLOSSARY ---------- */

.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 35px;
  justify-content: center;
  gap: 8px;
}

.glossary-nav a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-weight: 800;
}

.glossary-nav a:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.glossary-term {
  padding: 22px 0;
  border-bottom: 1px solid var(--light-gray);
}

.glossary-term h3 {
  margin-bottom: 6px;
}

/* ---------- TIMELINE ---------- */

.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.timeline::before {
  position: absolute;
  width: 4px;
  top: 0;
  bottom: 0;
  left: 28px;
  content: "";
  background: linear-gradient(
    to bottom,
    var(--blue),
    var(--purple),
    var(--teal)
  );
  border-radius: 10px;
}

.timeline-item {
  position: relative;
  padding: 0 0 42px 84px;
}

.timeline-marker {
  position: absolute;
  display: grid;
  width: 58px;
  height: 58px;
  top: 0;
  left: 1px;
  place-items: center;
  color: var(--white);
  background: var(--gradient-ai);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-light);
  font-size: 0.75rem;
  font-weight: 900;
}

.timeline-content {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

/* ---------- CALLOUT / CTA ---------- */

.cta {
  position: relative;
  padding: 58px 30px;
  color: var(--white);
  background: var(--gradient-primary);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  text-align: center;
}

.cta::before {
  position: absolute;
  width: 260px;
  height: 260px;
  top: -130px;
  right: -90px;
  content: "";
  background: rgba(52, 216, 255, 0.15);
  border-radius: 50%;
}

.cta h2,
.cta h3 {
  color: var(--white);
}

.cta p {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 26px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.90);
}

/* ---------- TAGS ---------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  color: var(--navy-medium);
  background: var(--light-blue);
  border: 1px solid rgba(23, 125, 220, 0.16);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
}

/* ---------- PAGINATION / PREVIOUS-NEXT ---------- */

.page-navigation {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  margin-top: 50px;
  gap: 20px;
}

.page-navigation a {
  display: block;
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-small);
  font-weight: 800;
}

.page-navigation a:last-child {
  text-align: right;
}

/* ---------- FOOTER ---------- */

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--black);
}

.footer-main {
  padding: 62px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer h3 {
  font-size: 1.08rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.87rem;
  text-align: center;
}

/* ---------- SIMPLE ANIMATIONS ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(52, 216, 255, 0);
  }

  50% {
    box-shadow: 0 0 32px rgba(52, 216, 255, 0.28);
  }
}

.animate-in {
  animation: fadeUp 0.8s ease both;
}

.animate-delay-1 {
  animation-delay: 0.12s;
}

.animate-delay-2 {
  animation-delay: 0.24s;
}

.animate-delay-3 {
  animation-delay: 0.36s;
}

.ai-pulse {
  animation: softPulse 3s ease-in-out infinite;
}

/* ---------- RESPONSIVE DESIGN ---------- */

@media (max-width: 1024px) {
  .card-grid.four-column {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    display: block;
    padding: 10px 0;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 530px;
  }

  .hero-content {
    padding: 78px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    order: -1;
  }

  .card-grid.three-column {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 54px 0;
  }

  .site-branding {
    min-width: 0;
  }

  .site-logo {
    width: 42px;
    height: 42px;
  }

  .site-title {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 500px;
    text-align: center;
  }

  .hero::before {
    background: rgba(4, 20, 42, 0.84);
  }

  .hero-copy {
    margin-inline: auto;
  }

  .button-group {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .card-grid.two-column,
  .card-grid.three-column,
  .card-grid.four-column,
  .footer-grid,
  .page-navigation {
    grid-template-columns: 1fr;
  }

  .page-navigation a:last-child {
    text-align: left;
  }

  .card {
    padding: 23px;
  }

  .learning-path {
    padding-left: 0;
  }

  .learning-path-number {
    position: static;
    margin-bottom: 16px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 62px;
  }

  .timeline-marker {
    width: 44px;
    height: 44px;
    left: 0;
    border-width: 4px;
    font-size: 0.65rem;
  }

  .cta {
    padding: 44px 22px;
  }

  th,
  td {
    padding: 12px 13px;
  }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- PRINT ---------- */

@media print {
  .site-header,
  .main-nav,
  .breadcrumb,
  .button-group,
  .sidebar,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    color: #000000;
    background: none !important;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero h1,
  .hero p {
    color: #000000;
    text-shadow: none;
  }

  section {
    padding: 22px 0;
  }

  .card,
  .timeline-content {
    border: 1px solid #cccccc;
    box-shadow: none;
    break-inside: avoid;
  }

  a {
    color: #000000;
  }
}