/* ============================================
   stc business — B2B prototype
   ============================================ */

/* ============ stc FORWARD (corporate typeface) ============ */
@font-face {
  font-family: 'stc Forward';
  src: url('assets/fonts/stc-forward.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ========= stc OFFICIAL BRAND PALETTE ========= */
  /* Primary */
  --purple: #4F008C;        /* stc Purple (DLS Main) */
  --purple-deep: #290048;   /* DLS Purple Dark */
  --purple-soft: #A54EE1;   /* DLS Moonlight Main */
  --coral: #FF375E;         /* DLS Coral Main (interactions only) */

  /* Secondary */
  --green: #00C48C;
  --green-deep: #008B62;
  --teal: #1BCED8;
  --orange: #FF6A39;
  --yellow: #FFDD40;

  /* Neutrals */
  --black: #000000;         /* DLS Black — primary text in light mode */
  --gray: #8E9AA0;          /* secondary text */
  --gray-light: #C8CED1;    /* subtle borders */
  --divider: #E5E7EB;       /* separators */
  --bg-soft: #F5F5F5;       /* DLS Off White — section-alt bg */
  --white: #FFFFFF;

  /* Derived tints */
  --purple-wash: #F0E4FA;   /* light purple tint for icon chips, tags */
  --coral-hover: #E1002D;   /* DLS Coral Dark — hover/pressed state */

  /* ========= SEMANTIC ALIASES ========= */
  --ink-900: var(--black);
  --ink-700: #3A4249;
  --ink-500: var(--gray);
  --ink-300: var(--gray-light);
  --ink-100: var(--divider);
  --bg: var(--white);
  --bg-alt: var(--bg-soft);

  /* legacy aliases */
  --pink: var(--coral);
  --pink-hover: var(--coral-hover);
  --purple-dark: var(--purple-deep);
  --purple-mid: var(--purple-wash);
  --purple-light: var(--purple-wash);
  --purple-tint: var(--bg-soft);

  /* Shadows (brand purple, low alpha) */
  --shadow-sm: 0 2px 8px rgba(79, 0, 140, 0.06);
  --shadow: 0 8px 24px rgba(79, 0, 140, 0.10);
  --shadow-lg: 0 20px 48px rgba(79, 0, 140, 0.18);

  /* Layout — DLS strict rule: sharp 90° corners only */
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'stc Forward', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[dir="rtl"] body { font-family: 'stc Forward', 'IBM Plex Sans Arabic', 'Helvetica Neue', Arial, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--ink-500);
  font-size: 17px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 0;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
  background: var(--pink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 55, 94, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  color: var(--purple);
  letter-spacing: -0.02em;
}
.logo-mark { color: var(--purple); }
.logo-mark-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-sub {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
}
.primary-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s var(--ease);
  position: relative;
}
.primary-nav a:hover { color: var(--purple); }
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

/* ============ NAV DROPDOWNS ============ */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item.has-dropdown > a::before {
  content: "";
  position: absolute;
  inset: -8px -8px -8px -8px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 18px;
  min-width: 280px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(56, 0, 101, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
  transform: scaleX(1);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-800);
  border-radius: 0;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  white-space: normal;
  line-height: 1.4;
}

.nav-dropdown a:hover {
  background: rgba(124, 58, 237, 0.06);
  color: var(--purple);
}

.nav-dropdown a::after { display: none; }

.nav-dropdown.nav-dropdown-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  min-width: 540px;
}

/* Two-pane flyout dropdown (categories left, products right) */
.nav-dropdown.nav-dropdown-flyout {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: min(760px, calc(100vw - 48px));
  padding: 0;
  overflow: hidden;
  left: 50%;
  margin-top: 8px;
  transform: translate(-50%, 6px);
  pointer-events: none;
}
/* JS adds .is-hover-open when hover-intent is satisfied; that's the only thing that opens the flyout on desktop */
.nav-item.is-hover-open > .nav-dropdown.nav-dropdown-flyout,
.nav-item:focus-within > .nav-dropdown.nav-dropdown-flyout,
.nav-item.is-open > .nav-dropdown.nav-dropdown-flyout {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Disable the inherited wide invisible bridge — it spans the full 760px and was triggering hover */
.nav-dropdown.nav-dropdown-flyout::before { display: none; }
[dir="rtl"] .nav-dropdown.nav-dropdown-flyout { left: 50%; right: auto; flex-direction: row-reverse; }

.nav-flyout-cats {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  background: var(--bg-soft);
  width: 280px;
  flex: 0 0 280px;
  border-right: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
[dir="rtl"] .nav-flyout-cats { border-right: 0; border-left: 1px solid var(--ink-100); }

.nav-flyout-cat {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 22px 12px 26px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.35;
  white-space: normal;
}
[dir="rtl"] .nav-flyout-cat { text-align: right; padding: 12px 26px 12px 22px; }
.nav-flyout-cat::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  background: var(--coral);
  opacity: 0;
  transition: opacity 0.18s ease;
}
[dir="rtl"] .nav-flyout-cat::before { left: auto; right: 0; }
.nav-flyout-cat:hover {
  color: var(--purple-deep);
  background: rgba(79, 0, 140, 0.05);
}
.nav-flyout-cat.is-active {
  color: var(--purple-deep);
  background: var(--white);
}
.nav-flyout-cat.is-active::before { opacity: 1; }
.nav-flyout-cat::after { display: none; }

.nav-flyout-panel {
  flex: 1 1 auto;
  position: relative;
  min-height: 320px;
  background: var(--white);
}
.nav-flyout-pane {
  position: absolute;
  inset: 0;
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  overflow-y: auto;
}
[dir="rtl"] .nav-flyout-pane { transform: translateX(-6px); }
.nav-flyout-pane.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.nav-flyout-pane h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-flyout-desc {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.5;
}
.nav-flyout-products {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-flyout-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 0;
  margin: 0 0 auto;
}
.nav-flyout-group {
  display: flex;
  flex-direction: column;
}
.nav-flyout-group h5 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--purple);
  line-height: 1.3;
}
.nav-flyout-group .nav-flyout-products { margin: 0; }
@media (max-width: 1024px) {
  .nav-flyout-groups { grid-template-columns: 1fr; gap: 12px; }
}
.nav-dropdown.nav-dropdown-flyout .nav-flyout-products a {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-800);
  background: transparent;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.nav-dropdown.nav-dropdown-flyout .nav-flyout-products a:hover {
  color: var(--purple);
  background: transparent;
  padding-left: 4px;
}
[dir="rtl"] .nav-dropdown.nav-dropdown-flyout .nav-flyout-products a:hover {
  padding-left: 0;
  padding-right: 4px;
}

/* Nested sub-products (e.g. value-added voice services children) */
.nav-flyout-subproducts {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 0;
}
[dir="rtl"] .nav-flyout-subproducts {
  padding: 0 12px 0 0;
  border-left: 0;
  border-right: 1px solid var(--ink-100);
}
.nav-dropdown.nav-dropdown-flyout .nav-flyout-subproducts a {
  display: block;
  padding: 5px 0;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-700);
  background: transparent;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.nav-dropdown.nav-dropdown-flyout .nav-flyout-subproducts a:hover {
  color: var(--purple);
  background: transparent;
  padding-left: 4px;
}
[dir="rtl"] .nav-dropdown.nav-dropdown-flyout .nav-flyout-subproducts a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.nav-flyout-cta {
  display: inline-block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--coral);
  background: transparent;
  align-self: flex-start;
}
.nav-flyout-cta:hover { color: var(--coral-hover); background: transparent; }

@media (max-width: 1024px) {
  .nav-dropdown.nav-dropdown-flyout { width: min(680px, calc(100vw - 32px)); }
  .nav-flyout-cats { width: 240px; flex-basis: 240px; }
}

