/* ============================================================
   OPTVIX INFOTECH — styles.css
   Premium Enterprise Website · Version 1
============================================================ */

/* ---- VARIABLES ---- */
:root {
  --blue:        #2F80ED;
  --blue-dark:   #1C5ED6;
  --gradient:    linear-gradient(135deg, #2F80ED 0%, #1C5ED6 100%);
  --text-1:      #0F172A;
  --text-2:      #475569;
  --text-3:      #94A3B8;
  --bg-white:    #FFFFFF;
  --bg-light:    #F7F9FC;
  --bg-blue:     #EFF4FF;
  --border:      #E2E8F0;
  --font:        'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:   0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:   0 4px 12px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.05);
  --shadow-lg:   0 12px 32px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-blue: 0 8px 28px rgba(47,128,237,0.28);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --nav-h:       78px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t:           0.28s var(--ease);
  --section-y:   96px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- SKIP LINK (Accessibility + SEO) ---- */
.skip-link {
  position: absolute;
  top: -120%;
  left: 24px;
  padding: 10px 20px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text-1);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--font); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.4rem, 5vw, 4rem);   font-weight: 700; line-height: 1.10; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.018em; }
h3 { font-size: 1.2rem;   font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem;     font-weight: 600; line-height: 1.40; }
h5 { font-size: 0.8rem;   font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; }
p  { font-size: 0.9375rem; line-height: 1.76; color: var(--text-2); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

/* ---- UTILITY CLASSES ---- */
.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--blue);
  margin-bottom: 14px;
}

.section {
  padding: var(--section-y) 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-header {
  max-width: 620px;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-2); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(47,128,237,0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-light);
  color: var(--text-1);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--blue-dark);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.btn-sm  { padding: 8px 18px;  font-size: 0.855rem; border-radius: 7px; }
.btn-lg  { padding: 15px 34px; font-size: 1rem;     border-radius: 10px; }


/* ============================================================
   HEADER / NAV
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.header.scrolled {
  background: rgba(255,255,255,0.90);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — original asset colours only (no filters / white overlay) */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 480px) {
  .nav-logo-img { height: 40px; }
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* Regular nav links — dark text on white (scrolled) nav */
.nav-links a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 7px;
  transition: color var(--t), background var(--t);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--text-1);
  background: var(--bg-light);
}

/* White text when nav is over the dark hero */
.header:not(.scrolled) .nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.80);
}
.header:not(.scrolled) .nav-links a:not(.btn):hover,
.header:not(.scrolled) .nav-links a:not(.btn).active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}
.header:not(.scrolled) .nav-burger span {
  background: rgba(255, 255, 255, 0.85);
}

/* "Get in Touch" CTA — preserve btn-primary styles inside nav */
.nav-links .btn {
  margin-left: 8px;
  color: #fff;                 /* override the generic nav-links a colour */
}
.nav-links .btn:hover {
  color: #fff;
  background: var(--gradient); /* keep the gradient on hover */
}
/* On dark hero the CTA stays blue — it stands out well against dark */
.header:not(.scrolled) .nav-links .btn-primary {
  box-shadow: 0 4px 18px rgba(47, 128, 237, 0.45);
}

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--t);
}
.nav-burger:hover { background: var(--bg-light); }
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 768px) { .nav-burger { display: none; } }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 199;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.nav-mobile ul li a:hover { color: var(--text-1); background: var(--bg-light); }
.nav-mobile .btn-primary { display: flex; margin-top: 10px; width: 100%; justify-content: center; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }



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

/* Dark navy base.
   isolation: isolate + z-index: 0 creates a self-contained stacking context
   so hero children's z-indexes never bleed into the about section below. */
.hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 108px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  background: linear-gradient(160deg, #050d1e 0%, #081628 52%, #0c1e3d 100%);
}
/* Brand-blue tint sits above video/blobs but below all content —
   warms the dark base with the brand colour, improves perceived
   video quality, and keeps everything on-palette. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(47, 128, 237, 0.18) 0%,
    rgba(28, 94, 214, 0.12) 55%,
    rgba(47, 128, 237, 0.08) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---- Background decoration layer ---- */
.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Repeating dot grid — on dark bg these are more visible and add tech depth */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47,128,237,0.35) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.40;
}

/* Gradient blobs — on the dark background these are brighter and more visible */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-blob--1 {
  width: 660px; height: 660px;
  top: -240px; right: -180px;
  background: radial-gradient(circle, rgba(47,128,237,0.28) 0%, transparent 68%);
  animation: blobDrift 20s ease-in-out infinite alternate;
}
.hero-blob--2 {
  width: 500px; height: 500px;
  bottom: -180px; left: -100px;
  background: radial-gradient(circle, rgba(28,94,214,0.22) 0%, transparent 68%);
  animation: blobDrift 26s ease-in-out infinite alternate-reverse;
}
.hero-blob--3 {
  width: 300px; height: 300px;
  top: 38%; left: 36%;
  background: radial-gradient(circle, rgba(47,128,237,0.14) 0%, transparent 68%);
  animation: blobDrift 16s ease-in-out infinite alternate;
}

@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 16px) scale(1.05); }
}

/* ---- Hero background video carousel (two slides, light / bright footage) ---- */
.hero-video-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-video-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-video-slide--light .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* White-background footage: screen blend lifts light pixels on the dark hero so whites read clearly. */
  opacity: 0.58;
  mix-blend-mode: screen;
  filter: brightness(1.06) contrast(1.02);
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-carousel .hero-video-slide:not(.is-active) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .hero-video-carousel .hero-video-slide.is-active {
    opacity: 1;
    visibility: visible;
  }
  .hero-video-nav {
    display: none;
  }
}

.hero-video-nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: none; /* do not block clicks on hero CTAs — only dots are interactive */
}
.hero-video-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-video-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}
.hero-video-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .hero-video-nav { bottom: 22px; }
}

/* Bottom edge glow line — brighter on dark bg */
.hero-glow-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(47,128,237,0.55) 35%,
    rgba(47,128,237,0.55) 65%,
    transparent 100%
  );
}

