/* =========================================================
   STRIM — Global Styles  v2
   Clean, white-based, corporate SaaS
   ========================================================= */

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video   { max-width: 100%; display: block; }
a            { text-decoration: none; color: inherit; }
button       { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol       { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-text);
  font-weight: 500;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  white-space: normal;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.625rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.01em;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--color-primary-pale);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.30);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.50);
}

.btn-lg { padding: 0.9rem 2rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1.125rem; font-size: var(--text-xs); min-height: 36px; }

/* Button with icon pill (per mock) */
.btn-icon {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 0.75rem;
  gap: var(--space-5);
  border: 2px solid #111;
  min-height: 44px;
}
.btn-icon.btn-lg {
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  min-height: 48px;
}
.btn-icon:hover {
  background: #272727;
}
.btn-icon .btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-icon.btn-lg .btn-icon-circle {
  width: 36px;
  height: 36px;
}
.btn-icon .btn-icon-circle svg {
  width: 18px;
  height: 18px;
  display: block;
  color: #111;
}
.btn-icon .btn-icon-circle svg path { fill: #111; }

/* ── Section Label (pill) ───────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--duration-slow) var(--ease-out);
}
.card:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card);
}

/* ── Section separator ──────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

/* ── Scroll reveal baseline ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); }
.about-bento-tile { opacity: 0; transform: translateY(50px) scale(0.97); }

/* ── ====================================================== */
/*    NAVBAR                                                  */
/* ── ====================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  border-bottom: none;
  transition: all var(--duration-slow) var(--ease-out);
}

#navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(var(--nav-height) + 72px);
  z-index: -1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.12));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0, rgba(0,0,0,1) var(--nav-height), rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0, rgba(0,0,0,1) var(--nav-height), rgba(0,0,0,0) 100%);
  pointer-events: none;
  transition: background var(--duration-slow) var(--ease-out);
}

#navbar.scrolled::before {
  background: linear-gradient(to bottom, rgba(255,255,255,0.78), rgba(255,255,255,0.4));
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  width: 100%;
  margin-inline: auto;
  transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1100px) {
  #navbar:not(.scrolled) .nav-inner {
    max-width: 1200px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  color: #fff;
  letter-spacing: 0;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 4px;
}

.nav-link {
  padding: 6px var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-link:hover { color: var(--color-primary); }
.nav-link.active { color: var(--color-primary); font-weight: var(--weight-semibold); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}
.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  min-height: 28px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-dropdown-trigger .nd-chevron {
  width: 11px;
  height: 11px;
  transition: transform var(--duration-fast) var(--ease-out);
}
.lang-dropdown.open .lang-dropdown-trigger .nd-chevron {
  transform: rotate(180deg);
}
.lang-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 80px;
  z-index: 200;
}
.lang-dropdown.open .lang-dropdown-panel {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  text-align: left;
  white-space: nowrap;
}
.lang-option:hover { background: var(--bg-off-white); }
.lang-option.active { color: var(--color-primary); font-weight: var(--weight-semibold); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  min-width: 44px; min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-heading);
  border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@keyframes nav-slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nav-slide-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  height: calc(100dvh - var(--nav-height));
  background: #fff;
  z-index: var(--z-nav);
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  gap: 4px;
  overflow-y: auto;
}
.nav-mobile.open {
  display: flex;
  z-index: calc(var(--z-nav) + 1);
  animation: nav-slide-in 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.nav-mobile-link {
  padding: var(--space-4);
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--duration-fast) var(--ease-out);
}
.nav-mobile-link:hover { color: var(--color-primary); }

/* Mobile nav accordion (industries) */
.nav-mobile-accordion {
  border-bottom: 1px solid var(--border-light);
}
.nav-mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--text-body);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}
.nav-mobile-accordion-trigger:hover { color: var(--color-primary); }
.nav-mobile-accordion-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav-mobile-accordion.open .nav-mobile-accordion-chevron {
  transform: rotate(180deg);
}
.nav-mobile-accordion-panel {
  display: none;
  padding: 0 var(--space-4) var(--space-3);
  flex-direction: column;
  gap: 2px;
}
.nav-mobile-accordion.open .nav-mobile-accordion-panel {
  display: flex;
}
.nav-mobile-sublink {
  padding: var(--space-3) var(--space-3);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}
.nav-mobile-sublink:hover {
  color: var(--color-primary);
  background: var(--bg-off-white);
}

/* ── ====================================================== */
/*    INDUSTRIAS MEGA-MENU DROPDOWN                           */
/* ── ====================================================== */
.nav-dropdown-item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.nd-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-out);
}

.nav-dropdown-item:hover .nd-chevron,
.nav-dropdown-item.nd-open .nd-chevron {
  transform: rotate(180deg);
}

/* ── Panel ─────────────────────────────────────────────── */
.nd-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scale(0.97);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
  z-index: calc(var(--z-nav) + 20);

  width: min(940px, calc(100vw - 3rem));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 56px rgba(10, 10, 30, 0.13), 0 2px 10px rgba(10, 10, 30, 0.06);
  border: 1px solid var(--border-light);
  padding: 1.75rem 2rem;
  display: flex;
  gap: 0;
  margin-top: 14px;
}

/* Bridge: fills the gap so hover is uninterrupted */
.nd-panel::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-dropdown-item:hover .nd-panel,
.nav-dropdown-item.nd-open .nd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

/* ── Shared section label (INDÚSTRIAS / CASOS DE NEGÓCIO) ── */
.nd-section-label {
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 0 1rem;
}

