/* ============================================================
   COMPONENTS.CSS — Megademy Global Sdn. Bhd.
   Header, Navigation, Hero, Cards, Footer, FAQ, CTA, etc.
   ============================================================ */

/* ============================================================
   1. HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--color-text);
}

.site-logo svg {
  width: 32px;
  height: 32px;
}

.site-logo-image {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-footer .site-logo-image {
  width: 28px;
  height: 28px;
}

/* Desktop Navigation */
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop ul > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  height: 42px;
  padding: 0 var(--space-3);
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-small);
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-link:hover {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.nav-link[aria-current="page"] {
  color: var(--color-text);
}

.nav-link .chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 320px;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.1);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--color-text-muted);
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-dropdown a:hover {
  color: var(--color-text);
  background-color: var(--color-surface);
}

/* Nav CTA */
.nav-cta {
  margin-left: var(--space-3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  border-radius: var(--radius-small);
}

.menu-toggle:hover {
  background-color: var(--color-surface);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-background);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-4);
  list-style: none;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile .nav-link {
  width: 100%;
  justify-content: space-between;
  height: 52px;
  padding: 0 var(--space-3);
}

.nav-mobile .nav-dropdown {
  position: static;
  min-width: 0;
  max-width: none;
  margin: 0.25rem 0 0.75rem;
  box-shadow: none;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0.5rem;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: none;
  background-color: #ffffff;
}

.nav-mobile .nav-dropdown.open {
  display: block;
}

.nav-mobile .nav-dropdown a {
  padding: 0.875rem 1rem;
}

.nav-mobile .nav-cta-mobile {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.nav-mobile .nav-cta-mobile .btn {
  width: 100%;
}

/* ============================================================
   2. HERO
   ============================================================ */

.hero {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #fafbfc 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 4.5rem;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  margin-bottom: var(--space-4);
  background-color: rgba(22, 140, 130, 0.08);
  border: 1px solid rgba(22, 140, 130, 0.14);
  border-radius: 999px;
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.hero .display-heading {
  margin-bottom: 1.25rem;
  max-width: 11ch;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 38rem;
  margin: 0 0 var(--space-6);
}

.hero-points {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text);
  font-size: var(--text-small);
}

.hero-point-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(22, 163, 74, 0.12);
  color: var(--color-success);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-proof-item {
  padding: var(--space-4);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

.hero-proof-item strong {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-small);
  color: var(--color-text);
}

.hero-proof-item span {
  display: block;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.hero-trust {
  font-size: var(--text-caption);
  color: var(--color-text-muted-2);
  max-width: 36rem;
  margin: 0;
}

.hero-visual {
  max-width: none;
  margin: 0;
  border-radius: var(--radius-card);
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  display: none;
  content: none;
}

.hero-panel-window {
  position: relative;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.hero-panel-pill,
.hero-panel-meta,
.hero-card-label {
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(22, 140, 130, 0.1);
  color: var(--color-primary-dark);
}

.hero-panel-meta {
  color: var(--color-text-muted-2);
}

.hero-panel-body {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.hero-signal-card,
.hero-mini-card,
.hero-process-step {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.hero-signal-card {
  padding: 1.25rem;
}

.hero-signal-card-featured {
  background: linear-gradient(180deg, rgba(22, 140, 130, 0.08) 0%, #ffffff 100%);
}

.hero-signal-card h2 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--color-text);
}

.hero-signal-card p,
.hero-mini-card p {
  color: var(--color-text-muted);
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.hero-mini-card {
  padding: var(--space-4);
}

.hero-mini-card strong {
  display: block;
  margin: var(--space-2) 0;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.35;
}

.hero-process-rail {
  display: grid;
  gap: var(--space-3);
}

.hero-process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding: var(--space-4);
}

.hero-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background-color: rgba(22, 140, 130, 0.1);
  color: var(--color-primary-dark);
  font-size: var(--text-small);
  font-weight: var(--weight-bold);
}

.hero-step-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-size: var(--text-small);
}

.hero-step-copy span {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-caption);
}

/* Workflow Visual */
.workflow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  flex-wrap: wrap;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  min-width: 140px;
}

.workflow-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
}

.workflow-step-label {
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-align: center;
}

.workflow-arrow {
  font-size: var(--text-h3);
  color: var(--color-text-muted-2);
  flex-shrink: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: start;
}

.intro-copy {
  max-width: 44rem;
}

.intro-copy h2 {
  max-width: 14ch;
}

.intro-answer-block {
  margin-bottom: var(--space-5);
}

