/**
 * Advanze Styles - Apple-inspired Design System
 * Photography-first (content-first) design with 3-blue gradient
 */

/* ===== BASE ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--adv-font-text);
  font-size: var(--adv-font-size-body);
  font-weight: var(--adv-font-weight-regular);
  line-height: var(--adv-line-height-normal);
  letter-spacing: var(--adv-letter-spacing-body);
  color: var(--adv-ink);
  background: var(--adv-canvas);
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--adv-font-display);
  font-weight: var(--adv-font-weight-semibold);
  letter-spacing: var(--adv-letter-spacing-display);
  line-height: var(--adv-line-height-display);
  color: var(--adv-ink);
  margin: 0;
}

h1 {
  font-size: var(--adv-font-size-display-lg);
  font-weight: var(--adv-font-weight-semibold);
  line-height: 1.10;
  letter-spacing: -0.374px;
}

h2 {
  font-size: var(--adv-font-size-display-md);
  font-weight: var(--adv-font-weight-semibold);
  line-height: 1.18;
}

h3 {
  font-size: var(--adv-font-size-tagline);
  font-weight: var(--adv-font-weight-semibold);
  line-height: 1.19;
}

h4 {
  font-size: var(--adv-font-size-body);
  font-weight: var(--adv-font-weight-semibold);
}

p {
  margin: 0;
}

.lead {
  font-family: var(--adv-font-display);
  font-size: var(--adv-font-size-lead-airy);
  font-weight: var(--adv-font-weight-light);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--adv-ink-muted-80);
}

a {
  color: var(--adv-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

a:active {
  opacity: 0.6;
}

/* ===== LAYOUT ===== */

.adv-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.adv-skip:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: var(--adv-surface-black);
  color: var(--adv-on-dark);
  padding: var(--adv-space-md);
}

.adv-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--adv-space-lg);
}

.adv-container-wide {
  max-width: 1440px;
}

/* ===== HEADER & NAVIGATION ===== */

.adv-header {
  position: sticky;
  top: 0;
  z-index: var(--adv-z-sticky);
  background: var(--adv-canvas);
  color: var(--adv-ink);
  min-height: 86px;
  border-bottom: 1px solid var(--adv-hairline);
}

.adv-preview-bar {
  background: #0b1f3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.84rem;
}

.adv-preview-bar-inner {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 36px;
  padding-bottom: 6px;
  padding-top: 6px;
  text-align: center;
}

.adv-preview-pill {
  color: #ffffff;
  flex: 0 0 auto;
  font-weight: 500;
}

.adv-preview-separator {
  color: rgba(255, 255, 255, 0.58);
  flex: 0 0 auto;
  font-weight: 500;
}

.adv-preview-message {
  color: #ffb15c;
  font-weight: 500;
  line-height: 1.35;
}

.adv-preview-link {
  color: #ffffff;
  flex: 0 0 auto;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.adv-preview-link:hover {
  color: #ffb15c;
}

/* Dark mode header */
.adv-dark .adv-header,
[data-theme="dark"] .adv-header {
  background: #1a1a1a; /* Very dark gray */
  color: var(--adv-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  gap: var(--adv-space-lg);
}

.adv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--adv-ink);
}

.adv-dark .adv-brand,
[data-theme="dark"] .adv-brand {
  color: var(--adv-on-dark);
}

.adv-brand img {
  height: 34px;
  width: auto;
}

.adv-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.adv-brand-name strong {
  font-size: 13px;
  font-weight: var(--adv-font-weight-semibold);
  color: var(--adv-on-dark);
}

.adv-brand-name span {
  font-size: 10px;
  font-weight: var(--adv-font-weight-regular);
  color: var(--adv-body-muted);
}

.adv-navlinks {
  display: flex;
  align-items: center;
  gap: var(--adv-space-lg);
  flex: 1;
  margin-left: var(--adv-space-xl);
}

.adv-navlinks a {
  font-size: var(--adv-font-size-fine);
  font-weight: var(--adv-font-weight-regular);
  letter-spacing: var(--adv-letter-spacing-fine);
  color: var(--adv-ink);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.adv-navlinks a:hover {
  opacity: 1;
}

.adv-navlinks a.active {
  opacity: 1;
  font-weight: var(--adv-font-weight-semibold);
}

.adv-dark .adv-navlinks a,
[data-theme="dark"] .adv-navlinks a {
  color: var(--adv-on-dark);
}

.adv-actions {
  display: flex;
  align-items: center;
  gap: var(--adv-space-sm);
  justify-content: flex-end;
  flex-shrink: 0;
  min-width: fit-content;
}

/* Profile Dropdown - Consolidated Menu */
.adv-profile {
  position: relative;
}

.adv-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--adv-ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-size: 20px;
}

.adv-profile-btn:hover {
  opacity: 0.7;
}

.adv-dark .adv-profile-btn,
[data-theme="dark"] .adv-profile-btn {
  color: var(--adv-on-dark);
}

.adv-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--adv-canvas);
  border: 1px solid var(--adv-hairline);
  border-radius: var(--adv-radius-md);
  min-width: 240px;
  box-shadow: var(--adv-shadow-product);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: var(--adv-z-dropdown);
}