/* ── Industries left section (~66%) ────────────────────── */
.nd-industries {
  flex: 0 0 62%;
  padding-right: 2rem;
}

.nd-ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 12px;
}

.nd-ind-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s var(--ease-out);
}

.nd-ind-item:hover {
  background: #F3F4F6;
}

.nd-ind-title {
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  display: block;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nd-ind-item:hover .nd-ind-title {
  color: var(--text-heading);
}

.nd-ind-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.45;
}

/* ── Vertical separator ─────────────────────────────────── */
.nd-sep {
  width: 1px;
  background: var(--border-light);
  flex-shrink: 0;
  margin-block: -0.5rem;
}

/* ── Cases right section (~34%) ─────────────────────────── */
.nd-cases {
  flex: 0 0 38%;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nd-cases-inner {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nd-case-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  gap: 0.875rem;
  transition: background 0.15s var(--ease-out);
}

.nd-case-item:hover {
  background: #EBEBED;
}

.nd-case-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nd-case-title {
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  display: block;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nd-case-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

.nd-case-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-subtle);
  flex-shrink: 0;
  transition: transform 0.15s var(--ease-out);
}

.nd-case-item:hover .nd-case-arrow {
  transform: translate(2px, -2px);
}

.nd-cases-img {
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-height: 100px;
  margin-top: 6px;
  margin-inline: 0.25rem;
}

.nd-cases-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── ====================================================== */
/*    HERO                                                    */
/* ── ====================================================== */
#hero {
  padding-top: var(--nav-height);
  background: #06091a;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

/* Dark ambient glows */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 80, 249, 0.28), transparent 55%),
    radial-gradient(circle at 82% 15%, rgba(0, 163, 255, 0.18), transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(0, 50, 249, 0.16), transparent 60%);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.hero-data-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-data-digit {
  position: absolute;
  top: -10%;
  left: var(--x);
  font-family: var(--font-heading);
  font-size: var(--size);
  color: rgba(100, 160, 255, 0.45);
  opacity: var(--opacity);
  animation: hero-fall var(--dur) linear infinite;
  animation-delay: var(--delay);
  transform: translate3d(var(--drift), -10vh, 0);
}

@keyframes hero-fall {
  0%   { transform: translate3d(var(--drift), -10vh, 0); opacity: 0; }
  15%  { opacity: var(--opacity); }
  100% { transform: translate3d(var(--drift), 110vh, 0); opacity: 0; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: clamp(var(--space-10), 7vh, var(--space-16)) 0 clamp(var(--space-8), 5vh, var(--space-12));
  position: relative;
  z-index: 2;
}

/* Left: text */
.hero-text {
  text-align: center;
  max-width: 1010px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  opacity: 0; transform: translateY(16px);
}

.hero-badge-dot {
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.75); }
}

.hero-title {
  font-size: clamp(3.75rem, 8vw, 7rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--space-6);
  opacity: 0; transform: translateY(24px);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.72;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  opacity: 0; transform: translateY(16px);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: 0; transform: translateY(16px);
}

.hero-meta {
  margin-top: var(--space-10);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  justify-content: center;
  opacity: 0;
}

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

.hero-meta-num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.hero-meta-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.hero-meta-divider {
  width: 1px; height: 40px;
  background: var(--border-medium);
}

/* Right: mockup */
.hero-mockup {
  position: relative;
  opacity: 0; transform: translateY(24px) scale(0.97);
  margin-inline: auto;
}

.hero-mockup-full {
  width: 100%;
  position: relative;
  padding: 0px 32px;
}


.hero-mockup-stage {
  display: flex;
  align-items: stretch;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 320px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow-1 {
  background: radial-gradient(circle at 20% 50%, rgba(0,50,249,0.45), transparent 70%);
}
.hero-glow-2 {
  background: radial-gradient(circle at 80% 50%, rgba(0,163,255,0.35), transparent 70%);
  transform: translateY(40px);
}
.hero-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(80,130,255,0.12), rgba(255,255,255,0) 55%);
  opacity: 0.5;
  pointer-events: none;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-120px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(120px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-side-img {
  flex: 1;
  min-height: clamp(200px, 20vw, 340px);
  overflow: hidden;
  z-index: 1;
  position: relative;
  border-radius: 0;
  border-radius: 24px;
  margin-top: 32px;
  opacity: 0;
}

.hero-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-side-left {
  margin-right: -120px;
  animation: heroSlideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
.hero-side-right {
  margin-left: -120px;
  animation: heroSlideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hero-dashboard-frame {
  position: relative;
  z-index: 3;
  width: 60%;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(255,255,255,0.4);
  border-bottom: none;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 -4px 40px rgba(4, 8, 43, 0.35);
  opacity: 0;
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.hero-dashboard-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-data-stream {
  position: absolute;
  inset: 10% 8% auto 8%;
  height: 220px;
  pointer-events: none;
  overflow: visible;
}
.hero-data-stream::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0,50,249,0.0) 10%, rgba(0,50,249,0.18) 45%, rgba(0,163,255,0.28) 60%, rgba(255,255,255,0.0) 90%);
  filter: blur(6px);
  opacity: 0.8;
  transform: skewY(-6deg);
}
.hero-data-stream::after {
  content: '';
  position: absolute;
  inset: 12% 20% auto 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,50,249,0.6), rgba(0,163,255,0.6), transparent);
  box-shadow:
    0 16px 0 rgba(0,50,249,0.2),
    0 32px 0 rgba(0,163,255,0.2),
    0 48px 0 rgba(0,50,249,0.15);
  opacity: 0.7;
}

