/* ==========================================================================
   AVENIQ SOLUTIONS — COMPONENT LIBRARY
   1 Preloader · 2 Navbar · 3 Hero · 4 Marquee · 5 Cards & tiles ·
   6 Services · 7 Bento · 8 Products · 9 Portfolio · 10 Process ·
   11 Tech · 12 CTA · 13 Page hero · 14 About · 15 Contact & forms ·
   16 Modals · 17 Footer · 18 Misc
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PRELOADER (light theme, separate "A" symbol)
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(142, 36, 170, 0.08) 0%, transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(30, 136, 229, 0.08) 0%, transparent 70%),
    var(--white);
  transition: opacity 0.55s var(--ease-soft), visibility 0.55s;
}
#preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}
.loader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 1.6s cubic-bezier(0.6, 0.15, 0.35, 0.85) infinite;
}
.loader__ring circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.loader__ring .track { stroke: rgba(106, 27, 154, 0.1); }
.loader__ring .arc {
  stroke: url(#loaderGrad);
  stroke-dasharray: 120 400;
  filter: drop-shadow(0 0 6px rgba(142, 36, 170, 0.35));
}
.loader__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(142, 36, 170, 0.25);
  animation: pulse-ring 2s ease-out infinite;
}
.loader__icon {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(106, 27, 154, 0.28));
  animation: float-y-sm 2.2s ease-in-out infinite;
}
.loader__text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.loader__bar {
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.loader__bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-brand-x);
  animation: loader-slide 1.1s var(--ease-soft) infinite;
}
@keyframes loader-slide {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* --------------------------------------------------------------------------
   2. NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 232, 240, 0.6);
  transition: background-color var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(230, 232, 240, 0.95);
  box-shadow: 0 8px 30px rgba(16, 21, 47, 0.06);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
}
.navbar__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--t-normal) var(--ease-out);
}
.navbar__brand:hover .navbar__logo { transform: translateY(-1px); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(247, 247, 251, 0.7);
  border: 1px solid rgba(230, 232, 240, 0.8);
}
.nav-link {
  position: relative;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-link:hover { color: var(--text-dark); background: rgba(255, 255, 255, 0.9); }
.nav-link.is-active {
  color: var(--primary-purple);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
}

.navbar__actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.hamburger:hover { background: var(--purple-50); border-color: rgba(106,27,154,0.25); }
.hamburger__lines { width: 20px; height: 14px; position: relative; }
.hamburger__lines span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-normal) var(--ease-out), opacity var(--t-fast), top var(--t-normal) var(--ease-out);
}
.hamburger__lines span:nth-child(1) { top: 0; }
.hamburger__lines span:nth-child(2) { top: 6px; }
.hamburger__lines span:nth-child(3) { top: 12px; }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .hamburger__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu (drops from header) */
.mobile-overlay {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(16, 21, 47, 0.35);
  backdrop-filter: blur(3px);
  z-index: 9980;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-normal), visibility var(--t-normal);
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 9985;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 12px 24px 24px;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-soft), visibility 0.35s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-subtle);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), color var(--t-fast);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.mobile-menu.is-open .mobile-link { transform: none; opacity: 1; }
.mobile-link svg { width: 18px; height: 18px; color: var(--text-muted); }
.mobile-link.is-active { color: var(--primary-purple); }
.mobile-link.is-active svg { color: var(--primary-purple); }
.mobile-menu__cta { margin-top: 18px; }

/* --------------------------------------------------------------------------
   3. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 104px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F8FD 60%, var(--light-background) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16, 21, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 21, 47, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  animation: blob-drift 18s ease-in-out infinite;
}
.hero__blob--1 { width: 560px; height: 560px; top: -180px; right: -80px; background: radial-gradient(circle, rgba(142,36,170,0.26), rgba(142,36,170,0) 70%); }
.hero__blob--2 { width: 480px; height: 480px; bottom: -200px; right: 30%; background: radial-gradient(circle, rgba(30,136,229,0.2), rgba(30,136,229,0) 70%); animation-delay: -6s; animation-duration: 22s; }
.hero__blob--3 { width: 380px; height: 380px; top: 10%; left: -160px; background: radial-gradient(circle, rgba(18,181,165,0.16), rgba(18,181,165,0) 70%); animation-delay: -12s; animation-duration: 26s; }
#heroParticles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__content { max-width: 620px; }
.hero__content > * { opacity: 0; transform: translateY(20px); }
.is-loaded .hero__content > * {
  animation: fade-up 0.9s var(--ease-out) forwards;
}
.is-loaded .hero__content > :nth-child(1) { animation-delay: 0.05s; }
.is-loaded .hero__content > :nth-child(2) { animation-delay: 0.15s; }
.is-loaded .hero__content > :nth-child(3) { animation-delay: 0.28s; }
.is-loaded .hero__content > :nth-child(4) { animation-delay: 0.4s; }
.is-loaded .hero__content > :nth-child(5) { animation-delay: 0.52s; }

.hero__title { font-size: var(--fs-display); margin-bottom: 22px; }
.hero__title .gradient-text { padding-right: 0.05em; }
.hero__lead {
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-gray);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
}
.hero__point svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* Hero visual composition ------------------------------------------------- */
.hero__visual {
  position: relative;
  min-height: 480px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}