/* Mobile tap-to-expand: vertical accordion */
@media (max-width: 900px) {
  .nav-item.is-open > .nav-dropdown.nav-dropdown-flyout {
    display: flex !important;
    flex-direction: column;
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    margin: 8px 0 0;
    box-shadow: none;
    border: 1px solid var(--ink-100);
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cats {
    width: 100%;
    flex: 0 0 auto;
    border-right: 0;
    background: transparent;
    padding: 0;
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat {
    border-bottom: 1px solid var(--ink-100);
    padding: 16px 48px 16px 22px;
    font-size: 14px;
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat::before { display: none; }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--ink-700);
    line-height: 1;
    display: block;
    background: transparent;
    width: auto;
    height: auto;
  }
  [dir="rtl"] .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat::after {
    right: auto;
    left: 22px;
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat.is-active {
    background: var(--bg-soft);
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-cat.is-active::after {
    content: "−";
    color: var(--coral);
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-panel {
    min-height: auto;
    flex: 0 0 auto;
    background: var(--bg-soft);
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-pane {
    position: static;
    inset: auto;
    transform: none;
    height: 0;
    padding: 0 22px;
    overflow: hidden;
    visibility: hidden;
    transition: none;
  }
  .nav-item.is-open > .nav-dropdown-flyout .nav-flyout-pane.is-active {
    height: auto;
    padding: 18px 22px 22px;
    visibility: visible;
    opacity: 1;
    border-top: 1px solid var(--ink-100);
  }
}

[dir="rtl"] .nav-dropdown {
  left: auto;
  right: 0;
}

@media (max-width: 1024px) {
  .nav-dropdown.nav-dropdown-2col { min-width: 480px; }
}

@media (max-width: 900px) {
  .nav-item { display: contents; }
  .nav-dropdown { display: none !important; }

  /* Single-column dropdowns (industries, success stories, customer support):
     when the parent is tapped open, expand inline as a vertical list */
  .nav-item.is-open > .nav-dropdown.nav-dropdown-2col {
    display: grid !important;
    grid-template-columns: 1fr;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    min-width: 0;
    margin: 8px 0 0;
    padding: 0;
    box-shadow: none;
    border: 1px solid var(--ink-100);
    background: var(--bg-soft);
  }
  .nav-item.is-open > .nav-dropdown.nav-dropdown-2col a {
    padding: 14px 22px;
    border-bottom: 1px solid var(--ink-100);
    font-size: 14px;
  }
  .nav-item.is-open > .nav-dropdown.nav-dropdown-2col a:last-child {
    border-bottom: 0;
  }

  /* Visible tap-affordance on parent links so users know to tap to expand.
     Override the desktop hover-underline ::after pseudo-element. */
  .nav-item.has-dropdown > a {
    position: relative;
    padding-right: 28px;
  }
  [dir="rtl"] .nav-item.has-dropdown > a {
    padding-right: 0;
    padding-left: 28px;
  }
  .nav-item.has-dropdown > a::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
    transform: translateY(-50%);
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
    color: var(--ink-700);
    transition: color 0.15s ease;
  }
  [dir="rtl"] .nav-item.has-dropdown > a::after {
    right: auto;
    left: 0;
  }
  .nav-item.is-open.has-dropdown > a::after {
    content: "−";
    color: var(--coral);
  }
}

/* ============ FLOATING STICKY CTA ============ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(255, 78, 99, 0.35);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(80px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.2s var(--ease);
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta:hover {
  box-shadow: 0 16px 44px rgba(255, 78, 99, 0.5);
  transform: translateY(-2px);
}

.floating-cta svg {
  flex-shrink: 0;
}

[dir="rtl"] .floating-cta {
  right: auto;
  left: 28px;
}

@media (max-width: 600px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 13px;
  }
  [dir="rtl"] .floating-cta { right: auto; left: 16px; }
}

/* ============ INLINE CTA BANNER (mid-page) ============ */
.cta-banner {
  padding: 56px 0;
  background: #fff;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, #4f008c 0%, #ff4e63 100%);
  color: #fff;
  border-radius: 0;
  padding: 36px 44px;
  box-shadow: 0 24px 60px rgba(79, 0, 140, 0.18);
}

.cta-banner-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
  line-height: 1.2;
}

.cta-banner-text p {
  font-size: 15px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cta-banner-actions .btn-primary {
  background: #fff;
  color: var(--purple);
  border-color: #fff;
}

.cta-banner-actions .btn-primary:hover {
  background: #fff;
  color: var(--coral);
  transform: translateY(-1px);
}

.cta-banner-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.cta-banner-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

@media (max-width: 768px) {
  .cta-banner { padding: 40px 0; }
  .cta-banner-inner { flex-direction: column; text-align: center; padding: 28px 24px; gap: 24px; }
  .cta-banner-text h3 { font-size: 22px; }
  .cta-banner-actions { flex-wrap: wrap; justify-content: center; width: 100%; }
  .cta-banner-actions .btn { flex: 1; min-width: 140px; }
}

/* ============ STC BUSINESS PORTAL & APP SECTION ============ */
.portal-section {
  background: linear-gradient(180deg, #faf6ff 0%, #ffffff 100%);
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.portal-content .eyebrow {
  margin-bottom: 14px;
}

.portal-content .section-title {
  text-align: left;
  margin-bottom: 18px;
  max-width: 520px;
}

.portal-content .section-sub {
  text-align: left;
  margin: 0 0 28px 0;
  max-width: 520px;
}

.portal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.portal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-800);
}

.portal-features li svg {
  flex-shrink: 0;
  color: var(--purple);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* App Store / Google Play badges */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  border: 1px solid #1a1a1a;
}

.store-badge:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.store-badge-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Phone mockup */
.portal-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portal-phone {
  position: relative;
  width: 290px;
  height: 580px;
  background: #1f0a3a;
  border-radius: 0;
  padding: 16px;
  box-shadow:
    0 40px 80px rgba(56, 0, 101, 0.25),
    0 0 0 8px #0f0420,
    0 0 0 9px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.portal-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0f0420;
  border-radius: 0;
  z-index: 2;
}

.portal-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #4f008c 0%, #38006b 100%);
  border-radius: 0;
  padding: 56px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.portal-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-app-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.portal-app-brand span {
  font-weight: 400;
  opacity: 0.7;
  font-size: 13px;
  margin-inline-start: 2px;
}

.portal-app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.portal-app-greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-app-greeting-label {
  font-size: 12px;
  opacity: 0.7;
}

.portal-app-greeting-name {
  font-size: 18px;
  font-weight: 700;
}

.portal-app-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.portal-app-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(10px);
}

.portal-app-stat-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.portal-app-stat-value small {
  font-size: 13px;
  font-weight: 600;
  margin-inline-start: 1px;
  opacity: 0.85;
}

.portal-app-stat-label {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 500;
}

.portal-app-chart {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-app-chart-title {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.portal-app-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 70px;
}

.portal-app-chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--coral) 0%, #ff8a96 100%);
  border-radius: 0;
  min-height: 12px;
}

[dir="rtl"] .portal-content .section-title,
[dir="rtl"] .portal-content .section-sub {
  text-align: right;
}

[dir="rtl"] .store-badge-text {
  text-align: right;
}

@media (max-width: 1024px) {
  .portal-grid { gap: 60px; }
  .portal-features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .portal-content .section-title,
  .portal-content .section-sub {
    text-align: center;
    max-width: none;
  }
  .portal-features { max-width: 360px; margin-left: auto; margin-right: auto; }
  .portal-features li { justify-content: flex-start; }
  .portal-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .portal-phone { width: 250px; height: 510px; }
  .portal-phone-screen { padding: 50px 18px 22px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  padding: 8px 14px;
  border-radius: 0;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s var(--ease);
  border: 1px solid var(--ink-100);
}
.lang-switch:hover {
  color: var(--purple);
  border-color: var(--purple-light);
  background: var(--purple-wash);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 0;
  transition: all 0.3s var(--ease);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-banner.jpg');
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(56, 0, 101, 0.92) 0%,
      rgba(56, 0, 101, 0.78) 40%,
      rgba(79, 0, 140, 0.45) 65%,
      rgba(79, 0, 140, 0.08) 90%,
      rgba(0, 0, 0, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 620px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}
.hero-public {
  color: var(--white);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s var(--ease);
}
.hero-public:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hero-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.75);
}
.hero-tags span {
  position: relative;
}
.hero-tags span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
[dir="rtl"] .hero-tags span:not(:last-child)::after { right: auto; left: -10px; }

/* ============ TRUST STRIP ============ */
.trust-strip {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--ink-100);
}
.trust-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.trust-label {
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
}
.trust-logos {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}
.trust-logo {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Per-logo sizing — balances visual weight across mixed aspect ratios.
   Wide horizontal logos: cap by width, height auto (renders shorter).
   Square / portrait logos: cap by height, width auto (renders narrower). */
.trust-logo[alt="Saudi Aramco"]             { width: 130px; max-height: 34px; }
.trust-logo[alt="SABIC"]                    { width: 78px;  max-height: 42px; }
.trust-logo[alt="Saudi Ministry of Health"] { height: 52px; max-width: 60px; }
.trust-logo[alt="NEOM"]                     { height: 50px; max-width: 60px; }
.trust-logo[alt="Saudia"]                   { height: 52px; max-width: 52px; }
.trust-logo[alt="Ma'aden"]                  { width: 112px; max-height: 32px; }
.trust-logo[alt="stc Bank"]                 { width: 112px; max-height: 30px; }

/* ============ INDUSTRIES ============ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  --img: none;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--purple-deep);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56, 0, 101, 0) 40%, rgba(56, 0, 101, 0.92) 100%);
  z-index: 1;
  transition: background 0.35s var(--ease);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.industry-card:hover::before {
  background: linear-gradient(180deg, rgba(79, 0, 140, 0.2) 0%, rgba(56, 0, 101, 0.95) 100%);
}
.industry-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  color: var(--white);
  z-index: 2;
}
.industry-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.industry-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.industry-card:hover .industry-count { color: var(--white); }
.industry-card:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .industry-card:hover .arrow { transform: translateX(-4px); }
.arrow { display: inline-block; transition: transform 0.3s var(--ease); }

/* ============ SOLUTIONS ============ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.solutions-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.solution-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  background: var(--purple-wash);
  transition: all 0.3s var(--ease);
  margin-bottom: 4px;
}
.solution-card:hover .solution-icon {
  background: var(--purple);
  color: var(--white);
  transform: scale(1.05);
}
.solution-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}
.solution-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
}
.solution-card-media { padding: 0 0 24px; overflow: hidden; }
.solution-card-media h3, .solution-card-media p { padding-left: 24px; padding-right: 24px; margin: 0; }
.solution-card-media h3 { padding-top: 18px; padding-bottom: 6px; }
.solution-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}
.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.solution-card-media:hover .solution-media img { transform: scale(1.04); }

/* ============ Solutions accordion (home page Digital + Connectivity) ============ */
.solutions-accordion .solution-card {
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 100%;
}
[dir="rtl"] .solutions-accordion .solution-card { text-align: right; }
.solutions-accordion .solution-card.is-active {
  border-color: var(--coral);
  box-shadow: 0 12px 28px rgba(255, 55, 94, 0.12);
  transform: none;
}
.solutions-accordion .solution-card.is-active .solution-icon {
  background: var(--coral);
  color: var(--white);
}
.solution-card-chev {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
[dir="rtl"] .solution-card-chev { right: auto; left: 18px; }
.solution-card-chev::before,
.solution-card-chev::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.solution-card-chev::before {
  width: 12px;
  height: 2px;
}
.solution-card-chev::after {
  width: 2px;
  height: 12px;
}
.solutions-accordion .solution-card.is-active .solution-card-chev {
  color: var(--coral);
}
.solutions-accordion .solution-card.is-active .solution-card-chev::after {
  transform: scaleY(0);
  opacity: 0;
}
.solution-card-media .solution-card-chev {
  top: auto;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
[dir="rtl"] .solution-card-media .solution-card-chev { right: auto; left: 18px; }
.solution-card-media.is-active .solution-card-chev {
  background: var(--coral);
  color: var(--white);
}

.solutions-panel {
  position: relative;
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  padding: 36px 40px 32px;
  animation: solutionsPanelFadeIn 0.25s var(--ease);
}
@keyframes solutionsPanelFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.solutions-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  color: var(--ink-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
[dir="rtl"] .solutions-panel-close { right: auto; left: 14px; }
.solutions-panel-close:hover {
  color: var(--coral);
  background: rgba(255, 55, 94, 0.08);
}
.solutions-pane h4 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--purple-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.solutions-pane-desc {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 720px;
}
.solutions-pane-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.solutions-pane-products li {
  border-bottom: 1px solid var(--ink-100);
}
.solutions-pane-products li:last-child {
  border-bottom: 0;
}
.solutions-pane-products a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.solutions-pane-products a:hover {
  color: var(--purple);
  padding-left: 4px;
}
[dir="rtl"] .solutions-pane-products a:hover {
  padding-left: 0;
  padding-right: 4px;
}
.solutions-pane-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
  margin: 0 0 22px;
}
.solutions-pane-group h5 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
  text-transform: uppercase;
}
.solutions-pane-group .solutions-pane-products {
  grid-template-columns: 1fr;
}
.solutions-pane-cta {
  display: inline-block;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  color: var(--coral);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.solutions-pane-cta:hover { color: var(--coral-hover); }

@media (max-width: 720px) {
  .solutions-panel { padding: 28px 22px 24px; }
  .solutions-pane-products { grid-template-columns: 1fr; }
  .solutions-pane-groups { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ PRODUCTS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--purple-wash) 0%, var(--white) 100%);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--purple);
  color: var(--white);
}
.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-deep);
}
.product-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
  flex: 1;
}
.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  transition: all 0.2s var(--ease);
}
.product-link:hover { color: var(--pink-hover); }

