/* ============================================
   INFONETWORKS DESIGN SYSTEM
   Faithfully derived from the InfoNetworks UI Kit (Figma)
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;600;700&display=swap');

/* === DESIGN TOKENS === */
:root {
  /* --- Color Palette --- */
  --color-info-dark: #584e9f;
  /* Primary CTA, gradients, hover states */
  --color-info-light: #A278B3;
  /* Focus rings, selections, atmosphere */
  --color-info-charcoal: #282827;
  /* Typography only — NOT for backgrounds */

  /* Purple shade scale (Info Dark family) */
  --color-purple-100: #584E9D;
  --color-purple-90: #6A60AD;
  --color-purple-80: #7B73BC;
  --color-purple-70: #8D85CB;
  --color-purple-60: #9E98DA;
  --color-purple-20: #E8E6F5;
  --color-purple-10: #F4F3FA;

  /* Neutral / charcoal scale */
  --color-neutral-100: #282827;
  --color-neutral-90: #3D3D3C;
  --color-neutral-80: #535352;
  --color-neutral-70: #696968;
  --color-neutral-30: #B5B5B4;
  --color-neutral-20: #E5E5E6;
  --color-neutral-10: #F5F5F7;

  /* Surfaces */
  --color-surface: #FFFFFF;
  --color-background: #F5F5F7;

  /* Semantic */
  --color-success: #36C761;
  --color-warning: #FFAB2E;
  --color-critical: #FF4B55;

  /* --- Typography --- */
  --font-family: 'Mulish', sans-serif;

  --text-display: 40px;
  /* H1 */
  --text-section: 32px;
  /* H2 */
  --text-sub: 24px;
  /* H3 */
  --text-card: 20px;
  /* H4 */
  --text-body: 17px;
  /* Paragraph */
  --text-label: 13px;
  /* Form labels, nav */
  --text-caption: 12px;
  /* Metadata */

  --lh-display: 1.2;
  --lh-section: 1.3;
  --lh-sub: 1.4;
  --lh-body: 1.5;
  --lh-caption: 1.3;

  --fw-extralight: 200;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* --- Spacing (8pt grid) --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;
  --sp-10: 96px;
  --sp-11: 120px;

  /* --- Border Radius --- */
  --radius-sm: 4px;
  /* Badges, tags */
  --radius-md: 8px;
  /* Buttons, inputs, default cards */
  --radius-lg: 12px;
  /* Cards with emphasis */
  --radius-xl: 16px;
  /* Large containers, modals */
  --radius-full: 9999px;
  /* Pills, circular elements */

  /* --- Shadows --- */
  --shadow-card: 0px 4px 12px rgba(40, 40, 39, 0.08);
  --shadow-elevated: 0px 8px 24px rgba(40, 40, 39, 0.12);
  --shadow-deep: 0px 16px 48px rgba(40, 40, 39, 0.14);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* --- Layout --- */
  --container-max: 1280px;
  --container-pad: var(--sp-6);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: rgba(40, 40, 39, 0.02);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-info-light) 0%, var(--color-info-dark) 100%);
  border-radius: 14px;
  border: 4px solid var(--color-background);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-purple-70) 0%, #3D2C6E 100%);
  border: 3px solid var(--color-background);
  background-clip: padding-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--color-info-charcoal);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--sp-11) 0;
}

.section--tight {
  padding: var(--sp-9) 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
.text-display {
  font-size: var(--text-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-display);
  color: var(--color-info-charcoal);
  letter-spacing: -0.02em;
}

h2,
.text-section {
  font-size: var(--text-section);
  font-weight: var(--fw-regular);
  line-height: var(--lh-section);
  color: var(--color-info-charcoal);
  letter-spacing: -0.01em;
}

h3,
.text-sub {
  font-size: var(--text-sub);
  font-weight: var(--fw-regular);
  line-height: var(--lh-sub);
  color: var(--color-info-charcoal);
}

h4,
.text-card {
  font-size: var(--text-card);
  font-weight: var(--fw-regular);
  line-height: var(--lh-sub);
  color: var(--color-info-charcoal);
}

.text-body {
  font-size: var(--text-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
}

.text-label {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  line-height: var(--lh-sub);
}

.text-caption {
  font-size: var(--text-caption);
  font-weight: var(--fw-extralight);
  line-height: var(--lh-caption);
}

.text-muted {
  color: var(--color-neutral-70);
}

.text-brand {
  color: var(--color-info-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-family);
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: none;
  white-space: nowrap;
}

/* Size variants */
.btn--sm {
  padding: var(--sp-2) var(--sp-3);
  height: 32px;
}

.btn--md {
  padding: var(--sp-2) var(--sp-4);
  height: 40px;
}

.btn--lg {
  padding: var(--sp-3) var(--sp-5);
  height: 48px;
  font-size: var(--text-body);
}

/* Primary — filled */
.btn--primary {
  background-color: var(--color-info-dark);
  border-color: var(--color-info-dark);
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: var(--color-purple-90);
  border-color: var(--color-purple-90);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — outline */
.btn--secondary {
  background-color: transparent;
  border-color: var(--color-info-dark);
  color: var(--color-info-dark);
}

.btn--secondary:hover {
  background-color: var(--color-purple-10);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

/* Ghost / neutral */
.btn--ghost {
  background-color: transparent;
  border-color: var(--color-neutral-20);
  color: var(--color-info-charcoal);
}

.btn--ghost:hover {
  background-color: var(--color-surface);
  border-color: var(--color-neutral-30);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card--sm {
  padding: var(--sp-5);
  border-radius: var(--radius-md);
}

.card--accent {
  border: 1.5px solid var(--color-info-dark);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--color-neutral-20);
}

.card--flat:hover {
  box-shadow: var(--shadow-card);
  transform: none;
}

/* ============================================
   BADGES / STATUS CHIPS
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
}

.badge--success {
  background-color: rgba(54, 199, 97, 0.12);
  color: #1D8A44;
}

.badge--warning {
  background-color: rgba(255, 171, 46, 0.12);
  color: #A66A00;
}

.badge--critical {
  background-color: rgba(255, 75, 85, 0.12);
  color: #C41420;
}

.badge--neutral {
  background-color: var(--color-neutral-10);
  color: var(--color-neutral-70);
}

.badge--brand {
  background-color: var(--color-purple-10);
  color: var(--color-info-dark);
}

/* ============================================
   DIVIDERS
   ============================================ */
.divider {
  border: none;
  border-top: 1px solid var(--color-neutral-20);
  margin: var(--sp-6) 0;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  max-width: 640px;
}

.section-header--center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-header .eyebrow {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header p {
  color: var(--color-neutral-70);
  font-size: var(--text-body);
}

/* ============================================
   NAV / HEADER — layout only
   Appearance (background, border, shadow, colors) is handled
   entirely by solution-shared.css which loads after this file.
   ============================================ */
.site-header .container {
  display: flex;
  align-items: center;
  height: 84px;
}

/* .site-logo layout → solution-shared.css */
.site-logo__wordmark-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Footer logo — slightly smaller */
.footer-brand .site-logo__mark {
  height: 30px;
  width: auto;
}

.footer-brand .site-logo__wordmark-img {
  height: 38px;
}

/* .site-nav layout + nav links → solution-shared.css */
.site-nav a.active {
  color: var(--color-info-dark);
  font-weight: 600;
  background-color: rgba(88, 78, 157, 0.08);
}

/* Header actions layout + button appearance → handled by solution-shared.css */

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-info-charcoal);
  transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 64px;
  /* offset for fixed header */
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

/* White Glassmorphic Pane over the blobs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(100px) saturate(140%);
  -webkit-backdrop-filter: blur(100px) saturate(140%);
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 20%,
      #ffffff 0%,
      #fdfcff 50%,
      #f7f5ff 75%,
      #f0eeff 100%),
    radial-gradient(ellipse 70% 55% at 50% 60%,
      rgba(88, 78, 157, 0.06) 0%,
      transparent 70%);
}

/* Purple dot-grid — visible on white, masked to center */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(88,78,157,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 40%, black 10%, transparent 70%);
  z-index: 0;
}

/* Faint purple vignette at edges */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%,
      transparent 55%,
      rgba(88,78,157,0.03) 80%,
      rgba(88,78,157,0.05) 100%);
  z-index: 0;
}

/* Mesh gradient blobs */
.hero__blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.45;
  z-index: 1;
}