.is-loaded .hero__visual {
  animation: hv-in 1.1s var(--ease-out) 0.25s forwards;
}
@keyframes hv-in { to { opacity: 1; transform: none; } }

.hv {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 0.95;
  margin-inline: auto;
}

.hv__orbit {
  position: absolute;
  left: 50%; top: 50%;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(106, 27, 154, 0.22);
  translate: -50% -50%;
  animation: spin 60s linear infinite;
}
.hv__orbit::after {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad-brand-x);
  box-shadow: 0 0 0 5px rgba(142,36,170,0.16), 0 0 18px rgba(142,36,170,0.5);
}
.hv__orbit--2 { width: 84%; border-color: rgba(30,136,229,0.22); animation: spin-rev 44s linear infinite; }
.hv__orbit--2::after { background: var(--grad-blue); box-shadow: 0 0 0 5px rgba(30,136,229,0.16), 0 0 18px rgba(30,136,229,0.5); }

/* Central console panel */
.hv__panel {
  position: absolute;
  left: 50%; top: 50%;
  width: 66%;
  translate: -50% -50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  box-shadow:
    0 30px 70px rgba(16, 21, 47, 0.16),
    0 2px 6px rgba(16, 21, 47, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 16px 18px 18px;
  animation: float-y 7s ease-in-out infinite;
}
.hv__panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}
.hv__panel-head img { width: 22px; height: auto; }
.hv__panel-head .t { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; color: var(--text-dark); }
.hv__panel-head .s { font-size: 0.68rem; color: var(--text-muted); }
.hv__live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em;
  color: #0E8F82; background: var(--teal-100);
  padding: 3px 8px; border-radius: 999px;
}
.hv__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: blink 1.6s ease-in-out infinite; }

.hv__chart { width: 100%; height: auto; }
.hv__chart .line {
  fill: none;
  stroke: url(#hvLineGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: dash-draw 2.4s var(--ease-out) 0.8s forwards;
}
.hv__chart .area { fill: url(#hvAreaGrad); opacity: 0; animation: fade-in 1.2s ease 1.8s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.hv__chart .grid { stroke: rgba(16,21,47,0.06); stroke-width: 1; }
.hv__chart .dot { fill: var(--white); stroke: var(--accent-purple); stroke-width: 2.5; opacity: 0; animation: fade-in 0.4s ease 2.6s forwards; }
.hv__chart .dot-halo { fill: rgba(142,36,170,0.18); opacity: 0; animation: fade-in 0.4s ease 2.6s forwards, pulse-ring 2s ease-out 3s infinite; transform-origin: center; transform-box: fill-box; }

.hv__rows { display: grid; gap: 9px; margin-top: 12px; }
.hv__row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-gray);
}
.hv__row .ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: var(--white); }
.hv__row .ic svg { width: 12px; height: 12px; }
.hv__row .lbl { font-weight: 600; color: var(--text-dark); display: flex; flex-direction: column; gap: 4px; }
.hv__row .bar { height: 4px; border-radius: 4px; background: var(--border-subtle); overflow: hidden; }
.hv__row .bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad-brand-x); width: var(--w, 60%); animation: progress-fill 1.6s var(--ease-out) 1.2s both; }
.hv__row .val { font-family: var(--font-heading); font-weight: 700; color: var(--text-dark); font-size: 0.72rem; }

/* Floating cards */
.hv__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px 11px 11px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(16, 21, 47, 0.14), 0 1px 3px rgba(16,21,47,0.05);
  animation: float-y 6s ease-in-out infinite;
  z-index: 2;
}
.hv__card .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(16,21,47,0.14);
}
.hv__card .ic svg { width: 19px; height: 19px; }
.hv__card .t { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; color: var(--text-dark); line-height: 1.2; }
.hv__card .s { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.hv__card--ai      { top: 3%;  left: -6%;  animation-delay: -1s; }
.hv__card--mobile  { top: 9%;  right: -9%; animation-delay: -3s; animation-duration: 7s; }
.hv__card--cloud   { bottom: 16%; left: -10%; animation-delay: -2s; animation-duration: 6.5s; }
.hv__card--product { bottom: -4%; right: -9%; animation-delay: -4s; animation-duration: 7.5s; }

.hv__pill {
  position: absolute;
  bottom: 4%; left: 30%;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 0.7rem; font-weight: 600;
  box-shadow: 0 12px 26px rgba(16,21,47,0.25);
  animation: float-y-sm 5s ease-in-out infinite;
  z-index: 3;
}
.hv__pill svg { width: 14px; height: 14px; color: #5EEAD4; }

/* --------------------------------------------------------------------------
   4. MARQUEE (technology capabilities strip)
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.marquee__item i {
  width: 24px; height: 24px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--white);
  background: var(--grad-brand);
}
.marquee__item i.b { background: var(--grad-blue); }
.marquee__item i.t { background: var(--grad-teal); }
.marquee__item i.p { background: var(--grad-pink); }
.marquee__item i.o { background: var(--grad-orange); }
.marquee__item i.n { background: var(--grad-navy); }

/* --------------------------------------------------------------------------
   5. CARDS, ICON TILES, LISTS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--t-normal) var(--ease-out),
    box-shadow var(--t-normal) var(--ease-out),
    border-color var(--t-normal) var(--ease-out);
}
.card--pad { padding: 30px 28px; }
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(106, 27, 154, 0.28);
}

/* Pointer-tracking glow (JS sets --mx / --my) */
.card--glow { overflow: hidden; }
.card--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 36, 170, 0.10), transparent 45%);
  opacity: 0;
  transition: opacity var(--t-normal);
  pointer-events: none;
  z-index: 0;
}
.card--glow:hover::before { opacity: 1; }
.card--glow > * { position: relative; z-index: 1; }

