/* ===== capabilities.css ===== */
#capabilities {
  --cap-bg: #0c0f12;
  --cap-bg-alt: #14181c;
  --cap-text: #f3f5f4;
  --cap-muted: #a3aeac;
  --cap-border: #262b2f;

  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(ellipse 60% 60% at 12% 8%, rgba(92, 184, 98, 0.14) 0%, transparent 100%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(92, 184, 98, 0.08) 0%, transparent 100%),
    var(--cap-bg);
  color: var(--cap-text);
}

#capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/patterns/network-grid.svg");
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.11;
  pointer-events: none;
}

.capabilities-inner {
  position: relative;
  z-index: 1;
}

.capabilities-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.capabilities-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(92, 184, 98, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7dd487;
}

.capabilities-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5cb862;
}

.capabilities-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.capabilities-intro h2 .accent {
  color: #5cb862;
}

.capabilities-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cap-muted);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.capabilities-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 20px;
  border-radius: var(--radius-md);
  background: var(--cap-bg-alt);
  border: 1px solid var(--cap-border);
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.capabilities-card:hover {
  border-color: #5cb862;
  background: #171c20;
  transform: translateY(-3px);
}

.capabilities-card img {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
}

.capabilities-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.capabilities-card span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cap-muted);
  text-transform: uppercase;
}

.capabilities-card--cta {
  background: rgba(92, 184, 98, 0.08);
  border-color: rgba(92, 184, 98, 0.35);
}

.capabilities-card--cta:hover {
  background: rgba(92, 184, 98, 0.14);
}

@media (max-width: 900px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  #capabilities {
    padding: 64px 0;
  }

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

  .capabilities-card img {
    height: 56px;
  }
}

/* ===== key-modules.css ===== */
#key-modules {
  padding: 88px 0;
}

.key-modules-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.key-modules-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.key-modules-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.key-modules-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.key-modules-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.key-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.key-module-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.key-module-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.key-module-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.key-module-card .icon svg {
  width: 20px;
  height: 20px;
}

.key-module-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.key-module-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.key-modules-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .key-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  #key-modules {
    padding: 64px 0;
  }

  .key-modules-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== tools-teaser.css ===== */
#tools-teaser {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(600px 300px at 92% 100%, rgba(59, 130, 246, 0.10), transparent 60%),
    radial-gradient(500px 260px at 50% 50%, rgba(168, 85, 247, 0.06), transparent 65%),
    var(--color-surface-alt, var(--color-surface));
}

.tools-teaser-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.tools-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.tools-teaser-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.tools-teaser-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.tools-teaser-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tools-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.tool-teaser-card {
  display: block;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tool-teaser-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tool-teaser-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px -4px var(--icon-shadow, rgba(0,0,0,0.25));
}

.tool-teaser-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