@keyframes hero-blob-float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes hero-blob-pulse {
  0% { opacity: 0.8; transform: translate(-50%, -35%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -35%) scale(1.05); }
  100% { opacity: 0.8; transform: translate(-50%, -35%) scale(1); }
}

/* blob--1: top-right — soft brand-purple accent */
.hero__blob--1 {
  width: 700px;
  height: 700px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, #A278B3 0%, #584E9D 40%, transparent 70%);
  opacity: 0.10;
  animation: hero-blob-float 10s ease-in-out infinite;
}

/* blob--2: bottom-left — deep purple anchor */
.hero__blob--2 {
  width: 560px;
  height: 560px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, #584E9D 0%, #7B6FD4 45%, transparent 70%);
  opacity: 0.09;
  animation: hero-blob-float 12s ease-in-out infinite reverse;
}

/* blob--3: centre-top wash */
.hero__blob--3 {
  width: 500px;
  height: 320px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(162,120,179,0.10) 0%, transparent 70%);
  opacity: 1;
}

/* blob--4: PRIMARY product glow — centred behind device cluster */
.hero__blob--4 {
  width: 1020px;
  height: 680px;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -35%);
  background: radial-gradient(ellipse 70% 65% at 50% 50%,
      rgba(88, 78, 157, 0.15) 0%,
      rgba(100, 85, 200, 0.08) 50%,
      transparent 80%);
  filter: blur(60px);
  opacity: 1;
  animation: hero-blob-pulse 8s ease-in-out infinite;
}

/* Single-column vertical hero — block stacking, no flexbox ambiguity */
.hero__vc {
  display: block;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px var(--sp-6) 100px;
  text-align: center;
  position: relative;
  z-index: 2; /* Needs to be above the glass pane */
}

/* Keep .hero .container and .hero__container harmless if they appear elsewhere */
.hero .container,
.hero__container {
  display: block;
  max-width: none;
  padding: 0;
  position: relative;
  z-index: 2; /* Needs to be above the glass pane */
}

/* Centered text block — top (eyebrow + headline only) */
.hero__text {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 36px; /* tighter — pull devices up closer to headline */
}

/* Bottom text block — subtext + CTAs below devices */
.hero__text--bottom {
  text-align: center;
  max-width: 680px;
  margin: 48px auto 0;
  padding: 44px 52px;
  background: rgba(251, 250, 255, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(88, 78, 157, 0.18);
  border-radius: 22px;
  box-shadow:
    0 16px 56px rgba(88, 78, 157, 0.12),
    0 2px 8px rgba(88, 78, 157, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
  --mx: 50%; --my: 50%;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Purple top pinstripe */
.hero__text--bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(88, 78, 157, 0.55) 25%,
    rgba(162, 120, 179, 0.85) 50%,
    rgba(88, 78, 157, 0.55) 75%,
    transparent 100%);
  border-radius: 22px 22px 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Radial mouse-follow spotlight */
.hero__text--bottom::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mx) var(--my),
    rgba(88, 78, 157, 0.10) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero__text--bottom:hover::after { opacity: 1; }

/* ensure text + buttons stay above spotlight */
.hero__text--bottom > * { position: relative; z-index: 1; }

.hero__text--bottom.visible, .reveal.hero__text--bottom.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── Headline load entrance ── */
@keyframes hero-word-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 10.5px;
  font-weight: 700;
  color: #584E9D;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: var(--sp-3);
  margin-bottom: 0;
  /* Purple pill badge */
  background: rgba(88,78,157,0.08);
  border: 1px solid rgba(88,78,157,0.22);
  border-radius: 999px;
  padding: 5px 14px;
  /* entrance */
  opacity: 0;
  animation: hero-word-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}

.hero__headline {
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: var(--fw-regular);
  line-height: 1.04;
  letter-spacing: -0.044em;
  color: var(--color-info-charcoal);
  margin-bottom: var(--sp-4);
  white-space: nowrap;
  /* entrance */
  opacity: 0;
  animation: hero-word-in 0.85s cubic-bezier(0.16,1,0.3,1) 0.22s forwards;
}

.hero__headline em {
  font-style: normal;
  color: #584E9D;
  font-weight: 700;
}

.hero__subtext {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-info-dark);
  margin-bottom: var(--sp-5);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--color-info-charcoal), #584E9D);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: var(--sp-5);
}

@keyframes btn-pulse-glow {
  0% { 
    box-shadow: 0 4px 18px rgba(88, 78, 157, 0.38), 0 1px 4px rgba(74, 108, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 0 rgba(88, 78, 157, 0.4); 
  }
  70% { 
    box-shadow: 0 4px 18px rgba(88, 78, 157, 0.38), 0 1px 4px rgba(74, 108, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 10px rgba(88, 78, 157, 0); 
  }
  100% { 
    box-shadow: 0 4px 18px rgba(88, 78, 157, 0.38), 0 1px 4px rgba(74, 108, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 0 rgba(88, 78, 157, 0); 
  }
}

/* ── Hero-specific primary button — gradient + glow ── */
.hero__actions .btn--primary {
  background: linear-gradient(135deg, #584E9D 0%, #4A6CF7 100%);
  border-color: transparent;
  box-shadow:
    0 4px 18px rgba(88, 78, 157, 0.38),
    0 1px 4px rgba(74, 108, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
  letter-spacing: 0.01em;
  animation: btn-pulse-glow 3s infinite;
}

.hero__actions .btn--primary:hover {
  background: linear-gradient(135deg, #6B5CC2 0%, #5A7FFF 100%);
  box-shadow:
    0 6px 28px rgba(88, 78, 157, 0.50),
    0 2px 6px rgba(74, 108, 247, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  border-color: transparent;
}

.hero__actions .btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(88, 78, 157, 0.30);
}

/* ── Hero-specific secondary button — light bg ghost ── */
.hero__actions .btn--secondary {
  background: transparent;
  border-color: rgba(88, 78, 157, 0.28);
  color: var(--color-info-dark);
  box-shadow: none;
}

.hero__actions .btn--secondary:hover {
  background: rgba(88, 78, 157, 0.06);
  border-color: rgba(88, 78, 157, 0.50);
  box-shadow: 0 0 0 3px rgba(88, 78, 157, 0.08);
  transform: translateY(-1px);
}

/* Hero visual panel */
.hero__visual {
  position: relative;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-deep);
  padding: var(--sp-6);
  overflow: hidden;
}

.hero__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.hero__panel-title {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
}

.hero__panel-meta {
  font-size: var(--text-caption);
  color: var(--color-neutral-70);
}

.hero__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.hero__stat {
  background: var(--color-background);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
}

.hero__stat-value {
  font-size: 22px;
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero__stat-label {
  font-size: var(--text-caption);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
}

.hero__stat--up .hero__stat-value {
  color: #1D8A44;
}

.hero__activity {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.hero__activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-background);
  border-radius: var(--radius-md);
}

.hero__activity-label {
  font-size: var(--text-label);
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
}

.hero__activity-detail {
  font-size: var(--text-caption);
  color: var(--color-neutral-70);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
  border-bottom: 1px solid var(--color-neutral-20);
  padding: var(--sp-6) 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}

.trust-bar__label {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-bar__divider {
  width: 1px;
  height: 20px;
  background-color: var(--color-neutral-20);
  flex-shrink: 0;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  flex: 1;
  overflow: hidden;
}

.trust-bar__logo {
  opacity: 0.35;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--color-neutral-100);
  white-space: nowrap;
}

.trust-bar__logo:hover {
  opacity: 0.55;
}

.trust-bar__logo svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-9);
}

.service-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  border: 1px solid transparent;
  cursor: default;
}

.service-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
  border-color: var(--color-purple-20);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-purple-10);
  border-radius: var(--radius-md);
  color: var(--color-info-dark);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.service-card h4 {
  font-size: var(--text-card);
  font-weight: var(--fw-regular);
  margin-bottom: var(--sp-1);
}

.service-card p {
  font-size: var(--text-label);
  line-height: 1.6;
  color: var(--color-neutral-70);
}

.service-card__link {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: gap var(--transition-fast);
  border-top: 1px solid var(--color-neutral-20);
}

.service-card:hover .service-card__link {
  gap: var(--sp-2);
}

/* ============================================
   WHY SECTION (SPLIT)
   ============================================ */
.why-section {
  background-color: var(--color-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.why-feature {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.why-feature__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-info-dark);
}

.why-feature__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.why-feature__body h4 {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.why-feature__body p {
  font-size: var(--text-label);
  color: var(--color-neutral-70);
  line-height: 1.6;
}

/* Why visual */
.why-visual {
  background-color: var(--color-background);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  border: 1px solid var(--color-neutral-20);
}

.why-visual__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.why-visual__title {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
}

.why-metric-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.why-metric {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.why-metric__label {
  font-size: var(--text-label);
  color: var(--color-neutral-70);
}

.why-metric__value {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
}

.why-metric__bar-wrap {
  flex: 1;
  margin: 0 var(--sp-4);
  height: 4px;
  background-color: var(--color-neutral-20);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.why-metric__bar {
  height: 100%;
  border-radius: var(--radius-full);
  background-color: var(--color-info-dark);
}

/* ============================================
   METRICS STRIP
   ============================================ */
.metrics-strip {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
  border-bottom: 1px solid var(--color-neutral-20);
  padding: var(--sp-9) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-item {
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
  border-right: 1px solid var(--color-neutral-20);
}

.metric-item:last-child {
  border-right: none;
}

.metric-item__value {
  font-size: 40px;
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.metric-item__value span {
  color: var(--color-info-dark);
}

.metric-item__label {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
  line-height: 1.4;
}

/* ============================================
   SECURITY SECTION (Dark)
   ============================================ */
.security-section {
  background-color: var(--color-info-charcoal);
  position: relative;
  overflow: hidden;
}

.security-section .hero__blob {
  opacity: 0.15;
}

.security-section .hero__blob--1 {
  background: radial-gradient(circle, var(--color-info-dark) 0%, transparent 70%);
  opacity: 0.4;
}

.security-section .hero__blob--2 {
  background: radial-gradient(circle, var(--color-info-light) 0%, transparent 70%);
  opacity: 0.15;
}

.security-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.security-inner .eyebrow {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.security-inner h2 {
  color: #FFFFFF;
  margin-bottom: var(--sp-5);
  font-size: var(--text-section);
}

.security-inner p {
  color: #fff;
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--sp-7);
}

.security-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.security-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: left;
  transition: background var(--transition-base);
}

.security-feature:hover {
  background: rgba(255, 255, 255, 0.1);
}

.security-feature__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: rgba(88, 78, 157, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--color-info-light);
}

.security-feature__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.security-feature h4 {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: #FFFFFF;
  margin-bottom: var(--sp-2);
}

.security-feature p {
  font-size: var(--text-caption);
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0;
}

.btn--primary-light {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--color-info-dark);
}

.btn--primary-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact-section {
  background-color: var(--color-background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: start;
}

.contact-form {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-card);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.form-label {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-family);
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-info-charcoal);
  background-color: var(--color-background);
  border: 1px solid var(--color-neutral-20);
  border-radius: var(--radius-md);
  padding: 0 var(--sp-4);
  height: 40px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-textarea {
  height: auto;
  padding: var(--sp-3) var(--sp-4);
  resize: vertical;
  min-height: 120px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-info-dark);
  box-shadow: 0 0 0 3px var(--color-purple-20);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-neutral-30);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23696968' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.contact-info {
  padding-top: var(--sp-4);
}

.contact-info h2 {
  margin-bottom: var(--sp-4);
}

.contact-info p {
  font-size: var(--text-body);
  color: var(--color-neutral-70);
  line-height: 1.7;
  margin-bottom: var(--sp-7);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-detail {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-purple-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-info-dark);
}

.contact-detail__icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.contact-detail__text {
  font-size: var(--text-label);
  color: var(--color-neutral-70);
}

.contact-detail__value {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
  padding: var(--sp-9) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-9);
}

.footer-brand p {
  font-size: var(--text-label);
  color: var(--color-neutral-70);
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 280px;
}

.footer-col h5 {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--text-label);
  color: var(--color-neutral-70);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-info-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-neutral-20);
}

