:root {
  --bg: #f4f9f9;
  --surface: #024b53;
  --surface-alt: #035f69;
  --text: #0a1f22;
  --muted: #4a7178;
  --muted-strong: #0d3a40;
  --accent: #FFC70F;
  --accent-dark: #cc9f00;
  --accent-soft: rgba(255, 199, 15, 0.14);
  --card: #ffffff;
  --border: rgba(2, 75, 83, 0.12);
  --shadow: 0 28px 60px rgba(2, 75, 83, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #e8f4f5 0%, #f4f9f9 100%);
  color: var(--text);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 16px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: #ffffff;
  border-bottom: 1px solid rgba(2, 75, 83, 0.08);
  box-shadow: 0 2px 20px rgba(2, 75, 83, 0.08);
}

/* ── Mobile menu ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 98;
  /* hidden state — slides up out of view */
  transform: translateY(-110%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  background: #ffffff;
  border-bottom: 1px solid rgba(2, 75, 83, 0.1);
  box-shadow: 0 12px 40px rgba(2, 75, 83, 0.12);
  padding: 8px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* top padding set by JS to clear the header */
  padding-top: var(--header-h, 72px);
}

/* Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 97;
  background: rgba(1, 30, 34, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Links */
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  background: rgba(2, 75, 83, 0.06);
  color: var(--surface);
}

.mobile-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(2, 75, 83, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.mobile-menu-link:hover .mobile-menu-icon {
  background: var(--surface);
  color: #ffffff;
}

.mobile-menu-icon .material-symbols-rounded {
  font-size: 20px;
}

/* CTA button inside menu */
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--surface);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobile-menu-cta:hover {
  background: #035f69;
  color: #ffffff;
}

.mobile-menu-cta .material-symbols-rounded {
  font-size: 20px;
}

/* ── Animated hamburger icon ────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(2, 75, 83, 0.16);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(2, 75, 83, 0.06);
  border-color: var(--surface);
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--surface);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease,
              width 0.3s ease;
}

/* Open state — animate to X */
.menu-toggle.open .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .bar-2 {
  opacity: 0;
  width: 0;
}

.menu-toggle.open .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle-label {
  display: none;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.brand,
.footer-brand {
  color: var(--surface);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 64px;
  width: auto;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.site-logo-lms {
  height: 68px;
}

/* Logo swap: show landscape on desktop, mark on mobile */
.logo-mobile { display: none; }
.logo-desktop { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

/* Capsule container */
.nav-capsule {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(2, 75, 83, 0.06);
  border: 1px solid rgba(2, 75, 83, 0.1);
  border-radius: 999px;
  padding: 4px;
}

/* Scrolled state — capsule on white bg */
.site-header.scrolled .nav-capsule {
  background: rgba(2, 75, 83, 0.06);
  border-color: rgba(2, 75, 83, 0.12);
}

/* Individual tab */
.nav-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-strong);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

/* Hover state */
.nav-tab:hover {
  color: var(--surface);
  background: rgba(2, 75, 83, 0.08);
}

/* Active state — filled capsule */
.nav-tab.active {
  background: var(--surface);
  color: #ffffff;
  font-weight: 700;
}

.nav-tab.active:hover {
  background: #035f69;
  color: #ffffff;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(2, 94, 104, 0.35);
  background: rgba(2, 94, 104, 0.08);
  color: var(--surface);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-login:hover {
  background: rgba(2, 94, 104, 0.16);
  border-color: #025E68;
  transform: translateY(-1px);
}

.btn-login svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(2, 75, 83, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--surface);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(2, 75, 83, 0.08);
  border-color: var(--surface);
}

.menu-toggle-label {
  display: inline;
}

.hero {
  position: relative;
  padding: 0 0 64px;
  background: linear-gradient(135deg, rgba(255, 199, 15, 0.08), rgba(2, 75, 83, 0.06));
}

/* pushes hero content below the fixed navbar — matches navbar height (logo 68px + 10px*2 padding) */
.hero-body {
  padding-top: 96px;
}

/* invisible sentinel — when it leaves viewport, navbar turns solid */
.hero-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1.02;
  max-width: 640px;
  color: var(--surface);
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.hero-copy p,
.section-heading p,
.tool-card,
.testimonial-card p {
  color: var(--muted);
}

.hero-copy p {
  margin: 24px 0 0;
  font-size: 1.05rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 16px;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.btn-primary {
  background: #025E68;
  color: #ffffff;
}

.btn-secondary {
  color: var(--surface);
  border: 1px solid rgba(2, 75, 83, 0.14);
  background: #ffffff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 24px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(2, 75, 83, 0.08);
  color: #024b53;
  flex-shrink: 0;
  padding: 10px;
}

.hero-stat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  flex-shrink: 0;
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--surface);
  line-height: 1.2;
}

.hero-stat span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}