/* Gradient border on hover via mask */
.card--edge::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand-x);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-normal);
  pointer-events: none;
}
.card--edge:hover::after { opacity: 1; }

.icon-tile {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 18px rgba(106, 27, 154, 0.24), inset 0 1px 0 rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: transform var(--t-normal) var(--ease-back);
}
.icon-tile svg { width: 25px; height: 25px; }
.icon-tile--blue   { background: var(--grad-blue);   box-shadow: 0 8px 18px rgba(30,136,229,0.26), inset 0 1px 0 rgba(255,255,255,0.25); }
.icon-tile--teal   { background: var(--grad-teal);   box-shadow: 0 8px 18px rgba(18,181,165,0.26), inset 0 1px 0 rgba(255,255,255,0.25); }
.icon-tile--pink   { background: var(--grad-pink);   box-shadow: 0 8px 18px rgba(238,63,126,0.26), inset 0 1px 0 rgba(255,255,255,0.25); }
.icon-tile--orange { background: var(--grad-orange); box-shadow: 0 8px 18px rgba(251,140,0,0.26), inset 0 1px 0 rgba(255,255,255,0.25); }
.icon-tile--navy   { background: var(--grad-navy);   box-shadow: 0 8px 18px rgba(16,21,47,0.3), inset 0 1px 0 rgba(255,255,255,0.12); }
.icon-tile--soft   { background: var(--purple-50); color: var(--primary-purple); box-shadow: none; border: 1px solid rgba(106,27,154,0.12); }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile--sm svg { width: 20px; height: 20px; }
.card:hover .icon-tile { transform: translateY(-3px) rotate(-4deg); }

.card__title { font-size: 1.2rem; margin: 20px 0 10px; }
.card__text { font-size: 0.95rem; color: var(--text-gray); line-height: 1.6; }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8F82' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.check-list--light li { color: #E6E8F2; }
.check-list--light li::before { background-color: rgba(94, 234, 212, 0.15); }

/* Tag pills (tech stack, industry) */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--light-background);
  border: 1px solid var(--border);
  color: var(--text-gray);
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.card:hover .tag { border-color: rgba(106,27,154,0.22); color: var(--text-dark); }

/* Feature grid (generic 3–4 column cards) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card { padding: 30px 26px; }
.feature-card h3 { font-size: 1.15rem; margin: 20px 0 10px; }
.feature-card p { font-size: 0.93rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   6. SERVICES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand-x);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 2;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card h3 { font-size: 1.12rem; margin: 20px 0 8px; }
.svc-card p { font-size: 0.92rem; line-height: 1.6; flex-grow: 1; }
.svc-card .check-list { margin: 16px 0 20px; }
.svc-card .check-list li { font-size: 0.85rem; }
.svc-card .link-arrow { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-subtle); }

/* Services page — larger cards with expandable detail */
.svc-grid-lg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.svc-lg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 30px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.svc-lg__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.svc-lg h3 { font-size: 1.28rem; margin: 4px 0 8px; padding-right: 48px; }
.svc-lg > div > p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.svc-lg .check-list { margin-bottom: 20px; }
.svc-lg__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.svc-lg--target {
  box-shadow: var(--ring-brand), var(--shadow-lg);
  border-color: rgba(106,27,154,0.35);
}