/* ---- Layout grid ---- */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 55fr 45fr;
    gap: 72px;
  }
}

/* ---- Text column ---- */
.hero-text .eyebrow {
  margin-bottom: 20px;
  color: #60a5fa; /* lighter blue — readable on dark */
}
.hero-text h1 {
  margin-bottom: 24px;
  color: #ffffff;
}
.hero-desc {
  font-size: 1.125rem;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.68);
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 44px;
}

/* Ghost button on dark hero — white outline style */
.hero-text .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}
.hero-text .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.50);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- Social-proof trust row ---- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
/* Numbers rendered with brand gradient — same visual language as the heading */
.trust-num {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-sep {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* ---- Symbol / illustration column ---- */
.hero-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
}
.symbol-wrapper {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radial glow bed — the warm light the logo appears to float on */
.symbol-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(47,128,237,0.18) 0%,
    rgba(47,128,237,0.06) 42%,
    transparent 72%
  );
}

/* ---- Decorative orbit rings (CSS — no JS needed) ----
   Three concentric rings at different sizes, speeds, and dash patterns
   suggest a sophisticated tech aesthetic without being cartoonish. */
.symbol-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.symbol-orbit--1 {
  width: 66%; height: 66%;
  border: 1.5px dashed rgba(47, 128, 237, 0.55);
  box-shadow: 0 0 0 1px rgba(47, 128, 237, 0.12);
  animation: orbitSpin 28s linear infinite;
}
.symbol-orbit--2 {
  width: 84%; height: 84%;
  border: 1.5px solid rgba(47, 128, 237, 0.42);
  box-shadow: 0 0 12px rgba(47, 128, 237, 0.15);
  animation: orbitSpin 48s linear infinite reverse;
}
.symbol-orbit--3 {
  width: 100%; height: 100%;
  border: 1.5px dashed rgba(47, 128, 237, 0.38);
  box-shadow: 0 0 0 1px rgba(28, 94, 214, 0.18);
  animation: orbitSpin 72s linear infinite;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* GSAP sonar ripples — scale + opacity only (GPU-composited) */
.symbol-ripples {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symbol-ripple {
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(47,128,237,0.38);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* Logo mark — double drop-shadow creates a soft inner + outer glow */
.symbol-img {
  width: 44%;
  height: 44%;
  object-fit: contain;
  position: relative;
  z-index: 4;
  filter:
    drop-shadow(0 0 22px rgba(47,128,237,0.32))
    drop-shadow(0 8px 28px rgba(47,128,237,0.18));
}

/* ---- Floating accent dots ----
   Small brand-coloured orbs placed outside the orbit rings.
   They float independently, giving the composition quiet life. */
.s-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  z-index: 5;
}
.s-dot--1 {
  width: 7px; height: 7px;
  top: 16%; right: 12%;
  opacity: 0.50;
  animation: dotFloat 5.5s ease-in-out infinite;
}
.s-dot--2 {
  width: 5px; height: 5px;
  bottom: 20%; left: 9%;
  opacity: 0.38;
  animation: dotFloat 7.2s ease-in-out infinite reverse;
}
.s-dot--3 {
  width: 9px; height: 9px;
  top: 44%; right: 5%;
  opacity: 0.28;
  background: var(--blue-dark);
  animation: dotFloat 9s ease-in-out infinite 1s;
}
.s-dot--4 {
  width: 4px; height: 4px;
  top: 11%; left: 20%;
  opacity: 0.46;
  animation: dotFloat 6.4s ease-in-out infinite 2.2s;
}

@keyframes dotFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-11px) scale(1.15); }
}

/* ---- Hero word-reveal clip containers ----
   Each word sits inside an overflow:hidden shell (.hw).
   GSAP translates the inner span (.hwi) from translateY(105%) → 0,
   creating a clean "rising from below the line" reveal.
   The padding/margin trick prevents descender clipping. */
.hw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}
.hwi {
  display: inline-block;
  will-change: transform;
}

/* ---- Gradient text shimmer — activated post-entrance ----
   Overrides the static gradient with an animated 300% wide version
   that sweeps left-to-right on a slow sine cycle. */
@keyframes gradientShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-text.shimmer {
  background: linear-gradient(
    135deg,
    #2F80ED 0%,
    #7CBBFF 22%,
    #1C5ED6 48%,
    #60A5FA 72%,
    #2F80ED 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 5s ease-in-out infinite;
}

/* ---- Responsive ---- */
@media (max-width: 899px) {
  .hero-symbol { order: -1; }
  .symbol-wrapper { width: min(240px, 100%); }
  .hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 14px; }
}


/* ============================================================
   ABOUT — WHO WE ARE  (Expressive Asymmetric Layout)
============================================================ */

/* Section shell: light bg differentiates it from the white hero above */
.section-about {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
}

/* Atmospheric blobs — large, blurred, low-opacity: pure mood, zero distraction */
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
}
.about-blob--1 {
  /* Top-right: a soft primary-blue halo that echoes the hero palette */
  width: 540px; height: 540px;
  top: -150px; right: -110px;
  background: radial-gradient(circle, rgba(47,128,237,0.09) 0%, transparent 68%);
}
.about-blob--2 {
  /* Bottom-left: darker accent, grounds the section */
  width: 400px; height: 400px;
  bottom: -90px; left: -70px;
  background: radial-gradient(circle, rgba(28,94,214,0.06) 0%, transparent 68%);
}

/* Container sits above blobs */
.section-about .container { position: relative; z-index: 1; }

/* ---- Section header ---- */
.about-section-header {
  max-width: 100%;
  margin-bottom: 52px;
}
.about-section-header .about-text {
  max-width: 100%;
}

/* Who We Are — three matching paragraphs; only .about-brand-word is accent-colored */
.about-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  /* Near-black with a hint of slate — not flat #000 */
  color: var(--text-1);
}
.about-text + .about-text {
  margin-top: 1.1rem;
}

/* Inline brand — same line as the sentence, hero-style scale, does not inherit muted body color */
.about-text .about-brand-word {
  font-weight: 700;
  font-size: 1.52em;
  letter-spacing: -0.02em;
  line-height: 1;
  vertical-align: -0.05em;
}