@media (min-width: 641px) and (max-width: 800px) {
  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    gap: 16px;
    padding-bottom: 6px;
    margin-top: 24px;
    -webkit-overflow-scrolling: touch;
  }

  .hero-stat {
    flex: 0 0 auto;
    min-width: 140px;
  }

  .hero-stats::-webkit-scrollbar {
    height: 8px;
  }

  .hero-stats::-webkit-scrollbar-thumb {
    background: rgba(2, 75, 83, 0.18);
    border-radius: 999px;
  }
}

.hero-visual {
  position: relative;
  align-self: start;
}

.visual-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #e8f4f5 100%);
  border: 1px solid rgba(2, 75, 83, 0.08);
  box-shadow: 0 12px 32px rgba(2, 75, 83, 0.1);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 199, 15, 0.14), transparent 25%),
    radial-gradient(circle at bottom right, rgba(2, 75, 83, 0.12), transparent 20%);
  pointer-events: none;
  z-index: 1;
}

.visual-image {
  width: 100%;
  max-height: 260px;
  display: block;
  object-fit: cover;
  object-position: top;
}

.visual-caption {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 2;
  padding: 16px 20px;
  border-radius: 0;
  background: #ffffff;
  border-top: 1px solid rgba(2, 75, 83, 0.07);
  box-shadow: none;
}

.visual-caption strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
  color: var(--surface);
  font-weight: 700;
}

.visual-caption p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted-strong);
  line-height: 1.5;
}

.section {
  padding: 80px 0;
}

/* ── Core Platform Properties ───────────────────────────── */
.platform-props-section {
  background: #f0f7f7;
}

.platform-props-header {
  text-align: left;
  margin-bottom: 48px;
}

.platform-props-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.18);
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.platform-props-heading {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--surface);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.platform-props-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.platform-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prop-card {
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.08);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.prop-card:hover {
  box-shadow: 0 12px 36px rgba(2, 75, 83, 0.1);
  transform: translateY(-3px);
}

.prop-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(2, 75, 83, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  flex-shrink: 0;
}

.prop-icon .material-symbols-rounded {
  font-size: 26px;
}

.prop-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.prop-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  flex: 1;
}