/* Engagement models */
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.engage-card { padding: 30px 28px; display: flex; flex-direction: column; }
.engage-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.engage-card p { font-size: 0.92rem; flex-grow: 1; margin-bottom: 18px; }
.engage-card .chip { align-self: flex-start; }
.engage-card--featured {
  background: var(--grad-navy);
  border-color: var(--navy-600);
  color: var(--white);
}
.engage-card--featured h3 { color: var(--white); }
.engage-card--featured p { color: var(--navy-text); }
.engage-card--featured .check-list li { color: #E6E8F2; }
.engage-card--featured .check-list li::before { background-color: rgba(94,234,212,0.16); }
.engage-card--featured .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #E9D5FF; }

/* --------------------------------------------------------------------------
   7. BENTO (why choose us)
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 20px;
}
.bento__item { padding: 30px 28px; display: flex; flex-direction: column; overflow: hidden; }
.bento__item h3 { font-size: 1.18rem; margin: 18px 0 10px; }
.bento__item p { font-size: 0.93rem; line-height: 1.6; }
.bento__item--7 { grid-column: span 7; }
.bento__item--5 { grid-column: span 5; }
.bento__item--4 { grid-column: span 4; }
.bento__item--8 { grid-column: span 8; }
.bento__item--6 { grid-column: span 6; }

.bento__item--dark {
  background: var(--grad-navy);
  border-color: var(--navy-600);
  color: var(--white);
  position: relative;
}
.bento__item--dark h3 { color: var(--white); }
.bento__item--dark p { color: var(--navy-text); }
.bento__item--dark::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  right: -140px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142,36,170,0.55) 0%, rgba(30,136,229,0.25) 45%, transparent 70%);
  pointer-events: none;
}
.bento__item--dark .icon-tile { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); box-shadow: none; }

.bento__visual {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bento__visual .tag { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #D7DAE8; }

/* Mini "pipeline" illustration inside a bento item */
.pipeline { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; flex-wrap: wrap; }
.pipeline__node {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--light-background);
  border: 1px solid var(--border);
  font-size: 0.76rem; font-weight: 600; color: var(--text-dark);
}
.pipeline__node i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(18,181,165,0.18); }
.pipeline__node i.p { background: var(--accent-purple); box-shadow: 0 0 0 3px rgba(142,36,170,0.18); }
.pipeline__node i.b { background: var(--blue); box-shadow: 0 0 0 3px rgba(30,136,229,0.18); }
.pipeline__arrow { width: 22px; height: 2px; background: linear-gradient(90deg, var(--border-strong), var(--purple-300)); position: relative; flex-shrink: 0; }
.pipeline__arrow::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--purple-300); }