/* ============ STORIES ============ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stories-grid.stories-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.stories-grid.stories-grid-4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stories-grid.stories-grid-4col .story-body { padding: 18px 20px; gap: 8px; }
.stories-grid.stories-grid-4col .story-body h3 { font-size: 16px; line-height: 1.3; }
.stories-grid.stories-grid-4col .story-body p { font-size: 13px; line-height: 1.5; }
.stories-grid.stories-grid-4col .story-tag { font-size: 11px; padding: 3px 10px; }
.stories-grid.stories-grid-4col .story-link { font-size: 13px; }

@media (max-width: 1100px) {
  .stories-grid.stories-grid-4col { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .stories-grid.stories-grid-4col { grid-template-columns: 1fr; }
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.story-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--purple-deep);
}
.story-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.story-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-wash);
}
.story-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.story-body p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.story-link {
  color: var(--pink);
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
}
.story-link:hover { color: var(--pink-hover); }

/* ============ INSIGHTS ============ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.insight-type {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  background: var(--purple-wash);
}
.insight-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
}
.insight-card p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.insight-link {
  color: var(--pink);
  font-weight: 600;
  font-size: 14px;
}
.insight-link:hover { color: var(--pink-hover); }

/* ============ CTA SECTION ============ */
.cta-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, var(--purple-deep) 0%, var(--purple) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.cta-section h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA flow: two launcher buttons that toggle a single embedded form panel */
.cta-flow {
  margin-top: 40px;
  text-align: left;
}
[dir="rtl"] .cta-flow { text-align: right; }
.cta-launcher {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-launch {
  border-color: #FF375E !important;
}
.cta-launch:hover:not(.cta-launch-active-coral) {
  border-color: #E1002D !important;
  background: rgba(255, 55, 94, 0.08) !important;
}
.cta-launch.cta-launch-active-coral {
  background: #FF375E !important;
  background-color: #FF375E !important;
  border-color: #FF375E !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(255, 55, 94, 0.35) !important;
}
.cta-launch.cta-launch-active-coral:hover {
  background: #E1002D !important;
  background-color: #E1002D !important;
  border-color: #E1002D !important;
}

/* Form panel: appears below the launcher when a button is clicked */
.cta-panel {
  position: relative;
  background: var(--white);
  color: var(--ink-900);
  padding: 36px 36px 32px;
  margin: 24px auto 0;
  max-width: 760px;
  border-radius: 0;
  animation: ctaPanelIn 0.22s ease-out;
}
@keyframes ctaPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cta-panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
[dir="rtl"] .cta-panel-close { right: auto; left: 12px; }
.cta-panel-close:hover { color: var(--coral); background: rgba(255, 55, 94, 0.08); }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cta-form[hidden] { display: none; }
.cta-form-head h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--purple-deep);
  margin: 0 0 6px;
  line-height: 1.2;
}
.cta-form-head p {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.5;
  margin: 0;
}
.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-700);
}
.cta-field-full { grid-column: 1 / -1; }
.cta-field input,
.cta-field select,
.cta-field textarea {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink-900);
  border: 1px solid var(--ink-100);
  background: var(--white);
  padding: 10px 12px;
  border-radius: 0;
  transition: border-color 0.2s ease;
  width: 100%;
}
.cta-field input:focus,
.cta-field select:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(79, 0, 140, 0.12);
}
.cta-field textarea {
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
}
.cta-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-700) 50%), linear-gradient(135deg, var(--ink-700) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
[dir="rtl"] .cta-field select {
  background-position: 18px 50%, 13px 50%;
  padding-right: 12px;
  padding-left: 32px;
}
.cta-form-submit {
  align-self: flex-start;
}
[dir="rtl"] .cta-form-submit { align-self: flex-end; }

@media (max-width: 900px) {
  .cta-forms { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cta-form-grid { grid-template-columns: 1fr; }
  .cta-form { padding: 24px; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand .logo-mark-img {
  filter: brightness(0) invert(1);
  height: 26px;
}
.footer-brand .logo-sub { color: rgba(255, 255, 255, 0.7); }
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .industries-grid, .solutions-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .mobile-toggle { display: flex; }
  .lang-switch { padding: 6px 10px; font-size: 12px; }

  .section { padding: 64px 0; }
  .hero { min-height: 560px; padding: 64px 0; }
  .hero-ctas .btn { flex: 1; min-width: 140px; }

  .industries-grid, .solutions-grid, .products-grid,
  .stories-grid, .insights-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .trust-logos { gap: 24px; min-height: 44px; }
  .trust-logo[alt="Saudi Aramco"]             { width: 100px; max-height: 26px; }
  .trust-logo[alt="SABIC"]                    { width: 60px;  max-height: 32px; }
  .trust-logo[alt="Saudi Ministry of Health"] { height: 40px; max-width: 46px; }
  .trust-logo[alt="NEOM"]                     { height: 38px; max-width: 46px; }
  .trust-logo[alt="Saudia"]                   { height: 40px; max-width: 40px; }
  .trust-logo[alt="Ma'aden"]                  { width: 86px;  max-height: 26px; }
  .trust-logo[alt="stc Bank"]                 { width: 86px;  max-height: 24px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
}

/* ============ RTL ADJUSTMENTS ============ */
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .industry-card:hover .arrow { transform: scaleX(-1) translateX(4px); }

[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .section-sub { letter-spacing: 0; }

/* ============ ACTIVE NAV ============ */
.primary-nav a.active { color: var(--purple); }
.primary-nav a.active::after { transform: scaleX(1); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding: 16px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb a {
  color: var(--ink-500);
  transition: color 0.2s var(--ease);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb li[aria-current="page"] {
  color: var(--ink-900);
  font-weight: 600;
}
.breadcrumb .sep { color: var(--ink-300); }
[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); display: inline-block; }

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 80px 0 72px;
  background:
    radial-gradient(ellipse at top left, rgba(165, 78, 225, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(255, 55, 94, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--purple-deep) 0%, var(--purple) 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.06) 1px, transparent 2px);
  background-size: 80px 80px, 120px 120px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 0;
  background: rgba(27, 206, 216, 0.14);
  margin-bottom: 18px;
}
.page-hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.page-hero-subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.page-hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-hero-stats .stat strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.page-hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Page hero with image as full background */
.page-hero--with-bg {
  background:
    linear-gradient(115deg, rgba(41, 0, 72, 0.92) 0%, rgba(56, 0, 101, 0.78) 45%, rgba(79, 0, 140, 0.55) 100%),
    url('assets/Cloud.jpeg') center / cover no-repeat;
}
.page-hero--with-bg.page-hero--satellite-bg {
  background:
    linear-gradient(115deg, rgba(41, 0, 72, 0.92) 0%, rgba(56, 0, 101, 0.78) 45%, rgba(79, 0, 140, 0.55) 100%),
    url('assets/Satellite.jpeg') center / cover no-repeat;
}
.page-hero--with-bg.page-hero--mobile-bg {
  background:
    linear-gradient(115deg, rgba(41, 0, 72, 0.92) 0%, rgba(56, 0, 101, 0.78) 45%, rgba(79, 0, 140, 0.55) 100%),
    url('assets/Mobile.jpeg') center / cover no-repeat;
}
.page-hero--with-bg.page-hero--fixed-bg {
  background:
    linear-gradient(115deg, rgba(41, 0, 72, 0.92) 0%, rgba(56, 0, 101, 0.78) 45%, rgba(79, 0, 140, 0.55) 100%),
    url('assets/Fixed.jpeg') center / cover no-repeat;
}
.page-hero--with-bg::before { display: none; }
.page-hero--with-bg .page-hero-text {
  max-width: 720px;
}

/* ============ CATEGORY STICKY NAV ============ */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  white-space: nowrap;
  min-width: max-content;
}
.cat-nav a {
  padding: 8px 16px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}
.cat-nav a:hover {
  color: var(--purple);
  background: var(--purple-wash);
}
.cat-nav a.active {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

/* ============ CATEGORY SECTIONS ============ */
.cat-main { background: var(--bg); }
.cat-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--ink-100);
  scroll-margin-top: calc(var(--header-h) + 72px);
}
.cat-section:last-child { border-bottom: none; }
.cat-section:nth-child(even) { background: var(--bg-alt); }

.cat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink-100);
}
.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--purple-wash);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-meta { min-width: 0; }
.cat-count {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--purple-wash);
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 10px;
}
.cat-meta h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cat-meta p {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.55;
  max-width: 640px;
}
.cat-link {
  align-self: center;
  padding: 10px 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.cat-link:hover {
  background: var(--purple);
  color: var(--white);
}

/* ============ PORTFOLIO CARDS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.portfolio-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s var(--ease);
  min-height: 180px;
}
.portfolio-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.portfolio-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.portfolio-card p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.5;
  flex: 1;
}
.card-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-700);
  background: var(--bg-alt);
}
.card-tag.flagship {
  color: var(--white);
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-soft) 100%);
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  margin-top: 4px;
  transition: color 0.2s var(--ease);
}
.portfolio-card:hover .card-link { color: var(--pink-hover); }

/* ============ USE CASES ============ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s var(--ease);
}
.usecase:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.uc-industry {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-wash);
}
.usecase h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.usecase p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
  flex: 1;
}
.uc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-100);
}
.uc-tags span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 3px 9px;
  border-radius: 0;
  background: var(--bg-alt);
}

/* ============ TELCO CROSS-SELL ============ */
.cross-sell-telco {
  padding: 64px 0;
  background: var(--bg);
}
.telco-card {
  background: linear-gradient(120deg, var(--purple-deep) 0%, var(--purple) 60%, var(--purple-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.telco-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 206, 216, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
[dir="rtl"] .telco-card::before { right: auto; left: -10%; }
.telco-card-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.telco-card-text .eyebrow {
  color: var(--teal);
  margin-bottom: 10px;
}
.telco-card-text h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.telco-card-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.55;
}
.telco-card .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ============ DIGITAL PAGE RESPONSIVE ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-header { grid-template-columns: auto 1fr; }
  .cat-link { grid-column: 2; justify-self: start; align-self: start; }
}
@media (max-width: 768px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero-stats { gap: 28px; }
  .page-hero-stats .stat strong { font-size: 28px; }
  .cat-section { padding: 56px 0; }
  .cat-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
  }
  .cat-link { grid-column: auto; }
  .product-grid, .usecase-grid { grid-template-columns: 1fr; }
  .telco-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
  .cat-nav { top: var(--header-h); }
  .cat-nav-inner { padding: 10px 20px; gap: 6px; }
  .cat-nav a { font-size: 13px; padding: 6px 12px; }
}

/* ============ PRODUCT HERO ============ */
.product-hero {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(165, 78, 225, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(27, 206, 216, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 65%, var(--purple-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.product-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 1.5px, transparent 2px),
    radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.05) 1px, transparent 1.5px);
  background-size: 60px 60px, 100px 100px;
  pointer-events: none;
}
.product-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.product-hero-text { max-width: 620px; }
.product-hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 0;
  background: rgba(27, 206, 216, 0.14);
  margin-bottom: 20px;
}
.product-hero-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.product-hero-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 540px;
}
.product-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ CLOUD DIAGRAM (hero visual) ============ */
.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.cloud-diagram {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 100%;
}
.cd-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cd-ring-1 { width: 240px; height: 240px; }
.cd-ring-2 { width: 360px; height: 360px; border-color: rgba(255, 255, 255, 0.12); }
.cd-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, #FF6A82 100%);
  box-shadow: 0 16px 48px rgba(255, 55, 94, 0.4), 0 0 0 8px rgba(255, 55, 94, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 2;
}
.cd-hub-label { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.cd-hub-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-top: 2px;
}
.cd-node {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(56, 0, 101, 0.3);
}
.cd-node-logo {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  color: var(--purple-deep);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.cd-node-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cd-node-stc {
  font-family: 'stc Forward', 'Helvetica Neue', Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--purple);
  letter-spacing: -0.02em;
}
.cd-node-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple-deep);
}
.cd-node-icon { color: var(--purple-deep); }
.cd-n1 { top: 3%; left: 38%; }
.cd-n2 { top: 28%; left: 72%; }
.cd-n3 { top: 67%; left: 59%; }
.cd-n4 { top: 67%; left: 18%; }
.cd-n5 { top: 28%; left: 5%; }

