/* ============================================================
   BrokenLogix — Main Design System
   Premium Dark B2B Industrial CSS
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:    #080809;
  --bg-secondary:  #0f0f11;
  --bg-card:       #131316;
  --bg-card-hover: #181820;
  --bg-elevated:   #1a1a20;

  /* Text */
  --text-primary:  #ece9e3;
  --text-secondary:#b8b4ac;
  --text-muted:    #6b6870;
  --text-xmuted:   #3d3c42;

  /* Accent */
  --accent:        #e01e2e;
  --accent-dark:   #b01520;
  --accent-light:  #ff3344;
  --accent-glow:   rgba(224, 30, 46, 0.15);
  --accent-subtle: rgba(224, 30, 46, 0.08);

  /* Borders */
  --border:        rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-accent: rgba(224, 30, 46, 0.4);
  --border-hover:  rgba(255, 255, 255, 0.15);

  /* Spacing */
  --section-py:    clamp(5rem, 10vw, 8rem);
  --container-px:  clamp(1.25rem, 5vw, 2.5rem);
  --max-w:         1320px;

  /* Typography */
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:      0.18s;
  --dur-normal:    0.32s;
  --dur-slow:      0.55s;

  /* Shadows */
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.6);
  --shadow-accent: 0 0 40px rgba(224, 30, 46, 0.2);

  /* Radius */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.container-sm {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ── Typography Scale ─────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.75; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }

/* ── Eyebrow Label ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Section Heading ─────────────────────────────────────── */
.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading .eyebrow {
  margin-bottom: 1rem;
}

.section-heading h2 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-heading p {
  max-width: 540px;
  margin-top: 1rem;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.8em;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

.btn:hover::after { opacity: 1; }

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.btn-ghost:hover {
  background: var(--accent-subtle);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1em 2.2em;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.55em 1.2em;
  font-size: 0.78rem;
}

.btn .arrow {
  transition: transform var(--dur-fast) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--dur-normal) var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  z-index: 1001;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.navbar__logo-text span {
  color: var(--accent);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-normal) var(--ease-out);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--text-primary);
}

.navbar__nav a:hover::after,
.navbar__nav a.active::after {
  transform: scaleX(1);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding-top: 5rem;
  padding-inline: var(--container-px);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--dur-slow) var(--ease-out);
}

.navbar__mobile.open {
  opacity: 1;
  transform: translateX(0);
}

.navbar__mobile a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease);
}

.navbar__mobile a:hover {
  color: var(--accent);
}

.navbar__mobile .mobile-cta {
  margin-top: 2rem;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,9,0.95) 0%,
    rgba(8,8,9,0.7) 50%,
    rgba(8,8,9,0.4) 100%
  );
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 8rem 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text .eyebrow {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__text h1 .accent {
  color: var(--accent);
  display: inline;
}

.hero__text p {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__image {
  position: relative;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.5s forwards;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: imgReveal 1.2s var(--ease-out) 0.5s forwards;
}

.hero__image-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
  background: var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.15;
  filter: blur(40px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ── Hero: Canvas particle layer ─────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Hero: Background extras ──────────────────────────────── */
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%,
    rgba(80,10,15,0.55) 0%,
    rgba(20,10,10,0.3) 50%,
    transparent 100%);
  animation: heroGlowPulse 6s ease-in-out infinite alternate;
}

.hero__bg-svg {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  opacity: 0.04;
  animation: heroSvgDrift 20s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  from { opacity: 0.8; transform: scale(1); }
  to   { opacity: 1.0; transform: scale(1.06); }
}
@keyframes heroSvgDrift {
  from { transform: translate(0,0) rotate(0deg); }
  to   { transform: translate(12px,-8px) rotate(1.5deg); }
}

/* ── Hero: Floating orbs ─────────────────────────────────── */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 420px; height: 420px;
  background: rgba(224,30,46,0.10);
  top: -80px; right: -60px;
  animation: orbFloat1 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 280px; height: 280px;
  background: rgba(224,30,46,0.07);
  bottom: 60px; left: 30%;
  animation: orbFloat2 12s ease-in-out infinite;
}
.hero__orb--3 {
  width: 180px; height: 180px;
  background: rgba(100,30,46,0.12);
  top: 40%; right: 20%;
  animation: orbFloat3 7s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px,40px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-30px) scale(0.95); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-15px,20px); }
}