.footer-bottom p {
  font-size: var(--text-caption);
  color: var(--color-neutral-30);
}

.footer-bottom__links {
  display: flex;
  gap: var(--sp-5);
}

.footer-bottom__links a {
  font-size: var(--text-caption);
  color: var(--color-neutral-30);
  transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
  color: var(--color-neutral-70);
}

/* ============================================================
   GLOBAL SCROLL REVEAL SYSTEM
   Apple / Linear / Vercel-inspired — restrained, premium motion
   Driven by data-r="up|fade|scale|device" on any element.
   JS adds .r-visible when element enters viewport.
   ============================================================ */

/* ── Shared easing token ── */
:root {
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-reveal: 1.05s;
}

/* ── Initial hidden states ── */
[data-r] {
  will-change: opacity, transform;
}

/* Slide up + fade — headings, subtext, eyebrows */
[data-r="up"] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-reveal) var(--ease-reveal),
    transform var(--dur-reveal) var(--ease-reveal);
}

/* Pure fade — supporting text, labels, dividers */
[data-r="fade"] {
  opacity: 0;
  transition: opacity var(--dur-reveal) var(--ease-reveal);
}

/* Scale + fade — cards, product visuals, screenshots */
[data-r="scale"] {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity var(--dur-reveal) var(--ease-reveal),
    transform var(--dur-reveal) var(--ease-reveal);
}

/* Device reveal — opacity + subtle lift only. NO blur, NO heavy scale.
   Devices must remain sharp and fully readable at all times. */
[data-r="device"] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.2s var(--ease-reveal),
    transform 1.2s var(--ease-reveal);
}

/* ── Revealed state — same for all types ── */
[data-r].r-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  /* explicitly clear any inherited filter */
}

/* ── Backward-compat: legacy .reveal class still works ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-reveal) var(--ease-reveal),
    transform var(--dur-reveal) var(--ease-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduce motion: collapse all reveals instantly ── */
@media (prefers-reduced-motion: reduce) {

  [data-r],
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-display: 36px;
    --text-section: 28px;
    --text-sub: 22px;
    --container-pad: var(--sp-5);
  }

  .hero__headline {
    font-size: 42px;
  }

  .hero .container,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
    /* hide on tablet for now */
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2) {
    border-right: none;
  }

  .metric-item:nth-child(3) {
    border-top: 1px solid var(--color-neutral-20);
  }

  .metric-item:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--color-neutral-20);
  }

  .security-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --text-display: 28px;
    --text-section: 22px;
    --text-sub: 20px;
    --container-pad: var(--sp-4);
  }

  .hero__headline {
    font-size: 32px;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-neutral-20);
    flex-direction: column;
    padding: var(--sp-5);
    gap: var(--sp-4);
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__actions .btn--secondary {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .security-features {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }

  .trust-bar__logos {
    flex-wrap: wrap;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-3);
    text-align: center;
  }


  .section {
    padding: var(--sp-9) 0;
  }
}


/* ============================================================
   V2 HOMEPAGE ADDITIONS
   ============================================================ */