/* ============================================================
   ASYMMETRIC PILLAR GRID
   Mobile:  1-column stack
   Tablet:  Vision full-width top + Mission/Approach 2-col below
   Desktop: Vision left (tall, 2-row span) + Mission/Approach right (stacked)
============================================================ */
.pillars-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 60px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  /* Vision spans full width on tablet — horizontal card orientation inside */
  .pillar-card--vision { grid-column: 1 / span 2; }
}

@media (min-width: 960px) {
  .pillars-grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  /* Vision: left column, row 1 only (freed row 2 for the video card) */
  .pillar-card--vision   { grid-column: 1; grid-row: 1; }
  /* Mission + Approach: right column, stacked */
  .pillar-card--mission  { grid-column: 2; grid-row: 1; }
  .pillar-card--approach { grid-column: 2; grid-row: 2; }
  /* Company video: left column, row 2 */
  .pillar-video          { grid-column: 1; grid-row: 2; }
}

/* ---- Base card shell ---- */
.pillar-card {
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  /* Cubic-bezier with slight overshoot (1.36) gives the lift a confident snap */
  transition:
    transform 0.32s cubic-bezier(0.34, 1.36, 0.64, 1),
    box-shadow 0.28s ease;
  will-change: transform;
}
.pillar-card:hover { transform: translateY(-6px) scale(1.012); }

/* ---- Inner content wrapper ---- */
.pillar-inner {
  height: 100%;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Decorative counter — top-right, reads as structural detail, not content */
.pillar-num {
  position: absolute;
  top: 28px; right: 30px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.32;
  line-height: 1;
}

/* ---- Icon container ---- */
.pillar-icon-wrap { margin-bottom: 28px; width: fit-content; }

.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ---- Body typography ---- */
.pillar-body { flex: 1; }
.pillar-body h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  font-weight: 700;
}
.pillar-body p {
  font-size: 0.9125rem;
  line-height: 1.78;
}

/* ============================================================
   VISION — Featured card
   Brand gradient background, white text throughout.
   The gradient angle (145°) creates a subtle diagonal light source
   that makes the card feel three-dimensional.
============================================================ */
.pillar-card--vision {
  background: linear-gradient(145deg, #2F80ED 0%, #1a5dcc 100%);
  box-shadow:
    0 16px 48px rgba(47,128,237,0.30),
    0 4px 12px  rgba(47,128,237,0.16);
}
.pillar-card--vision:hover {
  box-shadow:
    0 26px 64px rgba(47,128,237,0.38),
    0 8px 20px  rgba(47,128,237,0.20);
}

.pillar-card--vision .pillar-num      { color: #fff; opacity: 0.45; }
.pillar-card--vision .pillar-body h3  { color: #fff; }
.pillar-card--vision .pillar-body p   { color: rgba(255,255,255,0.78); }

/* Icon: frosted glass panel on the blue background */
.pillar-card--vision .pillar-icon {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pillar-card--vision .pillar-icon svg { stroke: #fff; }

/* Decorative concentric arcs — bottom-right corner, purely atmospheric.
   Two rings suggest depth and motion without adding real weight. */
.pillar-card-arc {
  position: absolute;
  bottom: -88px; right: -88px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.13);
  pointer-events: none;
  z-index: 0;
}
.pillar-card-arc::before {
  content: '';
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Tablet: Vision switches to a horizontal row layout inside —
   icon/number on the left, copy on the right.
   This prevents the card from being excessively tall. */
@media (min-width: 600px) and (max-width: 959px) {
  .pillar-card--vision .pillar-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
  .pillar-card--vision .pillar-icon-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 2px;
  }
}

/* ============================================================
   PILLAR VIDEO CARD — company technology reel
   Occupies the bottom-left cell at desktop, full-width at smaller screens.
============================================================ */
.pillar-video {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: #08122A;
  min-height: 200px;
}

.pillar-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}
.pillar-video:hover .pillar-video-el { opacity: 0.7; }

.pillar-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5,15,40,0.55) 0%, rgba(47,128,237,0.28) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px 36px;
}

.pillar-video-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.pillar-video-tagline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}

/* Accessibility: hide video when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pillar-video-el { display: none; }
}

/* Mobile: keep a sensible height so it isn't just text */
@media (max-width: 599px) {
  .pillar-video { min-height: 180px; }
}

/* ============================================================
   MISSION — White card, left brand-blue accent bar
   Clean elevation on white signals reliability and precision.
============================================================ */
.pillar-card--mission {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);   /* the accent bar: subtle but purposeful */
  box-shadow: var(--shadow-md);
}
.pillar-card--mission:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(47,128,237,0.10);
}

/* Icon: brand-blue tinted with outer glow ring */
.pillar-card--mission .pillar-icon {
  background: var(--bg-blue);
  border: 1px solid rgba(47,128,237,0.20);
  box-shadow: 0 0 0 7px rgba(47,128,237,0.07); /* soft outer ring */
}
.pillar-card--mission .pillar-icon svg  { stroke: var(--blue); }
.pillar-card--mission .pillar-num       { color: var(--blue); }
.pillar-card--mission .pillar-body h3   { color: var(--text-1); }
.pillar-card--mission .pillar-body p    { color: var(--text-2); }

/* ============================================================
   APPROACH — Tinted glass card with dot-grid texture
   The lighter blue tint + texture creates visual variety without
   introducing a third bold color or another white card.
============================================================ */
.pillar-card--approach {
  background: var(--bg-blue);
  border: 1px solid rgba(47,128,237,0.15);
  box-shadow: var(--shadow-sm);
}

/* Dot-grid via pseudo-element — matches the hero's dot grid pattern
   for visual coherence across the page */
.pillar-card--approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47,128,237,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: inherit;
  opacity: 0.55;
  pointer-events: none;
}

.pillar-card--approach:hover {
  background: #e4eeff;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(47,128,237,0.18);
}