/* ============ PRODUCT STICKY NAV ============ */
.product-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-nav::-webkit-scrollbar { display: none; }
.product-nav-inner {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  white-space: nowrap;
  min-width: max-content;
}
.product-nav a {
  padding: 8px 16px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}
.product-nav a:hover {
  color: var(--purple);
  background: var(--purple-wash);
}
.product-nav a.active {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

/* ============ PRODUCT OVERVIEW ============ */
.product-overview { scroll-margin-top: calc(var(--header-h) + 72px); }
.overview-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: start;
}
.overview-text .eyebrow { display: block; margin-bottom: 10px; }
.overview-text .section-title {
  text-align: start;
  margin-bottom: 24px;
}
.overview-text p {
  color: var(--ink-700);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.overview-text p:last-child { margin-bottom: 0; }

.at-a-glance {
  background: var(--bg-alt);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: sticky;
  top: calc(var(--header-h) + 80px);
}
.at-a-glance h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 18px;
}
.at-a-glance dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.at-a-glance dl > div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.at-a-glance dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.at-a-glance dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.at-a-glance dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.45;
}

/* ============ BENEFITS GRID ============ */
.product-benefits { scroll-margin-top: calc(var(--header-h) + 72px); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.benefits-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .benefits-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .benefits-grid-3 { grid-template-columns: 1fr; }
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s var(--ease);
}
.benefit-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.benefit-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple);
  background: var(--purple-wash);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 4px;
}
.benefit-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.benefit-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* ============ USE CASE MODULES ============ */
.product-usecases { scroll-margin-top: calc(var(--header-h) + 72px); }
.usecase-modules {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.uc-module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.uc-module.flip .uc-visual { order: 2; }
.uc-module.flip .uc-body { order: 1; }
[dir="rtl"] .uc-module:not(.flip) .uc-visual { order: 2; }
[dir="rtl"] .uc-module:not(.flip) .uc-body { order: 1; }
[dir="rtl"] .uc-module.flip .uc-visual { order: 1; }
[dir="rtl"] .uc-module.flip .uc-body { order: 2; }

.uc-body { max-width: 480px; }
.uc-step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--purple-wash);
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 14px;
}
.uc-body h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.uc-body > p {
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.6;
  margin-bottom: 20px;
}
.uc-outcome {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-inline-start: 3px solid var(--coral);
  border-radius: 0;
}
[dir="rtl"] .uc-outcome { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.uc-outcome-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 6px;
}
.uc-outcome p {
  font-size: 14.5px;
  color: var(--ink-900);
  line-height: 1.5;
  font-weight: 500;
}
.uc-visual { min-height: 280px; }