.adv-dark .adv-profile-dropdown,
[data-theme="dark"] .adv-profile-dropdown {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-profile.active .adv-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.adv-profile-dropdown-header {
  padding: var(--adv-space-sm) var(--adv-space-md);
  border-bottom: 1px solid var(--adv-hairline);
  font-size: var(--adv-font-size-caption);
  font-weight: var(--adv-font-weight-semibold);
  color: var(--adv-ink-muted-80);
}

.adv-dark .adv-profile-dropdown-header,
[data-theme="dark"] .adv-profile-dropdown-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--adv-body-muted);
}

.adv-profile-section {
  border-bottom: 1px solid var(--adv-hairline);
  padding: var(--adv-space-xs) 0;
}

.adv-dark .adv-profile-section,
[data-theme="dark"] .adv-profile-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-profile-section:last-child {
  border-bottom: none;
}

.adv-profile-option {
  display: flex;
  align-items: center;
  gap: var(--adv-space-sm);
  padding: var(--adv-space-sm) var(--adv-space-md);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: var(--adv-font-size-caption);
  color: var(--adv-ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.adv-profile-option:hover {
  background: var(--adv-canvas-parchment);
}

.adv-dark .adv-profile-option,
[data-theme="dark"] .adv-profile-option {
  color: var(--adv-on-dark);
}

.adv-dark .adv-profile-option:hover,
[data-theme="dark"] .adv-profile-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.adv-profile-option.active {
  background: var(--adv-surface-pearl);
  color: var(--adv-primary);
  font-weight: var(--adv-font-weight-semibold);
}

.adv-dark .adv-profile-option.active,
[data-theme="dark"] .adv-profile-option.active {
  background: rgba(0, 176, 240, 0.15);
}

.adv-profile-option i {
  font-size: 16px;
}

.adv-profile-link {
  display: flex;
  align-items: center;
  gap: var(--adv-space-sm);
  padding: var(--adv-space-sm) var(--adv-space-md);
  text-decoration: none;
  font-size: var(--adv-font-size-caption);
  color: var(--adv-ink);
  transition: background 0.2s ease;
}

.adv-profile-link:hover {
  background: var(--adv-canvas-parchment);
}

.adv-dark .adv-profile-link,
[data-theme="dark"] .adv-profile-link {
  color: var(--adv-on-dark);
}

.adv-dark .adv-profile-link:hover,
[data-theme="dark"] .adv-profile-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.adv-profile-link i {
  font-size: 16px;
}

.adv-burger {
  display: none;
}

.adv-mobilepanel {
  display: none;
  background: var(--adv-canvas);
  color: var(--adv-ink);
  padding: var(--adv-space-lg);
  border-bottom: 1px solid var(--adv-hairline);
}

.adv-mobilepanel a {
  display: block;
  padding: var(--adv-space-sm) 0;
  color: var(--adv-ink);
  font-size: var(--adv-font-size-body);
}

.adv-dark .adv-mobilepanel,
[data-theme="dark"] .adv-mobilepanel {
  background: #1a1a1a;
  color: var(--adv-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-dark .adv-mobilepanel a,
[data-theme="dark"] .adv-mobilepanel a {
  color: var(--adv-on-dark);
}

/* ===== MEGA MENU ===== */

.adv-nav-item {
  position: relative;
}

.adv-nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.adv-nav-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.adv-nav-item.active .adv-nav-chevron {
  transform: rotate(180deg);
}

.adv-megamenu {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 1200px;
  max-width: calc(100vw - 48px);
  max-height: 85vh;
  overflow-y: auto;
  margin-top: 16px;
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: var(--adv-z-dropdown);
  scrollbar-width: thin;
  scrollbar-color: var(--adv-hairline) transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #243b55;
}

.adv-dark .adv-megamenu,
[data-theme="dark"] .adv-megamenu {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Webkit scrollbar styling for mega menu */
.adv-megamenu::-webkit-scrollbar {
  width: 8px;
}

.adv-megamenu::-webkit-scrollbar-track {
  background: transparent;
}

.adv-megamenu::-webkit-scrollbar-thumb {
  background: var(--adv-hairline);
  border-radius: 4px;
}

.adv-megamenu::-webkit-scrollbar-thumb:hover {
  background: var(--adv-ink-muted-80);
}

.adv-nav-item.active .adv-megamenu,
.adv-nav-item:hover .adv-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.adv-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--adv-space-lg);
}

.adv-megamenu-section {
  display: flex;
  flex-direction: column;
}

.adv-megamenu-header {
  font-size: 1.05em;
  font-weight: var(--adv-font-weight-semibold);
  color: var(--adv-ink);
  margin-bottom: var(--adv-space-sm);
  padding: var(--adv-space-xs) var(--adv-space-sm);
  border-radius: var(--adv-radius-xs);
  text-decoration: none;
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
}

.adv-megamenu-header:hover {
  background: var(--adv-canvas-parchment);
  color: var(--adv-primary);
}

.adv-dark .adv-megamenu-header,
[data-theme="dark"] .adv-megamenu-header {
  color: var(--adv-on-dark);
}

.adv-dark .adv-megamenu-header:hover,
[data-theme="dark"] .adv-megamenu-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--adv-primary-light);
}

.adv-megamenu-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--adv-space-xs) var(--adv-space-sm);
  border-radius: var(--adv-radius-xs);
  text-decoration: none;
  color: var(--adv-ink);
  font-size: var(--adv-font-size-caption);
  line-height: 1.4;
  transition: background 0.2s ease;
}

