/* ============================================================
   RootN — Corporate Automation & Intelligence
   styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Variables ── */
:root {
  --bg:           #08090E;
  --bg-2:         #0C0F18;
  --bg-3:         #111520;
  --navy:         #0A1628;
  --gold:         #C9A84C;
  --gold-2:       #E8C55A;
  --gold-dim:     rgba(201,168,76,0.12);
  --white:        #FFFFFF;
  --g90:          rgba(255,255,255,0.90);
  --g70:          rgba(255,255,255,0.70);
  --g50:          rgba(255,255,255,0.50);
  --g30:          rgba(255,255,255,0.30);
  --g15:          rgba(255,255,255,0.15);
  --g08:          rgba(255,255,255,0.08);
  --g04:          rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.09);
  --border-gold:  rgba(201,168,76,0.28);
  --shadow-lg:    0 32px 80px rgba(0,0,0,0.55);
  --shadow-md:    0 16px 48px rgba(0,0,0,0.40);
  --shadow-sm:    0 6px 24px rgba(0,0,0,0.28);
  --radius:       18px;
  --radius-sm:    12px;
  --radius-xs:    8px;
  --max:          1200px;
  --gutter:       28px;
  --sans:         'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ── Utilities ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.gold   { color: var(--gold); }
.muted  { color: var(--g70); }
.mono   { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ================================================================
   LOADER
   ================================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-hex {
  width: 56px;
  height: 56px;
  animation: loader-spin 1.4s linear infinite;
}
.loader-hex path { stroke: var(--gold); fill: none; stroke-width: 1.5; }

.loader-progress {
  width: 180px;
  height: 2px;
  background: var(--g08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader-progress::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loader-sweep 1.2s var(--ease) infinite;
}
@keyframes loader-spin  { to { transform: rotate(360deg); } }
@keyframes loader-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }


/* ================================================================
   NAVIGATION
   ================================================================ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-wrap.scrolled {
  background: rgba(8, 9, 14, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 16px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 74px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; align-items: center; text-align: center; }
.brand-text strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}
.brand-text span {
  font-size: 10.5px;
  color: var(--g50);
  letter-spacing: 0.4px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--g70);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--white); background: var(--g04); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Nav Actions */
.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-align: center;
  justify-content: center;
}
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-xs); }
.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 14px; }
.btn-xl { padding: 18px 40px; font-size: 16px; border-radius: 14px; font-weight: 700; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--g70);
}
.btn-ghost:hover { border-color: var(--g30); color: var(--white); background: var(--g04); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #07080D;
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.38);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline-gold {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--g90);
}
.btn-outline-gold:hover {
  border-color: rgba(201,168,76,0.6);
  color: var(--gold);
  background: var(--gold-dim);
}

.btn-glass {
  background: var(--g08);
  border-color: var(--border);
  color: var(--g90);
}
.btn-glass:hover { background: var(--g15); border-color: var(--g15); color: var(--white); }

/* Arrow icon in button */
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Mobile menu */
.menu-btn {
  display: none;
  background: var(--g04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.menu-btn:hover { background: var(--g08); }
.menu-btn svg { display: block; width: 18px; height: 18px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: rgba(8, 9, 14, 0.98);
  backdrop-filter: blur(24px);
  z-index: 199;
  padding: 28px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav a {
  font-size: 16px;
  color: var(--g70);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s;
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--white); border-color: var(--border); background: var(--g04); }
.mobile-nav .btn-gold { margin-top: 12px; }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(31,79,200,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: eyebrow-pulse 2.4s ease infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-desc {
  font-size: 17px;
  color: var(--g70);
  line-height: 1.75;
  max-width: 54ch;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-sep { width: 1px; height: 20px; background: var(--border); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--g50);
}
.trust-item svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; flex-shrink: 0; }

/* Hero right panel */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-card {
  background: rgba(255,255,255,0.038);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  cursor: default;
}
.panel-card:hover {
  transform: translateX(6px);
  border-color: rgba(201,168,76,0.22);
  background: rgba(201,168,76,0.025);
}
.panel-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }
.panel-card h4 { font-size: 13.5px; font-weight: 700; letter-spacing: 0.1px; }
.panel-card p { font-size: 12.5px; color: var(--g50); line-height: 1.55; }
.panel-metric {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.panel-metric-item { display: flex; flex-direction: column; gap: 1px; }
.panel-metric-item strong { font-size: 22px; font-weight: 900; color: var(--gold); letter-spacing: -0.5px; }
.panel-metric-item span { font-size: 11px; color: var(--g50); }
.panel-progress {
  margin-top: 12px;
  height: 3px;
  background: var(--g08);
  border-radius: 3px;
  overflow: hidden;
}
.panel-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.8s var(--ease-out) 0.8s;
}
.panel-bar.animate { transform: scaleX(1); }


/* ================================================================
   STRIP / MARQUEE
   ================================================================ */
.strip {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.strip::before, .strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.strip::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.strip-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g30);
  white-space: nowrap;
}
.strip-sep { color: var(--gold); font-size: 16px; line-height: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ================================================================
   SECTION BASE
   ================================================================ */
.section { padding: 110px 0; position: relative; }
.section-alt { background: rgba(255,255,255,0.018); }
.section-dark { background: var(--bg-2); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--g70);
  max-width: 58ch;
  line-height: 1.75;
  margin-bottom: 60px;
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 44px;
}