/* ---- Shared utilities ---- */
.section--gray {
  background-color: var(--color-background);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.eyebrow--light {
  color: rgba(162, 120, 179, 0.9);
}

.section-header--center .eyebrow {
  color: var(--color-info-dark);
}

.section-header--center h2 {
  margin-bottom: var(--sp-4);
}

.section-header--center p {
  color: var(--color-neutral-70);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   HERO V2 — WITH DEVICE MOCKUPS
   ============================================================ */
.hero__container {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: center;
  gap: var(--sp-7);
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.hero__eyebrow::before {
  display: none;
}

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: 0;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.hero__proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__proof-item strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-info-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero__proof-item span {
  font-size: 11px;
  font-weight: var(--fw-light);
  color: var(--color-neutral-30);
  letter-spacing: 0.01em;
}

.hero__proof-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-neutral-20);
  flex-shrink: 0;
}

/* ============================================================
   DEVICE MOCKUPS — centered below text
   ============================================================ */
.hero__devices {
  display: block;
  width: calc(100% + 160px);
  margin-left: -80px;
  margin-right: -80px;
  text-align: center;
  overflow: visible;
  padding-bottom: 0;
}

/* Wrapper: inline-block so it centers within the block flow */
.hero__device-group {
  position: relative;
  display: inline-block;
  vertical-align: top;
  flex-shrink: 0;
  /* push below so phone overflow (bottom:-28px) clears before next element */
  margin-bottom: 70px;
  /* Establish stacking context so pseudo-elements sit behind the device */
  isolation: isolate;
  /* GPU compositing hint for scroll animation */
  will-change: transform, filter, opacity;
  transform-origin: center top;
}

/* Wide atmospheric bloom — soft halo on light bg */
.hero__device-group::before {
  content: '';
  position: absolute;
  inset: -160px;
  background: radial-gradient(ellipse 75% 60% at 50% 52%,
      rgba(88, 74, 200, 0.22) 0%,
      rgba(80, 68, 180, 0.12) 35%,
      rgba(60, 50, 140, 0.05) 60%,
      transparent 85%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* Tight core glow — cinematic bloom directly behind screen */
.hero__device-group::after {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 2%;
  right: 2%;
  background: radial-gradient(ellipse 65% 55% at 50% 50%,
      rgba(120, 100, 240, 0.18) 0%,
      rgba(88, 74, 210, 0.09) 40%,
      transparent 75%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* Floor shadow: flat ellipse beneath the whole device group */
.hero__devices::after {
  content: '';
  display: block;
  width: 80%;
  max-width: 1060px;
  height: 70px;
  margin: -28px auto 0;
  background: radial-gradient(ellipse 90% 100% at 50% 0%,
      rgba(60, 40, 140, 0.45) 0%,
      rgba(30, 20, 90, 0.22) 50%,
      transparent 80%);
  filter: blur(18px);
  border-radius: 50%;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

/* ── System network SVG layer ── */
.hero__network-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: hero-word-in 1.4s ease 0.6s forwards;
}

/* Diagonal light sweep — cinematic shimmer on dark system bg */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -30%;
  width: 120%;
  height: 160%;
  background: linear-gradient(118deg,
      transparent 0%,
      transparent 38%,
      rgba(160, 140, 255, 0.055) 44%,
      rgba(180, 160, 255, 0.085) 50%,
      rgba(160, 140, 255, 0.055) 56%,
      transparent 62%,
      transparent 100%);
  pointer-events: none;
  z-index: 0;
  transform: rotate(0deg);
}

/* TABLET — landscape orientation */
.device-tablet {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 900px;
  background: linear-gradient(175deg, #22222e 0%, #16161f 60%, #111119 100%);
  border-radius: 26px;
  padding: 12px;
  box-shadow:
    /* contact shadow — tight and dark */
    0 28px 56px rgba(0, 0, 0, 0.48),
    /* mid lift shadow */
    0 60px 120px rgba(0, 0, 0, 0.28),
    /* wide diffuse atmospheric shadow */
    0 100px 200px -20px rgba(0, 0, 0, 0.18),
    /* outer edge glow — purple/blue ambient */
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 50px rgba(88, 78, 157, 0.28),
    0 0 120px rgba(88, 78, 157, 0.14);
  flex-shrink: 0;
  /* transform and transition handled by GSAP hero tilt script */
  transition: box-shadow .6s ease;
}

/* Glass reflection — top-edge specular highlight */
.device-tablet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 17px;
  right: 17px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 20%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.18) 80%,
      transparent 100%);
  border-radius: 26px 26px 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Inner glass sheen — very faint gradient on the bezel face */
.device-tablet::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(170deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.015) 30%,
      transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.device-tablet:hover {
  transform: perspective(2000px) rotateY(0deg) rotateX(0deg);
}

/* Camera: left side, vertically centred */
.device-tablet__camera {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #3a3a42, #1e1e26);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .5), inset 0 1px 1px rgba(255, 255, 255, .08);
}

/* Screen: landscape proportions — wider than tall */
.device-tablet__screen {
  flex: 1;
  background: #0C0C18;
  border-radius: 12px;
  overflow: hidden;
  height: 472px;
  position: relative;
  contain: strict;
  will-change: transform;
  transform: translateZ(0);
  transform-style: flat;
  /* Thin inner top highlight simulating screen glass edge */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    inset 1px 0 0 rgba(255, 255, 255, 0.03);
}

/* Home bar: right side, vertically centred */
.device-tablet__home {
  width: 7px;
  height: 57px;
  background: linear-gradient(180deg, #333340 0%, #252530 100%);
  border-radius: 3px;
  flex-shrink: 0;
  margin: 0 0 0 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 4px rgba(0, 0, 0, .4);
}

/* PHONE */
.device-phone {
  position: absolute;
  right: -57px;
  bottom: -28px;
  width: 224px;
  background: linear-gradient(165deg, #21212e 0%, #15151e 60%, #101018 100%);
  border-radius: 40px;
  padding: 13px;
  box-shadow:
    /* contact shadow */
    0 24px 48px rgba(0, 0, 0, 0.58),
    /* mid lift */
    0 48px 90px rgba(0, 0, 0, 0.32),
    /* outer ring */
    0 0 0 1px rgba(255, 255, 255, 0.11),
    /* sharper purple edge glow */
    0 0 20px rgba(88, 78, 157, 0.28),
    0 0 50px rgba(88, 78, 157, 0.14);
  transform: perspective(800px) rotateY(3deg) rotateX(-1deg) translateZ(24px);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease;
  z-index: 10;
}

.device-phone:hover {
  transform: perspective(800px) rotateY(1deg) rotateX(0deg) translateZ(28px);
}

/* Phone top-edge glass reflection */
.device-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.20) 30%,
      rgba(255, 255, 255, 0.30) 50%,
      rgba(255, 255, 255, 0.20) 70%,
      transparent 100%);
  border-radius: 40px 40px 0 0;
  pointer-events: none;
  z-index: 2;
}

/* Phone inner sheen */
.device-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(165deg,
      rgba(255, 255, 255, 0.045) 0%,
      rgba(255, 255, 255, 0.012) 25%,
      transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.device-phone__notch {
  width: 47px;
  height: 7px;
  background: #1C1C1E;
  border-radius: 3px;
  margin: 0 auto 9px;
  position: relative;
  z-index: 2;
}

.device-phone__screen {
  background: #0D0D1A;
  border-radius: 33px;
  overflow: hidden;
  min-height: 402px;
}

/* ============================================================
   ANIMATED PORTAL SIMULATION KEYFRAMES
   ============================================================ */
@keyframes pbar-grow {
  0% {
    width: 0%;
  }

  80% {
    width: var(--pw, 75%);
  }

  100% {
    width: var(--pw, 75%);
  }
}

@keyframes row-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes num-tick {
  0% {
    content: '99.91%';
  }

  33% {
    content: '99.95%';
  }

  66% {
    content: '99.97%';
  }

  100% {
    content: '99.98%';
  }
}

@keyframes status-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(54, 199, 97, .6);
  }

  50% {
    opacity: .7;
    box-shadow: 0 0 0 4px rgba(54, 199, 97, 0);
  }
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes chart-wave {
  0% {
    transform: scaleY(.7);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(.85);
  }
}

/* ============================================================
   PORTAL UI (inside tablet)
   ============================================================ */
.portal-ui {
  padding: 8px;
  font-family: var(--font-family);
  color: #fff;
  font-size: 7.5px;
  line-height: 1.3;
}

.portal-ui__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  margin-bottom: 6px;
}

.portal-ui__logo {
  font-weight: 700;
  color: #fff;
  font-size: 7px;
  letter-spacing: 0.05em;
}

.portal-ui__status {
  display: flex;
  align-items: center;
  gap: 3px;
  color: rgba(54, 199, 97, 0.9);
  font-size: 6.5px;
}

.portal-ui__status-dot {
  width: 5px;
  height: 5px;
  background-color: #36C761;
  border-radius: 50%;
  flex-shrink: 0;
}

.portal-ui__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.portal-ui__metric {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 5px 4px;
  text-align: center;
}

.portal-ui__metric-val {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.portal-ui__metric-lbl {
  font-size: 5.5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portal-ui__chart-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 36px;
  margin-bottom: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.portal-ui__chart-bar {
  flex: 1;
  background: rgba(88, 78, 157, 0.7);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
}

.portal-ui__feed {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portal-ui__feed-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.portal-ui__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.portal-ui__dot--ok {
  background-color: #36C761;
}

.portal-ui__dot--info {
  background-color: #FFAB2E;
}

.portal-ui__dot--warn {
  background-color: #FF4B55;
}

.portal-ui__feed-label {
  flex: 1;
  color: #fff;
  font-size: 6.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-ui__feed-tag {
  font-size: 5.5px;
  font-weight: 700;
  background: rgba(54, 199, 97, 0.15);
  color: #36C761;
  padding: 1px 3px;
  border-radius: 2px;
  white-space: nowrap;
}

.portal-ui__feed-tag--info {
  background: rgba(255, 171, 46, 0.15);
  color: #FFAB2E;
}

/* ============================================================
   PHONE UI (inside phone mockup)
   ============================================================ */
.phone-ui {
  padding: 8px;
  font-family: var(--font-family);
  font-size: 7.5px;
  color: #fff;
  line-height: 1.3;
}

.phone-ui__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.phone-ui__label {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
}

.phone-ui__badge {
  background: #584E9D;
  color: white;
  font-size: 6px;
  font-weight: 700;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-ui__alert-ok {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(54, 199, 97, 0.12);
  border: 1px solid rgba(54, 199, 97, 0.25);
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 6px;
}

.phone-ui__check {
  color: #36C761;
  font-size: 9px;
  flex-shrink: 0;
}

.phone-ui__alert-title {
  font-size: 7px;
  font-weight: 700;
  color: #36C761;
}

.phone-ui__alert-sub {
  font-size: 5.5px;
  color: #fff;
}

.phone-ui__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 6px;
}

.phone-ui__stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 5px;
  text-align: center;
}

.phone-ui__stat-val {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.phone-ui__stat-lbl {
  font-size: 5px;
  color: #fff;
  text-transform: uppercase;
}

.phone-ui__services {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-ui__service {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 6.5px;
  color: #fff;
  padding: 3px 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}

.phone-ui__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-ui__dot--ok {
  background-color: #36C761;
}

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
  border-bottom: 1px solid var(--color-neutral-20);
  padding: var(--sp-5) 0;
  overflow: hidden;
}

.proof-bar .container {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.proof-bar__label {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.proof-bar__divider {
  width: 1px;
  height: 20px;
  background-color: var(--color-neutral-20);
  flex-shrink: 0;
}

.proof-bar__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  flex: 1;
  overflow: hidden;
}

.proof-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.3);
  transition: filter 0.3s ease;
  cursor: default;
  user-select: none;
}

.proof-logo:hover {
  filter: grayscale(0.15) opacity(0.7);
}

.proof-logo__svg {
  height: 20px;
  width: auto;
  display: block;
  overflow: visible;
}

/* ============================================================
   SOLUTION GALLERY
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-9);
}

.solution-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.solution-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-purple-10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base);
}

.solution-card:hover .solution-card__icon {
  background-color: var(--color-purple-20);
}

.solution-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-info-dark);
}

.solution-card h4 {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
  line-height: 1.3;
  margin: 0;
}

.solution-card p {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  transition: gap var(--transition-fast);
}

.solution-card:hover .solution-card__link {
  gap: var(--sp-3);
}

/* ============================================================
   MISSION CONTROL PORTAL (50/50 Split)
   ============================================================ */
.mission-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.mission-content {
  max-width: 520px;
}

.mission-content .eyebrow {
  display: block;
  margin-bottom: var(--sp-3);
}

.mission-content h2 {
  margin-bottom: var(--sp-4);
}

.mission-intro {
  color: var(--color-neutral-70);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.mission-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.mission-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.mission-feature__icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-purple-10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mission-feature__icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-info-dark);
}

.mission-feature__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mission-feature__body strong {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
}

.mission-feature__body span {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
}

/* ============================================================
   LAPTOP MOCKUP
   ============================================================ */
.mission-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Float + tilt animation for laptop mockup */
@keyframes laptopFloat {

  0%,
  100% {
    transform: translateY(0px) rotateX(0deg);
  }

  50% {
    transform: translateY(-10px) rotateX(1deg);
  }
}

.mission-visual {
  perspective: 1200px;
}

.laptop-mockup {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 32px 80px rgba(88, 78, 157, 0.28)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.22));
  animation: laptopFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, filter 0.3s ease;
  will-change: transform;
  cursor: default;
}

.laptop-screen {
  background: #0C0C18;
  border-radius: 12px 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #2A2A3A;
  border-bottom: none;
  aspect-ratio: 16 / 10;
}

.laptop-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Screen glow pulse */
.laptop-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(135deg,
      rgba(162, 120, 179, 0.07) 0%,
      transparent 50%,
      rgba(88, 78, 157, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}

.laptop-screen {
  position: relative;
}

.laptop-hinge {
  height: 8px;
  background: linear-gradient(180deg, #1A1A2A 0%, #252535 100%);
  border-left: 2px solid #2A2A3A;
  border-right: 2px solid #2A2A3A;
}

.laptop-base {
  height: 18px;
  background: linear-gradient(180deg, #252535 0%, #1E1E2C 100%);
  border-radius: 0 0 8px 8px;
  border: 2px solid #2A2A3A;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop-base__notch {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Laptop UI Interior */
.laptop-ui {
  display: flex;
  height: 100%;
  font-family: var(--font-family);
}

.laptop-ui__sidebar {
  width: 80px;
  background: #080812;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.laptop-ui__sidebar-logo {
  font-size: 8px;
  font-weight: 800;
  color: rgba(162, 120, 179, 0.9);
  letter-spacing: 0.05em;
  padding: 4px 6px;
  margin-bottom: 4px;
}

.laptop-ui__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.laptop-ui__nav-item {
  font-size: 7.5px;
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: default;
  white-space: nowrap;
}

.laptop-ui__nav-item--active {
  background: rgba(88, 78, 157, 0.25);
  color: rgba(162, 120, 179, 0.95);
  font-weight: 600;
}

.laptop-ui__main {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.laptop-ui__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.laptop-ui__page-title {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}

.laptop-ui__status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: rgba(54, 199, 97, 0.9);
}

.laptop-ui__status-dot {
  width: 6px;
  height: 6px;
  background: #36C761;
  border-radius: 50%;
  flex-shrink: 0;
}

.laptop-ui__metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.laptop-ui__metric {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 6px 5px;
  text-align: center;
}

.laptop-ui__metric-val {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.laptop-ui__metric-lbl {
  font-size: 5.5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.laptop-ui__chart {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  padding: 6px;
  flex: 1;
}

.laptop-ui__chart-label {
  font-size: 6px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.laptop-ui__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
}

.laptop-ui__bar {
  flex: 1;
  background: rgba(88, 78, 157, 0.6);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: background var(--transition-fast);
}

.laptop-ui__bar:nth-child(6),
.laptop-ui__bar:nth-child(11) {
  background: rgba(162, 120, 179, 0.7);
}

.laptop-ui__alerts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.laptop-ui__alert-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.laptop-ui__alert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.laptop-ui__alert-dot--ok {
  background: #36C761;
}

.laptop-ui__alert-dot--info {
  background: #FFAB2E;
}

.laptop-ui__alert-dot--warn {
  background: #FF4B55;
}

.laptop-ui__alert-name {
  flex: 1;
  font-size: 6.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.laptop-ui__alert-tag {
  font-size: 5.5px;
  font-weight: 700;
  background: rgba(54, 199, 97, 0.15);
  color: #36C761;
  padding: 1px 4px;
  border-radius: 2px;
  white-space: nowrap;
}

.laptop-ui__alert-tag--info {
  background: rgba(255, 171, 46, 0.15);
  color: #FFAB2E;
}

/* ============================================================
   LAPTOP UI — Portal Overview Recreation (lu-* classes)
   ============================================================ */

.laptop-ui__topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lu-bell {
  font-size: 7px;
  color: #fff;
  line-height: 1;
}

.lu-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #584E9D, #A278B3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.lu-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.lu-user-name {
  font-size: 6px;
  font-weight: 600;
  color: #fff;
}

.lu-user-org {
  font-size: 5px;
  color: #fff;
}

/* Progress banner */
.lu-banner {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(88, 78, 157, 0.18);
  border: 1px solid rgba(88, 78, 157, 0.35);
  border-radius: 5px;
  padding: 5px 7px;
}

.lu-banner__icon {
  font-size: 9px;
  color: #fff;
  flex-shrink: 0;
}

.lu-banner__body {
  flex: 1;
  min-width: 0;
}

.lu-banner__title {
  font-size: 6.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}

.lu-banner__sub {
  font-size: 5.5px;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lu-progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.lu-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #584E9D, #A278B3);
  border-radius: 2px;
}

.lu-banner__pct {
  font-size: 6px;
  font-weight: 700;
  color: rgba(162, 120, 179, 0.9);
  flex-shrink: 0;
}

.lu-banner__btn {
  font-size: 5.5px;
  font-weight: 700;
  background: rgba(162, 120, 179, 0.2);
  color: rgba(162, 120, 179, 0.95);
  border: 1px solid rgba(162, 120, 179, 0.4);
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stat cards row */
.lu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  flex: 1;
}

.lu-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lu-card__icon {
  font-size: 7px;
  margin-bottom: 1px;
}

.lu-card__icon--ok {
  color: #36C761;
}

.lu-card__icon--warn {
  color: #FFAB2E;
}

.lu-card__icon--alert {
  color: #FF4B55;
}

.lu-card__lbl {
  font-size: 5.5px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.lu-card__val {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.lu-card__val--alert {
  color: #FF4B55;
  font-size: 8px;
}

.lu-card__sub {
  font-size: 5.5px;
  color: #fff;
}

.lu-card__delta {
  font-size: 5.5px;
  font-weight: 600;
  margin-top: 1px;
}

.lu-card__delta--up {
  color: #36C761;
}

.lu-card__delta--down {
  color: #FFAB2E;
}



/* ============================================================
   PLATFORM ECOSYSTEM (Dark Section)
   ============================================================ */
.ecosystem-section {
  background-color: #10101C;
  color: #fff;
}

.ecosystem-section .section-header--center h2 {
  color: #fff;
}

.ecosystem-section .section-header--center p {
  color: #fff;
  max-width: 600px;
}

.ecosystem-header {
  margin-bottom: var(--sp-9);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.ecosystem-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--transition-base), background var(--transition-base);
}

.ecosystem-block:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(162, 120, 179, 0.25);
}

.ecosystem-block--accent {
  background: rgba(88, 78, 157, 0.12);
  border-color: rgba(88, 78, 157, 0.3);
}

.ecosystem-block--accent:hover {
  background: rgba(88, 78, 157, 0.18);
  border-color: rgba(88, 78, 157, 0.45);
}

.ecosystem-block__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.ecosystem-block__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ecosystem-block--accent .ecosystem-block__icon {
  background: rgba(88, 78, 157, 0.25);
  border-color: rgba(88, 78, 157, 0.3);
}

.ecosystem-block__icon svg {
  width: 28px;
  height: 28px;
  color: rgba(162, 120, 179, 0.9);
}

.ecosystem-block__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.ecosystem-block__tag {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecosystem-block__title {
  font-size: var(--text-sub);
  font-weight: var(--fw-regular);
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.ecosystem-block__body {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: #fff;
  line-height: 1.7;
}

.ecosystem-block__envs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.env-badge {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  padding: 3px var(--sp-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: all var(--transition-fast);
  cursor: default;
  letter-spacing: 0.02em;
}

.env-badge--active {
  background: rgba(88, 78, 157, 0.25);
  border-color: rgba(88, 78, 157, 0.5);
  color: rgba(162, 120, 179, 0.95);
}

.env-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.ecosystem-block__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.ecosystem-block__features li {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: #fff;
  padding-left: var(--sp-4);
  position: relative;
}

.ecosystem-block__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #fff;
}

/* Ghost button on dark bg */
.btn--ghost-light {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-9);
}

.case-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.case-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.case-card__visual {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.case-card__gradient {
  position: absolute;
  inset: 0;
}

.case-card__pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.case-card__pattern svg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  display: block;
}

.case-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1;
}

.case-card__sector {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card__headline {
  font-size: 16px;
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.case-card__stat-row {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--color-neutral-20);
  border-bottom: 1px solid var(--color-neutral-20);
}

.case-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-card__stat-val {
  font-size: var(--text-sub);
  font-weight: var(--fw-bold);
  color: var(--color-info-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.case-card__stat-lbl {
  font-size: var(--text-caption);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
}

.case-card__cta {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--transition-fast);
}

.case-card:hover .case-card__cta {
  gap: var(--sp-3);
}

/* ============================================================
   FOOTER — V2 UPDATE
   ============================================================ */
.site-footer {
  background-color: var(--color-background);
  border-top: 1px solid var(--color-neutral-20);
  padding-top: var(--sp-10);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--color-neutral-20);
}

.footer-brand .site-logo {
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: var(--sp-4);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-label);
  font-weight: var(--fw-regular);
  color: var(--color-neutral-70);
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--color-info-dark);
}

.footer-contact-link svg {
  color: var(--color-neutral-30);
  flex-shrink: 0;
}

.footer-col h5 {
  font-size: var(--text-label);
  font-weight: var(--fw-semibold);
  color: var(--color-info-charcoal);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--text-label);
  font-weight: var(--fw-light);
  color: var(--color-neutral-70);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-info-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
}

.footer-bottom p {
  font-size: var(--text-caption);
  font-weight: var(--fw-light);
  color: var(--color-neutral-30);
}

.footer-bottom__links {
  display: flex;
  gap: var(--sp-5);
}

.footer-bottom__links a {
  font-size: var(--text-caption);
  font-weight: var(--fw-light);
  color: var(--color-neutral-30);
  transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
  color: var(--color-neutral-70);
}

/* ============================================================
   RESPONSIVE — V2 ADDITIONS
   ============================================================ */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__eyebrow::before {
    display: none;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__devices {
    justify-content: center;
    height: 380px;
  }

  .device-tablet {
    width: 307px;
  }

  .device-phone {
    right: -24px;
    bottom: 10px;
    width: 142px;
  }

  .hero-portal-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .mission-content {
    max-width: 100%;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: 36px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar__logos {
    gap: var(--sp-5);
  }

  .proof-logo:last-child,
  .proof-logo:nth-last-child(2) {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    border-bottom: 1px solid var(--color-neutral-20);
    padding-bottom: var(--sp-6);
  }

  .hero__devices {
    display: none;
  }
}


/* ============================================================
   HERO DEVICE — INTERACTIVE ANIMATIONS
   ============================================================ */

/* Float */
@keyframes deviceFloat {

  0%,
  100% {
    transform: translate3d(0, 0px, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes deviceFloatPhone {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── Parallax driven directly by JS via translate3d ── */
.hero__device-group {
  transform: translate3d(0, 0, 0);
  transition: none;
}

/* ── Device tablet: float + tilt handled by GSAP hero tilt script ── */
.device-tablet {
  will-change: transform;
  transform-origin: center center;
  transition: filter 0.4s ease, box-shadow 0.6s ease;
}

.hero__devices:hover .device-tablet {
  filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.40));
}

/* ── Hero portal iframe — fills device-tablet__screen ── */
.hero-portal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: auto;
}

.device-phone {
  animation: deviceFloatPhone 7s ease-in-out infinite;
  animation-delay: -2.5s;
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: center center;
}

/* Status pulse */
@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(54, 199, 97, 0);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 4px rgba(54, 199, 97, 0.15);
  }
}

.portal-ui__status-dot,
.phone-ui__dot--ok,
.laptop-ui__status-dot {
  animation: statusPulse 2.5s ease-in-out infinite;
}

/* Chart bar transitions (height animated by JS) */
.portal-ui__chart-bar {
  transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop-ui__bar {
  transition: height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Feed item swap fade */
.portal-ui__feed-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portal-ui__feed-item.feed-updating {
  opacity: 0;
  transform: translateX(4px);
}

/* Phone stat value count-up glow */
.phone-ui__stat-val {
  transition: color 0.3s ease;
}

/* Tilt wrapper — perspective set here */
.hero__devices {
  perspective: 1200px;
}


/* ============================================================
   SECTION REFINEMENTS — SOLUTIONS, ECOSYSTEM, CASE STUDIES
   ============================================================ */

/* ----- Solutions: top row (icon + tag badge) ----- */
.solution-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.solution-card__tag {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(92, 79, 166, 0.08);
  border: 1px solid rgba(92, 79, 166, 0.15);
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}

/* Stronger card hover */
.solution-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(92, 79, 166, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(92, 79, 166, 0.25);
}

.solution-card:hover .solution-card__icon {
  color: var(--color-primary);
}

.solution-card:hover .solution-card__link {
  color: var(--color-primary);
  gap: var(--sp-2);
}

/* ----- Ecosystem: footer row ----- */
.ecosystem-block__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecosystem-block__feature-count {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: #fff;
  letter-spacing: 0.04em;
}

/* ----- Case Studies: visual label + shimmer hover ----- */
.case-card__visual {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.case-card__visual-label {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 3px 8px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.case-card__hover-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.case-card:hover .case-card__hover-shimmer {
  opacity: 1;
}

.case-card:hover .case-card__visual {
  filter: brightness(1.08);
  transition: filter 0.3s ease;
}

/* Hide old sector badge (moved into visual) */
.case-card__sector {
  display: none;
}

/* Larger stat values */
.case-card__stat-val {
  font-size: var(--text-h3);
  font-weight: var(--fw-extrabold);
  color: var(--color-neutral-100);
  line-height: 1;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.03em;
}

/* Arrow CTA */
.case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.case-card__cta:hover {
  gap: var(--sp-3);
}

.case-card__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.case-card__cta:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   INDUSTRY SOCIAL PROOF SECTION
   ============================================================ */
.industry-section {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-neutral-20);
  border-bottom: 1px solid var(--color-neutral-20);
  padding: var(--sp-6) 0;
}

.industry-section__header {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.industry-section__label {
  font-size: var(--text-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-40);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ----- Filter tabs ----- */
.ifilter {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--color-neutral-20);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ifilter::-webkit-scrollbar {
  display: none;
}

.ifilter__tab {
  position: relative;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-40);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
  white-space: nowrap;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}

.ifilter__tab:hover {
  color: var(--color-neutral-100);
}

.ifilter__tab--active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ----- Logo panels (stacked, fade via opacity) ----- */
.industry-logos {
  position: relative;
  min-height: 44px;
}

.ilogos__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(4px);
}

.ilogos__panel--active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ----- Individual logos ----- */
.ilogo {
  display: inline-flex;
  align-items: center;
  filter: grayscale(1) opacity(0.3);
  transition: filter 0.25s ease;
  cursor: default;
  user-select: none;
}

.ilogo:hover {
  filter: grayscale(0.1) opacity(0.65);
}

.ilogo__svg {
  height: 24px;
  width: auto;
  display: block;
  overflow: visible;
}

/* ============================================
   CONTACT / PROPOSAL FORM (modal context)
   ============================================ */

/* Header inside the modal */
.proposal-modal .contact-form-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-purple-20);
  position: relative;
}

.proposal-modal .contact-form-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-info-dark);
  border-radius: 2px;
}

.proposal-modal .contact-form-header .eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-purple-10);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.proposal-modal .contact-form-header h2 {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.proposal-modal .contact-form-header p {
  font-size: 13px;
  color: var(--color-neutral-70);
  margin: 0;
}

/* Form layout */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.contact-form__row .contact-form__group {
  margin-bottom: 0;
}

.contact-form__label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-70);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Base input */
.contact-form__input {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
  background: var(--color-purple-10);
  border: 1.5px solid var(--color-purple-20);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 40px;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  width: 100%;
}

.contact-form__input::placeholder {
  color: var(--color-neutral-30);
}

.contact-form__input:focus {
  border-color: var(--color-info-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(88, 78, 157, 0.12);
}

/* ── Custom purple select ────────────────── */
.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--color-purple-10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23584E9D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  color: var(--color-info-dark);
  font-weight: var(--fw-semibold);
  border-color: var(--color-purple-20);
}

.contact-form__select:focus {
  border-color: var(--color-info-dark);
  background-color: var(--color-purple-10);
  box-shadow: 0 0 0 3px rgba(88, 78, 157, 0.12);
}

.contact-form__select option {
  color: var(--color-info-charcoal);
  font-weight: var(--fw-regular);
  background: #fff;
}

/* Textarea */
.contact-form__textarea {
  height: auto;
  padding: 8px 12px;
  resize: none;
  min-height: 68px;
}

/* Submit button */
.contact-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  height: 44px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
}

/* Confirmation note */
.contact-form__note {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-success);
  font-weight: var(--fw-semibold);
  min-height: 18px;
}

/* ============================================
   PROPOSAL MODAL
   ============================================ */
.proposal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.proposal-modal[hidden] {
  display: none;
}

.proposal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 40, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: backdropIn 0.2s ease both;
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.proposal-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  padding: 32px 36px 28px;
  box-shadow:
    0 24px 64px rgba(88, 78, 157, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.08);
  animation: panelIn 0.28s cubic-bezier(0.22, 0.68, 0, 1.2) both;
  border: 1px solid var(--color-purple-20);
}