.adv-link-title {
  font-weight: 600;
  color: var(--adv-ink);
  font-size: 0.96em;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.adv-link-desc {
  font-size: 0.82em;
  color: var(--adv-ink-muted-80);
  line-height: 1.4;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 2px;
}

.adv-megamenu-link:hover {
  background: var(--adv-canvas-parchment);
}

.adv-dark .adv-megamenu-link,
[data-theme="dark"] .adv-megamenu-link {
  color: var(--adv-on-dark);
}

.adv-dark .adv-megamenu-link:hover,
[data-theme="dark"] .adv-megamenu-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.adv-dark .adv-link-title,
[data-theme="dark"] .adv-link-title {
  color: var(--adv-on-dark);
}

.adv-dark .adv-link-desc,
[data-theme="dark"] .adv-link-desc {
  color: var(--adv-body-muted);
}

.adv-megamenu-link i {
  font-size: 14px;
  margin-top: 2px;
  color: var(--adv-primary);
  flex-shrink: 0;
}

.adv-megamenu-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--adv-space-sm) var(--adv-space-md);
  margin-bottom: var(--adv-space-md);
  background: var(--adv-canvas-parchment);
  border-radius: var(--adv-radius-sm);
  font-size: var(--adv-font-size-caption);
  font-weight: var(--adv-font-weight-semibold);
  color: var(--adv-primary);
  text-decoration: none;
  transition: background 0.2s ease;
}

.adv-megamenu-overview:hover {
  background: var(--adv-surface-pearl);
}

.adv-dark .adv-megamenu-overview,
[data-theme="dark"] .adv-megamenu-overview {
  background: rgba(255, 255, 255, 0.05);
}

.adv-dark .adv-megamenu-overview:hover,
[data-theme="dark"] .adv-megamenu-overview:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Color-coded Mega Menu Themes */

/* Platform Menu - Blue Theme (#3498db, #2980b9) */
.adv-nav-item:nth-child(2) .adv-megamenu {
  border-top: 3px solid #3498db;
}

.adv-nav-item:nth-child(2) .adv-megamenu-header {
  color: #2980b9;
}

.adv-nav-item:nth-child(2) .adv-megamenu-link:hover {
  background: #e8f4f8;
  border-left: 3px solid #3498db;
}

/* Products Menu - Orange Theme (#e67e22) */
.adv-nav-item:nth-child(3) .adv-megamenu {
  border-top: 3px solid #e67e22;
}

.adv-nav-item:nth-child(3) .adv-megamenu-header {
  color: #e67e22;
}

.adv-nav-item:nth-child(3) .adv-megamenu-link:hover {
  background: #fef5e7;
  border-left: 3px solid #e67e22;
}

/* Solutions Menu - Green Theme (#27ae60) */
.adv-nav-item:nth-child(4) .adv-megamenu {
  border-top: 3px solid #27ae60;
}

.adv-nav-item:nth-child(4) .adv-megamenu-link:hover {
  background: #eafaf1;
  border-left: 3px solid #27ae60;
}

/* Pricing Menu - Purple Theme (#9b59b6, #8e44ad) */
.adv-nav-item:nth-child(5) .adv-megamenu {
  border-top: 3px solid #9b59b6;
}

.adv-nav-item:nth-child(5) .adv-megamenu-link:hover {
  background: #f4ecf7;
  border-left: 3px solid #9b59b6;
}

/* Resources Menu - Teal Theme (#16a085) */
.adv-nav-item:nth-child(6) .adv-megamenu {
  border-top: 3px solid #16a085;
}

.adv-nav-item:nth-child(6) .adv-megamenu-header {
  color: #16a085;
}

.adv-nav-item:nth-child(6) .adv-megamenu-link:hover {
  background: #e8f8f5;
  border-left: 3px solid #16a085;
}

/* Elevate & Transform Menu - Coral Theme (#e74c3c) */
.adv-nav-item:nth-child(1) .adv-megamenu {
  border-top: 3px solid #e74c3c;
}

.adv-nav-item:nth-child(1) .adv-megamenu-link:hover {
  background: #fef5f5;
  border-left: 3px solid #e74c3c;
}

/* Mobile navigation toggle */
@media (max-width: 1023px) {
  .adv-header {
    min-height: 112px;
  }

  .adv-preview-bar-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    justify-content: center;
    min-height: 62px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .adv-preview-message {
    flex: 1 1 auto;
    font-size: 0.78rem;
  }

  .adv-preview-pill,
  .adv-preview-link {
    font-size: 0.7rem;
  }

  .adv-navlinks {
    display: none;
  }

  .adv-burger {
    display: block;
  }

  .adv-mobilepanel[data-adv-mobile-panel].open {
    display: block;
  }

  .adv-profile {
    display: none;
  }

  .adv-header .adv-btn {
    padding: 8px 12px;
    font-size: var(--adv-font-size-caption);
  }

  .adv-megamenu {
    position: static;
    transform: none;
    margin-top: 0;
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .adv-header {
    min-height: 92px;
  }

  .adv-preview-bar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 42px;
  }

  .adv-preview-message {
    display: none;
  }

  .adv-preview-message + .adv-preview-separator {
    display: none;
  }
}

