/* V83 premium experience layer: cleaner navigation, richer product browsing, no bottom overlay bar. */
:root {
  --lux-ink: #061735;
  --lux-muted: #56657b;
  --lux-line: rgba(6, 23, 53, 0.12);
  --lux-panel: rgba(255, 255, 255, 0.82);
  --lux-paper: #f6f3ec;
  --lux-blue: #1267f3;
  --lux-cyan: #31d7ff;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #f9f7f1 0%, #f3f0e8 42%, #fbfaf6 100%);
  color: var(--lux-ink);
  letter-spacing: 0;
}

.site-header {
  border-bottom: 1px solid rgba(6, 23, 53, 0.08);
  background: rgba(248, 246, 240, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1380px;
}

.nav-links a,
.mobile-menu a {
  position: relative;
}

.nav-links a::after,
.mobile-menu a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--lux-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.mobile-menu a:hover::after,
.mobile-menu a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.premium-progress {
  position: fixed;
  z-index: 140;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--lux-blue), var(--lux-cyan));
  pointer-events: none;
}

.page-hero,
.home-hero,
.guide-hero,
.article-header {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 236, 0.78));
}

.hero-copy h1,
.page-hero h1,
.guide-hero h1,
.article-header h1 {
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead,
.page-lead,
.article-deck,
.guide-hero .page-lead,
.section-heading p,
.content-heading p {
  color: var(--lux-muted);
}

.button,
.product-card,
.solution-card,
.capability-card,
.project-card,
.insight-card,
.value-card,
.use-case,
.faq-item,
.selection-section,
.detail-section {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.product-card,
.solution-card,
.capability-card,
.project-card,
.insight-card,
.value-card,
.use-case,
.faq-item {
  border: 1px solid rgba(6, 23, 53, 0.10);
  box-shadow: 0 18px 44px rgba(6, 23, 53, 0.06);
  background: rgba(255, 255, 255, 0.88);
}

.product-card:hover,
.solution-card:hover,
.capability-card:hover,
.project-card:hover,
.insight-card:hover {
  border-color: rgba(18, 103, 243, 0.25);
  box-shadow: 0 28px 72px rgba(6, 23, 53, 0.13);
  transform: translateY(-5px);
}

.product-card-image,
.solution-card-image,
.capability-card-image,
.project-photo,
.guide-hero-visual,
.product-hero-visual,
.article-visual {
  overflow: hidden;
}

.product-card-image img,
.solution-card-image img,
.capability-card-image img,
.project-photo img,
.guide-hero-visual img,
.product-hero-visual img,
.article-visual img {
  transform: scale(1.001);
  transition: transform 650ms ease, filter 650ms ease;
}

.product-card:hover img,
.solution-card:hover img,
.capability-card:hover img,
.project-card:hover img,
.guide-hero-visual:hover img,
.product-hero-visual:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.jump-nav {
  position: sticky;
  z-index: 80;
  top: 78px;
  border-block: 1px solid rgba(6, 23, 53, 0.08);
  background: rgba(248, 246, 240, 0.9);
  backdrop-filter: blur(16px);
}

.jump-nav-inner {
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.jump-nav a,
.mobile-page-helper a {
  border: 1px solid rgba(18, 103, 243, 0.18);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.jump-nav a:hover,
.jump-nav a:focus-visible,
.mobile-page-helper a:hover,
.mobile-page-helper a:focus-visible {
  border-color: rgba(18, 103, 243, 0.42);
  background: rgba(18, 103, 243, 0.1);
  transform: translateY(-1px);
}

.detail-section,
.selection-section {
  border-color: rgba(6, 23, 53, 0.10);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 242, 0.84));
}

.detail-index,
.selection-index,
.eyebrow {
  letter-spacing: 0.12em;
}

.category-product-photo {
  background: #f8f6ef;
  box-shadow: 0 16px 44px rgba(6, 23, 53, 0.08);
}

.guide-hero-visual figcaption,
.product-hero-visual figcaption,
.article-visual figcaption,
.project-photo span {
  backdrop-filter: blur(10px);
}

.ai-launcher {
  z-index: 120;
}

.mobile-action-bar {
  display: none !important;
}

.premium-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.premium-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

.premium-reveal:nth-child(2n) {
  transition-delay: 60ms;
}

.premium-reveal:nth-child(3n) {
  transition-delay: 120ms;
}

@media (width >= 980px) {
  .product-card-grid,
  .solution-grid,
  .project-grid,
  .insight-grid,
  .capability-grid {
    gap: clamp(22px, 2.2vw, 34px);
  }

  .page-hero-inner,
  .hero-copy,
  .article-header,
  .guide-hero-copy {
    padding-top: clamp(72px, 7vw, 124px);
    padding-bottom: clamp(72px, 7vw, 124px);
  }

  .product-card-image,
  .solution-card-image,
  .capability-card-image,
  .project-photo {
    min-height: 220px;
  }
}

@media (width <= 760px) {
  body {
    background: linear-gradient(180deg, #fbfaf6 0%, #f4f1ea 100%);
  }

  .premium-progress {
    height: 2px;
  }

  .site-header {
    background: rgba(250, 248, 242, 0.94);
  }

  .mobile-menu nav {
    border: 1px solid rgba(6, 23, 53, 0.10);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(6, 23, 53, 0.18);
  }

  .hero-copy h1,
  .page-hero h1,
  .guide-hero h1,
  .article-header h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
    line-height: 1.04;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .mobile-page-helper {
    margin-top: 14px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.92);
  }

  .mobile-page-helper summary {
    min-height: 48px;
  }

  .mobile-page-helper nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .mobile-page-helper a {
    flex: 0 0 min(78vw, 310px);
    scroll-snap-align: start;
  }

  .product-card,
  .solution-card,
  .capability-card,
  .project-card,
  .insight-card {
    box-shadow: 0 14px 36px rgba(6, 23, 53, 0.08);
  }

  .product-card:hover,
  .solution-card:hover,
  .capability-card:hover,
  .project-card:hover,
  .insight-card:hover {
    transform: none;
  }

  .product-card-image,
  .solution-card-image,
  .capability-card-image,
  .project-photo {
    min-height: 185px;
  }

  .category-product-photo {
    max-height: 250px;
  }

  .selection-checks article strong,
  .detail-checks article strong {
    display: block;
    margin-bottom: 6px;
  }

  .ai-launcher {
    bottom: 8px !important;
    right: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .premium-reveal {
    opacity: 1;
    transform: none;
  }
}