/* ── Hero: Eyebrow with live dot ─────────────────────────── */
.hero__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  background: rgba(224,30,46,0.07);
  border: 1px solid rgba(224,30,46,0.22);
  border-radius: 99px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero__live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(224,30,46,0.5);
  animation: livePulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0   rgba(224,30,46,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(224,30,46,0); }
  100% { box-shadow: 0 0 0 0   rgba(224,30,46,0); }
}

/* ── Hero: Typed text + cursor ───────────────────────────── */
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__typed-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
}

.hero__typed {
  display: inline-block;
  min-width: 3ch;
}

.hero__typed-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: cursorBlink 0.9s step-end infinite;
  margin-left: 2px;
  line-height: 1;
}
@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Hero: Ticker strip ──────────────────────────────────── */
.hero__ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
  overflow: hidden;
}

.hero__ticker-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.hero__ticker-track span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero__ticker-sep {
  color: var(--accent) !important;
  font-size: 0.5rem !important;
}

/* ── Hero: Image placeholder with circuit ────────────────── */
.hero__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d0608 0%, #1f0a0c 30%, #120808 60%, #0d0a0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__circuit {
  width: 85%;
  max-width: 320px;
  opacity: 0.9;
}

/* Animated circuit dash */
.hero__circuit path:first-child {
  stroke-dashoffset: 1000;
  animation: dashDraw 3s ease-in-out 1.2s forwards, dashLoop 6s linear 4.2s infinite;
}
@keyframes dashDraw {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}
@keyframes dashLoop {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1000; }
}

/* Scanning line */
.hero__scan-line {
  animation: scanDown 3.5s linear infinite;
}
@keyframes scanDown {
  0%   { transform: translateY(0);   opacity: 1; }
  90%  { transform: translateY(240px); opacity: 0.6; }
  100% { transform: translateY(240px); opacity: 0; }
}

/* Pulsing circuit node dots */
.hero__circuit circle:nth-child(3),
.hero__circuit circle:nth-child(4),
.hero__circuit circle:nth-child(5) {
  animation: nodePulse 2.5s ease-in-out infinite;
}
.hero__circuit circle:nth-child(4) { animation-delay: 0.4s; }
.hero__circuit circle:nth-child(5) { animation-delay: 0.8s; }
@keyframes nodePulse {
  0%,100% { r: 4; opacity: 0.6; }
  50%      { r: 5; opacity: 1; }
}

/* Scanlines overlay */
.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  opacity: 0.6;
}

/* Corner brackets */
.hero__corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--accent);
  border-style: solid;
  animation: cornerPulse 3s ease-in-out infinite;
}
.hero__corner--tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.hero__corner--tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; animation-delay: 0.25s; }
.hero__corner--bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; animation-delay: 0.5s; }
.hero__corner--br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; animation-delay: 0.75s; }
@keyframes cornerPulse {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* ── Hero: Stat badges ───────────────────────────────────── */
.hero__stat-badge {
  position: absolute;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  min-width: 148px;
  box-shadow: var(--shadow-lg);
  animation: badgeFloat 4s ease-in-out infinite;
}
.hero__stat-badge--dark {
  bottom: -1.5rem; left: -1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.hero__stat-badge--accent {
  top: -1.5rem; right: -1.5rem;
  background: var(--accent);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(224,30,46,0.35);
  animation-delay: 2s;
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.hero__stat-plus {
  font-size: 1.1rem;
  color: var(--accent);
}
.hero__stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Hero: Activity notification card ───────────────────── */
.hero__activity-card {
  position: absolute;
  bottom: 3.5rem;
  right: -1.2rem;
  background: rgba(19,19,22,0.95);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  animation: activitySlideIn 0.6s var(--ease-out) 2s both, badgeFloat 5s ease-in-out 2.6s infinite;
}
@keyframes activitySlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero__activity-icon {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero__activity-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.hero__activity-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}



/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, var(--accent-subtle), transparent);
  pointer-events: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  text-transform: uppercase;
  letter-spacing: -0.03em;
  max-width: 700px;
}

.page-hero p {
  max-width: 540px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span {
  color: var(--text-primary);
}

.breadcrumb-sep {
  color: var(--text-xmuted);
}

/* ── Section Layouts ─────────────────────────────────────── */
.section {
  padding-block: var(--section-py);
}

.section--dark {
  background: var(--bg-secondary);
}

.section--darker {
  background: var(--bg-primary);
}

.section--elevated {
  background: var(--bg-elevated);
}

.section--border-top {
  border-top: 1px solid var(--border);
}

/* ── Cards: Industry ─────────────────────────────────────── */
.card-industry {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--dur-normal) var(--ease-out);
  cursor: pointer;
  display: block;
}

.card-industry:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-accent);
}