/* ===== BUTTONS - Apple Pill System ===== */

.adv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--adv-font-text);
  font-size: var(--adv-font-size-body);
  font-weight: var(--adv-font-weight-regular);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.adv-btn:active {
  transform: scale(0.95); /* Apple's signature press interaction */
}

/* Primary - Gradient Pill */
.adv-btn-primary {
  background: var(--adv-gradient-primary);
  color: var(--adv-on-primary);
  padding: 9px 22px;
  border-radius: var(--adv-radius-pill);
}

.adv-btn-primary:hover {
  opacity: 0.9;
}

/* Outline - Ghost Pill */
.adv-btn-outline {
  background: transparent;
  color: var(--adv-primary);
  border: 1px solid var(--adv-primary);
  padding: 8px 21px;
  border-radius: var(--adv-radius-pill);
}

.adv-btn-outline:hover {
  background: rgba(2, 116, 194, 0.05);
}

/* Secondary - Light utility */
.adv-btn-secondary {
  background: var(--adv-surface-pearl);
  color: var(--adv-ink-muted-80);
  padding: 8px 15px;
  border-radius: var(--adv-radius-sm);
  font-size: var(--adv-font-size-caption);
}

/* Sizes */
.adv-btn-sm {
  padding: 8px 16px;
  font-size: var(--adv-font-size-caption);
}

.adv-btn-lg {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: var(--adv-font-weight-light);
}

/* Header button sizes - smaller for nav */
.adv-header .adv-btn {
  padding: 6px 14px;
  font-size: var(--adv-font-size-fine);
}

/* Icon button */
.adv-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--adv-ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.adv-iconbtn:hover {
  opacity: 0.7;
}

.adv-dark .adv-iconbtn,
[data-theme="dark"] .adv-iconbtn {
  color: var(--adv-on-dark);
}

/* ===== ROTATING BANNER / CAROUSEL ===== */

.adv-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: transparent; /* Slides have their own backgrounds */
}

.adv-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.adv-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Background color per banner - set inline via style attribute */
}

/* Banner container - wraps image and CTAs for proper positioning */
.adv-banner-container {
  position: relative; /* CTAs positioned absolutely within this */
  max-width: 1200px; /* Match banner max width */
  height: 500px;
  display: block;
}

/* Banner images - 3-column layout:
   Column 1 (left): Background color (flexes)
   Column 2 (center): Image at native size, max 1200px (fixed)
   Column 3 (right): Background color (flexes)
*/
.adv-carousel-slide img {
  max-width: 1200px; /* Never exceed 1200px */
  width: auto; /* Native width up to 1200px */
  height: 500px; /* Fixed height */
  object-fit: none; /* NO scaling - display at native size */
  object-position: center;
  display: block;
  /* Image stays centered, background color fills sides on wide screens */
}

/* Responsive: On screens < 1200px, allow image to fill and crop from sides */
@media (max-width: 1200px) {
  .adv-carousel-slide img {
    width: 100%; /* Fill screen width */
    max-width: none; /* Remove max constraint */
    height: 500px;
    object-fit: cover; /* Crop from sides, keep height */
    object-position: center; /* Keep center content visible */
  }
}

/* Slide entering from right (next) */
.adv-carousel-slide.enter-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Slide entering from left (prev) */
.adv-carousel-slide.enter-left {
  transform: translateX(-100%);
  opacity: 0;
}

/* Active state - must come after enter states to override */
.adv-carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

/* Slide exiting to left (next direction) - must override active */
.adv-carousel-slide.exit-left {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
  z-index: 1 !important;
}

/* Slide exiting to right (prev direction) - must override active */
.adv-carousel-slide.exit-right {
  transform: translateX(100%) !important;
  opacity: 0 !important;
  z-index: 1 !important;
}

/* Carousel slide backgrounds - set per banner via inline style for variety
   Each banner has its own background color:
   - Banner 01: #0a1628 (standard dark navy)
   - Banner 02: #0d0a1c (purple-tinted dark navy)
   - Banner 03: #0f1419 (warmer dark navy)
   - Banner 04: #0a1520 (standard-to-warm navy)
*/

/* Dark overlay for text readability on background images */
.adv-carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.adv-dark .adv-carousel-slide::before,
[data-theme="dark"] .adv-carousel-slide::before {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.adv-carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  min-height: 400px;
  margin: 0 auto;
  padding: var(--adv-space-xxl) var(--adv-space-lg);
  position: relative;
  z-index: 1;
}

/* Right-aligned text for reverse slides */
.adv-carousel-slide-reverse .adv-carousel-content {
  align-items: flex-end;
  text-align: right;
}

.adv-carousel-text {
  color: #ffffff;
  max-width: 600px;
}