/* ---- Mock Dashboard ---- */
.mock-dashboard {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
}
.mock-toolbar {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-300);
}
.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FEBC2E; }
.mock-dot:nth-child(3) { background: #28C840; }
.mock-title {
  margin-inline-start: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
}
[dir="rtl"] .mock-title { margin-inline-start: auto; }
.mock-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-row {
  display: grid;
  grid-template-columns: 70px 1fr 48px;
  gap: 14px;
  align-items: center;
}
.mock-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0;
  text-align: center;
  color: var(--white);
}
.mock-tag-aws { background: #FF9900; }
.mock-tag-oci { background: #C74634; }
.mock-tag-sccc { background: #FF6A00; }
.mock-tag-stc { background: var(--purple); }
.mock-bar {
  height: 8px;
  background: var(--ink-100);
  border-radius: 0;
  overflow: hidden;
}
.mock-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-soft) 100%);
  border-radius: 0;
}
.mock-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  text-align: end;
}
.mock-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--ink-100);
  font-size: 12px;
  color: var(--ink-500);
  background: var(--bg-alt);
  text-align: center;
}

/* ---- Mock Cost ---- */
.mock-cost {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.mock-cost-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
}
.mock-cost-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.mock-cost-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.mock-cost-trend {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(0, 196, 140, 0.12);
  padding: 6px 12px;
  border-radius: 0;
  white-space: nowrap;
}
.mock-cost-stack {
  display: flex;
  height: 28px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-alt);
}
.mock-cost-seg { display: block; height: 100%; }
.mock-cost-stack .seg-aws { background: #FF9900; }
.mock-cost-stack .seg-oci { background: #C74634; }
.mock-cost-stack .seg-sccc { background: #FF6A00; }
.mock-cost-stack .seg-stc { background: var(--purple); }
.mock-cost-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 12.5px;
  color: var(--ink-700);
  font-weight: 500;
}
.mock-cost-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mock-cost-legend i {
  width: 10px;
  height: 10px;
  border-radius: 0;
  flex-shrink: 0;
}
.mock-cost-legend i.seg-aws { background: #FF9900; }
.mock-cost-legend i.seg-oci { background: #C74634; }
.mock-cost-legend i.seg-sccc { background: #FF6A00; }
.mock-cost-legend i.seg-stc { background: var(--purple); }

/* ---- Mock Migration ---- */
.mock-migration {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.mock-stage {
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-stage-from {
  background: var(--bg-alt);
  border: 1px solid var(--ink-100);
}
.mock-stage-to {
  background: linear-gradient(135deg, var(--purple-wash) 0%, rgba(165, 78, 225, 0.18) 100%);
  border: 1px solid var(--purple-light);
}
.mock-stage-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}
.mock-stage-to .mock-stage-label { color: var(--purple); }
.mock-stage strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.mock-stage-detail {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}
.mock-stage-to .mock-stage-detail { color: var(--purple-deep); }
.mock-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  color: var(--purple);
}
.mock-arrow-steps {
  display: flex;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--purple);
}
.mock-arrow-steps span {
  padding: 3px 8px;
  background: var(--purple-wash);
  border-radius: 0;
}
[dir="rtl"] .mock-arrow svg { transform: scaleX(-1); }

/* ============ SUCCESS STORY FEATURE ============ */
.product-story { scroll-margin-top: calc(var(--header-h) + 72px); }
.story-feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--ink-100);
}
.story-feature-industry {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--purple-wash);
  padding: 5px 12px;
  border-radius: 0;
  margin-bottom: 16px;
}
.story-feature-body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.story-feature-body > p {
  font-size: 15.5px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 28px;
}
.story-feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.sfs { display: flex; flex-direction: column; gap: 4px; }
.sfs strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sfs strong em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-soft);
  margin-inline-start: 2px;
}
.sfs span {
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.story-feature-body .story-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
}
.story-feature-body .story-link:hover { color: var(--coral-hover); }

.story-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-badge {
  width: 100%;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.client-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
}
.client-badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}
.client-badge strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
}
.client-badge-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  font-style: italic;
}

/* ============ RELATED GRID ============ */
.product-related { scroll-margin-top: calc(var(--header-h) + 72px); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s var(--ease);
}
.related-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.related-cat {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  background: var(--purple-wash);
  padding: 4px 10px;
  border-radius: 0;
}
.related-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
}
.related-card p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
  flex: 1;
}