/* Code-style snippet card for engineering bento */
.code-block {
  margin-top: auto;
  padding-top: 20px;
}
.code-block pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  line-height: 1.7;
  color: #C7CBE0;
  background: rgba(11, 15, 36, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  overflow: hidden;
  white-space: pre;
}
.code-block .k { color: #C48CE0; }
.code-block .s { color: #5EEAD4; }
.code-block .f { color: #93C5FD; }
.code-block .c { color: #6C7293; }

/* --------------------------------------------------------------------------
   8. PRODUCTS
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(80% 80% at 20% 0%, rgba(142,36,170,0.22), transparent 60%),
    radial-gradient(60% 60% at 90% 100%, rgba(30,136,229,0.2), transparent 60%),
    linear-gradient(160deg, #F6F2FB 0%, #EEF1FA 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.product-card__media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out);
}
.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.product-card__head .product-card__name { margin: 0; }

/* Expand-to-lightbox button on any showcase image */
.product-zoom {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(16, 21, 47, 0.55);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-normal) var(--ease-out), transform var(--t-normal) var(--ease-out), background-color var(--t-fast);
}
.product-zoom svg { width: 16px; height: 16px; }
.product-zoom:hover { background: var(--primary-purple); }
.product-card__media:hover .product-zoom,
.showcase__frame:hover .product-zoom,
.detail-hero:hover .product-zoom,
.product-zoom:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .product-zoom { opacity: 1; transform: none; } }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media .placeholder-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.placeholder-art .frame {
  width: 74%;
  aspect-ratio: 16 / 10;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 8px;
  transform: translateY(8%);
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .placeholder-art .frame { transform: translateY(2%); }
.placeholder-art .frame i { display: block; border-radius: 6px; background: var(--border-subtle); }
.placeholder-art .frame .side { display: grid; gap: 6px; align-content: start; }
.placeholder-art .frame .side i { height: 8px; }
.placeholder-art .frame .side i:first-child { background: var(--purple-200); }
.placeholder-art .frame .main { display: grid; grid-template-rows: auto 1fr; gap: 6px; }
.placeholder-art .frame .main .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.placeholder-art .frame .main .row i { height: 18px; }
.placeholder-art .frame .main .row i:nth-child(2) { background: var(--blue-100); }
.placeholder-art .frame .main .row i:nth-child(3) { background: var(--teal-100); }
.placeholder-art .frame .main .chart { background: linear-gradient(180deg, rgba(142,36,170,0.12), rgba(142,36,170,0.02)); border-radius: 6px; position: relative; overflow: hidden; }
.placeholder-art .frame .main .chart::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.6s linear infinite;
}

.product-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}
.product-card__logo {
  position: absolute;
  right: 14px; bottom: -22px;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  z-index: 3;
  overflow: hidden;
}
.product-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.product-card__logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-purple);
}
.product-card__body { padding: 30px 26px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-card__name { font-size: 1.3rem; margin-bottom: 4px; }
.product-card__tagline { font-size: 0.86rem; font-weight: 600; color: var(--primary-purple); margin-bottom: 12px; }
.product-card__desc { font-size: 0.93rem; line-height: 1.6; margin-bottom: 18px; }
.meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-card__section { margin-bottom: 16px; }
.product-card__section .check-list li { font-size: 0.86rem; }
.product-card__users { font-size: 0.86rem; color: var(--text-dark); }
.product-card__actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.product-card__actions .link-arrow { margin-left: auto; font-size: 0.86rem; }

/* Product detail modal blocks */
.detail-hero {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  position: relative;
  background: linear-gradient(160deg, #F6F2FB 0%, #EEF1FA 100%);
  margin-bottom: 22px;
}
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero--image { aspect-ratio: 16 / 9; background: var(--grad-navy); }
.detail-hero--image img { object-fit: contain; }
.detail-section { margin-bottom: 20px; }
.detail-section h4 { margin-bottom: 10px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.detail-block { background: var(--light-background); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.detail-block h4 { font-size: 0.95rem; margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   9. PORTFOLIO
   -------------------------------------------------------------------------- */
.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  width: fit-content;
  margin-inline: auto;
  box-shadow: var(--shadow-xs);
}
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.filter-btn:hover { color: var(--text-dark); background: var(--light-background); }
.filter-btn.is-active {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(106,27,154,0.28);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}
.case-card { display: flex; flex-direction: column; overflow: hidden; }
.case-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #1B2247 0%, #10152F 100%);
}
.case-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-art {
  position: absolute; inset: 0;
  overflow: hidden;
}
.case-art::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, var(--art-a, rgba(142,36,170,0.55)), transparent 60%),
    radial-gradient(50% 50% at 85% 85%, var(--art-b, rgba(30,136,229,0.45)), transparent 60%);
}
.case-art::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.case-art .mock {
  position: absolute;
  left: 12%; right: 12%; bottom: -6%;
  height: 70%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px 12px 0 0;
  backdrop-filter: blur(6px);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 14px 1fr;
  gap: 8px;
  transition: transform 0.7s var(--ease-out);
  z-index: 1;
}
.case-card:hover .case-art .mock { transform: translateY(-6px); }
.case-art .mock i { display: block; border-radius: 4px; background: rgba(255,255,255,0.12); }
.case-art .mock i.w { grid-column: span 3; height: 100%; background: linear-gradient(180deg, rgba(142,36,170,0.35), rgba(255,255,255,0.05)); }
.case-art .mock i:nth-child(1) { background: rgba(196,140,224,0.5); }
.case-art .mock i:nth-child(2) { background: rgba(94,234,212,0.4); }
.case-art .mock i:nth-child(3) { background: rgba(147,197,253,0.4); }
.case-card__industry {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16,21,47,0.55);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.74rem; font-weight: 600;
}
.case-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.case-card__title { font-size: 1.18rem; margin-bottom: 8px; }
.case-card__desc { font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
.case-card__meta {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}
.case-card__meta-row { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 0.82rem; align-items: start; }
.case-card__meta-row span:first-child { color: var(--text-muted); font-weight: 600; padding-top: 3px; }
.case-card__meta-row .tags { gap: 5px; }
.case-card__meta-row .tag { padding: 3px 8px; font-size: 0.72rem; }
.case-card__foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   10. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.process::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%; top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-200), var(--purple-300), var(--blue-100));
  z-index: 0;
}
.process__step { padding: 0; background: transparent; border: 0; box-shadow: none; }
.process__num {
  position: relative;
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid var(--purple-200);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-purple);
  z-index: 1;
  transition: transform var(--t-normal) var(--ease-back), box-shadow var(--t-normal), border-color var(--t-normal);
}
.process__num::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(106,27,154,0.3);
  opacity: 0;
  transition: opacity var(--t-normal);
}
.process__step:hover .process__num { transform: translateY(-4px); border-color: var(--accent-purple); box-shadow: var(--shadow-brand); }
.process__step:hover .process__num::after { opacity: 1; animation: spin 14s linear infinite; }
.process__body {
  text-align: center;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  height: calc(100% - 86px);
  transition: transform var(--t-normal) var(--ease-out), box-shadow var(--t-normal), border-color var(--t-normal);
}
.process__step:hover .process__body { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(106,27,154,0.25); }
.process__body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process__body p { font-size: 0.86rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   11. TECHNOLOGY CAPABILITIES
   -------------------------------------------------------------------------- */
.tech-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tech-group { padding: 26px 24px; }
.tech-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tech-group__head h3 { font-size: 1.05rem; }
.tech-group__head p { font-size: 0.8rem; margin: 0; }
.tech-group .tags .tag { padding: 6px 11px; font-size: 0.8rem; background: var(--white); }

/* --------------------------------------------------------------------------
   12. CTA BANNER
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 64px);
  background: var(--grad-navy);
  border: 1px solid var(--navy-600);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(142,36,170,0.45), transparent 60%),
    radial-gradient(35% 35% at 75% 70%, rgba(30,136,229,0.35), transparent 60%),
    radial-gradient(30% 30% at 60% 20%, rgba(18,181,165,0.25), transparent 60%);
  animation: blob-drift 20s ease-in-out infinite;
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  right: -120px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.14);
  animation: spin 70s linear infinite;
  pointer-events: none;
}
.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 40px;
}
.cta h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.cta p { color: var(--navy-text); font-size: 1.08rem; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.cta__logo {
  position: absolute;
  right: 6%; bottom: -8%;
  width: 180px;
  opacity: 0.08;
  pointer-events: none;
  filter: grayscale(1) brightness(3);
}

/* --------------------------------------------------------------------------
   13. INNER PAGE HERO
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 72px);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9FD 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero .hero__grid-lines { mask-image: radial-gradient(60% 80% at 50% 0%, #000 10%, transparent 100%); -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000 10%, transparent 100%); }
.page-hero__inner {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.page-hero__inner > * { opacity: 0; transform: translateY(16px); }
.is-loaded .page-hero__inner > * { animation: fade-up 0.8s var(--ease-out) forwards; }
.is-loaded .page-hero__inner > :nth-child(2) { animation-delay: 0.1s; }
.is-loaded .page-hero__inner > :nth-child(3) { animation-delay: 0.2s; }
.is-loaded .page-hero__inner > :nth-child(4) { animation-delay: 0.3s; }
.is-loaded .page-hero__inner > :nth-child(5) { animation-delay: 0.4s; }

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary-purple); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }
.breadcrumb span[aria-current] { color: var(--primary-purple); font-weight: 600; }

.page-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   14. ABOUT PAGE
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story__text h2 { margin-bottom: 18px; }
.story__text p { font-size: 1.02rem; line-height: 1.7; }

.brand-card {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--grad-navy);
  border: 1px solid var(--navy-600);
  padding: 40px 36px;
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 45% at 80% 15%, rgba(142,36,170,0.5), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(30,136,229,0.35), transparent 60%);
  pointer-events: none;
}
.brand-card__orbit {
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.18);
  animation: spin 40s linear infinite;
}
.brand-card__orbit::after {
  content: '';
  position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.brand-card__icon {
  position: relative;
  width: 76px;
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 24px rgba(142,36,170,0.5));
  animation: float-y-sm 5s ease-in-out infinite;
}
.brand-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 20px; position: relative; }
.brand-card .principle { position: relative; display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.brand-card .principle:last-child { padding-bottom: 0; }
.brand-card .principle .n {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--cyan);
  padding-top: 3px;
  min-width: 24px;
}
.brand-card .principle strong { color: var(--white); display: block; margin-bottom: 4px; font-family: var(--font-heading); }
.brand-card .principle p { color: var(--navy-text); font-size: 0.88rem; margin: 0; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 40px 36px; position: relative; overflow: hidden; }
.mv-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--grad-brand);
}
.mv-card--blue::before { background: var(--grad-blue); }
.mv-card h3 { font-size: 1.5rem; margin: 14px 0 14px; }
.mv-card p { font-size: 1.02rem; line-height: 1.7; }
.mv-card .icon-tile { position: absolute; right: 30px; top: 30px; opacity: 0.9; }

/* Vertical timeline */
.timeline { position: relative; max-width: 860px; margin-inline: auto; padding-left: 4px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-300), var(--blue-100));
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 28px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid var(--purple-200);
  color: var(--primary-purple);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-normal) var(--ease-back), border-color var(--t-normal), box-shadow var(--t-normal);
}
.timeline__marker svg { width: 22px; height: 22px; }
.timeline__item:hover .timeline__marker { transform: scale(1.08); border-color: var(--accent-purple); box-shadow: var(--shadow-brand); }
.timeline__card { padding: 24px 26px; }
.timeline__card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.timeline__card .chip { margin-bottom: 10px; }
.timeline__card p { font-size: 0.93rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   15. CONTACT & FORMS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side__intro h2 { font-size: 1.55rem; margin-bottom: 8px; }
.contact-side__intro p { font-size: 0.95rem; }

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
}
.info-card__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.info-card__val { font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: var(--text-dark); word-break: break-word; }
.info-card__hint { font-size: 0.83rem; color: var(--text-gray); margin-top: 3px; }
.info-card__val a { color: inherit; }
.info-card__val a:hover { color: var(--primary-purple); }
.social-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