.pillar-card--approach .pillar-icon {
  background: rgba(47,128,237,0.12);
  border: 1px solid rgba(47,128,237,0.24);
  box-shadow: 0 0 0 7px rgba(47,128,237,0.05);
}
.pillar-card--approach .pillar-icon svg { stroke: var(--blue-dark); }
.pillar-card--approach .pillar-num      { color: var(--blue-dark); }
.pillar-card--approach .pillar-body h3  { color: var(--text-1); }
.pillar-card--approach .pillar-body p   { color: var(--text-2); }

/* ============================================================
   HOW WE WORK — Jira-inspired interactive card system
============================================================ */

/* Per-card accent palette declared as CSS custom properties.
   --accent-rgb (comma-separated) enables rgba() composition without
   string concatenation, keeping all tinted backgrounds DRY. */
.how-card--diagnose { --accent: #2F80ED; --accent-rgb: 47,128,237;  }
.how-card--design   { --accent: #7C3AED; --accent-rgb: 124,58,237;  }
.how-card--deliver  { --accent: #10B981; --accent-rgb: 16,185,129;  }
.how-card--evolve   { --accent: #F59E0B; --accent-rgb: 245,158,11;  }

/* Section wrapper — top border creates a clean visual division
   from the asymmetric pillar cards above without a full section break */
.how-section {
  margin-top: 60px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}

/* Compact header: label + inline subtext sit on the same baseline row.
   Deliberately understated — the cards carry the visual weight here. */
.how-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.how-header-sub {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Break out of the content column so the row breathes edge-to-edge (same inset as .container) */
.how-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 768px) {
  .how-bleed {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 1280px) {
  .how-bleed {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Grid: 4 equal columns desktop · 2×2 tablet · single-column mobile */
.how-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) { .how-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 960px)  { .how-grid { grid-template-columns: repeat(4, 1fr); gap: 18px 16px; } }

/* ============================================================
   BASE CARD SHELL

   position: relative  — anchors ::before / ::after pseudo-elements.
   overflow: hidden    — clips the growing edge bars at the border-radius
                         corners so they look inset rather than protruding.
                         This does NOT clip the translateY lift: the entire
                         element (clip context included) moves upward as one.
============================================================ */
.how-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: default;
  /* Lift timing uses a slight spring overshoot (1.28) for a crisp, confident snap */
  transition:
    transform  0.28s cubic-bezier(0.34, 1.28, 0.64, 1),
    box-shadow 0.26s ease,
    background 0.24s ease;
  box-shadow:
    0 1px 3px rgba(15,23,42,0.06),
    0 1px 2px rgba(15,23,42,0.04);
}
.how-card:hover {
  transform: translateY(-6px) scale(1.012);
  background: rgba(var(--accent-rgb), 0.025); /* very faint tint — barely perceptible */
  box-shadow:
    0 14px 36px rgba(var(--accent-rgb), 0.13),
    0 4px  12px rgba(15,23,42,0.05);
}

/* ============================================================
   FRAME-EDGE HOVER ANIMATION  ←  the core feature

   WHAT IT DOES
   Two colored bars "unfold" from the top-right corner on hover,
   forming an L-frame that makes the card feel like an activated
   UI panel (Jira card selection, Linear task focus state).

   HOW IT WORKS
   ::before  →  TOP EDGE
     Spans the full card width (left:0 right:0), 3.5 px tall.
     Starts at scaleX(0) — visually zero width.
     transform-origin: right center  → the scale pivot is the RIGHT end,
     so expanding scaleX(0→1) grows the bar from RIGHT to LEFT.

   ::after  →  RIGHT EDGE
     Spans the full card height (top:0 bottom:0), 3.5 px wide.
     Starts at scaleY(0) — visually zero height.
     transform-origin: top center  → the scale pivot is the TOP end,
     so expanding scaleY(0→1) grows the bar from TOP to BOTTOM.

   Both bars originate at the top-right corner and expand outward
   simultaneously — creating the "frame unfolding" effect.

   WHY scale() NOT width/height?
   Animating width or height forces a layout reflow on every frame.
   Animating transform runs on the GPU compositor thread — zero
   layout cost, smooth 60 fps even on complex pages.
   overflow:hidden clips the bars neatly at the border-radius.
============================================================ */
.how-card::before,
.how-card::after {
  content: '';
  position: absolute;
  background: var(--accent);
  pointer-events: none;
  /* Frame arrives slightly faster than the lift — feels decisive, not sluggish */
  transition: transform 0.36s ease;
}

/* TOP EDGE — grows from right corner leftward */
.how-card::before {
  top: 0; left: 0; right: 0;
  height: 3.5px;
  transform: scaleX(0);
  transform-origin: right center;
}

/* RIGHT EDGE — grows from top corner downward */
.how-card::after {
  top: 0; right: 0; bottom: 0;
  width: 3.5px;
  transform: scaleY(0);
  transform-origin: top center;
}

/* Trigger: both edges reveal at the same time on hover */
.how-card:hover::before { transform: scaleX(1); }
.how-card:hover::after  { transform: scaleY(1); }

/*
 Varied silhouettes per step (sharp, premium radii + chip shapes).
  Does not alter hover / frame-edge rules above.
*/
.how-card--diagnose {
  border-radius: 10px 6px 10px 6px;
  padding: 28px 26px 30px;
}
.how-card--design {
  border-radius: 6px 10px 6px 10px;
  padding: 26px 28px 32px;
}
.how-card--deliver {
  border-radius: 10px;
  padding: 30px 24px 26px;
}
.how-card--evolve {
  border-radius: 6px 10px 10px 6px;
  padding: 26px 26px 30px;
}

.how-card--diagnose .how-step-num {
  border-radius: 6px;
}
.how-card--design .how-step-num {
  border-radius: 6px;
}
.how-card--deliver .how-step-num {
  border-radius: 6px;
}
.how-card--evolve .how-step-num {
  border-radius: 6px;
}

.how-card--diagnose .how-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.how-card--design .how-card-icon {
  border-radius: 8px;
}
.how-card--deliver .how-card-icon {
  border-radius: 8px;
}
.how-card--evolve .how-card-icon {
  border-radius: 8px;
}

/* ---- Card head: step badge + icon ---- */
.how-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Step badge: accent text on a light tinted chip — the card's color
   identity is communicated here before the user reads a single word */
.how-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.10);
  padding: 5px 10px;
  border-radius: 6px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Icon: square container, accent-tinted. Gains an outer glow ring on hover
   to reinforce which card is focused — matches the frame-edge color. */
.how-card-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.24s ease, box-shadow 0.24s ease;
}
.how-card-icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
}
.how-card:hover .how-card-icon {
  background: rgba(var(--accent-rgb), 0.16);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.07);
}

/* ---- Card body: title + description ---- */
.how-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.how-card-desc {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--text-2);
}