/* ============ PRODUCT PAGE RESPONSIVE ============ */
@media (max-width: 1024px) {
  .product-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-hero-visual { min-height: 320px; }
  .cloud-diagram { width: 340px; height: 340px; }
  .overview-inner { grid-template-columns: 1fr; gap: 32px; }
  .at-a-glance { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .story-feature { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
  .uc-module, .uc-module.flip { grid-template-columns: 1fr; gap: 24px; }
  .uc-module .uc-visual, .uc-module.flip .uc-visual { order: 0; }
  .uc-module .uc-body, .uc-module.flip .uc-body { order: 0; max-width: none; }
}
@media (max-width: 768px) {
  .product-hero { padding: 64px 0 56px; }
  .cloud-diagram { width: 280px; height: 280px; }
  .cd-hub { width: 96px; height: 96px; }
  .cd-hub-label { font-size: 20px; }
  .cd-node { width: 68px; height: 68px; font-size: 11px; padding: 10px; }
  .cd-node-stc { font-size: 22px; }
  .cd-node-text { font-size: 9px; }
  .mock-migration { grid-template-columns: 1fr; gap: 14px; }
  .mock-arrow svg { transform: rotate(90deg); }
  [dir="rtl"] .mock-arrow svg { transform: scaleX(-1) rotate(90deg); }
  .story-feature { padding: 28px 24px; }
  .story-feature-stats { gap: 20px; }
  .sfs strong { font-size: 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .usecase-modules { gap: 40px; }
  .product-nav-inner { padding: 10px 20px; gap: 6px; }
  .product-nav a { font-size: 13px; padding: 6px 12px; }
}

/* ============ CLOUD CATEGORY (cloud.html) ============ */
/* Why stc Cloud — pillar grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(79, 0, 140, 0.08);
  border-color: rgba(79, 0, 140, 0.18);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(79, 0, 140, 0.08), rgba(165, 78, 225, 0.12));
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.35;
}
.pillar p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Products — rich feature cards */
.prod-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.prod-feature-grid.prod-feature-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.prod-feature-grid.prod-feature-grid-single {
  grid-template-columns: 1fr;
}

/* Compact card variant — strips body and list, tighter padding/type.
   Apply via .prod-feature-grid-compact on the parent grid; all child
   .prod-feature cards inherit the compact treatment automatically. */
.prod-feature-grid.prod-feature-grid-compact {
  gap: 16px;
  margin-top: 28px;
}
.prod-feature-grid-compact .prod-feature {
  padding: 22px 24px 18px;
}
.prod-feature-grid-compact .prod-feature-head {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}
.prod-feature-grid-compact .prod-feature-cat {
  font-size: 10px;
  padding: 3px 8px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.prod-feature-grid-compact .prod-feature-head h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
}
.prod-feature-grid-compact .prod-feature-sub {
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
}
.prod-feature-grid-compact .prod-feature-body,
.prod-feature-grid-compact .prod-feature-list {
  display: none;
}
.prod-feature-grid-compact .prod-feature-link {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-100);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ============ Fixed page — service sub-sections ============ */
.fixed-subsection {
  margin-top: 56px;
  scroll-margin-top: 140px;
}
.fixed-subsection:first-of-type {
  margin-top: 40px;
}
.fixed-subsection-head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 28px;
}
.fixed-subsection-num {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}
.fixed-subsection-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.fixed-subsection-sub {
  margin: 6px 0 0;
  grid-column: 2;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
}
[dir="rtl"] .fixed-subsection-head {
  grid-template-columns: 1fr auto;
}
[dir="rtl"] .fixed-subsection-num {
  grid-column: 2;
  grid-row: 1 / 3;
}
[dir="rtl"] .fixed-subsection-sub {
  grid-column: 1;
}
@media (max-width: 720px) {
  .fixed-subsection-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .fixed-subsection-num {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    justify-self: start;
    margin-bottom: 10px;
  }
  .fixed-subsection-title {
    grid-column: 1;
    font-size: 22px;
  }
  .fixed-subsection-sub {
    grid-column: 1;
  }
  [dir="rtl"] .fixed-subsection-num {
    grid-column: 1;
    justify-self: end;
  }
  .fixed-subsection {
    margin-top: 44px;
  }
}

/* ============ Satellite — GEO vs LEO orbit comparison ============ */
.orbits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.orbit-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.orbit-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 24px 56px rgba(56, 0, 101, 0.08);
}
.orbit-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.orbit-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 5px 12px;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.orbit-card-geo .orbit-tag {
  background: var(--purple-deep);
}
.orbit-card-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.orbit-altitude {
  margin: 0;
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
}
.orbit-traits {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.orbit-traits li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}
.orbit-traits li strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
  text-transform: uppercase;
  padding-top: 2px;
}
.orbit-traits li span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-800);
}
.orbit-link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--coral);
  padding-top: 8px;
  border-top: 1px solid var(--ink-100);
  margin-top: auto;
}
.orbit-link:hover { color: var(--coral-hover); }
@media (max-width: 900px) {
  .orbits-grid { grid-template-columns: 1fr; gap: 18px; }
  .orbit-card { padding: 26px 22px 22px; }
  .orbit-traits li { grid-template-columns: 90px 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .prod-feature-grid.prod-feature-grid-3 { grid-template-columns: 1fr; }
}
.prod-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.prod-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--purple-soft));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.prod-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(79, 0, 140, 0.12);
  border-color: rgba(79, 0, 140, 0.2);
}
.prod-feature:hover::before { opacity: 1; }
.prod-feature-accent {
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
  border-color: rgba(79, 0, 140, 0.22);
}
.prod-feature-accent::before { opacity: 1; }
.prod-feature-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.prod-feature-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple);
  background: rgba(79, 0, 140, 0.08);
  padding: 5px 10px;
  border-radius: 0;
  margin-bottom: 14px;
}
.prod-feature-head h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.prod-feature-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 500;
}
.prod-feature-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 18px;
}
.prod-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.prod-feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.prod-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}
[dir="rtl"] .prod-feature-list li {
  padding-left: 0;
  padding-right: 24px;
}
[dir="rtl"] .prod-feature-list li::before {
  left: auto;
  right: 0;
}
.prod-feature-link {
  margin-top: auto;
  color: var(--purple);
  font-weight: 700;
  font-size: 15px;
  transition: transform .3s var(--ease);
}
.prod-feature:hover .prod-feature-link {
  transform: translateX(4px);
}
[dir="rtl"] .prod-feature:hover .prod-feature-link {
  transform: translateX(-4px);
}

/* Hyperscaler partners strip */
.hs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Round-ribbon marquee variant: continuous right-to-left scroll */
.hs-strip-ribbon {
  display: block;
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hs-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: hsMarquee 38s linear infinite;
  will-change: transform;
}
.hs-strip-ribbon .hs {
  flex: 0 0 auto;
  width: 180px;
  padding: 22px 18px;
}
@keyframes hsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir="rtl"] .hs-track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .hs-track { animation: none; }
}
@media (max-width: 768px) {
  .hs-strip-ribbon .hs { width: 150px; padding: 18px 14px; }
  .hs-track { gap: 18px; animation-duration: 28s; }
}
.hs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.hs:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(79, 0, 140, 0.08);
}
.hs-mark {
  width: 96px;
  height: 64px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px;
  background: var(--white);
}
.hs-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hs-partner-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 0;
  border: 1px solid var(--border);
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--coral);
  background: rgba(255, 55, 94, 0.1);
  padding: 4px 10px;
  border-radius: 0;
  margin-left: 10px;
}
.status-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
[dir="rtl"] .status-tag { margin-left: 0; margin-right: 10px; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hs strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.hs span {
  font-size: 13px;
  color: var(--ink-soft);
}
.hs-featured {
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
  border-color: rgba(79, 0, 140, 0.22);
  position: relative;
}
.hs-featured::after {
  content: 'stc';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.5px;
}
[dir="rtl"] .hs-featured::after {
  right: auto;
  left: 10px;
}

@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-strip { grid-template-columns: repeat(2, 1fr); }
  .prod-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .hs-strip { grid-template-columns: 1fr; }
  .prod-feature { padding: 26px 22px; }
  .prod-feature-head h3 { font-size: 22px; }
}

/* ============ SOLUTIONS HUB (solutions.html) ============ */
.horizontal-section { padding: 80px 0; }
.horizontal-telco { background: linear-gradient(180deg, #fff 0%, #fff6f8 100%); }

.horizontal-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}
.horizontal-layout-flip .horizontal-info { order: 2; }
.horizontal-layout-flip .horizontal-cats { order: 1; }
[dir="rtl"] .horizontal-layout { direction: rtl; }

.horizontal-info {
  position: sticky;
  top: 140px;
}
.horizontal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--purple);
  background: rgba(79, 0, 140, 0.08);
  padding: 6px 12px;
  border-radius: 0;
  margin-bottom: 18px;
}
.horizontal-badge-coral {
  color: var(--coral);
  background: rgba(255, 55, 94, 0.1);
}
.horizontal-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.horizontal-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.horizontal-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.horizontal-stats div { display: flex; flex-direction: column; }
.horizontal-stats strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}
.horizontal-telco .horizontal-stats strong { color: var(--coral); }
.horizontal-stats span {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.horizontal-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 12px 0 0;
  font-style: italic;
}
.btn-disabled {
  opacity: 0.85;
  cursor: default;
}

.horizontal-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.h-cat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.h-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(79, 0, 140, 0.08);
  border-color: rgba(79, 0, 140, 0.18);
}
.h-cat-coral:hover {
  box-shadow: 0 14px 30px rgba(255, 55, 94, 0.1);
  border-color: rgba(255, 55, 94, 0.2);
}
.h-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(79, 0, 140, 0.08), rgba(165, 78, 225, 0.12));
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h-cat-icon-coral {
  background: linear-gradient(135deg, rgba(255, 55, 94, 0.08), rgba(255, 55, 94, 0.14));
  color: var(--coral);
}
.h-cat h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.h-cat > div:last-child span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.h-cat-link::after {
  content: '→';
  margin-left: auto;
  color: var(--purple);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  align-self: center;
}
[dir="rtl"] .h-cat-link::after {
  content: '←';
  margin-left: 0;
  margin-right: auto;
}
.h-cat-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .horizontal-layout { grid-template-columns: 1fr; gap: 32px; }
  .horizontal-info { position: static; }
  .horizontal-layout-flip .horizontal-info { order: 0; }
  .horizontal-layout-flip .horizontal-cats { order: 0; }
  .horizontal-title { font-size: 28px; }
}
@media (max-width: 700px) {
  .horizontal-cats { grid-template-columns: 1fr; }
  .horizontal-stats { gap: 20px; padding: 16px 18px; }
  .horizontal-stats strong { font-size: 26px; }
}