.contact-form-card { padding: clamp(24px, 3vw, 40px); }
.contact-form-card h2 { font-size: 1.55rem; margin-bottom: 6px; }
.contact-form-card > p { font-size: 0.95rem; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-label .required { color: #E53935; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: #A5A9BC; }
.form-control:hover { border-color: var(--border-strong); }
.form-control:focus {
  background: var(--white);
  border-color: var(--accent-purple);
  box-shadow: var(--ring-brand);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606477' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.55; }
.form-control.is-invalid { border-color: #E53935; background: #FFF8F8; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(229,57,53,0.14); }
.form-error-msg {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #C62828;
  margin-top: 6px;
}
.form-error-msg.is-visible { display: flex; }
.form-error-msg svg { width: 15px; height: 15px; flex-shrink: 0; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { font-size: 0.8rem; color: var(--text-muted); max-width: 320px; }

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.form-alert.is-visible { display: flex; animation: fade-up 0.4s var(--ease-out); }
.form-alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-alert--success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-alert--success strong { color: #064E3B; }
.form-alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-alert--error strong { color: #7F1D1D; }
.form-alert code { font-family: ui-monospace, Menlo, Consolas, monospace; background: rgba(0,0,0,0.06); padding: 1px 6px; border-radius: 5px; }

/* Steps (what happens next) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 26px 24px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--purple-50);
  border: 1px solid rgba(106,27,154,0.14);
  color: var(--primary-purple);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   16. MODALS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 21, 47, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-soft), visibility 0.28s;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  width: 100%;
  max-width: 640px;
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.38s var(--ease-out), opacity 0.3s var(--ease-soft);
  overflow: hidden;
}
.modal--lg { max-width: 800px; }
.modal-backdrop.is-open .modal { transform: none; opacity: 1; }
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}
.modal__head .kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-purple); margin-bottom: 4px; }
.modal__title { font-size: 1.32rem; }
.modal__close {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-gray);
  border: 1px solid transparent;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.modal__close:hover { background: var(--light-background); color: var(--text-dark); border-color: var(--border); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 26px 28px; overflow-y: auto; }
.modal__body h4 { font-size: 1rem; margin-bottom: 10px; }
.modal__body .check-list { margin-bottom: 22px; }
.modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.modal__body .legal p { font-size: 0.93rem; line-height: 1.7; }
.modal__body .legal h4 { margin-top: 18px; }

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--dark-navy);
  color: var(--navy-text);
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: 32px;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: min(900px, 100%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(142,36,170,0.8), rgba(30,136,229,0.6), transparent);
}
.site-footer::after {
  content: '';
  position: absolute;
  right: -160px; bottom: -220px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142,36,170,0.22), transparent 65%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--navy-600);
}
.footer-cta h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 4px; }
.footer-cta p { color: var(--navy-text); font-size: 0.95rem; margin: 0; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-logo { height: 44px; width: auto; object-fit: contain; align-self: flex-start; }
.footer-about { font-size: 0.93rem; color: #A0A5BA; line-height: 1.65; max-width: 340px; }
.footer-tagline { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #C48CE0; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  color: var(--navy-text);
  transition: transform var(--t-normal) var(--ease-out), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--primary-purple); border-color: var(--accent-purple); color: var(--white); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #A0A5BA;
  transition: color var(--t-fast), transform var(--t-normal) var(--ease-out);
}
.footer-link::before {
  content: '';
  width: 0; height: 1px;
  background: var(--purple-300);
  transition: width var(--t-normal) var(--ease-out);
}
.footer-link:hover { color: var(--white); }
.footer-link:hover::before { width: 12px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact div { font-size: 0.9rem; color: #A0A5BA; }
.footer-contact strong { display: block; color: var(--white); font-weight: 600; margin-top: 2px; word-break: break-word; }
.footer-contact strong a { color: inherit; }
.footer-contact strong a:hover { color: var(--purple-300); }
.footer-contact__hours { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--navy-text-dim); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--navy-600);
  font-size: 0.84rem;
  color: var(--navy-text-dim);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal button {
  font: inherit;
  color: var(--navy-text-dim);
  transition: color var(--t-fast);
}
.footer-legal button:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   18. MISC
   -------------------------------------------------------------------------- */
/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 9000;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  color: var(--primary-purple);
  display: grid; place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-normal), transform var(--t-normal) var(--ease-out), visibility var(--t-normal), background-color var(--t-fast), color var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-purple); color: var(--white); border-color: var(--primary-purple); }
.to-top svg { width: 20px; height: 20px; }

/* Scroll progress bar under the header */
.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 9991;
  background: var(--grad-brand-x);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* Split header with actions on the right of section title */
.sec-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Highlight stat-less trust row — plain claims, no numbers */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trust-row .chip { padding: 8px 14px; font-size: 0.82rem; background: var(--white); }
.trust-row .chip svg { width: 15px; height: 15px; color: var(--teal); }

/* --------------------------------------------------------------------------
   8b. PRODUCT SHOWCASE (products page) — alternating poster + details rows
   -------------------------------------------------------------------------- */
.showcase-list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }

.showcase {
  --sc-accent: var(--accent-purple);
  --sc-accent-rgb: 142, 36, 170;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-slow) var(--ease-out), border-color var(--t-normal);
}
.showcase:hover { box-shadow: var(--shadow-lg); border-color: rgba(var(--sc-accent-rgb), 0.28); }
.showcase::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  left: -140px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sc-accent-rgb), 0.16), transparent 68%);
  pointer-events: none;
}
.showcase--flip::before { left: auto; right: -140px; }
.showcase--flip .showcase__media { order: 2; }
.showcase--flip .showcase__body  { order: 1; }