.hero-mockup-shadow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 80px;
  background: rgba(0,50,249,0.25);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
}

/* Hero dark — btn-outline override */
#hero .btn-outline {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}
#hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.50);
  transform: translateY(-1px);
}

/* ── ====================================================== */
/*    DASHBOARD MOCKUP (shared)                               */
/* ── ====================================================== */
.mockup-window {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px var(--space-5);
  background: #F9FAFB;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-address {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 3px 12px;
  border-radius: var(--radius-md);
  max-width: 260px;
  margin-inline: auto;
}

.mockup-body {
  display: block;
}

.mockup-sidebar {
  background: #F9FAFB;
  border-right: 1px solid var(--border-light);
  padding: var(--space-5) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px var(--space-3);
  border-radius: var(--radius-md);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

.mockup-nav-item.active {
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.mockup-nav-icon {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}
.mockup-nav-item.active .mockup-nav-icon { opacity: 1; }

.mockup-main {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.mockup-stat {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.mockup-stat-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  margin-bottom: 2px;
}

.mockup-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

.mockup-chart-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  flex: 1;
}

.mockup-chart-title {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: var(--text-body);
  margin-bottom: var(--space-3);
}

.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 64px;
}

.mockup-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--color-primary);
  opacity: 0.18;
}
.mockup-bar.active { opacity: 1; }
.mockup-bar.high   { opacity: 0.55; }
.mockup-bar.med    { opacity: 0.35; }

.mockup-alerts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.mockup-alert {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: 10px;
  color: var(--text-body);
}

.mockup-alert-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-alert-dot.red    { background: var(--color-error); }
.mockup-alert-dot.yellow { background: var(--color-warning); }
.mockup-alert-dot.green  { background: var(--color-success); }

/* ════════════════════════════════════════════════════════════
   APP DASHBOARD MOCKUP — Figma faithful (node 18-6382)
   Built internally at 1500×772 px, displayed at 0.787× scale
═══════════════════════════════════════════════════════════════ */

.app-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1500 / 772;
}

.app-scale {
  position: absolute;
  top: 0; left: 0;
  width: 1500px;
  height: 772px;
  transform: scale(0.787);
  transform-origin: top left;
  background: #f7f7f7;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
}

/* White main content background */
.app-main-bg {
  position: absolute;
  left: 240px; top: 0; right: 0; bottom: 0;
  background: #fff;
}

/* ── SIDEBAR ── */
.app-sidebar {
  position: absolute;
  left: 24px; top: 23px;
  width: 194px;
  bottom: 23px;
  background: #fff;
  border-radius: 14px;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 0 2px;
}

.app-logo-mark {
  width: 30px; height: 30px;
  background: #004be9;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.app-logo-text {
  font-size: 15px; font-weight: 600;
  color: #1e1e1e;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #3a3a3a;
  position: relative;
  white-space: nowrap;
}

.app-nav-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}

.app-nav-item.app-active {
  background: #004be9;
  color: #fff;
}

.app-nav-item.app-active svg { opacity: 1; }

.app-nav-item.app-active::before {
  content: '';
  position: absolute;
  left: -14px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 28px;
  background: #fe5105;
  border-radius: 0 4px 4px 0;
}

.app-nav-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f2f2f2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-nav-notif {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #3a3a3a;
}

.app-nav-notif svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  margin-top: 4px;
}