/* ============================================================
   TEAM — Hub & Spoke Orbital
============================================================ */

/* Section shell */
/* ============================================================
   WORK SHOWCASE — Peek Carousel
============================================================ */

.section-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #ddeeff 0%, #eaf3ff 30%, #f4f9ff 65%, #fff 100%);
  padding-bottom: var(--section-y);
}

.showcase-header {
  text-align: center;
  margin-bottom: 48px;
}

.showcase-em {
  font-style: italic;
  color: var(--blue);
}

/* ---- Carousel wrapper ---- */
.showcase-carousel {
  width: 100%;
  position: relative;
}

/* Clips overflowing side cards */
.showcase-track-wrap {
  overflow: hidden;
  padding: 28px 0 36px;
}

/* Sliding flex row — JS sets translateX */
.showcase-track {
  display: flex;
  gap: 28px;
  align-items: center;
  will-change: transform;
  transition: transform 0.54s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Card ---- */
.showcase-card {
  flex-shrink: 0;
  width: 580px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 6px 24px rgba(15,23,42,0.08),
    0 2px 8px  rgba(15,23,42,0.05);
  overflow: hidden;
  position: relative;
  /* Non-active: scaled down + dimmed */
  transform: scale(0.85);
  opacity: 0.50;
  transition:
    transform 0.54s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.54s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s ease;
  cursor: pointer;
  user-select: none;
}

.showcase-card.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow:
    0 28px 80px rgba(47,128,237,0.18),
    0 8px 28px  rgba(15,23,42,0.10);
  cursor: default;
}

/* ---- Media area (image / video / text) ---- */
.showcase-media {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-media img,
.showcase-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text-type media — dark blue gradient canvas */
.showcase-media--text {
  background: linear-gradient(135deg, #0a1628 0%, #132952 50%, #1a4080 100%);
  align-items: center;
  justify-content: center;
  padding: 44px 40px;
}

.showcase-text-content {
  max-width: 400px;
}

.showcase-text-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 16px;
}

.showcase-text-body {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.52;
  color: #fff;
  margin: 0 0 18px;
}

.showcase-text-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-text-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  padding-left: 16px;
  position: relative;
}

.showcase-text-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Placeholder art — shown until real screenshots are added */
.showcase-placeholder-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1628 0%, #1C5ED6 55%, #2F80ED 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.showcase-placeholder-label {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.showcase-placeholder-sub {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 240px;
}

/* Video overlay label */
.showcase-media--video { position: relative; }

.showcase-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(5,13,30,0.55) 0%, transparent 55%);
  pointer-events: none;
}

.showcase-video-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* ---- Badge (glassmorphism pill) ---- */
.showcase-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  pointer-events: none;
}

/* ---- Card body ---- */
.showcase-body {
  padding: 20px 24px 26px;
}

.showcase-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.014em;
  color: var(--text-1);
  margin: 0 0 7px;
}

.showcase-desc {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

/* ---- Navigation ---- */
.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
  padding-bottom: 4px;
}

.showcase-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(47,128,237,0.28);
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.20s ease, border-color 0.20s ease,
              color 0.20s ease, transform 0.18s ease;
  box-shadow: 0 2px 10px rgba(47,128,237,0.10);
}

.showcase-btn svg { width: 18px; height: 18px; }

.showcase-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.08);
}

.showcase-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.showcase-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ---- Dots ---- */
.showcase-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(47,128,237,0.22);
  cursor: pointer;
  transition: background 0.24s ease, width 0.24s ease, border-radius 0.24s ease;
  flex-shrink: 0;
}

.showcase-dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: var(--blue);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .showcase-card { width: min(480px, 80vw); }
  .showcase-media { height: 280px; }
  .showcase-text-body { font-size: 1.04rem; }
}

@media (max-width: 600px) {
  .showcase-card { width: min(320px, 88vw); }
  .showcase-media { height: 210px; }
  .showcase-media--text { padding: 28px 24px; }
  .showcase-text-body { font-size: 0.96rem; }
  .showcase-placeholder-label { font-size: 1.7rem; }
  .showcase-body { padding: 16px 18px 20px; }
  .showcase-title { font-size: 0.94rem; }
}


/* ============================================================
   SERVICES — Kinetic Strip Showcase
============================================================ */

.svc-section {
  padding: var(--section-y) 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* ── Subtle background tints (very low opacity on white) ── */
.svc-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.svc-dot-grid { display: none; }

/* ---- Star field ---- */
.svc-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.svc-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(47, 128, 237, 0.75);
  box-shadow:
    0 0 4px 1px rgba(47, 128, 237, 0.55),
    0 0 10px 2px rgba(47, 128, 237, 0.20);
  will-change: opacity, transform;
}

/* Stars off for users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .svc-stars { display: none; }
}

.svc-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

#svcOrb1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 40% 40%, rgba(47,128,237,0.07) 0%, transparent 65%);
  top: -200px;
  left: -220px;
}

#svcOrb2 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle at 60% 60%, rgba(139,92,246,0.06) 0%, transparent 65%);
  bottom: -140px;
  right: -160px;
}

#svcOrb3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 50% 50%, rgba(6,182,212,0.05) 0%, transparent 65%);
  top: 35%;
  left: 38%;
}

/* ── Section Header ─────────────────────────────────────── */
.svc-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 68px;
  position: relative;
  z-index: 1;
}