.showcase[data-accent="blue"]   { --sc-accent: var(--blue);   --sc-accent-rgb: 30, 136, 229; }
.showcase[data-accent="teal"]   { --sc-accent: #0E9F91;       --sc-accent-rgb: 18, 181, 165; }
.showcase[data-accent="pink"]   { --sc-accent: #D62A6B;       --sc-accent-rgb: 238, 63, 126; }
.showcase[data-accent="orange"] { --sc-accent: #D97400;       --sc-accent-rgb: 251, 140, 0; }

.showcase__media { position: relative; min-width: 0; }
.showcase__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 15% 0%, rgba(var(--sc-accent-rgb), 0.22), transparent 60%),
    linear-gradient(160deg, #F6F2FB 0%, #EEF1FA 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform: perspective(1400px) rotateY(0deg);
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}
.showcase:hover .showcase__frame { transform: perspective(1400px) rotateY(-3deg) translateY(-4px); box-shadow: var(--shadow-xl); }
.showcase--flip:hover .showcase__frame { transform: perspective(1400px) rotateY(3deg) translateY(-4px); }
.showcase__frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.2s var(--ease-out);
}
.showcase:hover .showcase__frame > img { transform: scale(1.03); }
.showcase__frame .placeholder-art { position: absolute; inset: 0; display: grid; place-items: center; }
.showcase__logo {
  position: absolute;
  left: 18px; bottom: -18px;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  overflow: hidden;
  z-index: 3;
}
.showcase__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.showcase__body { min-width: 0; display: flex; flex-direction: column; }
.showcase__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.showcase__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--light-background);
  border: 1px solid var(--border);
}
.showcase__name {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.showcase__tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--sc-accent);
  margin-bottom: 12px;
}
.showcase__desc { font-size: 0.98rem; line-height: 1.7; margin-bottom: 20px; }
.showcase__section { margin-bottom: 18px; }
.showcase__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.showcase__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--light-background);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.showcase__chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sc-accent, var(--accent-purple));
  opacity: 0.8;
}
.showcase__chip:hover { border-color: rgba(var(--sc-accent-rgb, 142, 36, 170), 0.4); background: var(--white); transform: translateY(-1px); }
.check-list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.check-list--grid li { font-size: 0.88rem; }
.showcase__foot {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.showcase__users { font-size: 0.9rem; color: var(--text-dark); line-height: 1.55; }
.showcase__users .meta-label { display: block; margin-bottom: 4px; }
.showcase__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.showcase__actions .link-arrow { margin-left: auto; }

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-gray);
  background: var(--white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-xl);
}