.prop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.prop-tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f0f7f7;
  border: 1px solid rgba(2, 75, 83, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.university-section {
  background: #ffffff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--surface);
  margin: 18px 0 16px;
}

.course-grid,
.testimonial-grid,
.tool-grid {
  display: grid;
  gap: 16px;
}

/* ── University Carousel ────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.university-carousel {
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.university-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.university-track:hover {
  animation-play-state: paused;
}

.university-card {
  flex: 0 0 auto;
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(2, 75, 83, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.university-card:hover {
  box-shadow: 0 8px 24px rgba(2, 75, 83, 0.1);
  border-color: rgba(2, 75, 83, 0.18);
}

.university-card img {
  max-width: 120px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-card,
.tool-card,
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(2, 75, 83, 0.05);
}

.university-card {
  min-height: 120px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--surface);
}

.university-card img {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── LMS Use Cases ──────────────────────────────────────── */
.use-cases-section {
  background: #f0f7f7;
  padding-bottom: 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-card {
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(2, 75, 83, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(2, 75, 83, 0.1);
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
}

.use-case-header--teal {
  background: linear-gradient(135deg, #024b53 0%, #037080 100%);
}

.use-case-header--dark {
  background: linear-gradient(135deg, #012e34 0%, #024b53 100%);
}

.use-case-header--mid {
  background: linear-gradient(135deg, #025e68 0%, #2a9aaa 100%);
}

.use-case-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.use-case-icon .material-symbols-rounded {
  font-size: 22px;
}

.use-case-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.2;
}

.use-case-header span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.use-case-list {
  list-style: none;
  margin: 0;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-case-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted-strong);
  font-weight: 500;
  line-height: 1.4;
}

.use-case-list .material-symbols-rounded {
  font-size: 16px;
  color: var(--surface);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── Courses Section v2 ─────────────────────────────────── */
.courses-section-header {
  margin-bottom: 24px;
}

/* ── Course Boxes ───────────────────────────────────────── */
.course-boxes {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.course-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.1);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.course-box:hover {
  background: rgba(2, 75, 83, 0.05);
  border-color: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(2, 75, 83, 0.1);
}

.course-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(2, 75, 83, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  transition: background 0.2s ease, color 0.2s ease;
}

.course-box:hover .course-box-icon {
  background: var(--surface);
  color: #ffffff;
}

.course-box-icon .material-symbols-rounded {
  font-size: 22px;
}

.course-box-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--surface);
  line-height: 1.2;
}

@media (max-width: 980px) {
  .course-boxes {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 560px) {
  .course-boxes {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Why Learners Choose Section ────────────────────────── */
.why-section {
  background: #011e22;
  padding: 64px 0;
}

.why-section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Badge on dark background */
.why-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

.why-heading {
  text-align: center;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 0;
  letter-spacing: -0.01em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 12px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.why-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.why-item:hover .why-icon {
  background: rgba(255, 199, 15, 0.18);
  color: #FFC70F;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.why-item p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* ── Features Section — light tab layout ───────────────── */
.features-section {
  background: #ffffff;
  padding: 48px 0;
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

/* Left column */
.features-left > .platform-props-sub {
  margin-bottom: 20px;
}

/* Tab list */
.features-tab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.features-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  user-select: none;
  outline: none;
}

.features-tab:hover {
  background: rgba(2, 75, 83, 0.04);
}

.features-tab.active {
  background: rgba(2, 75, 83, 0.06);
  border-color: rgba(2, 75, 83, 0.12);
}

.features-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(2, 75, 83, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-strong);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.features-tab-icon .material-symbols-rounded {
  font-size: 18px;
}

.features-tab.active .features-tab-icon {
  background: var(--surface);
  color: #ffffff;
}

.features-tab-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.features-tab-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.features-tab-text span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 400;
}

.features-tab-chevron {
  font-size: 16px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.features-tab.active .features-tab-chevron {
  opacity: 1;
  transform: translateX(0);
  color: var(--surface);
}

/* Right column — detail panel */
.features-right {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-panel {
  background: #f4f9f9;
  border: 1px solid rgba(2, 75, 83, 0.08);
  border-radius: 20px;
  padding: 24px 26px;
  animation: panelFadeIn 0.3s ease both;
}

.features-panel.hidden {
  display: none;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.features-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 14px;
}

.features-panel-icon .material-symbols-rounded {
  font-size: 22px;
}

.features-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--surface);
  margin: 0 0 8px;
}

.features-panel > p {
  font-size: 0.88rem;
  color: var(--muted-strong);
  line-height: 1.7;
  margin: 0 0 16px;
}

.features-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.features-panel-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.features-panel-list .material-symbols-rounded {
  font-size: 16px;
  color: var(--surface);
  flex-shrink: 0;
}

.tools-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.tools-header {
  max-width: 720px;
}

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

.tool-card {
  min-height: 180px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 199, 15, 0.06), #ffffff 100%);
  border: 1px solid rgba(255, 199, 15, 0.18);
}

.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(2, 75, 83, 0.12);
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 199, 15, 0.12), #ffffff 100%);
}

.tool-card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 199, 15, 0.16);
  color: var(--accent-dark);
  transition: all 0.3s ease;
}

.tool-card:hover .tool-card-icon {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.08);
}

.tool-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.tool-card h3 {
  margin: 0;
  color: var(--surface);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.tool-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

.tool-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 199, 15, 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.tool-card:hover .tool-arrow {
  background: var(--accent);
  color: #ffffff;
  transform: translateX(4px);
}

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

.testimonial-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 199, 15, 0.14);
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(2, 75, 83, 0.08);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 199, 15, 0.12);
  color: var(--accent-dark);
}

.quote-icon svg {
  width: 20px;
  height: 20px;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 75, 83, 0.08);
  color: var(--surface);
  font-weight: 700;
  font-size: 0.94rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.8;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 199, 15, 0.16);
  color: var(--accent-dark);
  font-weight: 800;
}

.testimonial-card h4 {
  color: var(--surface);
  margin: 0;
}

.testimonial-card span {
  color: var(--muted-strong);
  font-weight: 600;
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0;
  width: 100%;
  margin: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h, 72px) + 16px);
}