.app-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #004be9 0%, #06b6d4 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.app-user-name { font-size: 11px; font-weight: 600; color: #1e1e1e; }
.app-user-role { font-size: 10px; color: #a1a1a1; margin-top: 1px; }

/* ── MAIN AREA ── */
.app-main-area {
  position: absolute;
  left: 264px; top: 0; right: 24px; bottom: 0;
}

/* Header block — Figma: y=24, h=128 */
.app-head-block {
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4px;
}

.app-greeting {
  font-size: 24px; font-weight: 600;
  color: #3a3a3a;
  margin: 0 0 6px;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
}

.app-welcome {
  font-size: 15px;
  color: #a1a1a1;
  margin: 0;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
}

/* Filter row — Figma: y=172, h=38 */
.app-filter-block {
  position: absolute;
  top: 172px; left: 0; right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 12px;
  color: #a1a1a1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-filter-tag svg {
  width: 11px; height: 11px;
  fill: none;
  stroke: #a1a1a1;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* KPI cards — Figma: y=224, h=180 */
.app-kpi-block {
  position: absolute;
  top: 224px; left: 0; right: 0;
  height: 180px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.app-kpi {
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 12px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
}

.app-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.app-kpi-label {
  font-size: 12px; color: #a1a1a1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-kpi-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.app-kpi-icon svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kpi-icon-orange { background: rgba(254,81,5,0.10); color: #fe5105; }
.kpi-icon-red    { background: rgba(254,5,5,0.10);  color: #fe0505; }
.kpi-icon-gray   { background: rgba(58,58,58,0.07); color: #3a3a3a; }
.kpi-icon-green  { background: rgba(18,204,65,0.10);color: #12cc41; }

.app-kpi-val {
  font-size: 42px; font-weight: 600;
  line-height: 1; color: #1e1e1e;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  margin-bottom: auto;
  padding-bottom: 8px;
}

.app-kpi-val.kpi-orange { color: #fe5105; }
.app-kpi-val.kpi-red    { color: #fe0505; }
.app-kpi-val.kpi-green  { color: #12cc41; }

.app-kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  align-self: flex-start;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.kpi-up   { background: rgba(18,204,65,0.12);  color: #0da832; }
.kpi-down { background: rgba(254,5,5,0.10);    color: #cc0000; }

/* Charts block — Figma: y=428, h=286 */
.app-charts-block {
  position: absolute;
  top: 428px; left: 0; right: 0;
  height: 286px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.app-chart-card {
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 12px;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-chart-head {
  font-size: 12.5px; font-weight: 600;
  color: #3a3a3a;
  margin-bottom: 12px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}

/* Bar chart */
.app-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding-top: 22px;
  flex-shrink: 0;
}

.app-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.app-bar-val {
  position: absolute;
  top: 0;
  font-size: 11px; font-weight: 700;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-bar {
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.app-bar-tip {
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  background: #1e1e1e;
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-bar-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1e1e1e;
}

.app-bar-xlabels {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.app-bar-xlabel {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #a1a1a1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Donut chart (dashboard) */
.app-donut-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.app-donut-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-donut-center-text {
  position: absolute;
  text-align: center;
  pointer-events: none;
}

.app-donut-pct {
  font-size: 20px; font-weight: 700;
  color: #1e1e1e; line-height: 1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-donut-lbl {
  font-size: 10px; color: #a1a1a1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  margin-top: 2px;
}

.app-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-legend-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 100px;
}

.app-legend-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-legend-name {
  font-size: 11px; color: #3a3a3a;
  flex: 1;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.app-legend-pct {
  font-size: 11px; font-weight: 600;
  color: #1e1e1e;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* ── ====================================================== */
/*    CLIENTS STRIP                                           */
/* ── ====================================================== */
#clients {
  position: relative;
  z-index: 5;
  margin-top: -120px;
  padding: clamp(var(--space-6), 4vh, var(--space-10)) 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clients-label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
}

.clients-track-wrapper {
  position: relative;
  overflow: hidden;
}
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, #fff 0%, transparent 100%);
}

.clients-track {
  display: flex;
  gap: var(--space-16);
  width: max-content;
  animation: scroll-logos 32s linear infinite;
}
@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-track:hover { animation-play-state: paused; }

.client-logo {
  display: flex;
  align-items: center;
  padding: var(--space-2) 0;
  flex-shrink: 0;
}
.client-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) opacity(0.40);
  transition: filter var(--duration-base) var(--ease-out);
}
.client-logo:hover img {
  filter: brightness(0) opacity(0.72);
}

/* ── ====================================================== */
/*    ABOUT / FEATURES (white sections)                       */
/* ── ====================================================== */
.section-white    { padding: var(--space-24) 0; background: var(--bg-white); }
.section-subtle   { padding: var(--space-32) 0; background: var(--bg-off-white); }
.section-pale     { padding: var(--space-32) 0; background: var(--bg-subtle); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  color: var(--text-heading);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: 1.72;
}

/* ── Generic split grid + heading/body (reused by several
   sections: multimodal block, about.html platform/story) ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-title {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--text-heading);
}

.about-body {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

/* ── Platform Modules panel (home multimodal block) ───────── */
.platform-modules-panel {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.platform-modules-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: var(--space-6);
}

.platform-module-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: #f7f7f7;
  border-radius: var(--radius-xl);
  min-height: 190px;
  justify-content: flex-end;
}

.platform-module-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-module-title {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--text-heading);
}

.platform-module-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.platform-module-item--compliance {
  position: relative;
  background: linear-gradient(180deg, rgba(10,15,30,0.2) 0%, rgba(10,15,30,0.82) 100%), url('../images/compliance-e-automated-reports-with-strim.webp') center/cover no-repeat;
  justify-content: flex-end;
}

.platform-module-item--compliance .platform-module-icon {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
}

.platform-module-item--compliance .platform-module-icon svg {
  stroke: #fff;
}

.platform-module-item--compliance .platform-module-title,
.platform-module-item--compliance .platform-module-desc {
  color: #fff;
}

/* ── About: "What is Strim" bento grid ──────────────────── */
.about-bento-grid {
  display: grid;
  grid-template-columns: 614fr 786fr;
  grid-template-areas:
    "founders topright"
    "bottomleft structured";
  gap: var(--space-6);
}

.about-top-right {
  grid-area: topright;
  display: grid;
  grid-template-columns: 264fr 498fr;
  gap: var(--space-6);
}

.about-bottom-left {
  grid-area: bottomleft;
  display: grid;
  grid-template-columns: 246fr 344fr;
  gap: var(--space-6);
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Founders card ------------------------------------------- */
.about-card-founders {
  grid-area: founders;
  background: #F6F6F6;
  justify-content: space-between;
  padding: var(--space-8);
  min-height: 20rem;
}
.about-founders-copy { position: relative; z-index: 1; max-width: 62%; }
.about-founders-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}
.about-founders-title strong { font-weight: 500; }
.about-founders-body {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}
.about-founders-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  background: var(--bg-white);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
}
.about-founders-badge img { height: 1rem; width: auto; display: block; }
.about-founders-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
}

/* Photo card (worker + tablet) ------------------------------ */
.about-card-photo {
  aspect-ratio: 264 / 321;
}
.about-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-badge {
  position: absolute;
  z-index: 1;
  left: 25%;
  bottom: 9.5%;
  width: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--bg-white);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem 0.5rem 0.4rem;
  box-shadow: var(--shadow-sm);
}
.about-photo-badge img { height: 1.4rem; width: auto; display: block; }
.about-photo-badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
}

/* Heading card ("What is Strim?") --------------------------- */
.about-card-heading {
  background: transparent;
  border-radius: 0;
  justify-content: space-between;
  padding: var(--space-2) 0;
}
.about-heading-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(var(--text-5xl), 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: var(--space-6);
}
.about-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.about-heading-body {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}
.about-heading-cta { flex-shrink: 0; text-transform: lowercase; }

/* Bottom-left stack: cloud stat + logo ----------------------- */
.about-card-cloud {
  aspect-ratio: 246 / 237;
  background-image: url("../images/img-blue-background.webp");
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
  padding: var(--space-6);
  color: var(--text-white);
}
.about-cloud-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.about-cloud-value span { opacity: 0.9; }
.about-cloud-label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.3;
}

.about-card-logo {
  background: #F6F6F6;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.about-logo-mark { height: 1.75rem; width: auto; }

/* Carousel card ---------------------------------------------- */
.about-card-carousel {
  background: #E5EEEF;
  align-items: center;
  padding: 0 2rem 2rem 2rem;
}
.about-carousel-viewport {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin-bottom: var(--space-6);
}
.about-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--duration-slow) var(--ease-out);
}
.about-carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-carousel-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.about-carousel-caption {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.about-carousel-title {
  display: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-3xl);
  color: #1F2E4F;
  text-align: center;
}
.about-carousel-title.is-active { display: block; }
.about-carousel-dots { display: flex; gap: var(--space-2); }
.about-carousel-dot {
  width: 21px; height: 3px;
  border-radius: var(--radius-full);
  background: rgba(165, 165, 165, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out);
}
.about-carousel-dot.is-active { background: #111; }

/* Structured data card ---------------------------------------- */
.about-card-structured {
  grid-area: structured;
  background: #F7FAFF;
  justify-content: space-between;
  padding: var(--space-8) var(--space-8) var(--space-8) 2.625rem;
  min-height: 22rem;
}
.about-structured-icon {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}
.about-structured-copy {
  position: relative;
  z-index: 1;
  max-width: 56%;
}
.about-structured-kicker {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.about-structured-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--text-heading);
}
.about-structured-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 76%;
  width: auto;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom right;
}

/* ── Features horizontal scroll ────────────────────────── */
.features-hscroll-section {
  padding: 0;
  background: var(--bg-white);
  overflow: hidden;
}

.features-pin-wrap {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  overflow: hidden;
}

.features-header {
  text-align: left;
  margin-inline: 0;
}

.features-header .section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.features-hscroll-outer {
  overflow: hidden;
  width: 100%;
}

.features-htrack {
  display: flex;
  gap: var(--space-6);
  padding-left: max(var(--space-8), calc((100vw - var(--container-max)) / 2 + var(--space-8)));
  padding-right: var(--space-8);
  will-change: transform;
}

.features-htrack .cap-card {
  min-width: 540px;
  max-width: 540px;
  flex-shrink: 0;
  height: auto;
  min-height: 300px;
  max-height: 540px;
}

/* ── Capabilities showcase (legacy — kept for other pages) ─ */
.capabilities-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.cap-row {
  display: grid;
  gap: var(--space-6);
}
.cap-row-2 { grid-template-columns: repeat(2, 1fr); }
.cap-row-3 { grid-template-columns: repeat(3, 1fr); }

.cap-card {
  border-radius: var(--radius-2xl);
  background: #f8f8f8;
  color: var(--text-heading);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 320px;
}

.cap-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cap-title {
  font-size: clamp(2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.cap-desc {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
}

.cap-image {
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.cap-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.cap-image-violet img{
  object-position: left;
}

.cap-card--dark {
  background: var(--gradient-cta);
  border-color: rgba(255, 255, 255, 0.08);
}

.cap-card--dark .cap-title {
  color: var(--text-white);
}

.cap-card--dark .cap-desc {
  color: var(--text-white-2);
}

.cap-card--dark .cap-image {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}


/* ── Industries grid ────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: left;
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  transition: transform var(--duration-base) var(--ease-out);
}
.industry-card:hover { box-shadow: var(--shadow-card); }

.industry-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  margin-bottom: var(--space-5);
}
.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-name {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-heading);
  margin-bottom: var(--space-2);
}
.industry-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }

.industry-checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.industry-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.5;
}
.industry-check::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-bytes-wrap {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stats-byte {
  position: absolute;
  left: -10%;
  top: var(--y);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 50, 249, 0.10);
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(0, 50, 249, 0.38);
  opacity: var(--opacity);
  animation: stats-byte-flow var(--dur) linear infinite;
  animation-delay: var(--delay);
  transform: translateX(-20%);
}

@keyframes stats-byte-flow {
  0% { transform: translateX(-20%); opacity: 0; }
  10% { opacity: var(--opacity); }
  100% { transform: translateX(130vw); opacity: 0; }
}

.stats-globe-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(800px, 92vw);
  height: 260px;
  transform: translateX(-50%);
  z-index: 1;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 18%, rgba(0,0,0,1) 100%);
}

#stats-globe {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.82;
  pointer-events: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: var(--space-10) var(--space-8);
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }

/* ── CTA strip ───────────────────────────────────────────── */
#cta-strip {
  padding: var(--space-16) 0 0;
  background: transparent;
  display: flex;
  justify-content: center;
}

.cta-card {
  width: 95%;
  max-width: 1200px;
  background: #fff;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 64px rgba(0, 18, 80, 0.16);
  position: relative;
  align-items: center;
  z-index: 2;
  margin-bottom: -70px;
}

.cta-card-image {
  order: 2;
  padding: var(--space-8);
  max-height: 420px;
}

.cta-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.cta-card-content {
  order: 1;
  padding: clamp(var(--space-12), 6vw, var(--space-12));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-6);
}

.cta-title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 300;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.cta-subtitle {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.72;
  margin: 0;
}

.cta-card-btn {
  align-self: flex-start;
  background-color: #0a0a0a;
}

.cta-card-btn:hover {
  background-color: #2e2e2e;
}

@media (max-width: 768px) {
  .cta-card {
    grid-template-columns: 1fr;
  }
  .cta-card-image {
    min-height: 260px;
  }
}

/* ── ====================================================== */
/*    FOOTER                                                  */
/* ── ====================================================== */
#footer {
  background: #f7f7f7;
  width: 95%;
  margin: 0 auto var(--space-8);
  border-radius: 32px;
  padding: calc(var(--space-16) + 70px) 0 var(--space-8);
  position: relative;
}

/* Brand bar: logo + social, separated from the columns below */
.footer-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-12);
  border-bottom: 1px solid #DDE1EC;
}
.footer-brand-bar .footer-logo-img { height: 44px; }

.footer-top {
  display: grid;
  grid-template-columns: 2.4fr repeat(4, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid #DDE1EC;
}

/* Brand column */
.footer-brand-col { display: flex; flex-direction: column; gap: var(--space-6); }

.footer-logo-link { display: inline-flex; }
.footer-logo-img  { height: 32px; width: auto; }

.footer-desc {
  font-size: var(--text-sm);
  color: #5A6482;
  line-height: 1.7;
  max-width: 360px;
}

/* Language selector + App Store badges */
.footer-lang-col   { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }

.footer-lang-dropdown .lang-dropdown-trigger {
  background: #fff;
  border: 1px solid #DADFEA;
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  gap: 8px;
}
.footer-lang-globe { width: 14px; height: 14px; stroke: #4A5270; flex-shrink: 0; }

.footer-app-badges { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-app-badge  { display: inline-flex; }
.footer-badge-img  { height: 40px; width: auto; display: block; }

/* Contact blocks (labeled, no icons) */
.footer-contact-block { display: flex; flex-direction: column; }
.footer-contact-block .footer-col-title { margin-bottom: var(--space-3); }

.footer-address-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-address-item {
  font-size: var(--text-sm);
  color: #5A6482;
  line-height: 1.6;
  max-width: 340px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-contact-link {
  font-size: var(--text-sm);
  color: #5A6482;
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-contact-link:hover { color: #004BE9; }

/* Nav columns */
.footer-col-title {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: #8892AA;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-link {
  font-size: var(--text-sm);
  color: #4A5270;
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-link:hover { color: #004BE9; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: var(--text-xs);
  color: #8892AA;
}

.footer-bottom-links {
  font-size: var(--text-xs);
  color: #8892AA;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: var(--text-xs);
  color: #8892AA;
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-bottom-link:hover { color: #004BE9; }

/* Social icons */
.footer-social { display: flex; gap: var(--space-2); }
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.footer-social-link:hover {
  background: #fff;
}
.footer-social-link svg { width: 18px; height: 18px; fill: #fff; }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  color: var(--text-heading);
}
.page-hero-sub {
  font-size: var(--text-xl);
  color: var(--text-body);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ── ====================================================== */
/*    RESPONSIVE                                              */
/* ── ====================================================== */
@media (max-width: 1024px) {
  #hero              { min-height: auto; }
  #clients           { padding: var(--space-6) 0; }
  .hero-inner        { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-subtitle     { max-width: 100%; }
  .hero-side-img     { display: none; }
  .hero-dashboard-frame { width: 80%; margin-inline: auto; border-radius: 16px 16px 0 0; }
  #clients           { margin-top: -60px; padding-top: 84px; }
  .about-grid        { grid-template-columns: 1fr; }
  .about-bento-grid  { grid-template-columns: 1fr; grid-template-areas: "founders" "topright" "bottomleft" "structured"; }
  .about-top-right   { grid-template-columns: 1fr 1fr; }
  .about-founders-copy { max-width: 100%; }
  .about-founders-orbit { opacity: 0.5; }
  .cap-row-2         { grid-template-columns: 1fr; }
  .cap-row-3         { grid-template-columns: repeat(2, 1fr); }
  .industries-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stat-item         { border-right: none; border-bottom: 1px solid var(--border-light); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
  .footer-top        { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col  { grid-column: 1 / -1; }
  .mockup-sidebar    { display: none; }
  .mockup-stats-row  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links         { display: none; }
  .nav-cta-desktop   { display: none; }
  .nav-hamburger     { display: flex; }
  .hero-title        { font-size: clamp(4.25rem, 9vw, 4.5rem); }
  .hero-inner        { gap: var(--space-10); padding: var(--space-10) 0 var(--space-6); }
  .hero-dashboard-frame { width: 92%; }
  #clients           { margin-top: -40px; padding-top: 64px; }
  .cap-row-2         { grid-template-columns: 1fr; }
  .cap-row-3         { grid-template-columns: 1fr; }
  .industries-grid   { grid-template-columns: 1fr 1fr; }
  .cta-card          { margin-bottom: -60px; }
  #footer            { padding-top: calc(var(--space-16) + 60px); }
  .footer-top        { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-meta         { flex-wrap: wrap; gap: var(--space-4); }
  .hero-meta-divider { display: none; }
  .about-top-right    { grid-template-columns: 1fr; }
  .about-bottom-left  { grid-template-columns: 1fr; }
  .about-stack        { flex-direction: row; }
  .about-stack .about-card { width: 50%; flex: 0 0 50%; }
  .about-founders-orbit { display: none; }
  .about-heading-title { font-size: var(--text-5xl); }
  .about-heading-row  { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .about-heading-cta  { align-self: flex-start; }
  .about-card-structured { flex-direction: column; justify-content: flex-start; gap: var(--space-6); padding: var(--space-8) 0 var(--space-8) var(--space-8); min-height: 0; }
  .about-structured-copy { max-width: 100%; margin-bottom: var(--space-6); margin-right: var(--space-8); }
  .about-structured-image { position: static; height: auto; width: 100%; max-width: 100%; margin-top: var(--space-4);}

  /* Features hscroll: fallback to vertical stack on mobile */
  .features-hscroll-section { overflow: visible; }
  .features-pin-wrap        { height: auto; padding: var(--space-20) 0 var(--space-10); gap: var(--space-8); overflow: visible; }
  .features-hscroll-outer   { overflow: visible; padding: 0px 24px;}
  .features-htrack          { flex-direction: column; padding-left: 0; padding-right: 0; }
  .features-htrack .cap-card { min-width: 0; max-width: 100%; height: auto; min-height: 320px; }
}

@media (max-width: 480px) {
  .industries-grid   { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: 1fr; }
  .stat-item         { border-right: none; }
  .stat-item:nth-child(odd) { border-right: none; }
}

/* ── Risk Condition — CTA section ───────────────────────── */
/* ── CTA MINI — video bg, 3-col, glassmorphism card ────── */
.risk-cta-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  clip-path: inset(2.5rem 2.5% 2.5rem 2.5% round 2rem);
  display: flex;
  align-items: center;
  will-change: clip-path;
}

.risk-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.risk-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 30, 0.68);
  z-index: 1;
}

.risk-cta-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-16) var(--space-12);
}

.risk-cta-col--left  { display: flex; justify-content: flex-start; align-items: center; }
.risk-cta-col--right { display: flex; justify-content: flex-end; align-items: center; }

.risk-cta-text { max-width: 380px; }

.risk-cta-title {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.risk-cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
}

.btn-glass-cta {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 20px rgba(0,0,0,0.20);
  gap: var(--space-3);
}
.btn-glass-cta:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 28px rgba(0,0,0,0.28);
}

.btn-glass-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.btn-glass-cta:hover .btn-glass-icon {
  background: rgba(255, 255, 255, 0.30);
}

/* ── Risk Condition Card — glassmorphism ─────────────────── */
.risk-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.5rem 1.625rem 1.375rem;
  width: 340px;
  flex-shrink: 0;
  box-shadow: 0 20px 56px rgba(0, 0, 30, 0.40), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  z-index: 10;
}

.risk-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.125rem;
  display: block;
  font-family: var(--font-body);
}

.risk-card-body {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* SVG Donut segments */
.risk-donut-svg { flex-shrink: 0; display: block; }

.risk-seg {
  transition: opacity 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.risk-seg-dim    { opacity: 0.18; }
.risk-seg-active { filter: drop-shadow(0 0 6px rgba(255,255,255,0.30)); }

/* Legend */
.risk-legend { flex: 1; min-width: 0; }

.risk-legend-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.2rem;
}

.risk-legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.28rem 0.4rem;
  margin: 0.08rem -0.4rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.risk-legend-row:hover,
.risk-row-active { background: rgba(255, 255, 255, 0.10); }

.risk-legend-left {
  display: flex;
  align-items: center;
  gap: 0.425rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  transition: color 0.15s, font-weight 0.15s;
}
.risk-row-active .risk-legend-left { font-weight: 700; color: #fff; }

.risk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.risk-legend-val {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  transition: color 0.15s, font-weight 0.15s;
}
.risk-row-active .risk-legend-val { color: #fff; font-weight: 700; }

@media (max-width: 1024px) {
  .risk-cta-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .risk-cta-col--mid { display: none; }
  .risk-cta-col--left  { justify-content: center; }
  .risk-cta-col--right { justify-content: center; }
}

@media (max-width: 680px) {
  .risk-cta-section { clip-path: none; min-height: 90vh; }
  .risk-cta-inner {
    grid-template-columns: 1fr;
    padding: var(--space-12) var(--space-6);
  }
  .risk-cta-col--left  { justify-content: center; }
  .risk-cta-col--right { justify-content: center; }
  .risk-card { width: 100%; max-width: 340px; }
  .risk-cta-text { text-align: center; }
}

/* ── ====================================================== */
/*    INDUSTRIES — Dark Section                               */
/* ── ====================================================== */
.section-dark {
  background: #0a0a0a;
  padding: var(--space-32) 0 var(--space-24);
  position: relative;
}

.section-label-dark {
  color: rgba(255, 255, 255, 0.55);
}

.industries-dark-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: end;
  margin-bottom: var(--space-16);
}

.industries-dark-left { display: flex; flex-direction: column; align-items: flex-start; }

.industries-dark-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0;
}

.industries-dark-kicker {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.industries-dark-desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.75;
}

/* Horizontal scroll container */
.industries-dark-scroll-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.industries-dark-scroll-wrapper::-webkit-scrollbar { display: none; }
.industries-dark-scroll-wrapper.is-dragging { cursor: grabbing; user-select: none; }

.industries-dark-row {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  padding-top: var(--space-2);
  padding-bottom: var(--space-6);
  padding-left: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-8)));
  padding-right: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-8)));
}

/* Card */
.industry-dark-card {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Dominant image */
.industry-dark-image {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out);
}

/* Gradient fallbacks for industries without photos */
.industry-dark-image--mining {
  background-image: linear-gradient(155deg, #1e1000 0%, #3d2400 35%, #6b4000 65%, #2a1800 100%);
}
.industry-dark-image--pulp {
  background-image: linear-gradient(155deg, #001408 0%, #002d10 35%, #005020 65%, #001a0a 100%);
}

/* Title below image */
.industry-dark-name {
  font-size: var(--text-2xl);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* 3 bullet topics */
.industry-dark-topics {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.industry-dark-topics li {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.55;
  padding-left: var(--space-4);
  position: relative;
}
.industry-dark-topics li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

/* View More button inside industry cards */
.industry-dark-viewmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.50);
  transition: color 0.25s var(--ease-out);
  pointer-events: none;
}
.industry-dark-viewmore svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.industry-dark-card:hover .industry-dark-viewmore {
  color: #fff;
}
.industry-dark-card:hover .industry-dark-viewmore svg {
  transform: translate(2px, -2px);
}

/* ── ====================================================== */
/*    NAVBAR — Dark Mode (lights-off effect)                  */
/* ── ====================================================== */
#navbar {
  transition:
    background var(--duration-slow) var(--ease-out),
    border-color var(--duration-slow) var(--ease-out),
}

.nav-logo-img {
  transition: filter var(--duration-slow) var(--ease-out);
}

.lang-dropdown-trigger {
  transition:
    background var(--duration-slow) var(--ease-out),
    border-color var(--duration-slow) var(--ease-out),
    color var(--duration-slow) var(--ease-out);
}

#navbar.nav-dark::before {
  background: linear-gradient(to bottom, rgba(6, 9, 26, 0.42), rgba(6, 9, 26, 0.05));
}
#navbar.nav-dark.scrolled::before {
  background: linear-gradient(to bottom, rgba(6, 9, 26, 0.7), rgba(6, 9, 26, 0.4));
}

#navbar.nav-dark .nav-logo-img {
  filter: none;
}
#navbar.nav-dark .nav-link {
  color: rgba(255, 255, 255, 0.65);
}
#navbar.nav-dark .nav-link:hover {
  color: #fff;
}
#navbar.nav-dark .nav-link.active {
  color: #fff;
}
#navbar.nav-dark .nav-link.active::after {
  background: rgba(255, 255, 255, 0.80);
}
#navbar.nav-dark .lang-dropdown-trigger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.80);
}
#navbar.nav-dark .lang-dropdown-panel {
  background: rgb(14, 20, 46);
  border-color: rgba(255, 255, 255, 0.10);
}
#navbar.nav-dark .lang-option {
  color: rgba(255, 255, 255, 0.70);
}
#navbar.nav-dark .lang-option:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
#navbar.nav-dark .lang-option.active {
  color: #7c9fff;
}
#navbar.nav-dark .nav-hamburger {
  border-color: rgba(255, 255, 255, 0.12);
}
#navbar.nav-dark .nav-hamburger span {
  background: #fff;
}
#navbar.nav-dark + #nav-mobile {
  background: rgb(6, 9, 26);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-link {
  color: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-accordion {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-accordion-trigger {
  color: rgba(255, 255, 255, 0.72);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-accordion-trigger:hover {
  color: #fff;
}
#navbar.nav-dark + #nav-mobile .nav-mobile-sublink {
  color: rgba(255, 255, 255, 0.50);
}
#navbar.nav-dark + #nav-mobile .nav-mobile-sublink:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Industries nav arrows ──────────────────────────────── */
.industries-dark-nav {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.ind-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  color: rgba(255, 255, 255, 0.60);
  flex-shrink: 0;
}
.ind-nav-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.30);
  color: #fff;
}
.ind-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}