.intro-panel {
  display: grid;
  gap: var(--space-4);
}

.intro-panel-card {
  padding: var(--space-6);
  background: linear-gradient(180deg, rgba(22, 140, 130, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(22, 140, 130, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
}

.intro-panel-label {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.intro-panel-card h3 {
  margin-bottom: var(--space-3);
}

.intro-metrics {
  gap: var(--space-4);
}

.intro-metric {
  padding: var(--space-5);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-small);
}

.intro-metric strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: var(--text-small);
}

.intro-metric span {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-caption);
}

/* ============================================================
   3. CARDS
   ============================================================ */

.card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow-small);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 140, 130, 0.1);
  border-radius: 12px;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  flex: 0 0 40px;
  overflow: hidden;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.card h4 {
  font-size: var(--text-body);
  margin-bottom: var(--space-2);
}

.card p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.card .link-arrow {
  font-size: var(--text-small);
}

/* Capability Card */
.capability-card {
  display: flex;
  flex-direction: column;
}

/* Industry Card */
.industry-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.industry-card .card-icon {
  margin: 0 auto var(--space-4);
}

/* Solution Card */
.solution-card {
  padding: var(--space-8);
}

/* Case Study Card */
.case-study-card {
  padding: var(--space-8);
}

.case-study-card .label-illustrative {
  margin-bottom: var(--space-3);
}

.case-study-card h3 {
  margin-bottom: var(--space-3);
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.case-study-tag {
  font-size: var(--text-caption);
  color: var(--color-text-muted-2);
  background-color: var(--color-surface);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
}

/* ============================================================
   4. PROCESS / WORKFLOW STEPS
   ============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
  counter-reset: step-counter;
}

.process-step {
  position: relative;
  padding-top: var(--space-12);
}

.process-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  border-radius: 50%;
}

.process-step h3 {
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-small);
}

/* ============================================================
   5. FAQ ACCORDION
   ============================================================ */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: var(--shadow-small);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: var(--weight-medium);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: var(--leading-snug);
  gap: var(--space-4);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: var(--radius-small);
}

.faq-question .faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-muted-2);
  transition: transform 0.3s ease;
}

.faq-question .chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  max-width: 18px;
  color: var(--color-text-muted-2);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.faq-answer-inner p {
  font-size: var(--text-small);
  margin-bottom: var(--space-3);
}

.faq-answer-inner a {
  color: var(--color-primary);
  font-weight: var(--weight-medium);
}

/* ============================================================
   6. CTA BANNER
   ============================================================ */