/* Category strip in the products hero */
.product-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.product-cats .chip { padding: 7px 14px; font-size: 0.8rem; background: var(--white); }
.product-cats .chip strong { color: var(--primary-purple); }

/* --------------------------------------------------------------------------
   8c. LIGHTBOX — full-size showcase image
   -------------------------------------------------------------------------- */
.lightbox { padding: 16px; background: rgba(11, 15, 36, 0.86); }
.lightbox__panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.38s var(--ease-out), opacity 0.3s var(--ease-soft);
}
.lightbox.is-open .lightbox__panel { transform: none; opacity: 1; }
.lightbox__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(142,36,170,0.22), transparent 70%),
    var(--navy-900);
  padding: 20px;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 32px - 88px - 40px);
  width: auto; height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.lightbox__bar .kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #C48CE0; margin-bottom: 2px; }
.lightbox__title { color: var(--white); font-size: 1.15rem; margin: 0; }
.lightbox__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   LANGUAGE SWITCHER (js/i18n.js)
   -------------------------------------------------------------------------- */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn { background: var(--purple-50); border-color: rgba(106,27,154,0.25); }
.lang-switch__btn svg { width: 18px; height: 18px; color: var(--primary-purple); }
.lang-switch__btn .lang-switch__chev { width: 14px; height: 14px; color: var(--text-muted); transition: transform var(--t-fast); }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 9995;
  min-width: 190px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lang-switch__item small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); }
.lang-switch__item:hover { background: var(--purple-50); }
.lang-switch__item.is-active { background: var(--purple-50); color: var(--primary-purple); font-weight: 700; }
.lang-switch__item.is-active small { color: var(--primary-purple); }

/* Hide Google Translate's own toolbar, tooltip and hover highlight */
#google_translate_element,
.goog-te-banner-frame,
.skiptranslate > iframe,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