.card-industry__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-industry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.card-industry:hover .card-industry__image img {
  transform: scale(1.06);
}

.card-industry__body {
  padding: 1.5rem;
}

.card-industry__number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card-industry__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.card-industry__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-industry__arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--dur-fast) var(--ease);
}

.card-industry:hover .card-industry__arrow {
  gap: 0.9rem;
}

/* ── Cards: Product ──────────────────────────────────────── */
.card-product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.card-product:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-product__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}

.card-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.card-product:hover .card-product__image img {
  transform: scale(1.06);
}

.card-product__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3em 0.8em;
  background: rgba(8,8,9,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.card-product__body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-product__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.card-product__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.card-product__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-product__actions {
  display: flex;
  gap: 0.6rem;
}

.card-product__actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.75rem;
}

/* ── Cards: Capability ───────────────────────────────────── */
.card-capability {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--dur-normal) var(--ease-out);
  cursor: default;
}

.card-capability:hover {
  border-top-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.card-capability__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
  transition: opacity var(--dur-normal) var(--ease);
}

.card-capability:hover .card-capability__number {
  opacity: 0.6;
}

.card-capability__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.card-capability__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Stats ───────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-block:last-child { border-right: none; }

.stat-block__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-block__number span {
  color: var(--accent);
}

.stat-block__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, var(--accent-subtle), transparent);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-banner h2 .accent { color: var(--accent); }

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Grids ───────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.grid-2-3 {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: 0;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-label .required {
  color: var(--accent);
  margin-left: 0.2em;
}

.form-control {
  width: 100%;
  padding: 0.85em 1.2em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--dur-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--text-xmuted);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-control.error {
  border-color: var(--accent);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6870' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 0.4rem;
  display: none;
}

.form-error.visible { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* File Upload */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--dur-normal) var(--ease);
  cursor: pointer;
}

.file-upload:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

.file-upload__text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.file-upload__text strong {
  color: var(--accent);
}

/* ── Toast / Alert ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform var(--dur-slow) var(--ease-out);
  max-width: 360px;
}

.toast.show { transform: translateX(0); }

.toast--success { border-left: 3px solid #22c55e; }
.toast--error   { border-left: 3px solid var(--accent); }

.toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.toast--success .toast__icon { background: rgba(34,197,94,0.15); color: #22c55e; }
.toast--error   .toast__icon { background: var(--accent-subtle); color: var(--accent); }

.toast__message {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── Success State ───────────────────────────────────────── */
.success-state {
  text-align: center;
  padding: 4rem 2rem;
  display: none;
}

.success-state.show { display: block; }

.success-state__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #22c55e;
}

.success-state h3 {
  margin-bottom: 0.75rem;
}

.success-state p {
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ── Product Gallery ─────────────────────────────────────── */
.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery__main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}

.gallery__thumb.active,
.gallery__thumb:hover {
  border-color: var(--accent);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Tabs ────────────────────────────────────────────────── */
.tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── Specification Table ─────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child { border-bottom: none; }

.spec-table td {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-muted);
}

/* ── Filter Pills ────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.5em 1.2em;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  background: transparent;
}

.filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}

.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer__col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}

.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}

.footer__bottom a:hover { color: var(--accent); }

/* ── Global Reach / Map ──────────────────────────────────── */
.world-map-section {
  position: relative;
  background: var(--bg-secondary);
}

.world-map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.world-map-container svg {
  width: 100%;
  height: auto;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--accent-glow);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-glow); }
  50% { box-shadow: 0 0 0 10px rgba(224,30,46,0.05); }
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--dur-normal) var(--ease-out);
}

.region-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.region-card__flag {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.region-card__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.region-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-info-value a {
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease);
}

.contact-info-value a:hover { color: var(--accent); }

.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
  opacity: 0.75;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.page-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Image Placeholder (gradient fallback) ───────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-xmuted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Specific gradient fallbacks */
