/* ==========================================================================
   LOFA CODE — Design System
   ========================================================================== */

:root {
  /* Color System */
  --bg-main: #020B19;
  --bg-secondary: #061225;
  --bg-card: #08172B;
  --bg-elevated: #0B1D35;

  --blue-primary: #2684FF;
  --blue-bright: #3B92FF;
  --blue-deep: #1265D8;

  --text-primary: #FFFFFF;
  --text-secondary: #AEB8C8;
  --text-muted: #77859A;

  --border-soft: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(38, 132, 255, 0.20);

  --grad-primary: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  --grad-radial-glow: radial-gradient(circle, rgba(38,132,255,0.25) 0%, rgba(38,132,255,0) 70%);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --space-3xl: 140px;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(38, 132, 255, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms var(--ease);
  --t-med: 350ms var(--ease);
  --t-slow: 600ms var(--ease);

  /* Layout */
  --container-max: 1240px;
  --header-h: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { margin: 0; }

::selection { background: var(--blue-primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Accessibility Utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 2000;
  background: var(--blue-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-tight { padding: var(--space-xl) 0; }

.section-glow {
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: var(--grad-radial-glow);
  pointer-events: none;
  z-index: 0;
}

.section-glow > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright);
}

.section-title {
  font-size: clamp(28px, 5vw + 12px, 44px);
  color: var(--text-primary);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-blue { color: var(--blue-bright); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(38, 132, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(38, 132, 255, 0.7);
}

.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-soft);
}

.btn-secondary:hover {
  border-color: var(--border-blue);
  background: rgba(38, 132, 255, 0.06);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(2, 11, 25, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.site-header.is-scrolled {
  background: rgba(2, 11, 25, 0.92);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

/* The official logo is colored for a white background (navy + blue), so on
   the site's dark header/footer it needs a light plate behind it to stay
   legible. The logo file itself is never recolored or modified. */
.logo-plate {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 12px;
  line-height: 0;
}

.logo .logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.main-nav a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.main-nav a:hover::after { transform: scaleX(1); }

.main-nav a.active {
  color: var(--blue-bright);
}

.main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-primary);
}

.nav-toggle svg { width: 20px; height: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 72px 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: var(--grad-radial-glow);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 22px;
  display: block;
}

.hero-title {
  font-size: clamp(36px, 4vw + 22px, 56px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .grid-plane {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,132,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,132,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
}

.hero-core {
  position: relative;
  width: 150px;
  height: 150px;
  z-index: 2;
}

.hero-core .core-layer {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-blue);
}

.hero-core .core-layer.l2 {
  inset: 14px;
  background: linear-gradient(145deg, #0d2444, #0a1a30);
}

.hero-core .core-layer.l3 {
  inset: 28px;
  background: var(--grad-primary);
  box-shadow: 0 0 50px rgba(38,132,255,0.6), inset 0 0 20px rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-core .core-layer.l3 svg { width: 34px; height: 34px; color: #fff; }

.hero-core .core-glow {
  position: absolute;
  inset: -60px;
  background: var(--grad-radial-glow);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.float-card {
  position: absolute;
  width: 148px;
  padding: 14px 16px;
  background: rgba(11, 29, 53, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-blue);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: floatCard 6s ease-in-out infinite;
  z-index: 2;
}

.float-card .fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(38,132,255,0.12);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card .fc-icon svg { width: 16px; height: 16px; color: var(--blue-bright); }

.float-card span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.float-card.fc-1 { top: 8%; left: 2%; animation-delay: 0s; }
.float-card.fc-2 { top: 4%; right: 0%; animation-delay: 1.2s; }
.float-card.fc-3 { bottom: 10%; left: 0%; animation-delay: 2.4s; }
.float-card.fc-4 { bottom: 6%; right: 4%; animation-delay: 3.6s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-visual .connect-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(38,132,255,0.5), rgba(38,132,255,0));
  height: 1px;
  z-index: 1;
}

/* ==========================================================================
   Core Services Bar
   ========================================================================== */

.services-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.services-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-col {
  padding: var(--space-xl) var(--space-lg);
  border-left: 1px solid var(--border-soft);
  transition: background var(--t-med);
}

.service-col:first-child { border-left: none; padding-left: 0; }
.service-col:last-child { padding-right: 0; }

.service-col:hover { background: rgba(38,132,255,0.03); }

.service-col .icon-box {
  margin-bottom: 20px;
}

.service-col .col-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

.service-col h3 {
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-col p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  transition: gap var(--t-fast);
}

.link-arrow svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Icon Box
   ========================================================================== */

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(38, 132, 255, 0.10);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.icon-box svg { width: 22px; height: 22px; color: var(--blue-bright); }

/* ==========================================================================
   Why LOFA Section
   ========================================================================== */

.why-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-content .section-subtitle { max-width: 100%; margin-bottom: 40px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
}

.feature-item .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.feature-item .icon-box svg { width: 18px; height: 18px; }

.feature-item h4 {
  font-size: 15.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dashboard visual */
.dashboard-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-secondary));
  padding: 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.dashboard-visual::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: var(--grad-radial-glow);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dash-title { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.dash-chart {
  height: 150px;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.dash-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
}

.dash-stat .stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.dash-stat .stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-stat .stat-value.up { color: var(--blue-bright); }

/* ==========================================================================
   Solutions Section
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-glow);
}

.solution-card .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.solution-card .card-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.solution-card h3 {
  font-size: 21px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ==========================================================================
   Capability Cards
   ========================================================================== */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-glow);
}

.capability-card .icon-box { margin-bottom: 20px; }

.capability-card h3 {
  font-size: 16.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.capability-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */

.industries-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
}

.industries-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 20px 8px;
  border-radius: 12px;
  transition: background var(--t-fast), transform var(--t-fast);
}

.industry-item:hover {
  background: rgba(38,132,255,0.05);
  transform: translateY(-3px);
}

.industry-item .icon-box {
  background: transparent;
  border: 1px solid var(--border-soft);
}

.industry-item:hover .icon-box {
  border-color: var(--border-blue);
  background: rgba(38,132,255,0.08);
}

.industry-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   CTA Panel
   ========================================================================== */

.cta-panel {
  background: linear-gradient(120deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: var(--grad-radial-glow);
}

.cta-panel-content {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-panel .cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(38,132,255,0.12);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-panel .cta-icon svg { width: 26px; height: 26px; color: var(--blue-bright); }

.cta-panel h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
  color: var(--text-primary);
}

.cta-panel p {
  font-size: 15.5px;
  color: var(--text-secondary);
}

.cta-panel .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: var(--space-xl);
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo .logo-img { height: 52px; }
.footer-brand .logo-plate { padding: 8px 14px; }

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.social-links a svg { width: 17px; height: 17px; color: var(--text-secondary); }

.social-links a:hover {
  border-color: var(--border-blue);
  background: rgba(38,132,255,0.08);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 13px; }

.footer-col a {
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--blue-bright); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-legal a:hover { color: var(--blue-bright); }

/* ==========================================================================
   Inner Page Hero
   ========================================================================== */

.page-hero {
  padding: 64px 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: var(--grad-radial-glow);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .eyebrow { justify-content: center; }

.page-hero h1 {
  font-size: clamp(30px, 6vw + 8px, 52px);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.page-hero p {
  font-size: 17.5px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--blue-bright); }

/* ==========================================================================
   Cards / Editorial (About page etc)
   ========================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform var(--t-med), border-color var(--t-med);
}

.card:hover { border-color: var(--border-blue); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stat-divider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 44px 0;
}

.stat-divider .stat-block {
  text-align: center;
  border-left: 1px solid var(--border-soft);
}
.stat-divider .stat-block:first-child { border-left: none; }

.stat-block h3 {
  font-size: 15.5px;
  color: var(--blue-bright);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-block p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.numbered-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-soft);
}

.numbered-step:last-child { border-bottom: none; }

.numbered-step .step-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--border-blue);
  flex-shrink: 0;
  width: 70px;
  -webkit-text-stroke: 1px var(--blue-bright);
  color: transparent;
}

.numbered-step h3 {
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.numbered-step p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* ==========================================================================
   Service Detail Blocks (Services page)
   ========================================================================== */

.service-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-soft);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-head .col-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
  margin-bottom: 16px;
}

.service-detail-head h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-detail-head p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-detail-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-detail-body .sd-block h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.service-detail-body .sd-block ul { display: flex; flex-direction: column; gap: 10px; }

.service-detail-body .sd-block li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.service-detail-body .sd-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}

/* ==========================================================================
   Solution Detail (Solutions page)
   ========================================================================== */

.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-soft);
}

.solution-detail:last-child { border-bottom: none; }

.solution-detail.reverse .sd-visual { order: 2; }
.solution-detail.reverse .sd-text { order: 1; }

.solution-detail .sd-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.solution-detail .sd-visual::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: var(--grad-radial-glow);
}

.solution-detail .sd-visual .icon-box {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.solution-detail .sd-visual .icon-box svg { width: 38px; height: 38px; }

.solution-detail .sd-text .col-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-bright);
  display: block;
  margin-bottom: 14px;
}

