/* Nalore 2026 visual system
   A shared presentation layer for every public page. It intentionally preserves
   page copy, metadata and existing application behaviour. */

:root {
  --nalore-night: #031128;
  --nalore-navy: #071d43;
  --nalore-royal: #075ee8;
  --nalore-blue: #0b83ff;
  --nalore-cyan: #31d4f5;
  --nalore-mint: #55e6c1;
  --nalore-ink: #0b1d38;
  --nalore-copy: #435a76;
  --nalore-line: rgba(10, 54, 106, .13);
  --nalore-cloud: #f3f7fc;
  --nalore-white: #fff;
  --nalore-radius-sm: 14px;
  --nalore-radius: 22px;
  --nalore-radius-lg: 34px;
  --nalore-shadow: 0 22px 70px rgba(2, 24, 61, .12);
  --nalore-shadow-hover: 0 30px 90px rgba(2, 24, 61, .18);
}

html { scroll-padding-top: 112px; }

body {
  color: var(--nalore-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(49, 212, 245, .06), transparent 22rem),
    radial-gradient(circle at 94% 22%, rgba(11, 131, 255, .055), transparent 26rem),
    #fff;
  font-family: "Avenir Next", "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

::selection { background: rgba(11, 131, 255, .22); color: var(--nalore-night); }

.wrap { width: min(1240px, calc(100% - 64px)); }

.topbar {
  position: relative;
  z-index: 101;
  padding: 7px 24px;
  background: linear-gradient(90deg, var(--nalore-night), #0b2f68 52%, var(--nalore-night));
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: rgba(238, 248, 255, .82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(6, 46, 98, .08);
  box-shadow: 0 8px 30px rgba(4, 25, 57, .035);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}

body.has-scrolled header {
  background: rgba(255,255,255,.95);
  box-shadow: 0 14px 40px rgba(4, 25, 57, .09);
}

.nav { height: 88px; gap: 24px; }

.brand {
  position: relative;
  flex: 0 0 auto;
  gap: 0;
  isolation: isolate;
}

.brand img,
footer .brand img {
  width: 156px;
  height: 74px;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 79, 188, .08));
}

.brand span { display: none; }

.menu {
  margin-left: auto;
  gap: clamp(14px, 1.45vw, 25px);
  font-size: 13px;
  font-weight: 750;
}

.menu > a:not(.button) {
  position: relative;
  padding: 14px 0;
  color: #18304e;
  transition: color .22s ease;
}

.menu > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nalore-blue), var(--nalore-cyan));
  transition: right .25s ease;
}

.menu > a:not(.button):hover::after,
.menu > a[aria-current="page"]::after { right: 0; }

.button {
  position: relative;
  min-height: 48px;
  padding: 13px 22px;
  overflow: hidden;
  border: 1px solid rgba(9, 112, 239, .45);
  border-radius: 999px;
  background: linear-gradient(135deg, #087af2, #075bd9);
  box-shadow: 0 12px 28px rgba(7, 105, 226, .2);
  color: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform .7s ease;
}

.button:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 212, 245, .8);
  box-shadow: 0 18px 38px rgba(7, 105, 226, .28);
}

.button:hover::before { transform: translateX(130%); }

.button.secondary {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

section { position: relative; padding: 104px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nalore-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  box-shadow: 12px 0 0 -0.2px currentColor;
}

h1, h2, h3, .hero h1, .page-hero h1 {
  font-family: "Avenir Next", "Segoe UI", Inter, Arial, sans-serif;
  text-wrap: balance;
}

.hero,
.page-hero,
.campaign-hero,
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--nalore-night);
}

.hero::before,
.page-hero::before,
.campaign-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  right: -10rem;
  top: -17rem;
  border-radius: 50%;
  border: 1px solid rgba(126, 220, 255, .18);
  background:
    radial-gradient(circle at 35% 35%, rgba(64, 210, 255, .42), rgba(14, 111, 239, .16) 34%, rgba(2, 15, 39, 0) 68%);
  box-shadow:
    0 0 0 76px rgba(45, 169, 255, .035),
    0 0 0 150px rgba(45, 169, 255, .022);
  animation: nalore-float 12s ease-in-out infinite;
}