.adv-carousel-text h2 {
  font-size: var(--adv-font-size-display-md);
  color: #ffffff;
  margin-bottom: var(--adv-space-md);
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.adv-carousel-text p {
  font-size: var(--adv-font-size-lead-airy);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin-bottom: var(--adv-space-lg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.adv-dark .adv-carousel-text,
[data-theme="dark"] .adv-carousel-text {
  color: #ffffff;
}

.adv-dark .adv-carousel-text h2,
[data-theme="dark"] .adv-carousel-text h2 {
  color: #ffffff;
}

.adv-dark .adv-carousel-text p,
[data-theme="dark"] .adv-carousel-text p {
  color: rgba(255, 255, 255, 0.95);
}

/* Hide image elements - using background images instead */
.adv-carousel-image {
  display: none;
}

.adv-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--adv-space-md);
  padding: var(--adv-space-md) 0;
  background: var(--adv-canvas);
}

.adv-dark .adv-carousel-controls,
[data-theme="dark"] .adv-carousel-controls {
  background: #1a1a1a;
}

.adv-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.adv-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px; /* Square with slight rounding */
  background: #d1d1d6; /* Light grey */
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.adv-carousel-dot.active {
  background: var(--adv-primary);
  transform: scale(1.15);
}

.adv-carousel-nav {
  background: transparent;
  color: #d1d1d6; /* Light grey */
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: color 0.2s ease;
}

.adv-carousel-nav:hover {
  color: var(--adv-primary);
}

.adv-carousel-pause {
  background: transparent;
  color: #d1d1d6;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: color 0.2s ease;
}

.adv-carousel-pause:hover {
  color: var(--adv-primary);
}

@media (max-width: 768px) {
  .adv-carousel {
    height: auto;
    min-height: 400px;
  }

  .adv-carousel-content {
    grid-template-columns: 1fr;
    padding: var(--adv-space-xl) var(--adv-space-lg);
  }

  .adv-carousel-image {
    order: -1;
  }

  .adv-carousel-text h2 {
    font-size: var(--adv-font-size-lead);
  }
}

/* ===== HERO ===== */

.adv-hero {
  padding: var(--adv-space-section) 0;
  text-align: center;
}

.adv-hero h1 {
  font-size: var(--adv-font-size-hero);
  font-weight: var(--adv-font-weight-semibold);
  line-height: var(--adv-line-height-tight);
  letter-spacing: var(--adv-letter-spacing-hero);
  margin-bottom: var(--adv-space-lg);
}

.adv-hero .lead {
  margin: var(--adv-space-lg) auto;
}

.adv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--adv-font-size-caption);
  font-weight: var(--adv-font-weight-semibold);
  letter-spacing: var(--adv-letter-spacing-caption);
  color: var(--adv-primary);
  text-transform: uppercase;
  margin-bottom: var(--adv-space-md);
}

.adv-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--adv-space-xxl);
  align-items: center;
  text-align: left;
}

@media (min-width: 1024px) {
  .adv-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.adv-hero-card {
  background: var(--adv-canvas-parchment);
  padding: var(--adv-space-xl);
  border-radius: var(--adv-radius-lg);
}

.adv-hero-card h3 {
  margin-bottom: var(--adv-space-md);
}

.adv-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.adv-hero-card li {
  padding: var(--adv-space-xs) 0;
  border-bottom: 1px solid var(--adv-divider-soft);
}

.adv-hero-card li:last-child {
  border-bottom: none;
}

.adv-cta {
  display: flex;
  gap: var(--adv-space-sm);
  margin-top: var(--adv-space-lg);
  flex-wrap: wrap;
}

/* ===== SECTIONS - Apple Tile System ===== */

.adv-section {
  padding: var(--adv-space-section) 0;
}

.adv-section h2 {
  text-align: center;
  margin-bottom: var(--adv-space-md);
}

.adv-section .lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--adv-space-xxl);
}

/* ===== GRIDS ===== */

.adv-grid-1 { display: grid; grid-template-columns: 1fr; gap: var(--adv-space-lg); }
.adv-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--adv-space-lg); }
.adv-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--adv-space-lg); }
.adv-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--adv-space-lg); }

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

/* ===== CARDS - Apple Utility Card System ===== */

.adv-card {
  background: var(--adv-canvas);
  border: 1px solid var(--adv-hairline);
  border-radius: var(--adv-radius-lg);
  padding: var(--adv-space-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adv-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--adv-shadow-product);
}

.adv-card h3, .adv-card h4 {
  margin-bottom: var(--adv-space-sm);
}

.adv-card p {
  color: var(--adv-ink-muted-80);
  margin-bottom: var(--adv-space-md);
}

.adv-card p:last-child {
  margin-bottom: 0;
}

/* ===== BADGES ===== */

.adv-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: var(--adv-font-size-caption);
  font-weight: var(--adv-font-weight-regular);
  letter-spacing: var(--adv-letter-spacing-caption);
  background: var(--adv-surface-pearl);
  color: var(--adv-ink-muted-80);
  border-radius: var(--adv-radius-md);
  white-space: nowrap;
}

.adv-badge.primary {
  background: var(--adv-gradient-primary);
  color: var(--adv-on-primary);
}

.adv-badge.info {
  background: var(--adv-info-light);
  color: var(--adv-info);
}

.adv-badge.success {
  background: var(--adv-success-light);
  color: var(--adv-success-dark);
}

/* ===== BANNER - Apple CTA Banner ===== */

.adv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adv-space-xl);
  background: var(--adv-canvas-parchment);
  padding: var(--adv-space-xl);
  border-radius: var(--adv-radius-lg);
  flex-wrap: wrap;
}