.cta-banner {
  text-align: center;
  padding: var(--space-16) 0;
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.cta-banner h2 {
  max-width: 700px;
  margin: 0 auto var(--space-4);
}

.cta-banner p {
  font-size: var(--text-body-large);
  max-width: 650px;
  margin: 0 auto var(--space-8);
  color: var(--color-text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* ============================================================
   7. TRUST PANEL
   ============================================================ */

.trust-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  padding: var(--space-8);
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.trust-item {
  text-align: center;
}

.trust-item h4 {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.trust-item p {
  font-size: var(--text-caption);
  color: var(--color-text-muted-2);
  margin-bottom: 0;
}

/* ============================================================
   8. RELATED CONTENT
   ============================================================ */

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.related-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-small);
  color: var(--color-text-muted);
  background-color: var(--color-surface);
  border-radius: var(--radius-small);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.related-links a:hover {
  color: var(--color-text);
  background-color: var(--color-surface-strong);
}

/* ============================================================
   9. FOOTER
   ============================================================ */

.site-footer {
  background-color: #ffffff;
  color: var(--color-text);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: var(--space-2);
}

.footer-col a {
  color: var(--color-text-muted);
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-brand p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.footer-heading {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: var(--text-caption);
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-address {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: var(--space-4);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-caption);
  color: var(--color-text-muted-2);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
}

.footer-bottom-links a {
  color: var(--color-text-muted-2);
  font-size: var(--text-caption);
}

.footer-bottom-links a:hover {
  color: var(--color-text);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-study-card {
  padding: 1.5rem;
}

.card-image-placeholder {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #eef2f5;
  margin-bottom: 1rem;
}

.card-image-placeholder svg,
.card-image-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================================
   10. GLOSSARY
   ============================================================ */

.glossary-term {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.glossary-term:last-child {
  border-bottom: none;
}

.glossary-term h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.glossary-term .definition {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.glossary-term .example {
  font-size: var(--text-caption);
  color: var(--color-text-muted-2);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.glossary-term .glossary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.glossary-term .glossary-meta a {
  font-size: var(--text-caption);
  color: var(--color-primary);
}

/* ============================================================
   11. PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  padding: var(--space-8);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.pricing-card.featured:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  background-color: rgba(37, 99, 235, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

.pricing-card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
}

.pricing-card .pricing-desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  min-height: 3em;
}

.pricing-amount {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.pricing-amount .price {
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: 1;
}

.pricing-amount .period {
  font-size: var(--text-small);
  color: var(--color-text-muted-2);
  margin-top: var(--space-1);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-small);
  color: var(--color-text);
  padding: var(--space-2) 0;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

.pricing-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.pricing-factor {
  padding: var(--space-4);
  background-color: var(--color-surface);
  border-radius: var(--radius-small);
}

.pricing-factor h4 {
  font-size: var(--text-small);
  margin-bottom: var(--space-1);
}

.pricing-factor p {
  font-size: var(--text-caption);
  margin-bottom: 0;
}

/* ============================================================
   12. DEMO FORM
   ============================================================ */

.demo-form {
  max-width: 700px;
  margin: 0 auto;
}

.demo-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h3 {
  margin-bottom: var(--space-4);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface);
  border-radius: var(--radius-button);
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-detail h4 {
  font-size: var(--text-small);
  margin-bottom: var(--space-1);
}

.contact-detail p,
.contact-detail a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.contact-detail a:hover {
  color: var(--color-primary);
}

/* ============================================================
   14. ABOUT PAGE
   ============================================================ */

.about-leadership {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.about-leadership .card {
  text-align: center;
  padding: var(--space-8);
}

.leadership-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--color-surface-strong);
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted-2);
  font-size: var(--text-caption);
}

/* ============================================================
   15. 404 PAGE
   ============================================================ */

.page-404 {
  text-align: center;
  padding: var(--space-32) 0;
}

.page-404 h1 {
  font-size: 8rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.page-404 h2 {
  margin-bottom: var(--space-4);
}

.page-404 p {
  font-size: var(--text-body-large);
  max-width: 500px;
  margin: 0 auto var(--space-8);
}

.page-404 .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.page-404 .nav-links a {
  font-size: var(--text-small);
  color: var(--color-primary);
}

.page-404 .nav-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   16. HUB PAGES (Platform, Capabilities, Solutions, etc.)
   ============================================================ */

.hub-header {
  text-align: center;
  padding: var(--space-12) 0 var(--space-8);
}

.hub-header h1 {
  margin-bottom: var(--space-4);
}

.hub-header p {
  font-size: var(--text-body-large);
  max-width: 700px;
  margin: 0 auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

/* ============================================================
   17. ANSWER BLOCK (GEO/AEO)
   ============================================================ */

.answer-block {
  background-color: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-6) var(--space-8);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  margin: var(--space-6) 0;
}

.answer-block p {
  font-size: var(--text-body);
  color: var(--color-text);
  margin-bottom: 0;
}

/* ============================================================
   18. CONTENT PAGE LAYOUT
   ============================================================ */

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-16);
}

.content-page h2 {
  margin-top: var(--space-12);
}

.content-page h3 {
  margin-top: var(--space-8);
}

.content-page ul,
.content-page ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

.content-page ul {
  list-style: disc;
}

.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: var(--space-2);
}

.content-page .answer-block {
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ============================================================
   19. SVG PLACEHOLDER STYLES
   ============================================================ */

.img-placeholder {
  width: 100%;
  height: auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.img-placeholder svg.illustration-svg,
.img-placeholder svg[data-illustration="true"] {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   20. ANNOUNCEMENT BAR
   ============================================================ */

.announcement-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-caption);
}

.announcement-bar a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: var(--weight-medium);
}

/* ============================================================
   21. CASE STUDY PAGE
   ============================================================ */

.case-study-header {
  margin-bottom: var(--space-8);
}

.case-study-header .label-illustrative {
  margin-bottom: var(--space-3);
}

.case-study-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  padding: var(--space-6);
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  margin: var(--space-6) 0;
}

.case-study-detail h4 {
  font-size: var(--text-label);
  color: var(--color-text-muted-2);
  margin-bottom: var(--space-1);
}

.case-study-detail p {
  font-size: var(--text-small);
  color: var(--color-text);
  margin-bottom: 0;
}

/* ============================================================
   22. SERVICES PAGE
   ============================================================ */

.service-card {
  padding: var(--space-8);
}

.service-card .service-deliverable {
  font-size: var(--text-caption);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-2);
}