.svc-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-blue);
  border: 1px solid rgba(47,128,237,0.18);
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.svc-h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.22;
  margin-bottom: 16px;
}

.svc-lead {
  font-size: 1.025rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── Service Strips — 2-column grid ─────────────────────── */
.svc-strips {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}

.svc-strip {
  display: grid;
  /* ghost number removed from flow — positioned absolutely */
  grid-template-columns: 3px 88px 1fr;
  column-gap: 22px;
  align-items: center;
  padding: 44px 0;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

/* 5th service: span both columns, centered at ~60% width */
.svc-strip:nth-child(5) {
  grid-column: 1 / 3;
  width: 60%;
  margin: 0 auto;
  overflow: visible;
}

/* Hairline row separator — only between rows, not between column siblings */
.svc-strip:nth-child(3)::before,
.svc-strip:nth-child(4)::before,
.svc-strip:nth-child(5)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border) 80%,
    transparent 100%
  );
}

/* Strip 5 separator spans the full outer grid width */
.svc-strip:nth-child(5)::before {
  /* 5th item is 60% wide, centred — extend line to cover the remaining 40% */
  left: calc(-1 * (100% * 2/3));
  right: calc(-1 * (100% * 2/3));
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 10%,
    var(--border) 90%,
    transparent 100%
  );
}

/* ── Accent Bar ─────────────────────────────────────────── */
.svc-bar {
  align-self: stretch;
  width: 3px;
  min-height: 60px;
  border-radius: 3px;
  background: var(--clr, #2F80ED);
  transform-origin: top center;
  box-shadow: 0 0 8px rgba(var(--clr-rgb, 47,128,237), 0.35),
              0 0 22px rgba(var(--clr-rgb, 47,128,237), 0.18);
  transition: box-shadow 0.4s var(--ease);
}

.svc-strip:hover .svc-bar {
  box-shadow: 0 0 14px rgba(var(--clr-rgb, 47,128,237), 0.55),
              0 0 36px rgba(var(--clr-rgb, 47,128,237), 0.28);
}

/* ── Unique Icon Shapes ─────────────────────────────────── */
.svc-shape {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background: rgba(var(--clr-rgb, 47,128,237), 0.08);
  transition: background 0.38s var(--ease), filter 0.38s var(--ease);
  will-change: transform;
}

.svc-shape--hex     { clip-path: polygon(50% 0%, 95% 26%, 95% 74%, 50% 100%, 5% 74%, 5% 26%); }
.svc-shape--diamond { clip-path: polygon(50% 4%, 97% 50%, 50% 96%, 3% 50%); }
.svc-shape--octagon { clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); }
.svc-shape--circle  { clip-path: circle(48% at 50% 50%); }
.svc-shape--pentagon { clip-path: polygon(50% 0%, 99% 35%, 80% 98%, 20% 98%, 1% 35%); }

/* Inner highlight shimmer */
.svc-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.15) 50%,
    transparent 100%
  );
  clip-path: inherit;
  pointer-events: none;
}

.svc-shape svg {
  width: 28px;
  height: 28px;
  stroke: var(--clr, #2F80ED);
  position: relative;
  z-index: 1;
  transition: stroke 0.38s var(--ease), transform 0.38s var(--ease);
}

.svc-strip:hover .svc-shape {
  background: var(--clr, #2F80ED);
  filter: drop-shadow(0 0 16px rgba(var(--clr-rgb, 47,128,237), 0.45));
}

.svc-strip:hover .svc-shape svg {
  stroke: #fff;
  transform: scale(1.1);
}

/* ── Strip Content ──────────────────────────────────────── */
.svc-body { min-width: 0; }

.svc-body h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color 0.3s;
}

.svc-strip:hover .svc-body h3 { color: var(--blue); }

.svc-body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.76;
  transition: color 0.3s;
  max-width: none;
}

.svc-pill {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.695rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clr, #2F80ED);
  background: rgba(var(--clr-rgb, 47,128,237), 0.09);
  border: 1px solid rgba(var(--clr-rgb, 47,128,237), 0.22);
  padding: 4px 13px;
  border-radius: 40px;
  transition: background 0.3s, border-color 0.3s;
}

.svc-strip:hover .svc-pill {
  background: rgba(var(--clr-rgb, 47,128,237), 0.16);
  border-color: rgba(var(--clr-rgb, 47,128,237), 0.40);
}

/* ── Ghost Number — floats at right, outside grid flow ──── */
.svc-ghost {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15,23,42,0.038);
  letter-spacing: -0.06em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  transition: color 0.5s var(--ease);
  z-index: 0;
}

.svc-strip:hover .svc-ghost {
  color: rgba(var(--clr-rgb, 47,128,237), 0.10);
}

/* ── Responsive ─────────────────────────────────────────── */

/* Tablet: collapse to 1 column */
@media (max-width: 860px) {
  .svc-strips {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .svc-strip:nth-child(5) {
    grid-column: auto;
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  /* Restore separators for every strip after the first */
  .svc-strip + .svc-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--border) 20%,
      var(--border) 80%,
      transparent 100%
    );
  }

  /* Reset nth-child overrides that only apply in 2-col layout */
  .svc-strip:nth-child(3)::before,
  .svc-strip:nth-child(4)::before,
  .svc-strip:nth-child(5)::before {
    left: 0;
    right: 0;
  }

  .svc-ghost { font-size: 3.4rem; right: 0; }
}