/* ── Industries dark — responsive ──────────────────────── */
@media (max-width: 1024px) {
  .industries-dark-header { grid-template-columns: 1fr; gap: var(--space-6); }
  .industries-dark-nav { margin-top: var(--space-4); }
}
@media (max-width: 768px) {
  .industry-dark-card { width: 280px; }
  .industry-dark-image { height: 310px; }
  .industries-dark-header { margin-bottom: var(--space-10); }
}

/* ── ====================================================== */
/*    INTRO SPLIT — text + image composition                  */
/* ── ====================================================== */
.intro-split-section {
  padding-block: var(--space-24);
}

.intro-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Left column */
.intro-split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.intro-split-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.intro-split-body {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.75;
  max-width: 44ch;
}

/* Right column — image composition */
.intro-split-composition {
  position: relative;
  height: 480px;
}

.comp-img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  background: var(--bg-subtle);
}

.comp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main image — left side, full height */
.comp-img-main {
  left: 0;
  top: 0;
  width: 58%;
  height: 100%;
}

/* Top-right image */
.comp-img-top {
  right: 0;
  top: 0;
  width: 38%;
  height: 47%;
}

/* Bottom-right image */
.comp-img-bottom {
  right: 0;
  bottom: 0;
  width: 38%;
  height: 47%;
}

/* Responsive */
@media (max-width: 1024px) {
  .intro-split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .intro-split-composition {
    height: 380px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .intro-split-body { max-width: 100%; }
}

@media (max-width: 640px) {
  .intro-split-composition { height: 300px; }
  .intro-split-section { padding-block: var(--space-16); }
}