/* Purple top accent bar */
.proposal-modal__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light));
  border-radius: 20px 20px 0 0;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.proposal-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-purple-20);
  background: var(--color-purple-10);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--color-info-dark);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.proposal-modal__close:hover {
  background: var(--color-purple-20);
  border-color: var(--color-purple-80);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .proposal-modal__panel {
    padding: 24px 20px 20px;
    border-radius: 16px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CUSTOM SELECT DROPDOWN (proposal modal)
   ============================================ */
.cf-select {
  position: relative;
  width: 100%;
}

.cf-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--color-info-dark);
  background: var(--color-purple-10);
  border: 1.5px solid var(--color-purple-20);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.cf-select__trigger:focus {
  outline: none;
  border-color: var(--color-info-dark);
  box-shadow: 0 0 0 3px rgba(88, 78, 157, 0.12);
}

.cf-select--open .cf-select__trigger {
  border-color: var(--color-info-dark);
  background: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.cf-select__trigger.placeholder {
  color: var(--color-neutral-30);
  font-weight: var(--fw-regular);
}

.cf-select__arrow {
  flex-shrink: 0;
  color: var(--color-info-dark);
  transition: transform 0.2s ease;
}

.cf-select--open .cf-select__arrow {
  transform: rotate(180deg);
}

/* Dropdown list */
.cf-select__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #fff;
  border: 1.5px solid var(--color-info-dark);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 8px 24px rgba(88, 78, 157, 0.14);
  animation: dropIn 0.15s ease both;
}

.cf-select__list[hidden] {
  display: none;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Each option */
.cf-select__option {
  padding: 9px 14px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--color-info-charcoal);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.cf-select__option:hover {
  background: var(--color-purple-10);
  color: var(--color-info-dark);
  font-weight: var(--fw-semibold);
}

.cf-select__option--selected {
  background: var(--color-purple-20);
  color: var(--color-info-dark);
  font-weight: var(--fw-semibold);
}

/* ============================================================
   SOLUTION GALLERY SECTION  (sg-*)
   ============================================================ */

.sg-section {
  position: relative;
  background: #0b0b18;
  padding: 64px 0 160px;
  overflow: hidden;
}


.sg-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes sgOrb {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.12) translate(20px, -20px);
    opacity: 0.7;
  }
}