/* Small mobile */
@media (max-width: 560px) {
  .svc-strip {
    grid-template-columns: 3px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 0;
    padding: 32px 0;
    align-items: start;
  }

  .svc-bar  { grid-row: 1 / 3; }

  .svc-shape {
    grid-column: 2;
    grid-row: 1;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .svc-shape svg { width: 21px; height: 21px; }

  .svc-body {
    grid-column: 2;
    grid-row: 2;
  }

  .svc-ghost { display: none; }

  .svc-head { margin-bottom: 48px; }
}


/* ============================================================
   PRODUCTS — two-column bento tiles
============================================================ */
.section-products .container {
  max-width: 1440px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

@media (min-width: 900px) {
  .section-products .container {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
}

@media (min-width: 1400px) {
  .section-products .container {
    padding-left: max(40px, env(safe-area-inset-left));
    padding-right: max(40px, env(safe-area-inset-right));
  }
}

.section-header--products {
  text-align: center;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 880px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 1200px) {
  .products-grid {
    gap: 44px;
  }
}

.product-tile {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-xl) + 2px);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  position: relative;
}

.product-tile:hover {
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 56px rgba(15, 23, 42, 0.1);
}

.product-tile-visual {
  position: relative;
  min-height: clamp(240px, 28vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 28px;
  overflow: hidden;
}

@media (min-width: 880px) {
  .product-tile-visual {
    padding: 40px 32px 32px;
  }
}

/* Photo + mesh header — Memora (cool blue) */
.product-tile--memora .product-tile-visual {
  background-image:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(232, 242, 255, 0.75) 45%,
      rgba(47, 128, 237, 0.09) 100%),
    url('assets/images/product-memora.jpg');
  background-size: cover;
  background-position: center;
}

/* Kalaved (warm accent) */
.product-tile--kalaved .product-tile-visual {
  background-image:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 245, 235, 0.8) 48%,
      rgba(234, 120, 80, 0.08) 100%),
    url('assets/images/product-kalaved.jpg');
  background-size: cover;
  background-position: center 35%;
}

.product-tile-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.product-tile-glow--memora {
  top: -40%;
  right: -15%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.2) 0%, transparent 68%);
}

.product-tile-glow--kalaved {
  top: -35%;
  left: -10%;
  background: radial-gradient(circle, rgba(220, 100, 60, 0.16) 0%, transparent 70%);
}

.product-tile-body {
  padding: 30px 28px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

@media (min-width: 880px) {
  .product-tile-body {
    padding: 34px 32px 40px;
  }
}

.product-tile-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.product-tile--memora .product-tile-eyebrow { color: var(--blue); }
.product-tile--kalaved .product-tile-eyebrow { color: #C2410C; }

.product-tile-name {
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 6px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-tile--kalaved .product-tile-name {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 55%, #9A3412 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.product-tile-tagline {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 16px;
}

.product-tile-desc {
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.68;
  color: var(--text-2);
  margin: 0 0 22px;
}

.product-tile-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.product-tile-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(0.88rem, 1vw, 0.94rem);
  line-height: 1.5;
  color: var(--text-2);
}

.product-tile-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--blue);
}

.product-tile--kalaved .product-tile-features svg {
  stroke: #EA580C;
}

/* Compact mockup inside tile header */
.product-mockup--compact {
  max-width: min(420px, 100%);
  width: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 880px) {
  .product-mockup--compact {
    max-width: min(480px, 100%);
  }
}

.mockup-body--compact {
  padding: 14px 16px;
  gap: 12px;
}

.mockup-body--kalaved {
  padding-bottom: 10px;
}

.mock-chart--compact .mock-bar-group {
  height: 56px;
}

@media (min-width: 880px) {
  .mock-chart--compact .mock-bar-group {
    height: 64px;
  }
}

.mock-chart--compact .mock-chart-label {
  margin-bottom: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .product-tile {
    transition: none;
  }
  .product-tile:hover {
    transform: none;
  }
}

/* Legacy mockup building blocks (shared) */
.product-mockup {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
/* Default cap for standalone mockups; tiles use .product-mockup--compact instead */
.product-mockup:not(.product-mockup--compact) {
  max-width: 360px;
}

.mockup-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 2px;
}

.mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Memora mockup widgets */
.mock-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-stat, .mock-stat-full {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-stat-full { flex-direction: row; justify-content: space-between; align-items: center; }
.mock-label  { font-size: 0.68rem; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.mock-value  { font-size: 1.1rem;  font-weight: 700; color: var(--blue); }
.mock-value-sm { font-size: 0.85rem; font-weight: 600; }

.mock-chart { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
.mock-chart-label { font-size: 0.68rem; color: var(--text-3); font-weight: 500; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}
.mock-bar {
  flex: 1;
  background: var(--gradient);
  border-radius: 3px 3px 0 0;
  opacity: 0.72;
  min-height: 6px;
}

/* Kalaved mockup widgets */
.mock-search { display: flex; flex-direction: column; gap: 8px; }
.mock-search-bar {
  height: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 7px;
}
.mock-filter-pills { display: flex; gap: 6px; }
.mock-pill {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}
.mock-pill-active {
  color: var(--blue);
  background: var(--bg-blue);
  border-color: rgba(47,128,237,0.25);
}
.mock-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-blue);
  flex-shrink: 0;
}
.mock-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-name { height: 7px; border-radius: 4px; background: var(--border); }
.mock-role { height: 6px; border-radius: 4px; background: var(--bg-light); }
.mock-badge {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.mock-badge-green { background: #DCFCE7; color: #16A34A; }
.mock-badge-blue  { background: var(--bg-blue); color: var(--blue); }


/* ============================================================
   CTA SECTION — glass panel + channel cards
============================================================ */
.cta-section {
  padding: clamp(72px, 12vw, 120px) 0;
  background: #0B1628;
  position: relative;
  overflow: hidden;
}

.cta-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  transform: scale(1.02);
}

/* Richer mesh overlay */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(47, 128, 237, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(99, 102, 241, 0.22) 0%, transparent 50%),
    linear-gradient(
      155deg,
      rgba(8, 15, 35, 0.88) 0%,
      rgba(15, 23, 42, 0.82) 40%,
      rgba(28, 64, 142, 0.78) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='36' cy='36' r='1.2' fill='%23ffffff' fill-opacity='0.055'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

/* Floating colour orbs */
.cta-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  animation: cta-float 14s ease-in-out infinite;
}

.cta-orb--1 {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: rgba(47, 128, 237, 0.55);
  top: -12%;
  left: -8%;
  animation-delay: 0s;
}

.cta-orb--2 {
  width: min(320px, 42vw);
  height: min(320px, 42vw);
  background: rgba(129, 140, 248, 0.4);
  bottom: -5%;
  right: 5%;
  animation-delay: -5s;
}

.cta-orb--3 {
  width: min(240px, 35vw);
  height: min(240px, 35vw);
  background: rgba(56, 189, 248, 0.35);
  top: 40%;
  right: -5%;
  animation-delay: -9s;
}

@keyframes cta-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, black 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, black 15%, transparent 72%);
}