/* ============ ALLOY — HERO STATUS ============ */
.product-hero-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}
.status-tag-lg {
  font-size: 12px;
  padding: 6px 14px;
  letter-spacing: 1px;
  background: rgba(255, 55, 94, 0.18);
}
.status-tag-lg::before { width: 8px; height: 8px; }
.status-note {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  max-width: 360px;
}
.page-product .product-hero .status-tag {
  color: #FFB3C3;
  background: rgba(255, 55, 94, 0.2);
}
.page-product .product-hero .status-tag::before { background: #FF6B87; }

/* ============ ALLOY — HERO DIAGRAM ============ */
.alloy-diagram {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.alloy-boundary {
  position: relative;
  width: 100%;
  max-width: 460px;
  border: 2px dashed rgba(0, 196, 140, 0.55);
  border-radius: 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 196, 140, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.04);
  padding: 56px 32px 32px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.alloy-boundary-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #06331F;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 0;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 196, 140, 0.3);
}
.alloy-core {
  background: #fff;
  border-radius: 0;
  padding: 22px 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(56, 0, 101, 0.35);
  margin-bottom: 20px;
}
.alloy-core-brand {
  font-size: 28px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1;
}
.alloy-core-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2px;
}
.alloy-core-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #C74634;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.alloy-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.alloy-service {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 11px;
  border-radius: 0;
  white-space: nowrap;
}
.alloy-service:last-child {
  background: rgba(165, 78, 225, 0.28);
  border-color: rgba(165, 78, 225, 0.5);
}
.alloy-seal {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 196, 140, 0.08);
  border: 1px solid rgba(0, 196, 140, 0.25);
  padding: 8px 14px 8px 12px;
  border-radius: 0;
  backdrop-filter: blur(4px);
  max-width: 220px;
  line-height: 1.3;
}
[dir="rtl"] .alloy-seal { right: auto; left: 24px; }

/* ============ ALLOY — SERVICES CATALOG ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-family {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s var(--ease);
}
.svc-family:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.svc-family-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink-100);
}
.svc-family-icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 0;
  background: var(--purple-wash);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-family-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 3px;
}
.svc-family-head span {
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 500;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.4;
}
.svc-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: var(--purple-wash);
  border: 1.5px solid var(--purple);
}
.svc-list li::after {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 7px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
}
.svc-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--ink-500);
  font-style: italic;
}

/* ============ ALLOY — MOCK PERFORMANCE ============ */
.mock-perf {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.mock-perf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ink-100);
}
.mock-perf-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.08em;
}
.mock-perf-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
}
.mock-perf-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-perf-row {
  display: grid;
  grid-template-columns: 130px 1fr 90px;
  align-items: center;
  gap: 14px;
}
.mock-perf-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.mock-perf-bar {
  height: 10px;
  background: var(--bg-alt);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.mock-perf-bar span {
  display: block;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--purple), var(--purple-soft));
}
.mock-perf-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.mock-perf-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
  font-size: 12px;
  color: var(--ink-500);
  text-align: center;
}

/* ============ ALLOY — MOCK MIGRATION (FROM/TO) ============ */
.mock-migration .mock-from,
.mock-migration .mock-to {
  padding: 22px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-from {
  background: var(--bg-alt);
  border: 1px solid var(--ink-100);
}
.mock-to {
  background: linear-gradient(135deg, var(--purple-wash) 0%, rgba(165, 78, 225, 0.18) 100%);
  border: 1px solid var(--purple-light);
}
.mock-to-alloy {
  background: linear-gradient(135deg, rgba(79, 0, 140, 0.1) 0%, rgba(165, 78, 225, 0.22) 100%);
  border: 1px solid var(--purple);
}
.mock-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}
.mock-to .mock-label { color: var(--purple); }
.mock-label-alloy { color: var(--purple); }
.mock-from strong,
.mock-to strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.mock-sub {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}
.mock-to .mock-sub { color: var(--purple-deep); }

/* ============ ALLOY — MOCK GOVERNMENT ============ */
.mock-gov {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mock-gov-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
}
.mock-gov-brand {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.08em;
}
.mock-gov-residency {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: rgba(0, 196, 140, 0.1);
  border: 1px solid rgba(0, 196, 140, 0.3);
  padding: 4px 10px;
  border-radius: 0;
  letter-spacing: 0.04em;
}
.mock-gov-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mock-gov-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  text-align: center;
}
.mock-gov-metrics strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mock-gov-metrics span {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mock-gov-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
}
.mock-gov-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-wash);
  padding: 5px 11px;
  border-radius: 0;
}

/* ============ ALLOY — EARLY ACCESS ============ */
.early-access-card {
  background: linear-gradient(135deg, #fff 0%, #faf5ff 100%);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
  box-shadow: var(--shadow);
}
.early-access-text .eyebrow { display: block; margin-bottom: 12px; }
.early-access-text h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.early-access-text > p {
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.65;
  margin-bottom: 22px;
}
.early-access-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.early-access-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14.5px;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.45;
}
.early-access-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple-wash);
  border: 1.5px solid var(--purple);
}
.early-access-list li::after {
  content: '';
  position: absolute;
  inset-inline-start: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
}
.early-access-meta {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.eam-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.eam-row:last-child { border-bottom: none; padding-bottom: 0; }
.eam-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.eam-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}

/* ============ ALLOY — RESPONSIVE ============ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; }
  .early-access-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .alloy-boundary { padding: 48px 22px 24px; }
  .alloy-seal { position: static; margin: 18px auto 0; }
}
@media (max-width: 700px) {
  .mock-perf-row { grid-template-columns: 100px 1fr 70px; gap: 10px; }
  .mock-gov-metrics { grid-template-columns: 1fr; }
  .early-access-card { padding: 28px 24px; }
  .product-hero-status { gap: 10px; }
  .status-note { font-size: 13px; max-width: none; }
}

/* ============ MCMS2 — HUB VISUAL ============ */
.mcms2-hub {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mcms2-hub-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.mcms2-hub-ring-1 { width: 260px; height: 260px; }
.mcms2-hub-ring-2 { width: 400px; height: 400px; border-color: rgba(255, 255, 255, 0.12); }
.mcms2-hub-core {
  position: relative;
  background: #fff;
  border-radius: 0;
  padding: 24px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 24px 60px rgba(56, 0, 101, 0.4);
  z-index: 3;
}
.mcms2-hub-label {
  font-size: 24px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mcms2-hub-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.06em;
}
.mcms2-hub-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  z-index: 2;
  white-space: nowrap;
}
.mcms2-n1 { top: 12%; left: 50%; transform: translateX(-50%); }
.mcms2-n2 { top: 50%; right: 6%; transform: translateY(-50%); }
.mcms2-n3 { bottom: 12%; left: 50%; transform: translateX(-50%); }
.mcms2-n4 { top: 50%; left: 6%; transform: translateY(-50%); }

/* ============ MCMS2 — SUCCESS STORIES PLACEHOLDER ============ */
.stories-if-available {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
  font-style: italic;
  font-weight: 500;
}
.story-placeholder {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 160px;
}
.story-placeholder-logo,
.story-placeholder-col {
  padding: 36px 32px;
  display: flex;
  align-items: center;
  border-inline-end: 1px solid var(--ink-100);
}
.story-placeholder-col:last-child { border-inline-end: none; }
.story-placeholder-logo {
  background: var(--bg-alt);
  justify-content: center;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.story-placeholder-label {
  font-size: 14.5px;
  color: var(--ink-500);
  font-style: italic;
}

@media (max-width: 900px) {
  .story-placeholder { grid-template-columns: 1fr; }
  .story-placeholder-logo,
  .story-placeholder-col { border-inline-end: none; border-bottom: 1px solid var(--ink-100); min-height: 100px; padding: 28px; }
  .story-placeholder-col:last-child { border-bottom: none; }
  .mcms2-hub-ring-2 { width: 320px; height: 320px; }
  .mcms2-hub-ring-1 { width: 220px; height: 220px; }
}

/* ============ INDUSTRY PAGE — HERO ============ */
.industry-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  padding: 88px 0 72px;
  color: #fff;
  overflow: hidden;
}

.industry-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.industry-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(56, 0, 101, 0.95) 0%, rgba(79, 0, 140, 0.85) 45%, rgba(165, 78, 225, 0.55) 100%);
}

.industry-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.industry-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 18px;
}

.industry-hero-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px 0;
  color: #fff;
}

.industry-hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  margin: 0 0 28px 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
}

.industry-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .industry-hero { padding: 64px 0 56px; min-height: 320px; }
}

/* ============ INDUSTRY PAGE — LEAN USE-CASE CARDS (image on top) ============ */
.usecase-grid-lean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.usecase-card-lean {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.usecase-card-lean:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(56, 0, 101, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
}

.usecase-image-lean {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--purple-deep);
}

.usecase-content {
  flex: 1;
  padding: 24px 28px 64px;
}

.usecase-content h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px 0;
  color: var(--ink-900);
}

.usecase-content p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