/* ================================================================
   SERVICES
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.services-grid.three-col { grid-template-columns: repeat(3, 1fr); }

.svc-card {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.7) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.svc-card:hover {
  border-color: rgba(201,168,76,0.18);
  background: rgba(201,168,76,0.025);
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
}
.svc-card:hover::before { opacity: 1; }

.svc-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--g30);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 20px;
}
.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.3s var(--ease);
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.svc-card:hover .svc-icon {
  background: rgba(201,168,76,0.14);
  border-color: rgba(201,168,76,0.35);
}
.svc-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.svc-card > p {
  font-size: 14px;
  color: var(--g70);
  line-height: 1.75;
  margin-bottom: 24px;
}

.svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--g60, var(--g70));
  line-height: 1.5;
}
.svc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 24px;
  transition: gap 0.2s;
}
.svc-link:hover { gap: 10px; }
.svc-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* Featured svc card */
.svc-card.featured {
  grid-column: span 2;
  background: rgba(201,168,76,0.04);
  border-color: rgba(201,168,76,0.16);
}
.svc-card.featured .svc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}


/* ================================================================
   PROCESS / STEPS
   ================================================================ */
.process-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 1px;
}
.process-wrap::after {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.3));
  pointer-events: none;
  z-index: 0;
}

.process-step {
  padding: 0 16px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--mono);
  letter-spacing: 1px;
  transition: all 0.3s var(--ease);
}
.process-step:hover .step-circle {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201,168,76,0.25);
}
.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.process-step p {
  font-size: 13px;
  color: var(--g50);
  line-height: 1.6;
}


/* ================================================================
   RESULTS / CASE STUDIES
   ================================================================ */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.result-card {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.result-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.result-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.result-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.result-card > p {
  font-size: 14px;
  color: var(--g70);
  line-height: 1.75;
  flex: 1;
}
.result-metrics {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.result-metric { display: flex; flex-direction: column; gap: 3px; }
.result-metric strong {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.result-metric span { font-size: 12px; color: var(--g50); line-height: 1.4; }


/* ================================================================
   INDUSTRIES / LOGOS
   ================================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.industry-item {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s;
}
.industry-item:hover { background: var(--g04); }
.industry-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.industry-item p { font-size: 13px; color: var(--g50); line-height: 1.6; }
.industry-icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}


/* ================================================================
   WHY ROOTN
   ================================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-checklist { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.check-item { display: flex; gap: 16px; align-items: flex-start; }
.check-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(201,168,76,0.09);
  border: 1px solid rgba(201,168,76,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; }
.check-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.check-body p { font-size: 13px; color: var(--g50); line-height: 1.6; }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.why-stat {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
}
.why-stat:hover {
  border-color: rgba(201,168,76,0.18);
  background: rgba(201,168,76,0.025);
}
.why-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.why-stat span { font-size: 13px; color: var(--g50); line-height: 1.4; }


/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-bg-lines {
  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: 60px 60px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.cta-inner p {
  font-size: 16px;
  color: var(--g70);
  margin-bottom: 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand { }
.footer-brand-logo { height: 63px; width: auto; margin-bottom: 18px; }
.footer-brand p {
  font-size: 13.5px;
  color: var(--g50);
  line-height: 1.75;
  max-width: 32ch;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g50);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--g70);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--g50); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--g50); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }
.footer-made {
  font-size: 12px;
  color: var(--g30);
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-made span { color: var(--gold); }


/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero-inner .section-label { margin-bottom: 20px; }
.page-hero-inner h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.page-hero-inner p {
  font-size: 17px;
  color: var(--g70);
  line-height: 1.75;
  max-width: 56ch;
}


/* ================================================================
   SERVICES PAGE
   ================================================================ */
.svc-detail {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail.reversed { direction: rtl; }
.svc-detail.reversed > * { direction: ltr; }
.svc-detail-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.svc-detail-content p {
  font-size: 15px;
  color: var(--g70);
  line-height: 1.8;
  margin-bottom: 20px;
}
.svc-detail-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.svc-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--g90);
  line-height: 1.5;
}
.svc-detail-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
}
.svc-visual {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.svc-visual-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g50);
  margin-bottom: 20px;
  font-family: var(--mono);
}
.svc-metrics { display: flex; flex-direction: column; gap: 14px; }
.svc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.svc-metric-label { font-size: 13px; color: var(--g70); }
.svc-metric-bar {
  flex: 1;
  height: 4px;
  background: var(--g08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.svc-metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 4px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.5s var(--ease-out);
}
.svc-metric-fill.animate { transform: scaleX(1); }
.svc-metric-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--mono);
  flex-shrink: 0;
}