.solution-detail .sd-text h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.solution-outline {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.solution-outline .so-row {
  display: flex;
  gap: 12px;
}

.solution-outline .so-row strong {
  font-size: 14px;
  color: var(--text-primary);
  min-width: 130px;
  flex-shrink: 0;
}

.solution-outline .so-row span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Industry Detail Blocks
   ========================================================================== */

.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.industry-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 36px;
  transition: border-color var(--t-med), transform var(--t-med);
}

.industry-detail-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
}

.industry-detail-card .icon-box { margin-bottom: 20px; }

.industry-detail-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.industry-detail-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 40px 32px;
}

.contact-info-card h3 {
  font-size: 19px;
  margin-bottom: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

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

.contact-detail-item .icon-box { flex-shrink: 0; }

.contact-detail-item h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 15.5px;
  color: var(--text-primary);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-detail-item a:hover { color: var(--blue-bright); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 44px;
}

.form-microcopy {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding: 14px 18px;
  background: rgba(38,132,255,0.06);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14.5px;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  background: rgba(38,132,255,0.04);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  appearance: none;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2377859A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

/* Consent checkbox */

.form-consent { margin-top: -4px; }

.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: var(--text-secondary) !important;
  line-height: 1.6;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue-primary);
  cursor: pointer;
}

/* Honeypot field — visually hidden but present in the DOM and focusable
   by nothing but bots that ignore accessibility semantics. */

.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Submit button loading state */

.btn[data-loading="true"] {
  opacity: 0.75;
  pointer-events: none;
}

.btn[data-loading="true"] .btn-label::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: btnSpin 700ms linear infinite;
}

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

/* Inline form status component */

.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.form-status.is-visible { display: block; }

.form-status--success {
  display: block;
  background: rgba(38, 132, 255, 0.08);
  border: 1px solid var(--border-blue);
  color: var(--blue-bright);
}

.form-status--error {
  display: block;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #FF8787;
}

.map-card {
  margin-top: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  height: 220px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,132,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,132,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-card .map-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  max-width: 320px;
  padding: 0 16px;
}

.map-card .map-pin .icon-box { width: 44px; height: 44px; border-radius: 12px; }

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  margin: 44px 0 16px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.legal-updated {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-page {
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.error-code {
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 26px;
  margin-bottom: 16px;
}

.error-page p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(2, 11, 25, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform var(--t-med);
  overflow-y: auto;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-nav a.active { color: var(--blue-bright); }

body.nav-open { overflow: hidden; }