/* bold, saturated colors -- one per card, this section is meant to pop */
.tools-teaser-grid .tool-teaser-card:nth-child(1) { --icon-shadow: rgba(22, 163, 74, 0.45); border-top-color: #16a34a; }
.tools-teaser-grid .tool-teaser-card:nth-child(1) .icon { background: linear-gradient(135deg, #22c55e, #15803d); }
.tools-teaser-grid .tool-teaser-card:nth-child(1):hover { border-color: #16a34a; }

.tools-teaser-grid .tool-teaser-card:nth-child(2) { --icon-shadow: rgba(37, 99, 235, 0.45); border-top-color: #2563eb; }
.tools-teaser-grid .tool-teaser-card:nth-child(2) .icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tools-teaser-grid .tool-teaser-card:nth-child(2):hover { border-color: #2563eb; }

.tools-teaser-grid .tool-teaser-card:nth-child(3) { --icon-shadow: rgba(147, 51, 234, 0.45); border-top-color: #9333ea; }
.tools-teaser-grid .tool-teaser-card:nth-child(3) .icon { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.tools-teaser-grid .tool-teaser-card:nth-child(3):hover { border-color: #9333ea; }

.tools-teaser-grid .tool-teaser-card:nth-child(4) { --icon-shadow: rgba(234, 88, 12, 0.45); border-top-color: #ea580c; }
.tools-teaser-grid .tool-teaser-card:nth-child(4) .icon { background: linear-gradient(135deg, #fb923c, #c2410c); }
.tools-teaser-grid .tool-teaser-card:nth-child(4):hover { border-color: #ea580c; }

.tools-teaser-grid .tool-teaser-card:nth-child(5) { --icon-shadow: rgba(8, 145, 178, 0.45); border-top-color: #0891b2; }
.tools-teaser-grid .tool-teaser-card:nth-child(5) .icon { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.tools-teaser-grid .tool-teaser-card:nth-child(5):hover { border-color: #0891b2; }

.tools-teaser-grid .tool-teaser-card:nth-child(6) { --icon-shadow: rgba(202, 138, 4, 0.45); border-top-color: #ca8a04; }
.tools-teaser-grid .tool-teaser-card:nth-child(6) .icon { background: linear-gradient(135deg, #fbbf24, #b45309); }
.tools-teaser-grid .tool-teaser-card:nth-child(6):hover { border-color: #ca8a04; }

.tool-teaser-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.tool-teaser-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.tools-teaser-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .tools-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  #tools-teaser {
    padding: 64px 0;
  }

  .tools-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* Tool poster mosaic -- a big 6x3 grid of tool artwork, no titles or
   descriptions (the posters carry their own). No slider, no auto-scroll:
   the "animated" part is the hover interaction itself -- hovering one tile
   pops it forward while every other tile recedes slightly, a spotlight
   effect driven entirely by CSS (:hover on the grid + :hover on the tile).
   A one-time scroll-reveal fade/rise (staggered per tile, toggled by a tiny
   IntersectionObserver in main.js) plays the first time the grid enters
   view, then never again. */

.tools-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.tools-mosaic__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform: translateZ(0) scale(1);
  /* transform/box-shadow (hover) never carry a delay -- only opacity/translate
     (the one-time entrance reveal) do, via --reveal-delay below. Splitting
     them like this is what keeps hover feeling instant even right after the
     staggered reveal has set a transition-delay on this element. */
  transition: transform 0.35s cubic-bezier(.22,.9,.32,1), box-shadow 0.35s ease,
    opacity 0.35s ease var(--reveal-delay, 0s), translate 0.5s cubic-bezier(.22,.9,.32,1) var(--reveal-delay, 0s);
}

/* Hidden-until-revealed state only applies once JS has tagged the grid
   (see the inline script right after the grid markup) -- so without JS,
   or before it runs, every tile is simply visible with no animation. */
.tools-mosaic.js-reveal .tools-mosaic__item {
  opacity: 0;
  translate: 0 22px;
}

.tools-mosaic.js-reveal.is-visible .tools-mosaic__item {
  opacity: 1;
  translate: 0 0;
}

.tools-mosaic__item:nth-child(6n+1) { --reveal-delay: 0.02s; }
.tools-mosaic__item:nth-child(6n+2) { --reveal-delay: 0.07s; }
.tools-mosaic__item:nth-child(6n+3) { --reveal-delay: 0.12s; }
.tools-mosaic__item:nth-child(6n+4) { --reveal-delay: 0.17s; }
.tools-mosaic__item:nth-child(6n+5) { --reveal-delay: 0.22s; }
.tools-mosaic__item:nth-child(6n+6) { --reveal-delay: 0.27s; }

.tools-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.tools-mosaic__item:hover {
  transform: translateZ(0) scale(1.35) !important;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

@media (max-width: 1000px) {
  .tools-mosaic { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .tools-mosaic { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tools-mosaic__item { opacity: 1; translate: 0 0; transition: none; }
}

/* ===== platform-teaser.css ===== */
#platform-teaser {
  padding: 88px 0;
  background: var(--color-bg-alt);
}

.platform-teaser-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.platform-teaser-visual {
  position: relative;
  height: 440px;
}

.platform-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.platform-card:hover {
  z-index: 5 !important;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-primary);
}

.platform-card-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.platform-card-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
}

.platform-card img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.platform-card-main {
  top: 0;
  left: 0;
  width: 68%;
  z-index: 3;
  transform: rotate(-2deg);
}

.platform-card-main img {
  height: 320px;
  object-fit: cover;
  object-position: top;
}

.platform-card-accent-1 {
  top: 6%;
  right: 0;
  width: 42%;
  z-index: 2;
  transform: rotate(3deg);
}

.platform-card-accent-1 img {
  height: 170px;
  object-fit: cover;
  object-position: top;
}

.platform-card-accent-2 {
  bottom: 0;
  right: 6%;
  width: 44%;
  z-index: 4;
  transform: rotate(-4deg);
}

.platform-card-accent-2 img {
  height: 160px;
  object-fit: cover;
  object-position: top left;
}

.platform-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.platform-teaser-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.platform-teaser-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.platform-teaser-content > p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.platform-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.platform-teaser-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
}

.platform-teaser-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .platform-teaser-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .platform-teaser-visual {
    order: 2;
    height: 340px;
  }

  .platform-teaser-content {
    order: 1;
  }

  .platform-card-main img {
    height: 250px;
  }

  .platform-card-accent-1 img,
  .platform-card-accent-2 img {
    height: 130px;
  }
}

@media (max-width: 560px) {
  #platform-teaser {
    padding: 64px 0;
  }

  .platform-teaser-visual {
    height: 260px;
  }

  .platform-card-main {
    width: 78%;
  }

  .platform-card-main img {
    height: 190px;
  }

  .platform-card-accent-1 {
    display: none;
  }

  .platform-card-accent-2 {
    width: 56%;
    bottom: 0;
    right: 0;
  }

  .platform-card-accent-2 img {
    height: 110px;
  }
}

/* ===== case-studies-teaser.css ===== */
#case-studies-teaser {
  --real-bg: #0c0f12;
  --real-surface: #14181c;
  --real-text: #f3f5f4;
  --real-muted: #a3aeac;
  --real-border: #262b2f;

  padding: 88px 0;
  background: var(--real-bg);
}

.case-studies-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.case-studies-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(92, 184, 98, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7dd487;
}

.case-studies-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5cb862;
}

.case-studies-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--real-text);
  margin-bottom: 14px;
}

.case-studies-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--real-muted);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-studies-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--real-surface);
  border: 1px solid var(--real-border);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.case-studies-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #5cb862;
}

.case-studies-card-image {
  position: relative;
  height: 190px;
  border-bottom: 1px solid var(--real-border);
}

.case-studies-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.case-studies-card-logo {
  position: absolute;
  left: 16px;
  bottom: -18px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--real-border);
  box-shadow: var(--shadow-md);
  padding: 10px;
}

.case-studies-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.case-studies-card-body {
  padding: 34px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-studies-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--real-text);
  margin-bottom: 8px;
}

.case-studies-card-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--real-muted);
  margin-bottom: 18px;
  flex: 1;
}

.case-studies-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5cb862;
}

.case-studies-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.case-studies-card:hover .case-studies-card-link svg {
  transform: translateX(3px);
}

.case-studies-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #case-studies-teaser {
    padding: 64px 0;
  }
}

/* ===== videos.css ===== */
#videos {
  padding: 88px 0;
  background: var(--color-bg-alt);
}