.adv-banner h3 {
  margin-bottom: var(--adv-space-xs);
}

.adv-banner p {
  color: var(--adv-ink-muted-80);
  margin: 0;
}

/* ===== FOOTER - Apple Dense Footer ===== */

.adv-footer {
  background: var(--adv-canvas-parchment);
  color: var(--adv-ink-muted-80);
  padding: 64px 0 var(--adv-space-xl);
}

.adv-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--adv-space-xl);
  margin-bottom: var(--adv-space-xxl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.adv-footer-brand {
  grid-column: span 1;
}

.adv-footer-contact a {
  font-size: 12px;
  color: var(--adv-ink-muted-80);
  text-decoration: none;
  line-height: 1.5;
}

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

.adv-footer h4 {
  font-size: 14px;
  font-weight: var(--adv-font-weight-semibold);
  margin-bottom: var(--adv-space-md);
  color: var(--adv-ink);
}

.adv-footer a {
  display: block;
  font-size: 12px;
  font-weight: var(--adv-font-weight-regular);
  line-height: 2.2;
  color: var(--adv-ink-muted-80);
  text-decoration: none;
}

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

.adv-footnote {
  border-top: 1px solid var(--adv-divider-soft);
  padding-top: var(--adv-space-lg);
  font-size: 11px;
  color: var(--adv-ink-muted-48);
}

.adv-footnote-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.adv-footnote-copyright {
  font-size: 11px;
  color: var(--adv-ink-muted-48);
}

.adv-footnote-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.adv-footnote-links a {
  display: inline;
  font-size: 11px;
  color: var(--adv-ink-muted-48);
  text-decoration: none;
  line-height: 1;
}

.adv-footnote-links a:hover {
  color: var(--adv-primary);
  text-decoration: underline;
}

.adv-footnote-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: var(--adv-ink-muted-48);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.adv-footnote-link-btn:hover {
  color: var(--adv-primary);
  text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 1023px) {
  .adv-footer-inner {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .adv-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== DARK TILES - Apple Alternating System ===== */

.adv-dark,
[data-theme="dark"] {
  background: var(--adv-surface-tile-1);
  color: var(--adv-on-dark);
}

.adv-dark h1, .adv-dark h2, .adv-dark h3, .adv-dark h4,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 {
  color: var(--adv-on-dark);
}

.adv-dark .lead,
[data-theme="dark"] .lead {
  color: var(--adv-body-muted);
}

.adv-dark a,
[data-theme="dark"] a {
  color: var(--adv-primary-light); /* Use turquoise on dark */
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1068px) {
  .adv-hero h1 {
    font-size: var(--adv-font-size-display-lg);
  }
}

@media (max-width: 640px) {
  .adv-hero h1 {
    font-size: var(--adv-font-size-display-md);
  }
  
  .adv-section {
    padding: var(--adv-space-xxl) 0;
  }
  
  .adv-hero {
    padding: var(--adv-space-xxl) 0;
  }
}

@media (max-width: 419px) {
  .adv-hero h1 {
    font-size: var(--adv-font-size-lead);
  }
}

/* ===== UTILITIES ===== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Focus Visible */
*:focus-visible {
  outline: 2px solid var(--adv-primary-focus);
  outline-offset: 2px;
}

/* Theme Toggle (if JavaScript implements) */
[data-adv-theme-toggle] {
  /* Handled by JavaScript */
}

/* Hero Banner CTA Overlays - Fixed positioning on banners */

/* Desktop/Tablet: Show CTAs at fixed positions */
@media (min-width: 768px) {
  .hero-cta-overlay {
    display: block !important;
  }
}

/* Mobile: Hide CTAs (banners too small) */
@media (max-width: 767px) {
  .hero-cta-overlay {
    display: none !important;
  }
}

/* ========================================
   MEGA MENU - Rich Structure with Descriptions
   ======================================== */

.adv-megamenu .menu-column {
    flex: 1;
    min-width: 200px;
}

.adv-megamenu .menu-column h3 {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--adv-ink-charcoal);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.adv-megamenu .menu-column h3 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    margin: -4px -8px;
}

.adv-megamenu .menu-column h3 a:hover {
    color: #3498db;
    background: #e8f4f8;
    transform: translateX(4px);
    border-left: 3px solid #3498db;
    padding-left: 12px;
}

.products-menu .menu-column h3 a:hover {
    color: #f39c12;
    background: #fef5e7;
    border-left: 3px solid #e67e22;
}

.adv-megamenu .subtitle,
.adv-megamenu .menu-column .subtitle {
    font-size: 0.82em;
    color: #95a5a6;
    margin-bottom: 12px;
    font-weight: normal;
    line-height: 1.3;
    font-style: normal;
}

/* Menu Grid Layouts */
.adv-megamenu .menu-columns,
.adv-megamenu .menu-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 260px));
    gap: 20px;
    margin-bottom: 20px;
}

.adv-megamenu .menu-column {
    min-height: 160px;
}

/* Bottom section (after AI blue section) */
.adv-megamenu .bottom-section {
    display: grid;
    gap: 20px;
}