.sg-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.sg-bg__orb--1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(88, 78, 157, 0.35) 0%, transparent 70%);
  animation: sgOrb 8s ease-in-out infinite;
}

.sg-bg__orb--2 {
  width: 440px;
  height: 440px;
  bottom: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(162, 120, 179, 0.22) 0%, transparent 70%);
  animation: sgOrb 11s ease-in-out infinite reverse;
}

.sg-spotlight {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 120, 179, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.sg-section:hover .sg-spotlight {
  opacity: 1;
}

/* Header */
.sg-header {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.sg-header__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(162, 120, 179, 0.9);
  margin-bottom: 14px;
}

.sg-header__eyebrow::after {
  content: '';
  display: block;
  margin: 6px auto 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #584E9D, #A278B3);
  animation: sgUnderline 2.5s ease-in-out infinite alternate;
}

@keyframes sgUnderline {
  from {
    width: 24px;
    opacity: 0.7;
  }

  to {
    width: 48px;
    opacity: 1;
  }
}

.sg-header__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.sg-header__sub {
  font-size: 15px;
  color: #fff;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* Card */
.sg-card {
  position: relative;
  border-radius: 16px;
  cursor: default;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sg-card:hover {
  transform: translateY(-6px);
}

/* Dim siblings */
.sg-grid:has(.sg-card:hover) .sg-card:not(:hover) {
  opacity: 0.42;
}

/* Gradient border glow on hover */
.sg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(88, 78, 157, 0.8), rgba(162, 120, 179, 0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.sg-card:hover::before {
  opacity: 1;
}

.sg-card__glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, rgba(88, 78, 157, 0.2) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.sg-card:hover .sg-card__glow {
  opacity: 1;
}

/* Glass surface */
.sg-card__inner {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
}

.sg-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

/* Icon */
.sg-card__icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.sg-card__icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(88, 78, 157, 0.42), rgba(162, 120, 179, 0.25));
  animation: iconPulse 4s ease-in-out infinite;
}

.sg-card:hover .sg-card__icon-bg {
  background: linear-gradient(135deg, rgba(88, 78, 157, 0.7), rgba(162, 120, 179, 0.5));
  animation-duration: 2s;
}

.sg-card__icon-svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
  color: rgba(162, 120, 179, 0.95);
  transition: color 0.25s ease, transform 0.25s ease;
}

.sg-card:hover .sg-card__icon-svg {
  color: #fff;
  transform: scale(1.08);
}

/* Tags */
.sg-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.sg-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(88, 78, 157, 0.28);
  color: rgba(210, 180, 255, 1);
  border: 1px solid rgba(88, 78, 157, 0.45);
  transition: background 0.2s, color 0.2s;
}