.usecase-arrow {
  position: absolute;
  inset-inline-end: 28px;
  bottom: 22px;
  font-size: 22px;
  font-weight: 600;
  color: var(--purple);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}

.usecase-card-lean:hover .usecase-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .usecase-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .usecase-card-lean:hover .usecase-arrow {
  transform: scaleX(-1) translateX(4px);
}

@media (max-width: 900px) {
  .usecase-grid-lean { grid-template-columns: 1fr; gap: 18px; }
  .usecase-content { padding: 20px 22px 56px; }
  .usecase-arrow { inset-inline-end: 22px; bottom: 20px; font-size: 20px; }
  .usecase-content h3 { font-size: 17px; }
}

/* ============ ONCOLOGY — HERO IMAGE VISUAL ============ */
.product-hero-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  margin-inline-start: auto;
}

/* Variant: full-bleed image banner with purple overlay + text on top */
.product-hero.product-hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--purple-deep);
  color: #ffffff;
}

.product-hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

.product-hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg,
      rgba(56, 0, 101, 0.92) 0%,
      rgba(79, 0, 140, 0.78) 45%,
      rgba(165, 78, 225, 0.45) 100%);
}

.product-hero-banner .product-hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.product-hero-banner .product-hero-text {
  max-width: 700px;
}

.product-hero-banner .product-hero-title { color: #fff; }
.product-hero-banner .product-hero-lede { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 900px) {
  .product-hero-banner .product-hero-text { max-width: 100%; }
}

/* ============ SLIDE PROSE (verbatim description) ============ */
.slide-prose {
  max-width: 880px;
}

.slide-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-800);
  margin: 0;
}

/* ============ DESCRIPTION + BENEFITS — combined 2-col with video sidebar ============ */
.db-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.db-text {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 480px;
}

.db-block .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.db-block > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-800);
  margin: 0;
}

.db-block .solutions-benefits-list {
  max-width: none;
}

/* Video stays visible (sticky) as user scrolls past Description into Solutions Benefits */
.db-video {
  position: sticky;
  top: 132px;
  align-self: start;
}

.db-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(56, 0, 101, 0.2);
  background: #000;
}

.db-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .db-grid { gap: 40px; }
  .db-text { max-width: 100%; }
}

@media (max-width: 900px) {
  .db-grid { grid-template-columns: 1fr; gap: 32px; }
  .db-video { position: static; }
  .db-text { gap: 40px; }
}

/* ============ Split layout: description + benefits side by side ============ */
.db-grid.db-grid-split {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.db-grid.db-grid-split .db-block {
  max-width: none;
}

@media (max-width: 1024px) {
  .db-grid.db-grid-split { gap: 40px; }
}

@media (max-width: 900px) {
  .db-grid.db-grid-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ LEO NET — sidebar facts card ============ */
.leonet-facts {
  background: var(--white);
  border: 1px solid var(--ink-100);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leonet-facts-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
}
.leonet-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leonet-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.leonet-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.leonet-facts li strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-700);
}
.leonet-facts li span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.4;
}

/* ============ DDoS — illustrative network diagram ============ */
.ddos-diagram {
  margin: 0 auto 40px;
  max-width: 980px;
  padding: 28px 28px 22px;
  background: #fff;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ddos-diagram img {
  display: block;
  width: 100%;
  height: auto;
}
.ddos-diagram-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.01em;
}
.ddos-diagram-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.ddos-diagram-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 10px;
}
.ddos-diagram-dot-clean { background: #6BE38A; box-shadow: 0 0 0 3px rgba(107, 227, 138, 0.18); }
.ddos-diagram-dot-attack { background: #FF4D4D; box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.18); }
@media (max-width: 720px) {
  .ddos-diagram { padding: 18px 16px 14px; }
  .ddos-diagram-caption { font-size: 12px; gap: 10px 18px; }
}

/* ============ LEO NET — solution architecture diagram ============ */
.leonet-arch {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.leonet-arch-col {
  background: var(--white);
  border: 1px solid var(--ink-100);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.leonet-arch-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.leonet-arch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: leonet-step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leonet-arch-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}
.leonet-arch-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple) 0%, rgba(79, 0, 140, 0.2) 100%);
}
.leonet-arch-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--purple);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.leonet-arch-list li > div { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.leonet-arch-list li strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.leonet-arch-list li span {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.5;
}
[dir="rtl"] .leonet-arch-list li:not(:last-child)::after { left: auto; right: 17px; }

.leonet-arch-ops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.leonet-arch-ops li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink-100);
}
.leonet-arch-ops li:last-child { border-bottom: 0; padding-bottom: 0; }
.leonet-arch-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 0, 140, 0.08);
  color: var(--purple);
}
.leonet-arch-ops li > div { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.leonet-arch-ops li strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.leonet-arch-ops li span {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .leonet-arch { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ SOLUTIONS BENEFITS — plain list (no boxes) ============ */
.solutions-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 880px;
}

.solutions-benefits-list li {
  position: relative;
  padding: 16px 0 16px 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  border-bottom: 1px solid var(--ink-100);
}

.solutions-benefits-list li:last-child {
  border-bottom: none;
}

.solutions-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 16px;
  height: 2px;
  background: var(--coral);
  border-radius: 0;
}

[dir="rtl"] .solutions-benefits-list li {
  padding-left: 0;
  padding-right: 32px;
}

[dir="rtl"] .solutions-benefits-list li::before {
  left: auto;
  right: 0;
}

/* ============ ONCOLOGY — SUB USE CASE CARDS ============ */
.oncology-uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.oncology-uc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 0;
  padding: 36px 36px 32px;
  box-shadow: 0 16px 40px rgba(56, 0, 101, 0.05);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.oncology-uc-card:hover {
  box-shadow: 0 28px 64px rgba(56, 0, 101, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
}

.oncology-uc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.oncology-uc-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.oncology-uc-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0 0 22px 0;
}

.oncology-uc-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--ink-100);
  padding-top: 22px;
}

.oncology-uc-points li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-start: 14px;
  position: relative;
}

.oncology-uc-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 16px;
  border-radius: 0;
  background: var(--coral);
}

[dir="rtl"] .oncology-uc-points li::before { left: auto; right: 0; }

.oncology-uc-points li strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}

.oncology-uc-points li span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-700);
}

@media (max-width: 900px) {
  .oncology-uc-grid { grid-template-columns: 1fr; gap: 18px; }
  .oncology-uc-card { padding: 28px 24px; }
  .oncology-uc-card h3 { font-size: 19px; }
}

/* ============ HEALTHCARE — CASE STORIES (filled, not placeholder) ============ */
.case-stories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-story {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 0;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(56, 0, 101, 0.05);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.case-story:hover {
  box-shadow: 0 20px 48px rgba(56, 0, 101, 0.1);
  border-color: rgba(124, 58, 237, 0.25);
}

.case-story-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
  padding: 6px 12px;
  border-radius: 0;
  margin-bottom: 20px;
}

.case-story-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.case-story-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.case-story-clients ul,
.case-story-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-story-clients li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  padding: 7px 0;
  border-bottom: 1px solid var(--ink-100);
  position: relative;
  padding-inline-start: 16px;
}

.case-story-clients li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

[dir="rtl"] .case-story-clients li::before { left: auto; right: 0; }

.case-story-clients li:last-child {
  border-bottom: none;
}

/* Variant: client list with logos + name */
.case-story-clients-logos li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  padding-inline-start: 0;
}

.case-story-clients-logos li::before {
  display: none;
}

.case-story-clients-logos li img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--ink-100);
}

.case-story-clients-logos .case-story-client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.3;
}

.case-story-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

.case-story-col ul li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-800);
  padding: 6px 0 6px 22px;
  position: relative;
}

.case-story-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 2px;
  background: var(--coral);
  border-radius: 0;
}

[dir="rtl"] .case-story-col ul li {
  padding-left: 0;
  padding-right: 22px;
}

[dir="rtl"] .case-story-col ul li::before {
  left: auto;
  right: 0;
}

@media (max-width: 1024px) {
  .case-story-grid { grid-template-columns: 1fr 1fr; }
  .case-story-clients { grid-column: 1 / -1; }
  .case-story-clients ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px 16px;
  }
  .case-story-clients li:last-child { border-bottom: 1px solid var(--ink-100); }
}

@media (max-width: 700px) {
  .case-story { padding: 22px 24px; }
  .case-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-story-clients ul { grid-template-columns: 1fr; }
}

/* ============ MOTION / ENTRANCE ============ */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-subtitle, .hero-ctas, .hero-meta {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s var(--ease) forwards;
  }
  .hero-subtitle { animation-delay: 0.12s; }
  .hero-ctas { animation-delay: 0.22s; }
  .hero-meta { animation-delay: 0.32s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}