.cta-blob {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.cta-blob-1 {
  width: 420px;
  height: 420px;
  background: rgba(255, 199, 15, 0.22);
  top: -120px;
  left: -80px;
}

.cta-blob-2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 199, 15, 0.14);
  bottom: -100px;
  right: -60px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding: 64px 56px;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 199, 15, 0.45);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-eyebrow svg {
  color: var(--accent-dark);
}

.cta-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 520px;
}

.cta-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 480px;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-trust-item svg {
  color: #FFC70F;
  flex-shrink: 0;
}

/* CTA Card */
.cta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin: 0;
}

.cta-card-heading {
  font-size: 1.45rem;
  color: var(--surface);
  margin: 4px 0 2px;
  line-height: 1.2;
}

.cta-card-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  background: #025E68;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1.5px solid rgba(2, 75, 83, 0.16);
  background: transparent;
  color: var(--surface);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cta-secondary:hover {
  background: rgba(2, 75, 83, 0.06);
  border-color: var(--surface);
}

.cta-card-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 8px 0 0;
  font-weight: 500;
}

.cta-card-note svg {
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Responsive CTA — handled inside the main breakpoints below */

/* ── CTA Band (footer-attached, full-width) ─────────────── */
.cta-band {
  width: 100%;
  background: linear-gradient(135deg, #012e34 0%, #024b53 45%, #035f69 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
}

.cta-left {
  flex: 1;
  min-width: min(100%, 280px);
}

.cta-left h3 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  max-width: 560px;
}

.cta-left p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.btn-white-sm,
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-white-sm {
  border: none;
  background: #ffffff;
  color: var(--surface);
}

/* Override footer's inherited white color */
a.btn-white-sm,
button.btn-white-sm {
  color: #024b53 !important;
  text-decoration: none;
}

.btn-white-sm:hover,
a.btn-white-sm:hover,
button.btn-white-sm:hover {
  background: #FFC70F !important;
  color: #024b53 !important;
}

.btn-ghost-sm {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
}

a.btn-ghost-sm,
button.btn-ghost-sm {
  color: #ffffff;
}

.btn-ghost-sm:hover,
a.btn-ghost-sm:hover,
button.btn-ghost-sm:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-white-sm:active,
.btn-ghost-sm:active {
  transform: scale(0.98);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #011e22;
  padding: 0;
  margin-top: 0;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 0;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin: 0 0 18px;
}

/* Brand col */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 24px;
  max-width: 280px;
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(255, 199, 15, 0.25);
  border-color: #FFC70F;
  color: #ffffff;
}

/* Links cols */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #FFC70F;
}

/* Contact col */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  flex-shrink: 0;
}

.footer-contact-icon--wa {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.footer-contact-list a {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #FFC70F;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 40px 0 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #ffffff;
  margin: 0;
}

.footer-bottom p a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom p a:hover {
  color: #FFC70F;
}

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

.footer-legal a {
  font-size: 0.82rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #FFC70F;
}

.footer-legal-dot {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

/* Override the old generic footer link/p rules */
.site-footer p,
.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #FFC70F;
}

.footer-grid > div > a {
  display: unset;
  margin-top: unset;
}

/* ── Toast Banner ───────────────────────────────────────── */
@keyframes toast-slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toast-slide-down {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.toast-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(780px, calc(100% - 32px));
  background: #ffffff;
  border: 1px solid rgba(2, 75, 83, 0.1);
  border-radius: 20px;
  padding: 14px 16px 14px 20px;
  box-shadow: 0 8px 16px rgba(2, 75, 83, 0.06), 0 24px 56px rgba(2, 75, 83, 0.12);
  animation: toast-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast-banner.hiding {
  animation: toast-slide-down 0.3s ease forwards;
}

/* Avatar stack */
.toast-avatars {
  display: flex;
  flex-shrink: 0;
}

.toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFC70F;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  margin-left: -8px;
  letter-spacing: 0;
}

.toast-avatar:first-child {
  margin-left: 0;
}

/* Body */
.toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cc9f00;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.toast-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.toast-pulse::before,
.toast-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FFC70F;
}

.toast-pulse::after {
  animation: pulse-ring 1.6s ease-out infinite;
}

.toast-banner strong {
  display: block;
  color: var(--surface);
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-body span {
  color: var(--muted);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions */
.toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.toast-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #025E68;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.toast-cta:hover {
  transform: translateY(-1px);
}

.toast-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(2, 75, 83, 0.12);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(2, 75, 83, 0.06);
  color: var(--surface);
}