.adv-megamenu .bottom-column {
    min-width: 0;
    padding: 10px;
    padding-left: 14px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Bottom column hover - includes h3, subtitle, and content */
.adv-megamenu .bottom-column:hover {
    background: #f8f9fa;
    transform: translateX(2px);
    border-left-color: #3498db;
}

.adv-megamenu .bottom-column h3 {
    margin-bottom: 4px;
    transition: all 0.2s ease;
    font-size: 0.9625rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--adv-ink-charcoal);
}

.adv-megamenu .bottom-column h3 a {
    transition: all 0.2s ease;
    display: block;
    padding: 6px 8px;
    margin: -6px -8px 6px -8px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.adv-megamenu .bottom-column:hover h3 a {
    color: #2980b9;
    background: #e8f4f8;
    border-left-color: #3498db;
    padding-left: 12px;
    transform: translateX(2px);
}

.adv-megamenu .bottom-column .subtitle {
    transition: color 0.2s ease;
}

.adv-megamenu .bottom-column:hover .subtitle {
    color: #34495e;
}

/* Animate paragraph text in bottom columns (Pricing menu) */
.adv-megamenu .bottom-column p {
    transition: color 0.2s ease;
}

.adv-megamenu .bottom-column:hover p {
    color: #5a6c7d;
}

.adv-megamenu .overview-link {
    padding: 10px 0;
    margin-bottom: 18px;
    border-bottom: 2px solid #ecf0f1;
}

.adv-megamenu .overview-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: -8px -12px;
}

.adv-megamenu .overview-link a:hover {
    color: #2980b9;
    background: #e8f4f8;
    transform: translateX(6px);
    border-left: 3px solid #3498db;
    padding-left: 16px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}

.products-menu .overview-link a:hover {
    background: #fef5e7;
    border-left: 3px solid #e67e22;
}

.adv-megamenu .section-header {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
    padding-bottom: 0;
    padding-left: 2px;
    color: var(--adv-ink-charcoal);
    border-bottom: none;
}

.adv-megamenu .menu-item {
    padding: 7px 10px;
    color: #243b55;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 5px;
    margin: 3px 0;
}

.adv-megamenu .menu-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.adv-megamenu .menu-item:hover {
    background: #ecf0f1;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.adv-megamenu .menu-item:hover .menu-item-title {
    color: #2c3e50;
}

.adv-megamenu .menu-item:hover .menu-item-desc {
    color: #34495e;
}