.img-hero-fallback {
  background: linear-gradient(135deg, #0a0a0b 0%, #1a0a0c 35%, #0f0d0d 70%, #080809 100%);
}

.img-industry-fallback-1 { background: linear-gradient(135deg, #0d0809 0%, #1a0c0c 50%, #0f0a0a 100%); }
.img-industry-fallback-2 { background: linear-gradient(135deg, #080a0d 0%, #0c1220 50%, #090c12 100%); }
.img-industry-fallback-3 { background: linear-gradient(135deg, #09090f 0%, #100e18 50%, #0c0b14 100%); }
.img-industry-fallback-4 { background: linear-gradient(135deg, #0a0b08 0%, #141508 50%, #0e0f0a 100%); }
.img-industry-fallback-5 { background: linear-gradient(135deg, #080d0d 0%, #0a1515 50%, #090e0e 100%); }
.img-industry-fallback-6 { background: linear-gradient(135deg, #0d0809 0%, #1a0a12 50%, #100810 100%); }

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.revealed { opacity: 1; transform: none !important; }

.reveal-up    { transform: translateY(40px); }
.reveal-down  { transform: translateY(-40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }
.reveal-fade  { /* opacity only */ }

/* Stagger delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes imgReveal {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

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

/* ── Utility Classes ─────────────────────────────────────── */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-sm      { gap: 0.75rem; }
.gap-md      { gap: 1.5rem; }
.gap-lg      { gap: 2.5rem; }
.mt-auto     { margin-top: auto; }
.mb-0        { margin-bottom: 0; }
.w-full      { width: 100%; }
.relative    { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.hidden      { display: none !important; }

/* ── Accent strip / decoration ───────────────────────────── */
.accent-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Numbered list (capabilities/values) ─────────────────── */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.numbered-item {
  display: flex;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast) var(--ease);
}

.numbered-item:first-child { padding-top: 0; }
.numbered-item:last-child { border-bottom: none; padding-bottom: 0; }

.numbered-item__num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  min-width: 3rem;
  padding-top: 0.1rem;
}

.numbered-item__content h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.numbered-item__content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── About Mission/Vision/Values cards ───────────────────── */
.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.mvv-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.mvv-card__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.mvv-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   GLOBAL INDUSTRIAL NETWORK — Immersive Section Styling
   ============================================================ */
.network-section {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.network-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.network-section__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(20, 20, 26, 0.8) 0%, rgba(8, 8, 9, 1) 85%);
}

.network-section__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.7;
}

.network-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 50vh;
  background: radial-gradient(circle at 50% 50%, rgba(224, 30, 46, 0.06), transparent 70%);
  filter: blur(60px);
}

.network-section__container {
  position: relative;
  z-index: 2;
}

/* Header & Line-by-line Reveal */
.network-section__header {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.network-section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.mask-line {
  display: block;
  overflow: hidden;
}

.mask-line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.network-section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* Main Visual Canvas Container */
.network-viz {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 950 / 580;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Laser Sweep */
.network-viz__sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, transparent, rgba(224, 30, 46, 0.04) 40%, rgba(224, 30, 46, 0.12) 70%, transparent);
  transform: skewX(-20deg);
  opacity: 0.6;
  pointer-events: none;
  animation: laserSweep 14s linear infinite;
  z-index: 1;
}

@keyframes laserSweep {
  0% { left: -20%; }
  100% { left: 120%; }
}

/* SVG Map */
.network-svg {
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  overflow: visible;
}

.gn-map-path {
  fill: rgba(255, 255, 255, 0.015);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.9;
  transition: fill 0.4s ease, stroke 0.4s ease;
}

.gn-map-path:hover {
  fill: rgba(224, 30, 46, 0.04);
  stroke: rgba(224, 30, 46, 0.3);
}

.network-route {
  stroke-linecap: round;
  opacity: 0.85;
}

.network-pulse-dot {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.network-svg.pulses-active .network-pulse-dot {
  opacity: 1;
}

/* Hub Nodes Overlay */
.network-nodes {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.net-node {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}

.net-node.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.net-node__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.net-node__pulse {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(224, 30, 46, 0.6);
  border-radius: 50%;
  animation: nodeRingPulse 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes nodeRingPulse {
  0% { transform: scale(0.6); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.net-node:hover .net-node__dot,
.net-node.hovered .net-node__dot {
  transform: translate(-50%, -50%) scale(1.5);
  background: #ff3344;
  box-shadow: 0 0 18px rgba(224, 30, 46, 0.9);
}

/* Tooltip Card */
.net-node__tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(15, 15, 18, 0.94);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  z-index: 20;
}

.net-node__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border-accent);
}

.net-node:hover .net-node__tooltip,
.net-node.hovered .net-node__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.net-node__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.net-node__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.net-node__desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Floating Metric Cards */
.network-stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}

.net-stat-card {
  position: absolute;
  background: rgba(19, 19, 22, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  min-width: 140px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.net-stat-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.net-stat-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(224, 30, 46, 0.15);
  transform: translateY(-4px);
}

.net-stat-card--1 { top: 0%; left: -2%; }
.net-stat-card--2 { top: 2%; right: -2%; }
.net-stat-card--3 { bottom: 0%; left: 0%; }
.net-stat-card--4 { bottom: 2%; right: 0%; }

.net-stat-card__val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.net-stat-card__lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* CTA Row */
.network-section__cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .net-stat-card--1 { top: -4%; left: 0%; }
  .net-stat-card--2 { top: -4%; right: 0%; }
}

@media (max-width: 900px) {
  .network-viz {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  .network-stats {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    pointer-events: auto;
  }
  .net-stat-card {
    position: static;
    min-width: 0;
    opacity: 1;
    transform: none;
  }
  .net-node__tooltip {
    display: none;
  }
  .net-node.hovered .net-node__tooltip {
    display: block;
  }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__text .eyebrow,
  .hero__text h1,
  .hero__text p,
  .hero__actions,
  .hero__image {
    opacity: 1;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__scroll { animation: none; }
}

/* ── Comprehensive Mobile Responsive Engine ───────────────── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__image { display: none; }
  .grid-2-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-right: 1px solid var(--border); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

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

  .navbar__mobile {
    background: rgba(8, 8, 9, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
}

@media (max-width: 768px) {
  :root {
    --container-px: 1.25rem;
    --section-py: clamp(3.5rem, 8vw, 5rem);
  }

  /* Prevent iOS Safari form input auto-zoom */
  .form-control, .form-select, .form-textarea {
    font-size: 16px !important;
  }

  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
  .numbered-item { flex-direction: column; gap: 0.5rem; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .region-grid { grid-template-columns: 1fr; }

  /* Swipeable Filter Bar & Tabs on Mobile */
  .filter-bar, .tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .filter-pill, .tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .spec-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: normal;
  }

  .spec-table td {
    padding: 0.75rem 0.6rem;
    font-size: 0.85rem;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; min-height: 48px; }
  .cta-banner__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; min-height: 48px; }
  .toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
  
  .card-product__actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .card-product__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 1rem;
  }

  .display-xl { font-size: 2.5rem; }
  .display-lg { font-size: 2.1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none !important; border-bottom: 1px solid var(--border); }
  
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  
  .page-hero { padding-block: 6rem 3rem; }
}


/* ============================================================
   MASTER MOTION SYSTEM STYLES
   Preloader, Custom Cursor, Masked Reveals, Page Transitions
   ============================================================ */

/* ── 1. App Preloader ────────────────────────────────────── */
.app-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080809;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4rem;
  pointer-events: all;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}

.app-preloader.preloader--done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

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

.preloader__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.preloader__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.preloader__brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.preloader__tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preloader__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: auto;
}

.preloader__counter {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

.preloader__bottom {
  width: 100%;
}

.preloader__track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.preloader__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .app-preloader { padding: 2rem; }
  .preloader__counter { font-size: 4rem; }
  .preloader__tagline { display: none; }
}

/* ── 2. Contextual Custom Cursor ─────────────────────────── */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99990;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-cursor.custom-cursor--active {
  opacity: 1;
}

.custom-cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.1s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.custom-cursor__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background 0.3s ease, margin 0.3s ease;
  will-change: transform;
}

.custom-cursor__label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(224, 30, 46, 0.9);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

/* Hover States */
.custom-cursor--hover .custom-cursor__ring {
  width: 54px;
  height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border-color: var(--accent);
  background: rgba(224, 30, 46, 0.08);
}

.custom-cursor--hover .custom-cursor__dot {
  background: #ffffff;
}

.custom-cursor--labeled .custom-cursor__label {
  opacity: 1;
  transform: translateY(0);
}

/* Touch devices hide custom cursor */
@media (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

/* ── 3. Page Transition Sweep Overlay ────────────────────── */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  background: #080809;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition-overlay__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

.page-transition-overlay.page-transition-overlay--active {
  transform: translateY(0%);
  pointer-events: all;
}

/* ── 4. Line-by-Line & Clip Mask Utilities ───────────────── */
.mask-line {
  display: block;
  overflow: hidden;
  line-height: 1.15;
}

.mask-line > span {
  display: block;
  will-change: transform, opacity;
}

.reveal-clip {
  overflow: hidden;
  clip-path: inset(100% 0% 0% 0%);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-clip.revealed {
  clip-path: inset(0% 0% 0% 0%);
}

/* ── 5. Form Focus Micro-Interactions ────────────────────── */
.form-group {
  position: relative;
  transition: transform 0.3s ease;
}

.form-group--focused .form-label {
  color: var(--accent);
  transform: translateY(-2px);
}

.form-group--focused .form-control,
.form-group--focused .form-select,
.form-group--focused .form-textarea {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(224, 30, 46, 0.15);
}