/* ── Scroll to Top ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #025E68;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2, 75, 83, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #024b53;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  max-width: none;
  display: block;
}

@media (max-width: 640px) {
  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .toast-banner {
    bottom: 16px;
    padding: 12px 14px;
    gap: 10px;
    border-radius: 16px;
    width: calc(100% - 24px);
  }

  .toast-avatars {
    display: none;
  }

  .toast-online {
    display: none;
  }

  .toast-body span {
    display: none;
  }

  .toast-cta {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1200px) {
  .container {
    width: min(100%, calc(100% - 16px));
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-right {
    position: static;
  }

  /* Horizontal scrollable icon-only tab row on tablet/mobile */
  .features-tab-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding-bottom: 6px;
    /* don't clip the scrollable content */
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 75%, transparent 100%);
  }

  .features-tab-list::-webkit-scrollbar {
    display: none;
  }

  .features-tab {
    flex-direction: column;
    flex: 0 0 auto;          /* never shrink, never grow */
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    width: 72px;             /* fixed width — no overflow */
    text-align: center;
    border: 1px solid rgba(2, 75, 83, 0.1);
    background: #ffffff;
  }

  .features-tab.active {
    background: rgba(2, 75, 83, 0.06);
    border-color: rgba(2, 75, 83, 0.2);
  }

  .features-tab-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    align-self: center;
  }

  /* Hide subtitle, keep only bold title */
  .features-tab-text span {
    display: none;
  }

  .features-tab-text strong {
    font-size: 0.68rem;
    font-weight: 600;
    white-space: normal;     /* allow wrapping inside fixed width */
    line-height: 1.2;
    word-break: break-word;
  }

  /* Hide chevron */
  .features-tab-chevron {
    display: none;
  }

  /* Panel full width */
  .features-panel {
    padding: 20px 18px;
  }

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

  .features-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .features-stat-row {
    gap: 24px;
  }

  .features-stat {
    align-items: flex-start;
  }

  .features-stat-label {
    text-align: left;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

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

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 1;
  }

  .hero {
    padding: 0 0 32px;
  }

  .hero-body {
    padding-top: 80px; /* smaller logo at tablet: 44px + 18px*2 */
  }

  .section {
    padding: 64px 0;
  }

  /* CTA stacks to single column */
  .cta-inner {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 32px;
  }

  .cta-copy h2,
  .cta-copy > p {
    max-width: 100%;
  }

  .cta-card {
    max-width: 100%;
  }

  .cta-band-inner {
    padding: 20px 0;
  }

  /* Footer — 2 col at tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 52px 0 0;
  }

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

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

  .why-heading {
    font-size: 1.2rem;
    margin-bottom: 32px;
  }

  .platform-props-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  /* Mobile nav: hamburger left | logo center | login right */
  .header-inner {
    padding: 8px 0;
    position: relative;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    order: 1;
    padding: 8px 10px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .menu-toggle-label {
    display: none;
  }

  .brand {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  .site-logo {
    height: 44px;
  }

  .site-logo-lms {
    height: 56px;
  }

  /* Keep desktop logo on mobile */
  .logo-desktop { display: block; }
  .logo-mobile  { display: none; }

  /* Login: text only, no SVG icon */
  .btn-login {
    order: 3;
    padding: 8px 14px;
    font-size: 0.88rem;
    gap: 0;
    flex-shrink: 0;
  }

  .btn-login svg {
    display: none;
  }

  .hero-copy,
  .hero-visual {
    text-align: left;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .university-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .course-grid,
  .tool-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Features — tighter on small phones */
  .features-tab {
    width: 62px;
    padding: 8px 8px;
  }

  .features-tab-text strong {
    font-size: 0.62rem;
  }

  .features-grid-v2 {
    grid-template-columns: 1fr;
  }
  .features-grid-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0 0 32px;
  }

  .hero-body {
    padding-top: 72px;
  }

  /* Stack layout: copy on top, image below */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Left-align all hero copy on mobile */
  .hero-copy {
    text-align: left;
  }

  /* Badge — force block so it sits flush left */
  .hero-copy .platform-props-badge {
    display: inline-flex;
    margin-bottom: 12px;
  }

  .eyebrow {
    font-size: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
    line-height: 1.25;
    max-width: 100%;
  }

  .hero-copy p {
    font-size: 0.92rem;
    margin-top: 14px;
    max-width: 100%;
  }

  /* Buttons — stack full-width on mobile */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 20px 0 20px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 13px 20px;
    min-height: 46px;
    font-size: 0.95rem;
    justify-content: center;
  }

  /* Stats — 2-column grid for clean layout */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
    overflow: visible;
  }

  .hero-stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    background: rgba(2, 75, 83, 0.04);
    border: 1px solid rgba(2, 75, 83, 0.08);
    border-radius: 12px;
    padding: 10px 10px;
    min-width: 0;
  }

  .hero-stat-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
  }

  .hero-stat > div {
    width: 100%;
    min-width: 0;
  }

  .hero-stat strong {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    line-height: 1.2;
  }

  .hero-stat span {
    font-size: 0.66rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* Hero visual — show below copy on mobile */
  .hero-visual {
    order: 1;
  }

  .visual-frame {
    border-radius: 16px;
  }

  .visual-image {
    max-height: 200px;
  }

  .visual-caption {
    padding: 12px 14px;
  }

  .visual-caption strong {
    font-size: 0.82rem;
  }

  .visual-caption p {
    font-size: 0.75rem;
  }

  .section {
    padding: 40px 0;
  }

  /* University */

  /* Courses */
  .course-card {
    padding: 16px;
  }

  .course-card h3 {
    font-size: 1.15rem;
  }

  .course-card-thumb img {
    min-height: 140px;
    max-height: 160px;
  }

  /* Tools */
  .tool-card {
    min-height: auto;
    padding: 20px;
    gap: 12px;
  }

  .tool-card h3 {
    font-size: 1.1rem;
  }

  .tool-card p {
    font-size: 0.88rem;
  }

  .tool-card-icon {
    width: 46px;
    height: 46px;
  }

  .tool-card-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
  }

  /* CTA */
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .cta-left h3 {
    font-size: 0.95rem;
  }

  .cta-left p {
    font-size: 0.78rem;
  }

  .cta-btns {
    width: 100%;
  }

  .btn-white-sm,
  .btn-ghost-sm {
    flex: 1;
    min-width: 140px;
  }

  .cta-banner {
    margin: 48px 0 40px;
    width: 100%;
  }

  .cta-inner {
    padding: 32px 20px;
    gap: 20px;
  }

  .cta-copy h2 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 10px;
  }

  .cta-copy > p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .cta-trust {
    gap: 8px;
    flex-direction: column;
  }

  .cta-trust-item {
    font-size: 0.82rem;
  }

  .cta-card {
    padding: 22px 18px;
    gap: 4px;
  }

  .cta-card-heading {
    font-size: 1.15rem;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    font-size: 0.9rem;
    padding: 13px 16px;
    border-radius: 12px;
  }

  .cta-card-note {
    font-size: 0.75rem;
  }

  .cta-trust-item {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100%, calc(100% - 12px));
  }

  /* Footer — single column on small screens */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0 24px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  h1 {
    font-size: 1.9rem;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }

  .hero-stats {
    gap: 20px 32px;
  }

  .hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .hero-stat strong {
    font-size: 1.15rem;
  }

  .course-list span,
  .course-footer span {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

  .tool-card {
    padding: 16px;
    gap: 10px;
  }

  .tool-card h3 {
    font-size: 1rem;
  }

  .tool-card p {
    font-size: 0.83rem;
  }

  .tool-card-icon {
    width: 42px;
    height: 42px;
  }

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

  .tool-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-card p {
    font-size: 0.92rem;
  }

  .quote-icon {
    width: 38px;
    height: 38px;
  }

  .quote-icon svg {
    width: 16px;
    height: 16px;
  }

  .testimonial-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }

  .mobile-menu a {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  /* CTA — very small screens */
  .cta-inner {
    padding: 24px 16px;
    gap: 16px;
  }

  .cta-card {
    padding: 18px 14px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    font-size: 0.88rem;
    padding: 11px 14px;
    border-radius: 10px;
  }

  .cta-card-heading {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.7rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .university-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .university-card {
    min-height: 80px;
    padding: 12px;
  }

  .university-card img {
    max-width: 80px;
    max-height: 55px;
  }

  /* Toast — very small screens */
  .toast-banner {
    bottom: 10px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .toast-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .toast-cta svg {
    display: none;
  }

  .toast-close {
    width: 30px;
    height: 30px;
  }
}