.videos-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.videos-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.videos-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.videos-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.videos-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.video-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.video-featured:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.video-featured .video-card-thumb {
  aspect-ratio: 16 / 10;
}

.video-featured-body {
  padding: 32px;
}

.video-featured-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.video-featured-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.video-featured-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.video-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-fast);
}

.video-card:hover .video-card-play {
  background: rgba(0, 0, 0, 0.25);
}

.video-card-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-card-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  color: var(--color-primary-hover);
}

.video-card:hover .video-card-play span {
  transform: scale(1.1);
  background: var(--color-primary);
}

.video-card:hover .video-card-play svg {
  color: #fff;
}

.video-card-title {
  padding: 16px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.videos-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #videos {
    padding: 64px 0;
  }

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

/* ===== testimonials.css ===== */
#testimonials {
  padding: 88px 0;
  background: var(--color-bg);
}

.testimonials-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.testimonials-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.testimonials-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.testimonial-carousel {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-slides {
  position: relative;
  min-height: 260px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial-slide blockquote {
  margin: 0 0 24px;
}

.testimonial-slide blockquote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author > div {
  text-align: left;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.testimonial-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.testimonial-linkedin:hover {
  background: #0a66c2;
  color: #fff;
}

.testimonial-linkedin.testimonial-caselink:hover {
  background: var(--color-primary);
}

.testimonial-linkedin svg {
  width: 16px;
  height: 16px;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.testimonial-arrow:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  border-color: var(--color-primary);
}

.testimonial-arrow svg {
  width: 16px;
  height: 16px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.testimonial-dots button:hover {
  background: var(--color-text-muted);
}

.testimonial-dots button.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 560px) {
  #testimonials {
    padding: 64px 0;
  }

  .testimonial-slide {
    padding: 32px 24px;
  }

  .testimonial-slide blockquote p {
    font-size: 1rem;
  }
}

/* ===== cta-banner.css ===== */
#cta-banner {
  padding: 80px 0;
  background: var(--color-primary);
  overflow: hidden;
  position: relative;
}

#cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 85% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-banner-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.cta-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary-contrast);
  margin-bottom: 14px;
}

.cta-banner-inner p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-primary-contrast);
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-banner-actions .btn-primary {
  background: var(--color-primary-contrast);
  color: var(--color-primary-hover);
}

.cta-banner-actions .btn-primary:hover {
  background: var(--color-primary-contrast);
  opacity: 0.9;
}

.cta-banner-secondary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-contrast);
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-banner-secondary:hover {
  opacity: 1;
}

@media (max-width: 560px) {
  #cta-banner {
    padding: 56px 0;
  }
}

/* ===== footer.css ===== */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 64px 48px;
}

.footer-brand img {
  height: 26px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand .logo-dark {
  display: none;
}

:root[data-theme="dark"] .footer-brand .logo-light {
  display: none;
}

:root[data-theme="dark"] .footer-brand .logo-dark {
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 300px;
  margin-bottom: 20px;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

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

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding-block: 48px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