.sg-card:hover .sg-tag {
  background: rgba(88, 78, 157, 0.45);
  color: #fff;
}

/* Text */
.sg-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.sg-card__desc {
  font-size: 13.5px;
  color: #fff;
  line-height: 1.65;
  margin: 0;
  flex: 1;
  transition: color 0.25s;
}

.sg-card:hover .sg-card__desc {
  color: #fff;
}

/* Key benefit reveal */
.sg-card__benefit {
  font-size: 12px;
  font-weight: 600;
  color: rgba(162, 120, 179, 0.9);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.sg-card:hover .sg-card__benefit {
  max-height: 40px;
  opacity: 1;
}

/* CTA */
.sg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(220, 190, 255, 1);
  text-decoration: none;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
  transition: color 0.2s;
}

.sg-card:hover .sg-card__cta {
  color: #fff;
}

.sg-card__arrow {
  transition: transform 0.2s ease;
}

.sg-card:hover .sg-card__arrow {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
  .sg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sg-grid {
    grid-template-columns: 1fr;
  }

  .sg-grid:has(.sg-card:hover) .sg-card:not(:hover) {
    opacity: 1;
  }
}

/* ============================================================
   SOLUTION GALLERY — Industry Filter System
   ============================================================ */

.sg-filters {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.sg-filter-pre-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.sg-filter-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 12, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  padding: 4px 4px 4px 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sg-filter-label {
  font-family: 'Mulish', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  margin-right: 4px;
  line-height: 1;
}

.sg-filter-pills {
  display: flex;
  gap: 3px;
}

.sg-filter-pill {
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 40px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sg-filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sg-filter-pill--active {
  background: linear-gradient(135deg, rgba(88, 78, 157, 0.7), rgba(130, 90, 170, 0.5));
  color: #fff;
  box-shadow: 0 0 18px rgba(88, 78, 157, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


/* Dynamic context label */
.sg-context-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(210, 180, 255, 0.9);
  text-align: center;
  min-height: 14px;
  margin-bottom: 16px;
  transition: opacity 0.35s ease;
  opacity: 0;
}

.sg-context-label.sg-context-label--visible {
  opacity: 1;
}

/* Smooth content transitions within cards */
.sg-card__desc {
  transition: opacity 0.18s ease;
}

.sg-card__tags {
  transition: opacity 0.18s ease;
}

/* Card relevance states driven by JS */
/* top match — full opacity, no class needed */

.sg-card--priority-2 {
  opacity: 0.65;
}

.sg-card--priority-1 {
  opacity: 0.38;
}

/* Smooth transition for relevance state changes */
.sg-card {
  transition: transform 0.25s ease, opacity 0.3s ease;
}

/* When filtering is active, disable hover-dim so they don't fight */
/* JS controls opacity directly; CSS rule here is intentionally empty */

/* ============================================================
   SOLUTION BUILDER WIZARD
   ============================================================ */
.builder-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 3, 18, 0.65);
  /* deep, darker ultraviolet */
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
  color: #fff;
  overflow: hidden;
}

/* Spatial Lighting Orbs */
.builder-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease 0.2s;
}