.hero::after,
.page-hero::after,
.campaign-hero::after,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(100deg, transparent 4%, #000 55%, transparent 100%);
  mask-image: linear-gradient(100deg, transparent 4%, #000 55%, transparent 100%);
}

.hero {
  min-height: min(760px, calc(100vh - 119px));
  background:
    linear-gradient(90deg, rgba(3,17,40,.97) 0%, rgba(3,17,40,.89) 48%, rgba(3,17,40,.44) 100%),
    url("assets/hero.jpg?v=2") center/cover;
}

.hero-content { position: relative; z-index: 1; max-width: 825px; padding: 116px 0; }
.hero h1 { font-size: clamp(48px, 6.2vw, 82px); line-height: 1.01; letter-spacing: -.057em; }
.hero p { max-width: 670px; color: rgba(226, 240, 251, .82); }

.page-hero,
.campaign-hero,
.contact-hero {
  background:
    radial-gradient(circle at 78% 15%, rgba(32, 184, 255, .22), transparent 28rem),
    linear-gradient(125deg, #031128 0%, #08285a 60%, #073d81 125%);
}

.page-hero { padding: 118px 0 106px; }
.page-hero h1 { max-width: 940px; font-size: clamp(48px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -.052em; }
.page-hero p { max-width: 760px; color: rgba(222,238,250,.78); }

.intro h2,
.section-head h2,
.simple-intro h2,
.pricing-intro h2,
.demo-showcase-head h2,
.faq-layout h2,
.support-layout h2,
.ideal-grid h2 {
  color: var(--nalore-ink);
  font-size: clamp(35px, 4.4vw, 58px);
  line-height: 1.07;
  letter-spacing: -.045em;
}

.section-head p,
.intro p,
.simple-intro p,
.pricing-intro p { color: var(--nalore-copy); }

/* Preserve strong contrast inside the original dark pricing component. */
.pricing-preview.simple-pricing,
.pricing-preview {
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(49,212,245,.17), transparent 27rem),
    linear-gradient(145deg, #020f27 0%, #061b3e 56%, #082b5c 100%);
}

.pricing-preview .price-card:not(.featured-price) {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.16);
}

.pricing-preview .price-card:not(.featured-price) h3,
.pricing-preview .price-card:not(.featured-price) .tier-price { color: #fff; }
.pricing-preview .price-card:not(.featured-price) .tier-benefit { color: #bed1e3; }
.pricing-preview .price-card:not(.featured-price) li { color: #e1edf7; }

/* Contact cards use a light glass surface, so their details must stay dark. */
.contact-hero .contact-quick a {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.76);
  box-shadow: 0 18px 50px rgba(1,15,39,.16);
}
.contact-hero .contact-quick strong { color: var(--nalore-ink); }
.contact-hero .contact-quick span { color: #087fd8; }

.card,
.benefit-card,
.problem-card,
.price-card,
.questionnaire-card,
.faq-list details,
.stat,
.form,
.question-box,
.contact-quick,
.assessment-card,
.support-list {
  border: 1px solid var(--nalore-line);
  border-radius: var(--nalore-radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 45px rgba(3, 25, 60, .065);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card,
.benefit-card,
.problem-card,
.price-card,
.questionnaire-card {
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.card:hover,
.benefit-card:hover,
.problem-card:hover,
.price-card:hover,
.questionnaire-card:hover {
  transform: translateY(-7px) perspective(900px) rotateX(.5deg);
  border-color: rgba(11,131,255,.28);
  box-shadow: var(--nalore-shadow-hover);
}

.card img { height: 245px; }
.card-body { padding: 31px; }
.card h3 { color: var(--nalore-ink); font-size: 24px; letter-spacing: -.025em; }
.text-link { color: #086be0; }

.simple-services,
.services,
.faq-section,
.pricing-preview,
.process-section,
.simple-pricing {
  background:
    radial-gradient(circle at 90% 20%, rgba(49,212,245,.09), transparent 23rem),
    linear-gradient(180deg, #f6f9fd, #edf4fb);
}

/* Pricing is intentionally the one dark comparison section. Keep these
   scoped rules after the shared light-section and card styles. */
section.pricing-preview.simple-pricing {
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(49,212,245,.17), transparent 27rem),
    linear-gradient(145deg, #020f27 0%, #061b3e 56%, #082b5c 100%);
}
section.pricing-preview .pricing-intro h2,
section.pricing-preview .pricing-intro > p,
section.pricing-preview .simple-pricing-footer p { color: #fff; }
section.pricing-preview .price-card:not(.featured-price) {
  color: #fff;
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.16);
}
section.pricing-preview .price-card:not(.featured-price) h3,
section.pricing-preview .price-card:not(.featured-price) .tier-price { color: #fff; }
section.pricing-preview .price-card:not(.featured-price) .tier-benefit { color: #bed1e3; }
section.pricing-preview .price-card:not(.featured-price) li { color: #e1edf7; }

.simple-intro-grid,
.content-grid,
.contact-layout,
.support-layout,
.ideal-grid { gap: clamp(42px, 7vw, 90px); }

.step {
  border: 1px solid var(--nalore-line);
  border-top: 3px solid var(--nalore-blue);
  border-radius: 0 0 var(--nalore-radius-sm) var(--nalore-radius-sm);
  background: rgba(255,255,255,.82);
}

.cta,
.simple-final-cta .cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--nalore-radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(49,212,245,.28), transparent 17rem),
    linear-gradient(125deg, #031128, #0a2c63 72%, #075ee8 135%);
  box-shadow: 0 30px 80px rgba(2, 21, 50, .2);
}

.cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -150px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.content-grid img,
.simple-work-image,
.featured-case,
.demo-frame-shell {
  border: 1px solid rgba(12, 84, 154, .15);
  border-radius: var(--nalore-radius-lg);
  box-shadow: var(--nalore-shadow);
}

.demo-showcase {
  background:
    radial-gradient(circle at 10% 10%, rgba(28,153,255,.2), transparent 26rem),
    radial-gradient(circle at 90% 80%, rgba(49,212,245,.12), transparent 24rem),
    var(--nalore-night);
}

/* Keep the demonstration introduction readable on its dark surface. */
.demo-showcase .demo-showcase-head h2 {
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.demo-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(#000, transparent 92%);
  mask-image: linear-gradient(#000, transparent 92%);
}

.demo-switch { border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.demo-switch:hover { transform: translateY(-2px); }

.form input,
.form select,
.form textarea,
input,
select,
textarea {
  border-radius: 12px;
  border-color: rgba(15, 68, 126, .18);
  background: rgba(255,255,255,.9);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--nalore-blue);
  box-shadow: 0 0 0 4px rgba(11,131,255,.12);
  background: #fff;
}

footer,
.compact-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 28px;
  background:
    radial-gradient(circle at 6% 0%, rgba(20, 146, 255, .18), transparent 25rem),
    linear-gradient(135deg, #020c1d, #041b3f 68%, #08285a);
  border-top: 1px solid rgba(255,255,255,.08);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

footer .wrap { position: relative; z-index: 1; }
footer .brand img { width: 174px; height: 88px; filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0,0,0,.14)); opacity: .96; }
footer h4 { color: #fff; letter-spacing: .03em; }
footer a { color: rgba(221,237,249,.78); transition: color .2s ease, transform .2s ease; }
footer a:hover { color: #fff; transform: translateX(2px); }
.legal { border-color: rgba(255,255,255,.1); color: rgba(215,233,247,.58); }

.whatsapp-float {
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255,255,255,.6);
  background: linear-gradient(135deg, #29dc76, #16b75a);
  color: #042414 !important;
  box-shadow: 0 16px 38px rgba(5, 96, 47, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 44px rgba(5,96,47,.36); }

/* Progressive scroll motion. Content stays visible when JavaScript is absent. */
.modern-motion .nalore-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}

.modern-motion .nalore-reveal.is-visible { opacity: 1; transform: translateY(0); }
.modern-motion .nalore-reveal:nth-child(2) { transition-delay: .07s; }
.modern-motion .nalore-reveal:nth-child(3) { transition-delay: .14s; }
.modern-motion .nalore-reveal:nth-child(4) { transition-delay: .21s; }

@keyframes nalore-float {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(-18px,24px,0) rotate(3deg); }
}

@media (max-width: 1080px) {
  .wrap { width: min(100% - 42px, 1240px); }
  .menu { gap: 13px; font-size: 12px; }
  .menu .button { padding-inline: 16px; }
  .brand img { width: 132px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .topbar { padding: 6px 16px; font-size: 9px; }
  .nav { height: 78px; }
  .brand img { width: 132px; height: 66px; }
  .mobile-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--nalore-line);
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    color: var(--nalore-ink);
    font-size: 22px;
  }
  .menu {
    top: 88px;
    left: 20px;
    right: 20px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 18px;
    gap: 2px;
    border: 1px solid var(--nalore-line);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(3,25,60,.2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .menu > a:not(.button) { width: 100%; padding: 12px 10px; border-radius: 10px; }
  .menu > a:not(.button):hover { background: #f1f6fc; }
  .menu > a:not(.button)::after { display: none; }
  .menu .button { width: 100%; margin-top: 8px; }
  section { padding: 82px 0; }
  .hero { min-height: 650px; }
  .hero-content { padding: 92px 0; }
  .hero h1 { font-size: clamp(44px, 10vw, 64px); }
  .page-hero { padding: 88px 0 80px; }
  .footer-grid { gap: 36px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .topbar { letter-spacing: .08em; }
  .nav { height: 72px; }
  .brand img { width: 116px; height: 58px; }
  .hero { min-height: auto; }
  .hero-content { padding: 76px 0 82px; }
  .hero h1, .page-hero h1 { font-size: 42px; line-height: 1.04; }
  .hero p, .page-hero p { font-size: 17px; }
  .hero::before, .page-hero::before, .campaign-hero::before, .contact-hero::before {
    width: 24rem;
    height: 24rem;
    right: -12rem;
    top: -9rem;
    box-shadow: 0 0 0 45px rgba(45,169,255,.03), 0 0 0 88px rgba(45,169,255,.018);
  }
  section { padding: 68px 0; }
  .intro h2, .section-head h2, .simple-intro h2, .pricing-intro h2, .demo-showcase-head h2, .faq-layout h2 { font-size: 36px; }
  .card-body { padding: 24px; }
  .cta { padding: 32px 24px; border-radius: 24px; }
  footer, .compact-footer { padding-top: 58px; }
  footer .brand img { width: 148px; height: 76px; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: .66rem .9rem; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .modern-motion .nalore-reveal { opacity: 1; transform: none; }
}

/* September 2026 refinement: consistent, accessible presentation across public pages. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--nalore-cyan);
  outline-offset: 4px;
}

main { overflow: clip; }

main > section:not(.hero):not(.page-hero):not(.campaign-hero):not(.contact-hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1160px, calc(100% - 64px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(9, 91, 198, .12), transparent);
}

.page-hero .wrap,
.contact-hero .wrap { position: relative; z-index: 1; }

.page-hero p,
.contact-hero p { max-width: 720px; }

.content-grid > :where(div, article, aside),
.footer-grid > * { min-width: 0; }

.card,
.question-box,
.price-card,
.questionnaire-card {
  border-color: rgba(10, 54, 106, .12);
  box-shadow: 0 18px 55px rgba(3, 24, 58, .075);
}

.card,
.question-box,
.price-card,
.questionnaire-card,
.solution-path { isolation: isolate; }

.card:hover,
.question-box:hover,
.price-card:hover,
.questionnaire-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 131, 255, .28);
  box-shadow: 0 26px 70px rgba(3, 24, 58, .12);
}

.card,
.question-box,
.price-card,
.questionnaire-card {
  transition: transform .35s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease, border-color .35s ease;
}

footer .brand img { opacity: .96; }

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .topbar { display: none; }
  .nav { height: 76px; }
  .brand img { width: 126px; height: 58px; }
  .menu {
    top: calc(100% + 10px);
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  section { padding-block: 78px; }
  .hero-content { padding-block: 88px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, 1240px); }
  section { padding-block: 64px; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 72px; }
  .hero h1,
  .page-hero h1,
  .contact-hero h1 { font-size: clamp(40px, 12vw, 55px); line-height: 1.02; }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .cta { padding: 30px 24px; border-radius: 22px; }
  main > section:not(.hero):not(.page-hero):not(.campaign-hero):not(.contact-hero)::before {
    width: calc(100% - 32px);
  }
  .whatsapp-float { right: 14px; bottom: 14px; }
}

@media (hover: none) {
  .card:hover,
  .question-box:hover,
  .price-card:hover,
  .questionnaire-card:hover,
  .solution-path:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Modern solution pathways: an editorial, dimensional alternative to equal cards. */
section.solution-pathways {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(37,189,244,.13), transparent 25rem),
    radial-gradient(circle at 92% 78%, rgba(155,124,255,.11), transparent 27rem),
    linear-gradient(145deg, #f8fbff 0%, #eef5fc 52%, #f9fbff 100%);
}

section.solution-pathways::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(8,69,133,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,69,133,.08) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.solution-pathways-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, .65fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
  margin-bottom: clamp(42px, 5vw, 68px);
}

.solution-pathways-head h2 {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--nalore-ink);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: .99;
  letter-spacing: -.055em;
}

.solution-pathways-head > p {
  margin: 0 0 4px;
  color: var(--nalore-copy);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.solution-pathways-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(255px, auto));
  gap: 22px;
  perspective: 1400px;
}

.solution-path {
  grid-column: 8 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .86fr) minmax(0, 1.14fr);
  min-height: 292px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 98% 2%, rgba(var(--path-glow),.18), transparent 45%),
    linear-gradient(145deg, #071a3a 0%, #092650 100%);
  box-shadow: 0 26px 75px rgba(5,27,61,.16);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.75,.2,1), box-shadow .55s ease, border-color .55s ease;
}

.solution-path::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -105px;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(var(--path-glow),.16);
  filter: blur(12px);
  pointer-events: none;
}

.solution-path-featured {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.solution-path:hover {
  z-index: 2;
  transform: translateY(-8px) rotateX(1.1deg) rotateY(-1.1deg);
  border-color: rgba(var(--path-glow),.5);
  box-shadow: 0 38px 95px rgba(5,27,61,.24), 0 0 0 1px rgba(var(--path-glow),.08);
}

.solution-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #07162e;
}

.solution-path-featured .solution-visual { min-height: 350px; }

.solution-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.2) 47%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.solution-path:hover .solution-visual::after { transform: translateX(120%); }

.solution-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .6s ease;
}

.solution-path:hover .solution-visual img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.solution-browser-bar {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(4,16,38,.58);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.solution-browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.56);
}

.solution-browser-bar i:first-child { background: var(--path-accent); }

.solution-number {
  position: absolute;
  right: 18px;
  top: 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

.solution-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(27px, 3.2vw, 44px);
}

.solution-path-featured .solution-copy { flex: 1; }

.solution-kicker {
  color: var(--path-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.solution-copy h3 {
  max-width: 560px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(25px, 2.6vw, 39px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.solution-path:not(.solution-path-featured) .solution-copy h3 { font-size: clamp(23px, 2vw, 31px); }

.solution-copy p {
  margin: 0 0 22px;
  color: #c8d9e9;
  line-height: 1.65;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  color: #fff;
  font-weight: 850;
}

.solution-link b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #071a3a;
  background: var(--path-accent);
  transition: transform .35s ease;
}

.solution-link:hover b { transform: translate(3px,-3px) rotate(5deg); }

@media (max-width: 1050px) {
  .solution-pathways-grid { grid-template-rows: none; }
  .solution-path,
  .solution-path-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(260px,.9fr) minmax(0,1.1fr);
    min-height: 310px;
  }
  .solution-path-featured .solution-visual { min-height: 310px; }
}

@media (max-width: 720px) {
  .solution-pathways-head { grid-template-columns: 1fr; gap: 24px; }
  .solution-pathways-head h2 { font-size: clamp(39px, 12vw, 55px); }
  .solution-path,
  .solution-path-featured {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 22px;
  }
  .solution-visual,
  .solution-path-featured .solution-visual { min-height: 225px; height: 225px; }
  .solution-copy { min-height: 310px; padding: 28px 25px 26px; }
  .solution-copy h3,
  .solution-path:not(.solution-path-featured) .solution-copy h3 { font-size: 29px; }
  .solution-path:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .solution-path,
  .solution-visual img,
  .solution-visual::after,
  .solution-link b { transition: none; }
  .solution-path:hover { transform: none; }
  .solution-path:hover .solution-visual img { transform: none; }
}