/* ================================================================
   CASE STUDIES PAGE
   ================================================================ */
.cs-card {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  transition: all 0.35s var(--ease);
}
.cs-card:hover { border-color: rgba(201,168,76,0.2); box-shadow: var(--shadow-md); }
.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cs-header h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 600px;
}
.cs-badges { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cs-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.cs-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.cs-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g50);
  margin-bottom: 10px;
  font-family: var(--mono);
}
.cs-col p { font-size: 14px; color: var(--g70); line-height: 1.7; }
.cs-outcomes {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.cs-outcome { display: flex; flex-direction: column; gap: 4px; }
.cs-outcome strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}
.cs-outcome span { font-size: 12px; color: var(--g50); }


/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-lead {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--g90);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 70ch;
}
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 15px;
  color: var(--g70);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-credentials {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.about-credentials h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--g90);
  line-height: 1.5;
}
.cred-list li .cred-icon {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
}
.value-card:hover { border-color: rgba(201,168,76,0.18); background: rgba(201,168,76,0.025); transform: translateY(-3px); }
.value-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--g50); line-height: 1.6; }


/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact-info p {
  font-size: 15px;
  color: var(--g70);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-detail-list { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--g70);
}
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; }

.contact-form-wrap {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.contact-form-wrap .form-note {
  font-size: 13px;
  color: var(--g50);
  margin-bottom: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--g50);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--g04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.03);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-3); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 20px; }


/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid.three-col { grid-template-columns: 1fr; }
  .svc-card.featured .svc-inner { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-wrap { grid-template-columns: 1fr 1fr; }
  .process-wrap::after { display: none; }
  .about-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cs-body { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.reversed { direction: ltr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .menu-btn { display: flex; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
  .page-hero { padding: 130px 0 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
}

@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg, .btn-xl { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .trust-sep { display: none; }
  .industries-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
}


/* ================================================================
   AUTOMATION SYSTEMS PAGE
   ================================================================ */
.as-capability-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.as-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 22px;
  background: var(--bg);
  transition: background 0.3s var(--ease);
}
.as-cap-item:hover { background: var(--g04); }

.as-cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.as-cap-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
}

.as-cap-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.as-cap-item span {
  display: block;
  font-size: 11px;
  color: var(--g50);
  line-height: 1.5;
}

.as-deploy-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.as-deploy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.as-deploy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px rgba(201,168,76,0.5);
}
.as-deploy-dot--code {
  background: #5fa8d3;
  box-shadow: 0 0 8px rgba(95,168,211,0.45);
}

.as-deploy-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--white);
  line-height: 1.3;
}
.as-deploy-item span {
  display: block;
  font-size: 12.5px;
  color: var(--g50);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .as-capability-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .as-capability-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .as-capability-strip { grid-template-columns: 1fr; }
}