/* Section header hover animation (includes subtitle) */
.adv-megamenu .menu-column h3 {
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.adv-megamenu .menu-column h3 a {
    transition: color 0.2s ease;
    display: block;
    padding: 6px 8px;
    margin: -6px -8px 6px;
    border-radius: 6px;
}

/* Platform, Products, and Resources menus: Full column hover effect */
.platform-menu .menu-column,
.products-menu .menu-column,
.resources-menu .menu-column {
    position: relative;
    padding: 12px;
    padding-left: 16px;
    padding-top: 16px;  /* Extra space on top to not touch separator */
    margin: 0 -12px -12px -12px;  /* Negative margins for hover area */
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* For columns in first row (before separator), don't extend downward */
.platform-menu .menu-columns:has(+ .menu-columns) .menu-column,
.products-menu .menu-columns:has(+ .menu-columns) .menu-column,
.resources-menu .menu-columns:has(+ .menu-columns) .menu-column {
    margin-bottom: 0;  /* Don't extend down into separator */
}

/* Add top margin ONLY to columns in rows after the first (rows with separators above them) */
.platform-menu .menu-columns + .menu-columns .menu-column,
.products-menu .menu-columns + .menu-columns .menu-column,
.resources-menu .menu-columns + .menu-columns .menu-column {
    margin-top: 4px;  /* Gap from separator line above */
}

/* Blue accent line using pseudo-element - only appears within content area */
.platform-menu .menu-column::before,
.products-menu .menu-column::before,
.resources-menu .menu-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;  /* Start after padding-top, won't touch separator */
    bottom: 0;
    width: 3px;
    background: transparent;
    border-radius: 3px 0 0 3px;
    transition: background 0.2s ease;
}

.platform-menu .menu-column:hover,
.products-menu .menu-column:hover,
.resources-menu .menu-column:hover {
    background: #f8f9fa;
}

.platform-menu .menu-column:hover::before,
.products-menu .menu-column:hover::before,
.resources-menu .menu-column:hover::before {
    background: #3498db;
}

.adv-megamenu .menu-column:hover h3 a {
    color: #2980b9;
}

.adv-megamenu .menu-column .subtitle {
    transition: color 0.2s ease;
}

.adv-megamenu .menu-column:hover .subtitle {
    color: #34495e;
}

.adv-megamenu .menu-item-title {
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.96em;
    color: #243b55;
    transition: color 0.2s ease;
}

.adv-megamenu .menu-item-desc {
    font-size: 0.82em;
    color: #7f8c8d;
    line-height: 1.4;
    padding-left: 0;
    transition: color 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.adv-megamenu .menu-item-desc br + text,
.adv-megamenu .menu-item-desc br {
    display: block;
    margin-top: 2px;
}

/* Per-menu hover colors */
.adv-nav-item[data-menu="platform"] .menu-item:hover {
    background: #e8f4f8;
    border-left-color: #3498db;
}

.adv-nav-item[data-menu="products"] .menu-item:hover {
    background: #fef5e7;
    border-left-color: #e67e22;
}

.adv-nav-item[data-menu="pricing"] .menu-item:hover {
    background: #f4ecf7;
    border-left-color: #9b59b6;
}

.adv-nav-item[data-menu="solutions"] .menu-item:hover {
    background: #eafaf1;
    border-left-color: #27ae60;
}

.adv-nav-item[data-menu="resources"] .menu-item:hover {
    background: #e8f8f5;
    border-left-color: #16a085;
}

.adv-nav-item[data-menu="elevate"] .menu-item:hover {
    background: #fef5f5;
    border-left-color: #e74c3c;
}


/* ========================================
   PER-MENU THEMED HOVER STATES
   ======================================== */

/* Platform Menu - Blue Theme */
.platform-menu {
    border-top: 4px solid #3498db;
}

.platform-menu .menu-column h3 {
    color: #2980b9;
}

.platform-menu .menu-item:hover {
    background: #e8f4f8;
    border-left: 3px solid #3498db;
}

/* Products Menu - Orange Theme */
.products-menu {
    border-top: 4px solid #e67e22;
}

.products-menu .menu-column h3 {
    color: #e67e22;
}

.products-menu .menu-item:hover {
    background: #fef5e7;
    border-left: 3px solid #e67e22;
}

/* Pricing Menu - Purple Theme */
.pricing-menu {
    border-top: 4px solid #9b59b6;
}

.pricing-menu .menu-column h3 {
    color: #8e44ad;
}

.pricing-menu .menu-item:hover {
    background: #f4ecf7;
    border-left: 3px solid #9b59b6;
}

/* Solutions Menu - Green Theme */
.solutions-menu {
    border-top: 4px solid #27ae60;
}

.solutions-menu .menu-column h3 {
    color: #229954;
}

.solutions-menu .menu-item:hover {
    background: #e8f8f5;
    border-left: 3px solid #27ae60;
}

/* Resources Menu - Teal Theme */
.resources-menu {
    border-top: 4px solid #16a085;
}

.resources-menu .menu-column h3 {
    color: #138d75;
}

.resources-menu .menu-item:hover {
    background: #e8f8f5;
    border-left: 3px solid #16a085;
}

/* Elevate Menu - Red Theme */
.elevate-menu {
    border-top: 4px solid #e74c3c;
}

.elevate-menu .menu-column h3 {
    color: #c0392b;
}

.elevate-menu .section-header {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    padding-left: 2px;
    border-bottom: 2px solid #fadbd8;
}

.elevate-menu .menu-item:hover {
    background: #fef5f5;
    border-left: 3px solid #e74c3c;
}

.elevate-menu .menu-columns {
    margin-bottom: 3px;
}

.elevate-menu .menu-column {
    min-height: 0;
}

.solutions-menu .menu-columns {
    margin-bottom: 3px;
}

.solutions-menu .menu-column {
    min-height: 0;
}

.solutions-menu .section-header {
    font-size: 0.95em;
    font-weight: 600;
    color: #27ae60;
    margin-top: 20px;
    margin-bottom: 8px;
    padding-left: 2px;
    border-bottom: none;
}

.resources-menu .menu-columns {
    margin-bottom: 3px;
}

.resources-menu .menu-column {
    min-height: 0;
}

.pricing-menu .menu-columns {
    margin-bottom: 3px;
    gap: 20px;
}

.pricing-menu .menu-column {
    margin-bottom: 0;
    min-height: 0;
}

.pricing-menu .menu-item {
    padding: 5px 10px;
    margin: 0;
}

.pricing-menu .menu-item-title {
    margin-bottom: 3px;
    font-size: 0.95em;
}

.pricing-menu .menu-item-desc {
    line-height: 1.4;
    font-size: 0.82em;
}

.pricing-menu .section-header {
    font-size: 1.1em;
    font-weight: 600;
    color: #8e44ad;
    margin-top: 20px;
    margin-bottom: 8px;
    padding-left: 2px;
    border-bottom: none;
}

.pricing-menu .pricing-resource-card-link h3 {
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}

/* Shared content-page CTA fallback for older generated pages that do not load advanze-content-pages.css. */
.ap-related-links,
.ap-cta-actions {
    display: grid;
    gap: 12px;
    margin-left: auto;
    min-width: 320px;
    width: min(100%, 360px);
}

.ap-visual {
    overflow: hidden;
    position: relative;
}

.ap-visual img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.ap-related-links a,
.ap-cta-actions .adv-btn {
    align-items: center;
    border-radius: 999px;
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 18px;
    text-decoration: none;
}

.ap-cta-actions .adv-btn {
    justify-content: center;
}

.ap-related-links .ap-pricing-orange-btn,
.ap-related-links .ap-pricing-orange-btn:hover,
.ap-related-links .ap-pricing-orange-btn:focus-visible,
.ap-cta-actions .ap-pricing-orange-btn,
.ap-cta-actions .ap-pricing-orange-btn:hover,
.ap-cta-actions .ap-pricing-orange-btn:focus-visible {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 52%, #ffb86b 100%) !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.28);
    color: #ffffff !important;
}

@media (max-width: 980px) {
    .ap-related-links,
    .ap-cta-actions {
        margin-left: 0;
        min-width: 0;
        width: 100%;
    }
}