.builder-modal.is-active .builder-ambient {
  opacity: 0.45;
}

.builder-ambient--1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-info-dark) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.builder-ambient--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-info-light) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  opacity: 0.25;
}

.builder-modal.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.builder-header {
  position: relative;
  z-index: 2;
  height: 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.builder-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.builder-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.builder-progress {
  display: flex;
  gap: 12px;
}

.builder-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.builder-progress-dot.is-active {
  background: var(--color-info-light);
  box-shadow: 0 0 10px rgba(162, 120, 179, 0.8);
}

.builder-body {
  flex: 1;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.builder-step {
  position: absolute;
  width: 100%;
  max-width: 800px;
  padding: 40px;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.builder-step.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.builder-step.is-exiting {
  opacity: 0;
  transform: translateX(-40px);
}

.builder-step h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

.builder-grid--8 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
}

.builder-choice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.builder-choice:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.builder-choice.is-selected {
  background: linear-gradient(180deg, rgba(162, 120, 179, 0.15) 0%, rgba(88, 78, 157, 0.25) 100%);
  border-color: rgba(162, 120, 179, 0.8);
  box-shadow: 0 4px 24px rgba(162, 120, 179, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.builder-choice svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.65);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.builder-choice:hover svg {
  stroke: #fff;
}

.builder-choice.is-selected svg {
  stroke: #ffffff;
  filter: drop-shadow(0 0 6px rgba(162, 120, 179, 0.8));
  transform: scale(1.05);
}

.builder-choice span {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.01em;
}

/* Single select choices (pill shaped text) */
.builder-single-select {
  padding: 24px;
  border-radius: 12px;
  justify-content: center;
}

.builder-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.builder-form input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.builder-form input:focus {
  border-color: var(--color-info-light);
  background: rgba(255, 255, 255, 0.06);
}

.builder-footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.builder-back {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
}

.builder-back:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .builder-header {
    padding: 0 24px;
  }

  .builder-step {
    padding: 24px;
  }

  .builder-grid {
    grid-template-columns: 1fr;
  }
}
/* PREMIUM TABLET UI UPGRADES (Inside screen) */
.pdemo {
    background: linear-gradient(160deg, #100f1c 0%, #08070d 100%) !important;
}
.pdemo-m {
    background: linear-gradient(160deg, #100f1c 0%, #08070d 100%) !important;
}
/* Glass Glare sweeps underneath the bezel but over the screen */
.device-tablet__screen::after, .device-phone::after {
    content: '';
    position: absolute;
    top: -50%; left: -100%;
    width: 300%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.035) 45%, rgba(255,255,255,0) 50%);
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: 100;
}
.device-tablet__screen::after { animation: glass-glare 11s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.device-phone::after { animation: glass-glare 11s infinite cubic-bezier(0.4, 0, 0.2, 1) 1.5s; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0) 50%); }
.pdemo__sb, .pdemo-m__hdr {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.4) 100%) !important;
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.pdemo__cbar {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 12px currentColor, inset 0 6px 12px rgba(255,255,255,0.1) !important;
    transition: height 0.95s cubic-bezier(0.4, 0, 0.2, 1);
}
.pdemo__cbar::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
}
.pdemo__cols > .pdemo__card:first-child::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 16px 16px;
    z-index: 0; pointer-events: none;
}
.pdemo__feed-row, .pdemo-m__tkt {
    padding: 6px 8px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.02) !important;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}
.pdemo__feed-row:hover, .pdemo-m__tkt:hover {
    background: rgba(255,255,255,0.06) !important;
    transform: translateX(3px);
}
.pdemo__feed-row:first-child {
    background: linear-gradient(90deg, rgba(54, 199, 97, .12) 0%, rgba(54, 199, 97, .02) 100%) !important;
    border-left: 2px solid #36C761 !important;
}
.pdemo__kpi, .pdemo-m__kpi {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
.pdemo__kpi:hover, .pdemo-m__kpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 100%) !important;
    filter: brightness(1.1);
}

/* ============================================
   GLOBAL MOUSE GLOW SPOTLIGHT
   ============================================ */
#page-spotlight {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162,120,179,0.11) 0%, rgba(88,78,157,0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: left, top;
}
#page-spotlight.is-active { opacity: 1; }