.cta-container {
  position: relative;
  z-index: 3;
  max-width: 1120px;
}

.cta-panel {
  position: relative;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) clamp(22px, 3.5vw, 52px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15) inset,
    0 32px 64px rgba(0, 0, 0, 0.28),
    0 0 80px rgba(47, 128, 237, 0.12);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  overflow: hidden;
}

.cta-panel-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.2) 55%,
    transparent
  );
  pointer-events: none;
}

.cta-panel-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 36px);
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.cta-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
  animation: cta-pulse 2.4s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.92); }
}

.cta-panel-head h2 {
  color: #fff;
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.cta-headline-accent {
  background: linear-gradient(120deg, #fff 0%, #BFDBFE 45%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-lead {
  margin: 0 auto;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.72;
}

.cta-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Two columns only when each card is wide enough for the email on one line */
@media (min-width: 900px) {
  .cta-channels {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.cta-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-channel:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cta-channel:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.cta-channel-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
}

.cta-channel--email .cta-channel-icon {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0.35) 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.cta-channel--phone .cta-channel-icon {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.45) 0%, rgba(5, 150, 105, 0.35) 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.cta-channel-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

.cta-channel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.cta-channel-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .cta-channel--email .cta-channel-value {
    white-space: nowrap;
  }
}

.cta-channel-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.25s ease, color 0.2s ease;
}

.cta-channel:hover .cta-channel-arrow {
  transform: translate(3px, -3px);
  color: rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .cta-orb { animation: none; }
  .cta-eyebrow-dot { animation: none; }
  .cta-channel { transition: background 0.2s ease, border-color 0.2s ease; }
  .cta-channel:hover { transform: none; }
  .cta-channel:hover .cta-channel-arrow { transform: none; }
}


/* ============================================================
   FOOTER — brand-forward, layered layout
============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #FAFCFF 0%, #F0F6FF 42%, var(--bg-light) 100%);
  border-top: 1px solid rgba(47, 128, 237, 0.12);
}

.footer-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.footer-ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
}

.footer-ambient-blob--a {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  background: radial-gradient(circle, rgba(47, 128, 237, 0.35) 0%, transparent 68%);
  top: -35%;
  right: -12%;
}

.footer-ambient-blob--b {
  width: min(360px, 55vw);
  height: min(360px, 55vw);
  background: radial-gradient(circle, rgba(28, 94, 214, 0.22) 0%, transparent 70%);
  bottom: -20%;
  left: -8%;
}

.footer-ribbon {
  position: relative;
  z-index: 1;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue-dark) 0%,
    var(--blue) 35%,
    #5B9CF5 55%,
    var(--blue) 75%,
    var(--blue-dark) 100%
  );
  box-shadow: 0 2px 16px rgba(47, 128, 237, 0.35);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}

@media (min-width: 960px) {
  .footer-main {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 48px 56px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 56px;
  }
}

/* Brand column — no box; sits on page background */
.footer-brand {
  padding: 0;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
  transition: opacity var(--t);
}

.footer-logo-link:hover {
  opacity: 0.88;
}

.footer-logo {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.footer-lede {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  max-width: 38ch;
}

/* Navigation — last column wider so email fits on one line */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

@media (max-width: 639px) {
  .footer-nav-block--connect {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .footer-nav {
    /* Wider Connect column so the email stays on one line */
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 24px 28px;
  }
}

.footer-nav-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--blue);
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t), transform var(--t);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-nav-list a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.footer-nav-block--connect .footer-nav-list {
  gap: 12px;
}

.footer-inline-link {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  line-height: 1.45;
  word-break: break-word;
}

@media (min-width: 640px) {
  .footer-nav-block--connect .footer-inline-link > span:last-child {
    white-space: nowrap;
  }
}

.footer-inline-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-blue);
  color: var(--blue);
}

.footer-inline-link:hover .footer-inline-icon {
  background: rgba(47, 128, 237, 0.18);
  color: var(--blue-dark);
}

/* Dark base bar — brand navy + blue sheen */
.footer-base {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    165deg,
    #0B1220 0%,
    #0F172A 40%,
    #111f3a 100%
  );
  border-top: 1px solid rgba(47, 128, 237, 0.2);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.footer-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(47, 128, 237, 0.55) 30%,
    rgba(91, 156, 245, 0.45) 50%,
    rgba(47, 128, 237, 0.55) 70%,
    transparent
  );
  pointer-events: none;
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0;
}

@media (max-width: 599px) {
  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-base-meta {
    width: 100%;
    justify-content: space-between;
  }
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
  max-width: 100%;
}

.footer-base-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-motto {
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #E2E8F0 0%, #93C5FD 50%, #BFDBFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-to-top {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 128, 237, 0.35);
  background: rgba(47, 128, 237, 0.12);
  transition: background var(--t), border-color var(--t), color var(--t);
}

.footer-to-top:hover {
  color: #fff;
  background: rgba(47, 128, 237, 0.28);
  border-color: rgba(147, 197, 253, 0.5);
}

.footer-to-top-arrow {
  font-size: 0.95em;
  transition: transform var(--t);
}

.footer-to-top:hover .footer-to-top-arrow {
  transform: translateY(-2px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .symbol-ripples { display: none !important; }
  .footer-nav-list a:hover { transform: none; }
  .footer-to-top:hover .footer-to-top-arrow { transform: none; }
}


/* ============================================================
   RESPONSIVE FINE-TUNING
============================================================ */
@media (max-width: 599px) {
  :root { --section-y: 64px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .hero-desc { font-size: 1rem; }
  .section-header { margin-bottom: 44px; }
  .products-grid { gap: 18px; }
  .footer-main { padding-top: 44px; padding-bottom: 40px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero-symbol { display: none; }
}
