/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #00d0ff;
  --primary-light: #80eeff;
  --primary-dim: #0099cc;
  --primary-glow: rgba(201,164,92,0.18);
  --primary-border: rgba(201,164,92,0.2);
  --accent: #8b5cf6;
  --accent-light: #c4b5fd;
  --white: #ffffff;
  --dark: #04080f;
  --dark-2: #060c18;
  --dark-3: #0b1222;
  --dark-4: #111828;
  --card-bg: #080d1c;
  --text: #b8d0ee;
  --text-muted: #42608a;
  --text-light: #6f90b8;
  --border: rgba(201,164,92,0.14);
  --border-subtle: rgba(255,255,255,0.05);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 40px rgba(0,0,0,0.7);
  --glow: 0 0 40px rgba(201,164,92,0.1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
p { font-size: 0.96rem; color: var(--text-light); }

.gradient-text {
  background: linear-gradient(130deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.centered .section-label::before { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dim));
  color: #000;
  box-shadow: 0 4px 24px rgba(201,164,92,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,164,92,0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: rgba(201,164,92,0.08); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border-subtle); }
.btn-ghost:hover { background: rgba(201,164,92,0.08); border-color: var(--primary); color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7,11,20,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #d8b878, #a8843f);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(201,164,92,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.05rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.logo-text span { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: #d8b878; }

/* cuberries logo name */
.logo-cu { color: var(--white); font-style: normal; }
.logo-be { color: #d8b878; font-style: normal; font-weight: 900; }
.logo-rries { color: var(--white); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.87rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 65% 45%, rgba(201,164,92,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(143,160,196,0.05) 0%, transparent 60%);
}

/* Hex-style grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,164,92,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,164,92,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
}

/* Scanline sweep */
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(201,164,92,0.04), transparent);
  animation: scanline 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scanline {
  0% { transform: translateY(-120px); }
  100% { transform: translateY(100vh); }
}

#neural-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2; max-width: 680px;
  padding: 32px;
}

/* Robotic corner reticles */
.hero-content::before, .hero-content::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-color: rgba(201,164,92,0.4);
  border-style: solid;
}
.hero-content::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hero-content::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.hero-visual { z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,164,92,0.07);
  border: 1px solid rgba(201,164,92,0.22);
  border-radius: 50px; padding: 6px 16px 6px 10px;
  font-size: 0.77rem; font-weight: 600; color: var(--primary);
  margin-bottom: 26px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--primary); border-radius: 50%;
  animation: robotPulse 1.8s ease-in-out infinite;
}
@keyframes robotPulse {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(201,164,92,0.5); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(201,164,92,0); }
}

.hero h1 { margin-bottom: 22px; color: var(--white); }
.typewriter-wrap { display: inline-flex; align-items: baseline; gap: 2px; }
.cursor { display: inline-block; color: var(--primary); font-weight: 300; animation: blink 1s step-end infinite; margin-left: 2px; font-size: 0.85em; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Robotic system status row */
.hero-status {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.status-dot {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.status-dot::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: robotPulse 2s ease-in-out infinite;
}
.status-dot.acc::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation-delay: 0.6s; }
.status-dot.ok::before { background: #4ade80; box-shadow: 0 0 8px #4ade80; animation-delay: 1.2s; }

.hero-desc { font-size: 1.04rem; color: var(--text-light); max-width: 560px; margin-bottom: 34px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 3px; }
.stat-num { font-size: 1.55rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Hero floating cards */
.hero-visual {
  position: absolute; right: 4%; top: 50%;
  transform: translateY(-50%);
  width: 40%; max-width: 520px; z-index: 1;
}
.hero-card-stack { position: relative; width: 100%; aspect-ratio: 1/1; }
.floating-card {
  position: absolute;
  background: rgba(12,19,34,0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow), var(--glow);
}
.float-anim-1 { animation: float1 6s ease-in-out infinite; }
.float-anim-2 { animation: float2 7s ease-in-out infinite; }
.float-anim-3 { animation: float3 5.5s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-22px)} }
.card-main { top:10%; left:5%; width:62%; }
.card-secondary { bottom:20%; right:0; width:52%; }
.card-mini { top:55%; left:0; width:40%; padding:14px 18px; }
.card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(201,164,92,0.1); border: 1px solid rgba(201,164,92,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 12px;
}
.card-title { font-size: 0.73rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.card-value { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.card-value .up { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.card-bar { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.card-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 3px; animation: barFill 2.5s ease forwards; }
@keyframes barFill { from{width:0%} to{width:var(--w,70%)} }
.card-list { list-style: none; }
.card-list li { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-light); padding: 4px 0; border-bottom: 1px solid var(--border-subtle); }
.card-list li:last-child { border-bottom: none; }
.card-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ===== COMPANY BANNER ===== */
.company-banner {
  padding: 80px 5%;
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark) 60%, var(--dark-2) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative; overflow: hidden;
}
.company-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 30% 50%, rgba(201,164,92,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(143,160,196,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.banner-pre-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 28px; position: relative; z-index: 1;
}
.company-name-large {
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 900; line-height: 1;
  position: relative; z-index: 1; margin-bottom: 6px;
}

/* banner name color split */
.name-cu { color: var(--white); }
.name-be { color: var(--primary); }
.name-rries { color: var(--white); }

/* cuberries — single flowing word with gradient */
.name-full {
  display: inline;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 35%, var(--white) 65%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.04em;
  animation: gradientShift 6s ease-in-out infinite;
  background-size: 200% 100%;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tech-sub {
  color: rgba(255,255,255,0.18);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.26em;
  display: block;
  letter-spacing: 0.4em;
  margin-top: 16px;
  text-transform: uppercase;
}
.banner-tagline {
  font-size: 1rem; color: var(--text-muted);
  margin-top: 20px; position: relative; z-index: 1;
  max-width: 420px; margin-inline: auto; line-height: 1.6;
}
.banner-tagline em { font-style: normal; color: var(--text-light); }

/* ── Duality Cards ── */
.banner-duality {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; margin-top: 40px; position: relative; z-index: 1;
  max-width: 780px; margin-inline: auto; margin-top: 40px;
}
.duality-card {
  flex: 1; padding: 28px 28px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  text-align: left; position: relative; overflow: hidden;
  transition: var(--transition);
}
.duality-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 18px 18px 0 0;
}
.duality-cube::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.duality-berry::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.duality-cube { box-shadow: 0 0 40px rgba(201,164,92,0.05); }
.duality-berry { box-shadow: 0 0 40px rgba(143,160,196,0.06); }
.duality-card:hover { transform: translateY(-4px); }
.duality-cube:hover { border-color: rgba(201,164,92,0.2); box-shadow: 0 8px 40px rgba(201,164,92,0.1); }
.duality-berry:hover { border-color: rgba(143,160,196,0.25); box-shadow: 0 8px 40px rgba(143,160,196,0.12); }

.duality-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.duality-badge {
  font-size: 0.9rem; font-weight: 800; letter-spacing: -0.02em;
  padding: 3px 12px; border-radius: 6px;
}
.cube-badge { color: var(--primary); background: rgba(201,164,92,0.08); border: 1px solid rgba(201,164,92,0.18); }
.berry-badge { color: var(--accent-light); background: rgba(143,160,196,0.08); border: 1px solid rgba(143,160,196,0.2); }
.duality-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.duality-card-desc {
  font-size: 0.84rem; color: var(--text-light); line-height: 1.65;
  margin-bottom: 18px;
}
.duality-traits {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.duality-traits li {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  padding-left: 14px; position: relative; letter-spacing: 0.02em;
}
.duality-cube .duality-traits li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; background: var(--primary); border-radius: 1px; }
.duality-berry .duality-traits li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }

.duality-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 20px; gap: 8px; flex-shrink: 0;
}
.connector-line { width: 1px; height: 40px; background: var(--border-subtle); }
.connector-plus { font-size: 1.1rem; font-weight: 300; color: var(--text-muted); }

/* ===== CLIENTS ===== */
.clients-strip {
  padding: 28px 5%; background: var(--dark-2);
  border-bottom: 1px solid var(--border-subtle); overflow: hidden;
}
.clients-strip-inner { display: flex; align-items: center; gap: 16px; }
.clients-label { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.clients-divider { width: 1px; height: 28px; background: var(--border-subtle); flex-shrink: 0; }
.clients-scroll { overflow: hidden; flex: 1; }
.clients-track { display: flex; gap: 52px; align-items: center; animation: scrollClients 18s linear infinite; width: max-content; }
@keyframes scrollClients { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.client-logo { font-size: 0.92rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; transition: color var(--transition); letter-spacing: 0.04em; flex-shrink: 0; }
.client-logo:hover { color: var(--primary); }
.client-sep { font-size: 0.35rem; color: rgba(201,164,92,0.3); pointer-events: none; }

/* ===== SECTIONS ===== */
section { padding: 90px 5%; }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header p { margin-top: 14px; font-size: 1rem; color: var(--text-light); max-width: 560px; }
.section-header.centered p { margin-inline: auto; }

/* ===== SERVICES ===== */
.services { background: var(--dark-2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.service-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 28px 26px 24px;
  transition: var(--transition); position: relative; overflow: hidden; cursor: default;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow), var(--glow); }
.service-card:hover::before { transform: scaleX(1); }

.sc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(201,164,92,0.07); border: 1px solid rgba(201,164,92,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; transition: var(--transition);
}
.sc-category {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.service-card:hover .service-icon { background: rgba(201,164,92,0.14); transform: scale(1.06); }
.service-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.service-card > p { font-size: 0.85rem; line-height: 1.65; margin-bottom: 16px; }

.sc-features {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 18px; flex: 1;
}
.sc-features li {
  font-size: 0.78rem; color: var(--text-light); padding-left: 16px;
  position: relative; line-height: 1.5;
}
.sc-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: 0.6;
}

.sc-stat {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  background: rgba(201,164,92,0.06); border: 1px solid rgba(201,164,92,0.14);
  border-radius: 6px; padding: 6px 12px; margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.service-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase;
  border-top: 1px solid var(--border-subtle); padding-top: 12px;
}

/* ===== TECH STACK SECTION ===== */
.tech-section { background: var(--dark-2); }
.tech-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-category {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 24px; transition: var(--transition);
  cursor: pointer; display: flex; flex-direction: column;
}
.tech-category:hover {
  border-color: var(--primary); box-shadow: 0 4px 28px rgba(0,0,0,0.4), var(--glow);
  transform: translateY(-3px);
}
.tech-category:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.tc-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.tc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 8px rgba(201,164,92,0.6); flex-shrink: 0;
}
.tc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.tc-chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.tc-chips span {
  font-size: 0.77rem; font-weight: 500; color: var(--text-light);
  background: var(--dark-3); border: 1px solid var(--border-subtle);
  border-radius: 50px; padding: 4px 12px; transition: var(--transition); cursor: pointer;
}
.tc-chips span:hover { border-color: var(--primary); color: var(--primary); background: rgba(201,164,92,0.05); }
.tc-explore {
  margin-top: 16px; font-size: 0.73rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--primary); opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tech-category:hover .tc-explore { opacity: 1; transform: translateY(0); }

/* ===== AI CAPABILITIES ===== */
#ai-section { background: var(--dark); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-feature-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 30px 26px;
  position: relative; overflow: hidden; transition: var(--transition); cursor: default;
}
.ai-card-glow {
  position: absolute; top: -40px; left: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.1) 0%, transparent 70%);
  pointer-events: none; transition: var(--transition);
}
.ai-feature-card:hover { border-color: rgba(201,164,92,0.3); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(201,164,92,0.08); }
.ai-feature-card:hover .ai-card-glow { width: 200px; height: 200px; background: radial-gradient(circle, rgba(201,164,92,0.13) 0%, transparent 70%); }
.ai-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.ai-feature-card h3 { color: var(--white); font-size: 1.04rem; margin-bottom: 10px; }
.ai-feature-card p { font-size: 0.86rem; line-height: 1.65; margin-bottom: 18px; }
.ai-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tags span { font-size: 0.68rem; font-weight: 700; color: var(--primary); background: rgba(201,164,92,0.06); border: 1px solid rgba(201,164,92,0.18); border-radius: 50px; padding: 3px 10px; letter-spacing: 0.04em; }
.ai-feature-card[data-ai] { cursor: pointer; }
.ai-feature-card[data-ai]:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.ai-card-cta { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; margin-top: 12px; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.ai-feature-card:hover .ai-card-cta { opacity: 1; transform: translateX(0); }

/* ===== RESULTS BAND ===== */
.results-band {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  padding: 56px 5%;
}
.results-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.result-num { font-size: 2.6rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.result-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.result-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ===== IT SOLUTIONS ===== */
.it-solutions { background: var(--dark); }
.it-solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.it-card {
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: var(--transition); position: relative; cursor: pointer;
}
.it-card:hover { border-color: var(--border); box-shadow: 0 6px 30px rgba(0,0,0,0.4), var(--glow); transform: translateY(-3px); }
.it-card-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(201,164,92,0.07); border: 1px solid rgba(201,164,92,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.it-card-body { flex: 1; min-width: 0; }
.it-card h4 { font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.it-card p { font-size: 0.81rem; line-height: 1.6; }
.it-card-cta { display: inline-flex; align-items: center; font-size: 0.73rem; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; margin-top: 14px; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.it-card:hover .it-card-cta { opacity: 1; transform: translateX(0); }
.it-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ===== AI PLATFORM ===== */
.ai-platform { background: var(--dark-2); }
.ai-platform-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.platform-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.platform-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--card-bg);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); transition: var(--transition);
}
.platform-item:hover { border-color: var(--border); transform: translateX(6px); }
.platform-num { font-size: 0.75rem; font-weight: 800; color: var(--primary); letter-spacing: 0.08em; flex-shrink: 0; padding-top: 2px; }
.platform-item h4 { font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.platform-item p { font-size: 0.82rem; }
.ai-platform-visual { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; box-shadow: var(--shadow), var(--glow); }
.ai-platform-visual h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.pipeline-row { display: flex; flex-direction: column; gap: 10px; }
.pipeline-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--dark-3);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); transition: var(--transition);
}
.pipeline-step:hover { border-color: var(--border); }
.pipeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); flex-shrink: 0; }
.pipeline-dot.pulse-anim { animation: robotPulse 1.5s ease-in-out infinite; }
.pipeline-label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); flex: 1; }
.pipeline-badge { font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; }
.badge-live { background: rgba(201,164,92,0.1); color: var(--primary); border: 1px solid rgba(201,164,92,0.25); }
.badge-ready { background: rgba(143,160,196,0.1); color: var(--accent-light); border: 1px solid rgba(143,160,196,0.2); }
.badge-idle { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border-subtle); }
.pipeline-arrow { color: var(--text-muted); font-size: 0.7rem; text-align: center; padding: 2px 0; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-features { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); transition: var(--transition);
}
.feature-item:hover { border-color: var(--border); background: rgba(201,164,92,0.02); }
.feature-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,164,92,0.07); border: 1px solid rgba(201,164,92,0.16);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.feature-text h4 { font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.feature-text p { font-size: 0.82rem; }
.about-visual { position: relative; }
.about-main-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.about-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.metric-box { background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.metric-box .num { font-size: 1.7rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.metric-box .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.about-accent { position: absolute; top: -20px; right: -20px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,0.08) 0%, transparent 70%); pointer-events: none; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tech-chip { background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: 50px; padding: 7px 16px; font-size: 0.78rem; font-weight: 600; color: var(--text-light); transition: var(--transition); }
.tech-chip:hover { border-color: var(--primary); color: var(--primary); background: rgba(201,164,92,0.04); }

/* ===== PROCESS ===== */
.process { background: var(--dark-3); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.process-step { text-align: center; padding: 24px 16px; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--card-bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800; color: var(--primary);
  margin: 0 auto 18px; position: relative; z-index: 1; transition: var(--transition);
}
.process-step:hover .step-num { background: rgba(201,164,92,0.1); border-color: var(--primary); transform: scale(1.08); box-shadow: 0 0 20px rgba(201,164,92,0.2); }
.process-step h4 { font-size: 0.93rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  text-align: center; padding: 100px 5%; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 1rem; max-width: 500px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== SERVICE MODAL ===== */
.svc-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: flex-end;
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
}
.svc-overlay::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity 0.3s ease;
}
.svc-overlay.open { pointer-events: all; opacity: 1; }
.svc-overlay.open::before { opacity: 1; }
.svc-panel {
  position: relative; z-index: 1; width: 100%; max-width: 520px; height: 100vh;
  background: var(--dark-2); border-left: 1px solid var(--border);
  overflow-y: auto; padding: 40px 36px 60px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; gap: 28px;
}
.svc-overlay.open .svc-panel { transform: translateX(0); }
.svc-panel::-webkit-scrollbar { width: 4px; }
.svc-panel::-webkit-scrollbar-track { background: transparent; }
.svc-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.svc-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle);
  color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition); line-height: 1;
}
.svc-close:hover { background: rgba(201,164,92,0.08); border-color: var(--primary); color: var(--primary); }
.svc-header { display: flex; gap: 16px; align-items: flex-start; padding-top: 8px; }
.svc-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(201,164,92,0.07); border: 1px solid rgba(201,164,92,0.18); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.svc-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 5px; }
.svc-title { font-size: 1.35rem; font-weight: 800; color: var(--white); line-height: 1.25; }
.svc-desc { font-size: 0.93rem; line-height: 1.75; color: var(--text-light); padding-bottom: 4px; border-bottom: 1px solid var(--border-subtle); }
.svc-block { display: flex; flex-direction: column; gap: 14px; }
.svc-block-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.svc-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.svc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-light); line-height: 1.5; }
.svc-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 7px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.svc-chips span { font-size: 0.75rem; font-weight: 600; color: var(--text-light); background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: 50px; padding: 4px 12px; transition: var(--transition); }
.svc-chips span:hover { border-color: var(--primary); color: var(--primary); }
.svc-cta { margin-top: 8px; width: fit-content; align-self: flex-start; }

/* ===== FOOTER ===== */
footer { background: var(--dark-2); border-top: 1px solid var(--border-subtle); padding: 60px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.87rem; margin: 14px 0 22px; max-width: 280px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; font-size: 0.83rem; transition: var(--transition); }
.social-link:hover { border-color: var(--primary); background: rgba(201,164,92,0.08); color: var(--primary); }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.87rem; color: var(--text-light); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.newsletter-form { display: flex; gap: 8px; margin-top: 4px; }
.newsletter-form input { flex: 1; background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 50px; padding: 10px 18px; font-size: 0.84rem; color: var(--text); outline: none; transition: border-color var(--transition); }
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { padding: 10px 18px; background: linear-gradient(135deg, var(--primary), var(--primary-dim)); color: #000; border: none; border-radius: 50px; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { opacity: 0.9; transform: scale(1.03); }
.contact-info { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.contact-row { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--text-light); }
.contact-icon { color: var(--primary); font-size: 0.88rem; margin-top: 1px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--primary); }

/* ===== MOBILE NAV ===== */
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(7,11,20,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); padding: 24px 5% 32px; z-index: 999; flex-direction: column; gap: 18px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1{transition-delay:0.1s} .delay-2{transition-delay:0.2s} .delay-3{transition-delay:0.3s}
.delay-4{transition-delay:0.4s} .delay-5{transition-delay:0.5s}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) { .it-solutions-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .ai-platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .tech-categories { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 5% 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .it-solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .tech-categories { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  section { padding: 60px 5%; }
  .results-inner { grid-template-columns: 1fr 1fr; }
  .banner-duality { flex-direction: column; gap: 0; }
  .duality-connector { flex-direction: row; padding: 12px 0; }
  .connector-line { width: 40px; height: 1px; }
  .company-name-large { font-size: clamp(2.4rem, 12vw, 5rem); }
  .hero-content { padding: 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .results-inner { grid-template-columns: 1fr 1fr; }
  .it-solutions-grid { grid-template-columns: 1fr; }
  .svc-panel { max-width: 100%; padding: 32px 24px 48px; }
}

/* =====================================================================
   AI-ERA UPGRADE (Nov 2026): agent console, agentic, EKS, tiers,
   governance, engagement, FAQ, contact, accessibility
   ===================================================================== */

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 3000; background: var(--primary); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.hamburger { background: none; border: none; }
.hero-desc strong { color: var(--white); font-weight: 600; }

/* ---------- Hero agent console ---------- */
.hero-visual { display: flex; flex-direction: column; }
.agent-console {
  position: relative; width: 100%;
  background: rgba(9,14,26,0.92); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(16px); box-shadow: var(--shadow), 0 0 60px rgba(201,164,92,0.08);
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border-subtle); }
.console-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.console-bar .r { background: #ff5f57; } .console-bar .y { background: #febc2e; } .console-bar .g { background: #28c840; }
.console-title { margin-left: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-body { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.74rem; line-height: 1.75; padding: 16px 18px; height: 330px; overflow: hidden; color: var(--text-light); }
.console-body .ln { display: block; white-space: pre-wrap; animation: lnIn 0.35s ease both; }
@keyframes lnIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ln .t-alert { color: #ff7b72; } .ln .t-think { color: var(--accent-light); } .ln .t-tool { color: var(--primary); }
.ln .t-ok { color: #3fdc8a; } .ln .t-ask { color: #febc2e; } .ln .t-dim { color: var(--text-muted); }
.console-caret { display: inline-block; width: 7px; height: 13px; background: var(--primary); vertical-align: -2px; animation: blink 1s step-end infinite; }
.console-chip { position: absolute; padding: 12px 16px; }
.chip-a { left: -36px; bottom: -34px; }
.chip-b { right: -20px; top: -34px; }

/* ---------- AI era shift ---------- */
.shift { background: var(--dark); }
.shift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.shift-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 26px; text-align: center; transition: var(--transition); }
.shift-card:hover { border-color: var(--border); transform: translateY(-4px); }
.shift-from { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(255,123,114,0.6); }
.shift-arrow { color: var(--primary); margin: 6px 0; }
.shift-to { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.shift-card p { font-size: 0.84rem; line-height: 1.65; }

/* ---------- Agentic section ---------- */
.agentic { background: var(--dark-2); position: relative; overflow: hidden; }
.agentic::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(143,160,196,0.08), transparent 70%); pointer-events: none; }
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-bottom: 64px; }
.lifecycle::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0.4; }
.lifecycle li { text-align: center; padding: 0 14px; position: relative; }
.lc-num { width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: var(--primary); background: var(--card-bg); border: 1.5px solid var(--border); position: relative; z-index: 1; transition: var(--transition); }
.lifecycle li:hover .lc-num { background: rgba(201,164,92,0.12); border-color: var(--primary); transform: rotate(-6deg) scale(1.08); }
.lifecycle h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.lifecycle p { font-size: 0.8rem; line-height: 1.55; }

.agent-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.agent-head h3 { color: var(--white); font-size: 1.25rem; }
.autonomy-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.74rem; color: var(--text-muted); }
.autonomy-legend .lvl { margin-left: 8px; }
.lvl { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; border: 1px solid; white-space: nowrap; }
.lvl-assist { color: #9ecbff; border-color: rgba(158,203,255,0.35); background: rgba(158,203,255,0.06); }
.lvl-approve { color: #febc2e; border-color: rgba(254,188,46,0.35); background: rgba(254,188,46,0.06); }
.lvl-auto { color: #3fdc8a; border-color: rgba(63,220,138,0.35); background: rgba(63,220,138,0.06); }

.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 24px; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.agent-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,164,92,0.06), rgba(143,160,196,0.06)); opacity: 0; transition: var(--transition); pointer-events: none; }
.agent-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow), var(--glow); }
.agent-card:hover::after { opacity: 1; }
.agent-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.agent-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; background: rgba(201,164,92,0.07); border: 1px solid rgba(201,164,92,0.16); }
.agent-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.agent-card p { font-size: 0.83rem; line-height: 1.6; }
.agent-cta { display: inline-block; margin-top: 12px; font-size: 0.73rem; font-weight: 700; color: var(--primary); opacity: 0; transform: translateX(-6px); transition: var(--transition); }
.agent-card:hover .agent-cta, .agent-card:focus-visible .agent-cta { opacity: 1; transform: none; }
.agent-stack { margin-top: 36px; padding: 20px 22px; border: 1px dashed var(--border); border-radius: var(--radius); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.agent-stack-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); white-space: nowrap; }
.agent-stack .tc-chips span { cursor: default; }

/* ---------- EKS platform ---------- */
.eks { background: var(--dark); }
.eks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eks-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.eks-points li { padding: 14px 18px; border-left: 2px solid var(--primary); background: linear-gradient(90deg, rgba(201,164,92,0.05), transparent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.eks-points strong { display: block; color: var(--white); font-size: 0.93rem; margin-bottom: 3px; }
.eks-points span { font-size: 0.83rem; color: var(--text-light); }
.arch { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow), var(--glow); }
.arch-title { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.arch-body { display: grid; grid-template-columns: 1fr 44px 44px; gap: 10px; }
.arch-layers { display: flex; flex-direction: column; gap: 8px; }
.arch-layer { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); background: var(--dark-3); transition: var(--transition); }
.arch-layer:hover { transform: translateX(4px); border-color: var(--primary); }
.al-name { font-size: 0.78rem; font-weight: 800; color: var(--white); letter-spacing: 0.02em; }
.al-items { font-size: 0.72rem; color: var(--text-light); font-family: 'JetBrains Mono', ui-monospace, monospace; }
.l1 { border-left: 3px solid #9ecbff; } .l2 { border-left: 3px solid var(--accent); } .l3 { border-left: 3px solid var(--accent-light); }
.l4 { border-left: 3px solid #febc2e; } .l5 { border-left: 3px solid #3fdc8a; } .l6 { border-left: 3px solid var(--primary); background: rgba(201,164,92,0.06); }
.arch-side { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); border: 1px solid rgba(143,160,196,0.3); background: rgba(143,160,196,0.07); color: var(--accent-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 0; }
.arch-side small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-muted); font-size: 0.66rem; }
.arch-side.obs { border-color: rgba(201,164,92,0.3); background: rgba(201,164,92,0.06); color: var(--primary); }

/* ---------- Support tiers ---------- */
.tiers { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin-bottom: 36px; }
.tier { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 20px 22px; border-top: 3px solid; }
.tier.t0 { border-top-color: #3fdc8a; } .tier.t1 { border-top-color: #febc2e; } .tier.t2 { border-top-color: var(--accent); }
.tier-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.tier h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 6px; }
.tier p { font-size: 0.82rem; line-height: 1.6; }
.tier-link { display: flex; align-items: center; color: var(--primary); font-size: 1.2rem; }

/* ---------- Governance ---------- */
.governance { background: var(--dark-3); }
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.gov-card { padding: 22px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--border-subtle); transition: var(--transition); }
.gov-card:hover { border-color: rgba(143,160,196,0.35); transform: translateY(-3px); }
.gov-ic { font-size: 1.4rem; display: block; margin-bottom: 10px; }
.gov-card h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.gov-card p { font-size: 0.82rem; line-height: 1.6; }

/* ---------- Engagement ---------- */
.engage { background: var(--dark); }
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.engage-card { position: relative; display: flex; flex-direction: column; background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 26px 22px; transition: var(--transition); }
.engage-card:hover { border-color: var(--border); transform: translateY(-4px); }
.engage-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px rgba(201,164,92,0.25), 0 12px 40px rgba(201,164,92,0.12); background: linear-gradient(180deg, rgba(201,164,92,0.06), var(--card-bg) 40%); }
.eg-badge { position: absolute; top: -11px; left: 22px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--primary); color: #000; padding: 3px 10px; border-radius: 50px; }
.eg-dur { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.engage-card h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.engage-card > p { font-size: 0.83rem; margin-bottom: 14px; }
.engage-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; flex: 1; }
.engage-card li { font-size: 0.8rem; color: var(--text-light); padding-left: 20px; position: relative; }
.engage-card li::before { content: "\2713"; position: absolute; left: 0; color: #3fdc8a; font-weight: 700; }
.engage-card .btn { justify-content: center; padding: 11px 18px; font-size: 0.84rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--dark-2); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 0 20px; transition: border-color var(--transition); }
.faq details[open] { border-color: var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--white); font-size: 0.95rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.3rem; font-weight: 400; transition: transform var(--transition); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 0.88rem; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%); border-top: 1px solid var(--border-subtle); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact h2 { color: var(--white); }
.contact .contact-row a:hover { color: var(--primary); }
.contact-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.76rem; font-weight: 600; color: var(--text-light); letter-spacing: 0.02em; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 0.9rem; color: var(--text); background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 11px 13px; outline: none; transition: border-color var(--transition); resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form .invalid { border-color: #ff7b72; }
.contact-form .btn { align-self: flex-start; }
.cf-note { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Responsive additions ---------- */
@media (max-width: 1100px) {
  .eks-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .engage-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lifecycle { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .lifecycle::before { display: none; }
}
@media (max-width: 768px) {
  .shift-grid, .gov-grid, .agent-grid { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-link { justify-content: center; transform: rotate(90deg); }
  .engage-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .arch-body { grid-template-columns: 1fr; }
  .arch-side { writing-mode: horizontal-tb; transform: none; padding: 10px; }
}
@media (max-width: 480px) {
  .lifecycle { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}

/* ---------- Reduced motion ---------- */
@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; }
  .fade-up { opacity: 1; transform: none; }
  #neural-canvas { display: none; }
}

/* ---------- Fixes ---------- */
.logo-text strong span { font-size: inherit; letter-spacing: inherit; text-transform: none; }
.chip-b { top: -64px; right: -10px; }
@media (max-width: 1100px) { .hero-visual { display: none; } }
@media (max-width: 768px) { .typewriter-wrap { display: inline; } .hero h1 { overflow-wrap: anywhere; } }
.it-card { padding-bottom: 36px; }
.it-card-cta { position: absolute; left: 80px; bottom: 12px; margin: 0; }

/* =====================================================================
   CLASSIC PREMIUM THEME — midnight navy · champagne gold · serif display
   (overrides everything above; delete this block to return to base look)
   ===================================================================== */
:root {
  --primary: #c9a45c;
  --primary-light: #e6cf9a;
  --primary-dim: #a8843f;
  --primary-glow: rgba(201,164,92,0.14);
  --primary-border: rgba(201,164,92,0.22);
  --accent: #8fa0c4;
  --accent-light: #c8d2e6;
  --white: #f5f1e8;
  --dark: #070b14;
  --dark-2: #0a101c;
  --dark-3: #0d1524;
  --dark-4: #111a2c;
  --card-bg: #0c1322;
  --text: #d9dde6;
  --text-muted: #77829a;
  --text-light: #a9b2c4;
  --border: rgba(201,164,92,0.20);
  --border-subtle: rgba(232,220,195,0.07);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 18px 50px rgba(0,0,0,0.55);
  --glow: 0 0 0 transparent;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --serif-alt: 'Cormorant Garamond', Georgia, serif;
  --sage: #9fd1ae;
}

::selection { background: rgba(201,164,92,0.35); color: #fff; }
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201,164,92,0.05), transparent 60%),
    var(--dark);
  font-weight: 400;
  letter-spacing: 0.005em;
}

/* ---------- Typography ---------- */
h1, h2, .svc-title, .company-name-large, .cta-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
h3, h4 { font-weight: 600; letter-spacing: 0; }
.agent-head h3, .about-main-card h3 { font-family: var(--serif); font-weight: 600; }
p { color: var(--text-light); }

.gradient-text {
  background: linear-gradient(115deg, #f3e6c4 0%, #d8b878 40%, #c9a45c 65%, #e6cf9a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.28em;
  color: var(--primary); margin-bottom: 18px;
}
.section-label::before { width: 32px; height: 1px; background: var(--primary); opacity: 0.7; }
.centered .section-label::before { display: block; }
.centered .section-label::after { content: ''; width: 32px; height: 1px; background: var(--primary); opacity: 0.7; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 4px; padding: 14px 30px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.btn-primary {
  background: linear-gradient(135deg, #e2c588 0%, #c9a45c 55%, #a8843f 100%);
  color: #0b1426; box-shadow: 0 6px 24px rgba(201,164,92,0.22);
}
.btn-primary:hover { box-shadow: 0 10px 34px rgba(201,164,92,0.32); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(201,164,92,0.35); }
.btn-ghost:hover { background: rgba(201,164,92,0.08); border-color: var(--primary); color: var(--primary-light); }
.btn-outline { border-width: 1px; }

/* ---------- Navbar & logo ---------- */
.navbar { height: 78px; }
.navbar.scrolled { background: rgba(7,11,20,0.9); border-bottom: 1px solid rgba(201,164,92,0.14); box-shadow: 0 8px 30px rgba(0,0,0,0.45); }
.nav-links { gap: 30px; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-light); }
.nav-links a::after { height: 1px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.72rem; }
.logo-icon {
  background: linear-gradient(135deg, #e2c588, #a8843f); color: #0b1426;
  font-family: var(--serif); font-weight: 700; border-radius: 8px;
  box-shadow: 0 4px 18px rgba(201,164,92,0.25);
}
.logo-text strong { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em; }
.logo-be { color: var(--primary); }
.logo-text > span { color: var(--primary); letter-spacing: 0.32em; font-size: 0.55rem; }
.hamburger span { background: var(--primary-light); }

/* ---------- Hero ---------- */
.hero::after { display: none; }
.hero-bg {
  background:
    radial-gradient(ellipse 55% 50% at 70% 45%, rgba(201,164,92,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 5% 90%, rgba(143,160,196,0.06) 0%, transparent 60%);
}
.hero-grid { opacity: 0.35; }
#neural-canvas { opacity: 0.45; }
.hero-content::before, .hero-content::after { border-color: rgba(201,164,92,0.45); width: 28px; height: 28px; }
.hero-content::before { border-width: 1px 0 0 1px; }
.hero-content::after { border-width: 0 1px 1px 0; }
.hero-badge {
  background: rgba(201,164,92,0.06); border: 1px solid rgba(201,164,92,0.3); border-radius: 3px;
  color: var(--primary-light); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.hero-badge-dot { background: var(--primary); }
.cursor { color: var(--primary); }
.hero-desc { color: var(--text-light); font-size: 1.06rem; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--primary-light); }
.stat-label { letter-spacing: 0.16em; font-size: 0.66rem; }
.hero-stats { gap: 44px; padding-top: 28px; border-top: 1px solid rgba(201,164,92,0.15); }

.agent-console { background: rgba(9,14,26,0.94); border: 1px solid rgba(201,164,92,0.22); border-radius: 8px; }
.console-bar { background: rgba(201,164,92,0.04); }
.ln .t-ok { color: var(--sage); }
.ln .t-ask { color: #e6cf9a; }
.ln .t-think { color: var(--accent-light); }
.floating-card { background: rgba(10,16,28,0.92); border: 1px solid rgba(201,164,92,0.22); border-radius: 8px; }
.card-value .up { color: var(--primary); }
.console-caret { background: var(--primary); }

/* ---------- Company banner ---------- */
.company-name-large { font-weight: 700; letter-spacing: -0.01em; }
.name-be { color: var(--primary); }
.tech-sub { font-family: 'Inter', sans-serif; color: rgba(232,220,195,0.35); letter-spacing: 0.5em; }
.banner-tagline { font-family: var(--serif-alt); font-size: 1.35rem; color: var(--text-light); max-width: 560px; }
.banner-tagline em { font-style: italic; color: var(--primary-light); }
.duality-card { border-radius: var(--radius); background: rgba(232,220,195,0.02); }
.duality-cube::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); height: 2px; }
.duality-berry::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); height: 2px; }
.duality-badge { font-family: var(--serif); border-radius: 4px; }

/* ---------- Clients ---------- */
.client-logo { font-family: var(--serif-alt); font-style: italic; font-weight: 600; font-size: 1.25rem; color: rgba(232,220,195,0.45); letter-spacing: 0.02em; }
.client-logo:hover { color: var(--primary-light); }
.client-sep { color: rgba(201,164,92,0.5); font-style: normal; }

/* ---------- Section rhythm ---------- */
section { padding: 110px 6%; }
section + section, .results-band, .clients-strip { border-top: 1px solid rgba(201,164,92,0.07); }
.section-header { margin-bottom: 60px; }
.section-header p { font-size: 1.02rem; }

/* ---------- Cards (shared calm style) ---------- */
.service-card, .ai-feature-card, .tech-category, .it-card, .agent-card, .shift-card,
.gov-card, .engage-card, .tier, .platform-item, .feature-item, .arch, .ai-platform-visual,
.about-main-card, .contact-form, .faq details, .metric-box {
  background: linear-gradient(180deg, rgba(232,220,195,0.025), rgba(232,220,195,0.005)), var(--card-bg);
  border-color: var(--border-subtle);
}
.service-card:hover, .ai-feature-card:hover, .tech-category:hover, .it-card:hover, .agent-card:hover,
.shift-card:hover, .gov-card:hover, .engage-card:hover, .platform-item:hover, .feature-item:hover {
  border-color: rgba(201,164,92,0.38);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.service-card::before { background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent); height: 1px; }
.service-card h3, .ai-feature-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.agent-card h4, .engage-card h4, .gov-card h4, .tier h4, .shift-to, .lifecycle h4 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.service-icon, .it-card-icon, .agent-icon, .feature-icon-wrap, .card-icon, .svc-icon {
  background: rgba(201,164,92,0.06); border-color: rgba(201,164,92,0.22); border-radius: 8px;
}
.ai-card-glow { display: none; }
.sc-stat { background: transparent; border: none; border-left: 2px solid var(--primary); border-radius: 0; color: var(--primary-light); padding: 4px 12px; }
.ai-tags span, .tc-chips span, .tech-chip, .svc-chips span {
  border-radius: 3px; background: rgba(201,164,92,0.04); border: 1px solid rgba(201,164,92,0.16);
  color: var(--text-light); font-weight: 500; letter-spacing: 0.03em;
}
.ai-tags span { color: var(--primary-light); }
.tc-dot { background: var(--primary); box-shadow: none; }
.tc-label { color: var(--primary-light); }

/* ---------- Numbers ---------- */
.result-num, .metric-box .num { font-family: var(--serif); font-weight: 600; color: var(--primary-light); }
.result-num { font-size: 3rem; }
.results-band { background: linear-gradient(180deg, var(--dark-3), var(--dark-2)); }
.lc-num, .step-num { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--primary-light); border: 1px solid rgba(201,164,92,0.4); background: var(--dark-2); }
.lc-num { border-radius: 50%; }
.lifecycle::before { height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.5; }
.platform-num { font-family: var(--serif); font-size: 1rem; color: var(--primary); }
.eg-dur { color: var(--primary); letter-spacing: 0.18em; }

/* ---------- Autonomy & tiers palette ---------- */
.lvl { border-radius: 3px; }
.lvl-assist { color: var(--accent-light); border-color: rgba(200,210,230,0.3); background: rgba(200,210,230,0.04); }
.lvl-approve { color: #e6cf9a; border-color: rgba(230,207,154,0.35); background: rgba(230,207,154,0.05); }
.lvl-auto { color: var(--sage); border-color: rgba(159,209,174,0.35); background: rgba(159,209,174,0.05); }
.tier { border-top-width: 2px; }
.tier.t0 { border-top-color: var(--sage); } .tier.t1 { border-top-color: var(--primary); } .tier.t2 { border-top-color: var(--accent); }
.engage-card li::before { color: var(--primary); }
.engage-card.featured { border-color: rgba(201,164,92,0.6); box-shadow: 0 0 0 1px rgba(201,164,92,0.2), 0 24px 60px rgba(0,0,0,0.5); background: linear-gradient(180deg, rgba(201,164,92,0.07), var(--card-bg) 45%); }
.eg-badge { border-radius: 3px; background: linear-gradient(135deg, #e2c588, #c9a45c); color: #0b1426; letter-spacing: 0.14em; }
.eks-points li { border-left: 1px solid var(--primary); background: linear-gradient(90deg, rgba(201,164,92,0.05), transparent); }
.eks-points strong { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.arch-layer { border-radius: 4px; }
.l1 { border-left-color: var(--accent-light); } .l2 { border-left-color: var(--accent); } .l3 { border-left-color: #e6cf9a; }
.l4 { border-left-color: var(--primary); } .l5 { border-left-color: var(--sage); } .l6 { border-left-color: var(--primary-dim); background: rgba(201,164,92,0.05); }
.arch-side { color: var(--accent-light); border-color: rgba(143,160,196,0.3); background: rgba(143,160,196,0.06); border-radius: 4px; }
.arch-side.obs { color: var(--primary-light); border-color: rgba(201,164,92,0.3); background: rgba(201,164,92,0.05); }
.pipeline-dot { background: var(--primary); box-shadow: none; }
.badge-live { color: var(--primary-light); }
.badge-ready { color: var(--accent-light); }
.shift-from { text-decoration-color: rgba(201,164,92,0.5); }
.shift-arrow { color: var(--primary); }

/* ---------- FAQ / contact / footer ---------- */
.faq summary { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 4px; background: var(--dark-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(201,164,92,0.12); }
footer { background: #060910; border-top: 1px solid rgba(201,164,92,0.14); }
.footer-col h5 { color: var(--primary); letter-spacing: 0.22em; font-size: 0.7rem; }
.footer-col ul li a:hover { color: var(--primary-light); }
.social-link { border-radius: 4px; }
.newsletter-form input, .newsletter-form button { border-radius: 4px; }
.newsletter-form button { background: linear-gradient(135deg, #e2c588, #c9a45c); color: #0b1426; letter-spacing: 0.06em; }
.svc-panel { background: var(--dark-2); border-left: 1px solid rgba(201,164,92,0.25); }
.svc-category { color: var(--primary); letter-spacing: 0.2em; }
.svc-features li::before { background: var(--primary); border-radius: 0; transform: rotate(45deg); width: 5px; height: 5px; }
.cta-section::before { background: radial-gradient(circle, rgba(201,164,92,0.06) 0%, transparent 70%); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e2c588, #a8843f); }
h1, h2, h3, h4, .stat-num, .result-num, .metric-box .num, .lc-num, .step-num, .platform-num, .company-name-large { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.process-step h4, .platform-item h4, .feature-text h4, .it-card h4, .ai-platform-visual h4, .arch-title { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; }

/* =====================================================================
   LIGHT CLASSIC THEME — ivory · navy · antique gold
   (overrides the premium dark theme above; delete this block to go back)
   ===================================================================== */
:root {
  --primary: #a8843f;
  --primary-light: #8c6b2e;
  --primary-dim: #7a5c25;
  --accent: #3d5a80;
  --accent-light: #2f4a6e;
  --white: #14213d;          /* used as the heading colour throughout */
  --dark: #faf7f0;           /* ivory page */
  --dark-2: #f4efe4;         /* alternate section */
  --dark-3: #efe8da;
  --dark-4: #e9e1cf;
  --card-bg: #ffffff;
  --text: #2b3448;
  --text-light: #4a5468;
  --text-muted: #7a8295;
  --border: rgba(168,132,63,0.28);
  --border-subtle: rgba(20,33,61,0.09);
  --shadow: 0 14px 40px rgba(20,33,61,0.08);
  --sage: #3f7d5a;
  --navy: #14213d;
}

::selection { background: rgba(168,132,63,0.25); color: var(--navy); }
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(168,132,63,0.06), transparent 60%),
    var(--dark);
}
.gradient-text { background: linear-gradient(115deg, #7a5c25 0%, #a8843f 45%, #8c6b2e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons: navy primary, gold on hover */
.btn-primary { background: var(--navy); color: #faf7f0; box-shadow: 0 8px 24px rgba(20,33,61,0.18); border: 1px solid var(--navy); filter: none; }
.btn-primary:hover { background: #1d2f55; box-shadow: 0 12px 30px rgba(20,33,61,0.25); filter: none; }
.btn-ghost { color: var(--navy); border: 1px solid rgba(20,33,61,0.25); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dim); background: rgba(168,132,63,0.06); }

/* Navbar */
.navbar.scrolled { background: rgba(250,247,240,0.94); border-bottom: 1px solid rgba(168,132,63,0.2); box-shadow: 0 6px 24px rgba(20,33,61,0.06); }
.nav-links a { color: var(--text-light); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.mobile-nav { background: rgba(250,247,240,0.98); }
.mobile-nav a { color: var(--navy); }
.hamburger span { background: var(--navy); }
.logo-icon { background: var(--navy); color: #e6cf9a; box-shadow: 0 4px 14px rgba(20,33,61,0.2); }
.logo-be { color: var(--primary); }

/* Hero */
#neural-canvas { opacity: 0.35; }
.hero-grid { opacity: 0.6; }
.hero-bg { background: radial-gradient(ellipse 55% 50% at 72% 45%, rgba(168,132,63,0.08) 0%, transparent 70%), radial-gradient(ellipse 45% 45% at 5% 90%, rgba(61,90,128,0.06) 0%, transparent 60%); }
.hero-badge { background: #fff; border-color: rgba(168,132,63,0.4); }
.hero-stats { border-top-color: rgba(168,132,63,0.25); }
.hero-desc strong { color: var(--navy); }

/* Agent console stays a dark navy panel for contrast */
.agent-console, .console-chip {
  --text-light: #a9b2c4; --text-muted: #8a93a8; --accent-light: #c8d2e6;
  --primary: #c9a45c; --primary-light: #e6cf9a; --sage: #9fd1ae; --white: #f5f1e8;
  --border-subtle: rgba(232,220,195,0.1);
}
.agent-console { background: linear-gradient(180deg, #16244a, #101a33); border-color: rgba(20,33,61,0.6); box-shadow: 0 30px 70px rgba(20,33,61,0.28); }
.console-chip { background: #14213d; border-color: rgba(201,164,92,0.35); box-shadow: 0 16px 40px rgba(20,33,61,0.25); }

/* Company banner & clients */
.company-banner { background: linear-gradient(180deg, var(--dark-2), var(--dark)); }
.tech-sub { color: rgba(20,33,61,0.35); }
.duality-card { background: #fff; box-shadow: var(--shadow); }
.client-logo { color: rgba(20,33,61,0.45); }
.client-logo:hover { color: var(--primary-dim); }
.clients-strip { background: #fff; }

/* Cards */
.service-card, .ai-feature-card, .tech-category, .it-card, .agent-card, .shift-card,
.gov-card, .engage-card, .tier, .platform-item, .feature-item, .arch, .ai-platform-visual,
.about-main-card, .contact-form, .faq details {
  background: #fff;
  box-shadow: 0 1px 2px rgba(20,33,61,0.04), 0 8px 24px rgba(20,33,61,0.04);
}
.metric-box, .pipeline-step, .arch-layer, .tc-chips span, .tech-chip, .svc-chips span { background: var(--dark); }
.service-card:hover, .ai-feature-card:hover, .tech-category:hover, .it-card:hover, .agent-card:hover,
.shift-card:hover, .gov-card:hover, .engage-card:hover, .platform-item:hover, .feature-item:hover {
  border-color: rgba(168,132,63,0.45);
  box-shadow: 0 18px 44px rgba(20,33,61,0.10);
}
.agent-card::after { background: linear-gradient(135deg, rgba(168,132,63,0.05), rgba(61,90,128,0.04)); }
.engage-card.featured { background: linear-gradient(180deg, rgba(168,132,63,0.08), #fff 45%); border-color: var(--primary); box-shadow: 0 24px 60px rgba(20,33,61,0.12); }
.eg-badge { background: var(--navy); color: #e6cf9a; }
.lc-num, .step-num { background: #fff; }

/* Status colours tuned for light background */
.lvl-approve { color: #8c6b2e; border-color: rgba(168,132,63,0.45); background: rgba(168,132,63,0.07); }
.lvl-assist { color: #2f4a6e; border-color: rgba(61,90,128,0.35); background: rgba(61,90,128,0.05); }
.lvl-auto { color: #3f7d5a; border-color: rgba(63,125,90,0.35); background: rgba(63,125,90,0.06); }
.l3 { border-left-color: #b8913f; }
.badge-idle { background: rgba(20,33,61,0.04); }

/* Navy contrast bands: results + footer */
.results-band, footer {
  --white: #f5f1e8; --text: #d9dde6; --text-light: #b3bccd; --text-muted: #8a93a8;
  --primary: #c9a45c; --primary-light: #e6cf9a; --primary-dim: #a8843f;
  --card-bg: #1b2a4a; --border-subtle: rgba(232,220,195,0.12);
  background: linear-gradient(180deg, #14213d, #101a33);
}
.results-band { border: none; }
footer { border-top: 3px solid var(--primary); }
footer .logo-icon { background: linear-gradient(135deg, #e2c588, #a8843f); color: #14213d; }
footer .newsletter-form input { background: #1b2a4a; color: #f5f1e8; }
footer .newsletter-form button { background: linear-gradient(135deg, #e2c588, #c9a45c); color: #14213d; }

/* Contact, FAQ, modal */
.contact { background: linear-gradient(180deg, var(--dark-2), var(--dark)); }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--dark); color: var(--navy); border-color: rgba(20,33,61,0.15); }
.svc-overlay::before { background: rgba(20,33,61,0.45); }
.svc-panel { background: var(--dark); border-left: 3px solid var(--primary); box-shadow: -20px 0 60px rgba(20,33,61,0.15); }
.svc-close { background: #fff; }
::-webkit-scrollbar-track { background: var(--dark-2); }
footer, .results-band { color: var(--text); }
footer .social-link { color: #e6cf9a; border-color: rgba(201,164,92,0.3); }
.logo-text strong .logo-cu, .logo-text strong .logo-rries { color: var(--white); }
.logo-text strong .logo-be { color: var(--primary); }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.hero-content { max-width: 720px; }
@media (min-width: 769px) { .hero h1 .typewriter-wrap { display: flex; width: fit-content; } }
/* Brand mark (cube + berry) */
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; transition: transform 0.4s ease; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo { gap: 12px; }
/* Bigger navbar logo */
.navbar { height: 88px; }
.mobile-nav { top: 88px; }
.navbar .logo-mark { width: 62px; height: 62px; }
.navbar .logo { gap: 14px; }
.navbar .logo-text strong { font-size: 1.55rem; }
.navbar .logo-text > span { font-size: 0.62rem; letter-spacing: 0.36em; margin-top: 2px; }
@media (max-width: 768px) { .navbar { height: 76px; } .mobile-nav { top: 76px; } .navbar .logo-mark { width: 50px; height: 50px; } .navbar .logo-text strong { font-size: 1.3rem; } }
.nav-links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav-links { gap: 20px; } .nav-links a { font-size: 0.72rem; letter-spacing: 0.08em; } .nav-cta { display: none; } }
@media (max-width: 1000px) { .nav-links { display: none; } .hamburger { display: flex; } }
.hero h1 .typewriter-wrap { display: block; }

/* =====================================================================
   3D LAYER (Nov 2026): WebGL brand cube, card tilt, depth reveal
   ===================================================================== */

/* Hero 3D scene */
.hero-visual { width: 44%; max-width: 600px; right: 2%; }
.hero-3d { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.hero-3d canvas:active { cursor: grabbing; }
.hero-3d::before {
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.22) 0%, rgba(201,164,92,0.06) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-3d::after {   /* soft floor shadow under the cube */
  content: ''; position: absolute; left: 26%; right: 26%; bottom: 6%; height: 8%;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(20,33,61,0.22), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.hero-3d-fallback { position: absolute; inset: 22%; width: 56%; height: 56%; display: none; }
.no-webgl .hero-3d-fallback { display: block; animation: float1 6s ease-in-out infinite; }
.no-webgl .hero-3d canvas { display: none; }
.chip-a { left: 0; bottom: 10%; top: auto; }
.chip-b { right: 0; top: 8%; }

/* Agent console in the "How It Works" section */
.ai-platform .agent-console { box-shadow: 0 30px 70px rgba(20,33,61,0.22); }
.console-caption { margin-top: 14px; font-size: 0.84rem; color: var(--text-muted); text-align: center; }

/* 3D card tilt (transform set by JS) */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform 0.18s ease-out, box-shadow 0.3s ease, border-color 0.3s ease; }
.tilt .tilt-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.55), transparent 55%);
  mix-blend-mode: soft-light; transition: opacity 0.3s ease;
}
.tilt:hover .tilt-glare { opacity: 1; }
.tilt > *:not(.tilt-glare) { transform: translateZ(18px); }

/* Depth reveal on scroll */
.fade-up { transform: perspective(1000px) translateY(36px) rotateX(9deg); transform-origin: 50% 0; transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fade-up.visible { transform: none; }

/* Extruded 3D brand name in the company banner */
.company-name-large > span:not(.tech-sub) {
  text-shadow: 1px 1px 0 #e3d9c2, 2px 2px 0 #dbcfb3, 3px 3px 0 #d2c4a4, 4px 4px 0 #c9b995, 5px 5px 0 #bfae86, 10px 14px 24px rgba(20,33,61,0.18);
}

/* Lifecycle / step numbers as 3D coins */
.lc-num, .step-num { box-shadow: 0 6px 0 rgba(168,132,63,0.25), 0 12px 24px rgba(20,33,61,0.12); }

@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-visual { display: block; position: relative; right: auto; top: auto; transform: none; width: min(420px, 90%); margin: 8px auto 0; }
  .console-chip { display: none; }
}
@media (max-width: 768px) {
  .hero-visual { width: min(320px, 86%); }
  .tilt > *:not(.tilt-glare) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { transform: none; }
}
.tilt { position: relative; }
@media (max-width: 480px) { .hero h1 { font-size: 2.15rem; } }

/* =====================================================================
   DOCSIDER FAMILY STYLE (Dec 2026)
   Same design language as the DocSider site: Cormorant Garamond + IBM Plex
   Sans, ivory pages, deep-navy hero band, gold accents, 1140px centred layout.
   ===================================================================== */
:root {
  --navy: #0E2A4A;
  --navy-2: #081B33;
  --gold-d: #C6A15B;
  --gold-ink: #8A6A2F;
  --gold-soft: #F6EEDC;
  --line: #E7E1D5;
  --ink: #0F1E33;
  --wrap: 1140px;

  --primary: #C6A15B;
  --primary-light: #8A6A2F;
  --primary-dim: #8A6A2F;
  --white: #0F1E33;
  --dark: #FBF8F2;
  --dark-2: #FFFFFF;
  --dark-3: #F6F2EA;
  --card-bg: #FFFFFF;
  --text: #0F1E33;
  --text-light: #55617A;
  --text-muted: #7A8499;
  --border: rgba(198,161,91,0.35);
  --border-subtle: #E7E1D5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,30,51,.04), 0 10px 30px rgba(15,30,51,.07);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

body { font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--dark); color: var(--text); }
p { color: var(--text-light); }

/* Centred 1140px content column, full-bleed section backgrounds */
section, .results-band, .company-banner, .clients-strip, footer, .navbar {
  padding-left: max(5%, calc((100% - var(--wrap)) / 2));
  padding-right: max(5%, calc((100% - var(--wrap)) / 2));
}
.mobile-nav { padding-left: 5%; padding-right: 5%; }

/* Typography: Cormorant headings with gold italic emphasis */
h1, h2, .svc-title, .cta-section h2, .agent-head h3, .about-main-card h3,
.service-card h3, .ai-feature-card h3, .agent-card h4, .engage-card h4, .gov-card h4,
.tier h4, .shift-to, .lifecycle h4, .process-step h4, .platform-item h4, .feature-text h4,
.it-card h4, .eks-points strong, .faq summary, .arch-title {
  font-family: var(--serif); font-weight: 600; letter-spacing: 0;
}
h1 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 1.08; }
.service-card h3, .ai-feature-card h3 { font-size: 1.45rem; }
.agent-card h4, .engage-card h4, .gov-card h4, .tier h4, .lifecycle h4, .shift-to { font-size: 1.35rem; }
.process-step h4, .platform-item h4, .feature-text h4, .it-card h4, .eks-points strong { font-size: 1.22rem; }
.faq summary { font-size: 1.25rem; }
.gradient-text {
  background: none; -webkit-text-fill-color: var(--gold-ink); color: var(--gold-ink);
  font-style: italic; font-weight: 600;
}
.result-num, .metric-box .num, .stat-num, .lc-num, .step-num, .platform-num, .company-name-large {
  font-family: var(--serif);
}
.logo-text strong { font-family: 'Playfair Display', Georgia, serif; }   /* keep wordmark identical to logo files */

/* Eyebrow labels: gold rule + small caps (Docsider style) */
.section-label { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-ink); }
.section-label::before, .centered .section-label::after { width: 28px; height: 1px; background: var(--gold-d); opacity: 1; }

/* Buttons: sentence case, 8px radius */
.btn { border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 600; padding: 13px 24px; }
.btn-primary { background: var(--navy); color: #FBF8F2; border: 1px solid var(--navy); box-shadow: 0 6px 18px rgba(14,42,74,0.18); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold-d); color: var(--navy); background: #fff; }

/* Navbar: solid ivory bar with hairline */
.navbar, .navbar.scrolled { background: rgba(251,248,242,0.96); border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(12px); }
.navbar.scrolled { box-shadow: 0 4px 18px rgba(15,30,51,0.06); }
.nav-links a { text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 500; color: #3B4760; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a::after { background: var(--gold-d); }
.nav-cta .btn { padding: 10px 18px; font-size: 0.9rem; }

/* Hero: deep navy band (like DocSider), ivory text, gold accents */
.hero {
  --white: #FBF8F2; --text: #E9EDF4; --text-light: #B9C3D3; --text-muted: #8C98AE;
  --primary: #C6A15B; --primary-light: #E2C98F; --border-subtle: rgba(251,248,242,0.12);
  background: radial-gradient(900px 600px at 78% 45%, rgba(198,161,91,0.16), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(56,92,140,0.25), transparent 60%),
              linear-gradient(160deg, #0E2A4A 0%, #081B33 70%);
  color: var(--text); margin-top: 88px; min-height: calc(100vh - 88px); padding-top: 60px; padding-bottom: 60px;
}
.hero .hero-grid { opacity: 0.25; }
.hero h1 { color: #FBF8F2; }
.hero .gradient-text { -webkit-text-fill-color: #D4B271; color: #D4B271; }
.hero .hero-desc { color: #B9C3D3; }
.hero .hero-desc strong { color: #FBF8F2; }
.hero-badge { background: none; border: none; padding: 0; color: #D4B271; font-size: 0.74rem; letter-spacing: 0.18em; gap: 14px; }
.hero-badge::before { content: ''; width: 28px; height: 1px; background: #C6A15B; }
.hero-badge-dot { display: none; }
.hero-content::before, .hero-content::after { display: none; }
.hero-content { padding: 0; }
.hero .btn-primary { background: linear-gradient(180deg, #D4B271, #C6A15B); color: #0F1E33; border-color: #C6A15B; box-shadow: 0 10px 26px rgba(198,161,91,0.28); }
.hero .btn-primary:hover { background: #D4B271; }
.hero .btn-ghost { background: transparent; color: #FBF8F2; border-color: rgba(251,248,242,0.35); }
.hero .btn-ghost:hover { border-color: #C6A15B; color: #FBF8F2; }
.hero-stats { border-top-color: rgba(251,248,242,0.14); }
.hero .stat-num { color: #E2C98F; font-weight: 600; font-size: 2.3rem; }
.hero .stat-label { color: #8C98AE; }
.hero-3d::after { background: radial-gradient(ellipse, rgba(0,0,0,0.45), transparent 70%); }
.hero-3d::before { background: radial-gradient(circle, rgba(198,161,91,0.28) 0%, rgba(198,161,91,0.08) 45%, transparent 70%); }
.hero .cursor { color: #D4B271; }

/* "Trusted by" strip: white band like DocSider's "Built for" strip */
.clients-strip { background: #fff; border-top: none; border-bottom: 1px solid var(--line); }
.clients-label { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-light); font-size: 0.92rem; }
.client-logo { font-family: 'IBM Plex Sans', sans-serif; font-style: normal; font-weight: 600; font-size: 1rem; color: var(--navy); }

/* Sections alternate ivory / white, separated by hairlines */
.shift, .eks, #ai-section, .engage, .governance, .contact, #it-solutions { background: var(--dark); }
.agentic, #services, .tech-section, .ai-platform, #about, .faq, #process, .company-banner { background: #fff !important; }
section + section, .clients-strip { border-top: 1px solid var(--line); }

/* Cards: white, line border, soft DocSider shadow, 14px radius */
.service-card, .ai-feature-card, .tech-category, .it-card, .agent-card, .shift-card,
.gov-card, .engage-card, .tier, .platform-item, .feature-item, .arch, .about-main-card,
.contact-form, .faq details, .duality-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.agentic .agent-card, #services .service-card, .tech-section .tech-category, #about .feature-item, .faq details, .ai-platform .platform-item {
  background: var(--dark);   /* cards on white sections sit on ivory */
}
.service-icon, .it-card-icon, .agent-icon, .feature-icon-wrap, .card-icon, .svc-icon {
  background: var(--gold-soft); border: 1px solid rgba(198,161,91,0.3); border-radius: 10px;
}
.ai-tags span, .tc-chips span, .tech-chip, .svc-chips span { background: var(--gold-soft); border-color: rgba(198,161,91,0.3); color: var(--gold-ink); border-radius: 999px; }
.sc-stat { color: var(--gold-ink); }

/* Navy results band + footer stay dark, in DocSider navy */
.results-band, footer { background: linear-gradient(160deg, #0E2A4A, #081B33); }
.results-band .result-num { color: #E2C98F; font-weight: 600; }

/* Company banner */
.company-name-large { font-family: 'Playfair Display', Georgia, serif; }
.banner-tagline { font-family: var(--serif); font-size: 1.5rem; }

/* Engagement featured card */
.engage-card.featured { border: 1px solid var(--gold-d); box-shadow: 0 18px 44px rgba(14,42,74,0.12); background: linear-gradient(180deg, var(--gold-soft), #fff 40%); }
.eg-badge { background: var(--navy); color: #E2C98F; border-radius: 999px; }

/* Contact form inputs */
.contact-form input, .contact-form select, .contact-form textarea { background: var(--dark); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }

@media (max-width: 1280px) { .nav-links a { font-size: 0.86rem; } }
@media (max-width: 768px) {
  .hero { margin-top: 76px; min-height: 0; padding-top: 40px; }
  h1 { font-size: clamp(2.4rem, 9vw, 3rem); }
}

/* =====================================================================
   RESTORE LIGHT CLASSIC COLORS (Dec 2026)
   Keeps the DocSider-style layout and fonts above, but returns every colour
   to the light classic palette: ivory pages, navy #14213D, antique gold.
   ===================================================================== */
:root {
  --navy: #14213d;
  --navy-2: #101a33;
  --gold-d: #a8843f;
  --gold-ink: #8c6b2e;
  --gold-soft: rgba(201,164,92,0.08);
  --line: rgba(20,33,61,0.09);
  --ink: #14213d;

  --primary: #a8843f;
  --primary-light: #8c6b2e;
  --primary-dim: #7a5c25;
  --white: #14213d;
  --dark: #faf7f0;
  --dark-2: #f4efe4;
  --dark-3: #efe8da;
  --card-bg: #ffffff;
  --text: #2b3448;
  --text-light: #4a5468;
  --text-muted: #7a8295;
  --border: rgba(168,132,63,0.28);
  --border-subtle: rgba(20,33,61,0.09);
  --shadow: 0 1px 2px rgba(20,33,61,0.04), 0 8px 24px rgba(20,33,61,0.05);
}
body { background: radial-gradient(1200px 600px at 85% -10%, rgba(168,132,63,0.06), transparent 60%), var(--dark); }

/* Hero back to the ivory light classic look */
.hero {
  --white: #14213d; --text: #2b3448; --text-light: #4a5468; --text-muted: #7a8295;
  --primary: #a8843f; --primary-light: #8c6b2e; --border-subtle: rgba(20,33,61,0.09);
  background: radial-gradient(ellipse 55% 50% at 72% 45%, rgba(168,132,63,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 45% 45% at 5% 90%, rgba(61,90,128,0.06) 0%, transparent 60%),
              var(--dark);
}
.hero .hero-grid { opacity: 0.6; }
.hero h1 { color: #14213d; }
.hero .gradient-text { -webkit-text-fill-color: #8c6b2e; color: #8c6b2e; }
.hero .hero-desc { color: #4a5468; }
.hero .hero-desc strong { color: #14213d; }
.hero-badge { color: #8c6b2e; }
.hero-badge::before { background: #a8843f; }
.hero .btn-primary { background: #14213d; color: #faf7f0; border-color: #14213d; box-shadow: 0 8px 24px rgba(20,33,61,0.18); }
.hero .btn-primary:hover { background: #1d2f55; }
.hero .btn-ghost { background: transparent; color: #14213d; border-color: rgba(20,33,61,0.25); }
.hero .btn-ghost:hover { border-color: #a8843f; color: #7a5c25; }
.hero-stats { border-top-color: rgba(168,132,63,0.25); }
.hero .stat-num { color: #8c6b2e; }
.hero .stat-label { color: #7a8295; }
.hero .cursor { color: #a8843f; }
.hero-3d::after { background: radial-gradient(ellipse, rgba(20,33,61,0.22), transparent 70%); }
.hero-3d::before { background: radial-gradient(circle, rgba(201,164,92,0.22) 0%, rgba(201,164,92,0.06) 45%, transparent 70%); }

/* Buttons and navbar in light classic navy */
.btn-primary { background: #14213d; border-color: #14213d; color: #faf7f0; }
.btn-primary:hover { background: #1d2f55; }
.navbar, .navbar.scrolled { background: rgba(250,247,240,0.94); border-bottom-color: rgba(168,132,63,0.2); }

/* Sections alternate ivory / cream again (no pure-white bands) */
.agentic, #services, .tech-section, .ai-platform, #about, .faq, #process, .company-banner { background: var(--dark-2) !important; }
.clients-strip { background: #fff; }
.agentic .agent-card, #services .service-card, .tech-section .tech-category, #about .feature-item, .faq details, .ai-platform .platform-item { background: #fff; }

/* Chips, icons and highlights back to the light classic tones */
.service-icon, .it-card-icon, .agent-icon, .feature-icon-wrap, .card-icon, .svc-icon { background: rgba(201,164,92,0.06); border-color: rgba(201,164,92,0.22); }
.ai-tags span, .tc-chips span, .tech-chip, .svc-chips span { background: var(--dark); border-color: rgba(201,164,92,0.16); color: var(--text-light); }
.ai-tags span { color: var(--primary-light); }
.engage-card.featured { background: linear-gradient(180deg, rgba(168,132,63,0.08), #fff 45%); border-color: var(--primary); }
.eg-badge { background: #14213d; color: #e6cf9a; }

/* Navy bands back to light classic navy */
.results-band, footer { background: linear-gradient(180deg, #14213d, #101a33); }
.results-band .result-num { color: #e6cf9a; }

/* =====================================================================
   WHITE BASE (Dec 2026)
   Pure white page background; navy + antique gold accents on top.
   Sections are separated by hairlines, cards by soft borders and shadows.
   ===================================================================== */
:root {
  --dark: #ffffff;
  --dark-2: #ffffff;
  --dark-3: #f5f6f8;          /* inner panels, pipeline rows, metric boxes */
  --card-bg: #ffffff;
  --line: #e8eaef;
  --border-subtle: #e8eaef;
  --shadow: 0 1px 2px rgba(20,33,61,0.05), 0 10px 28px rgba(20,33,61,0.07);
}
html, body { background: #ffffff; }

/* Every light section on white */
.hero, .shift, .eks, #ai-section, .engage, .governance, .contact, #it-solutions,
.agentic, #services, .tech-section, .ai-platform, #about, .faq, #process,
.company-banner, .clients-strip, .navbar, .navbar.scrolled, .mobile-nav {
  background: #ffffff !important;
}
.hero { background: radial-gradient(ellipse 50% 50% at 74% 45%, rgba(168,132,63,0.07) 0%, transparent 70%), #ffffff !important; }
.navbar, .navbar.scrolled { border-bottom: 1px solid var(--line); }
section + section, .clients-strip, .company-banner { border-top: 1px solid var(--line); }
.agentic::before { display: none; }

/* Cards: white with border + shadow so they stand out on white */
.service-card, .ai-feature-card, .tech-category, .it-card, .agent-card, .shift-card,
.gov-card, .engage-card, .tier, .platform-item, .feature-item, .arch, .about-main-card,
.contact-form, .faq details, .duality-card,
.agentic .agent-card, #services .service-card, .tech-section .tech-category, #about .feature-item, .ai-platform .platform-item {
  background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-card:hover, .ai-feature-card:hover, .tech-category:hover, .it-card:hover, .agent-card:hover,
.shift-card:hover, .gov-card:hover, .engage-card:hover, .platform-item:hover, .feature-item:hover {
  border-color: rgba(168,132,63,0.5); box-shadow: 0 18px 44px rgba(20,33,61,0.10);
}
.tier { border-top-width: 3px; }

/* Neutral light-grey fills for small elements */
.ai-tags span, .tc-chips span, .tech-chip, .svc-chips span, .metric-box, .pipeline-step, .arch-layer { background: #f5f6f8; }
.ai-tags span { color: var(--gold-ink); }
.service-icon, .it-card-icon, .agent-icon, .feature-icon-wrap, .card-icon, .svc-icon { background: #fbf6ea; border-color: rgba(168,132,63,0.25); }
.contact-form input, .contact-form select, .contact-form textarea { background: #f7f8fa; border-color: var(--line); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { background: #fff; }
.lc-num, .step-num { background: #fff; }
.engage-card.featured { background: linear-gradient(180deg, #fbf6ea, #ffffff 45%); }
.svc-panel { background: #ffffff; }
.btn-ghost { background: #ffffff; }
.duality-card { box-shadow: var(--shadow); }

/* =====================================================================
   TEXT SIZE (Dec 2026): larger text only. No colour, font or layout changes.
   ===================================================================== */
body { font-size: 17px; line-height: 1.7; }
h1 { font-size: clamp(2.9rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.3rem, 3.9vw, 3.3rem); }
.service-card h3, .ai-feature-card h3 { font-size: 1.3rem; }
.agent-card h4, .engage-card h4, .gov-card h4, .tier h4, .lifecycle h4, .shift-to, .agent-head h3 { font-size: 1.25rem; }
.process-step h4, .platform-item h4, .feature-text h4, .it-card h4, .eks-points strong { font-size: 1.15rem; }
.faq summary { font-size: 1.12rem; }

.hero-desc { font-size: 1.2rem; }
.section-header p, .section-header.centered p { font-size: 1.12rem; }
.service-card > p, .ai-feature-card p, .agent-card p, .gov-card p, .shift-card p, .tier p,
.engage-card > p, .lifecycle p, .process-step p, .platform-item p, .feature-text p,
.it-card p, .eks-points span, .faq details p, .duality-card-desc, .arch-layer .al-items {
  font-size: 1rem; line-height: 1.7;
}
.sc-features li, .engage-card li, .duality-traits li { font-size: 0.96rem; }
.al-items { font-size: 0.85rem; }
.console-body { font-size: 0.82rem; }

.section-label { font-size: 0.82rem; }
.sc-category, .tier-tag, .eg-dur, .tc-label, .card-title, .stat-label, .result-label { font-size: 0.76rem; }
.ai-tags span, .tc-chips span, .tech-chip, .svc-chips span { font-size: 0.85rem; }
.nav-links a { font-size: 1rem; }
.btn { font-size: 1rem; }
.cf-note, .console-caption { font-size: 0.9rem; }
.contact-form label { font-size: 0.88rem; }
footer p, .footer-col ul li a, .contact-row, .footer-bottom p { font-size: 0.97rem; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.3rem, 9vw, 2.9rem); }
}

/* GREEN 3D CUBE (Dec 2026): glow behind the cube matches the green animation */
.hero-3d::before { background: radial-gradient(circle, rgba(34,192,122,0.22) 0%, rgba(34,192,122,0.06) 45%, transparent 70%); }

/* =====================================================================
   TEXT CONTRAST (Dec 2026): darker, bolder text so every line is easy to
   read on white. Fonts and sizes are unchanged.
   ===================================================================== */
:root, .hero {
  --text: #111827;
  --text-light: #1f2937;   /* body copy: was #4a5468 (too pale) */
  --text-muted: #374151;   /* labels and captions: was #7a8295 */
  --primary-light: #6b4f1a; /* gold text: deeper so it reads clearly */
}
body { color: #111827; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p, li, .hero .hero-desc, .section-header p, .section-header.centered p { color: #1f2937; }

/* Headings: thin serif made solid and dark */
h1, h2, h3, h4, .hero h1, .cta-section h2, .svc-title { color: #0f1a33; font-weight: 700; }
h3, h4, .faq summary, .shift-to, .arch-title { font-weight: 700; }
.hero .gradient-text, .gradient-text { -webkit-text-fill-color: #6b4f1a; color: #6b4f1a; }

/* Card copy and lists */
.service-card > p, .ai-feature-card p, .agent-card p, .gov-card p, .shift-card p, .tier p,
.engage-card > p, .lifecycle p, .process-step p, .platform-item p, .feature-text p,
.it-card p, .eks-points span, .faq details p, .duality-card-desc, .arch-layer .al-items,
.sc-features li, .engage-card li, .duality-traits li { color: #1f2937; }

/* Small labels, tags and stats */
.section-label, .hero-badge, .eg-dur, .tc-label, .ai-tags span { color: #6b4f1a; font-weight: 700; }
.sc-category, .tier-tag, .card-title, .stat-label, .hero .stat-label, .cf-note, .console-caption { color: #374151; font-weight: 600; }
.tc-chips span, .tech-chip, .svc-chips span { color: #1f2937; font-weight: 500; }
.stat-num, .hero .stat-num, .result-num, .metric-box .num, .lc-num, .step-num { font-weight: 700; }
.hero .stat-num { color: #6b4f1a; }

/* Navigation and form */
.nav-links a { color: #111827; font-weight: 500; }
.contact-form label { color: #111827; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { color: #111827; }

/* Navy areas (results band, footer, console cards): brighter light text */
footer, .results-band { --text-light: #e5e9f0; --text-muted: #c8cfdb; }
footer p, footer li, .footer-col ul li a, footer .contact-row, .footer-bottom p, .results-band .result-label { color: #e5e9f0; }
.console-chip .card-title { color: #c8cfdb; }
/* Contact details on white: dark and clear */
.contact .contact-row, .contact .contact-row span, .contact .contact-row a { color: #1f2937 !important; font-weight: 500; }
.contact .contact-row a:hover { color: #6b4f1a !important; }
/* Card and section titles: solid weight everywhere */
h3, h4, .service-card h3, .ai-feature-card h3, .agent-card h4, .engage-card h4, .gov-card h4, .tier h4,
.lifecycle h4, .process-step h4, .platform-item h4, .feature-text h4, .it-card h4, .shift-to,
.faq summary, .arch-title, .agent-head h3, .about-main-card h3 { font-weight: 700 !important; color: #0f1a33; }

/* =====================================================================
   AGENTIC PIPELINE FLOW (Dec 2026): a green dot travels Discover -> Operate,
   lighting up each stage as it arrives (driven by main.js).
   ===================================================================== */
.lifecycle .lc-track {
  position: absolute; height: 3px; width: 0; border-radius: 3px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, #1fae5f, #5fe39a); box-shadow: 0 0 10px rgba(31,174,95,0.45);
  transition: width 1.7s cubic-bezier(.45,0,.25,1);
}
.lifecycle .lc-runner {
  position: absolute; width: 16px; height: 16px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: #22c07a; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(34,192,122,0.18), 0 0 18px rgba(34,192,122,0.85);
  transition: left 1.7s cubic-bezier(.45,0,.25,1);
}
.lifecycle.no-flow .lc-track, .lifecycle.no-flow .lc-runner { display: none; }
.lifecycle li .lc-num { transition: background .35s, color .35s, border-color .35s, box-shadow .35s, transform .35s; }
.lifecycle li.is-done .lc-num { border-color: #1fae5f; color: #0d7a3e; background: #eefbf3; }
.lifecycle li.is-active .lc-num {
  background: #1fae5f; color: #ffffff; border-color: #1fae5f; transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(31,174,95,0.16), 0 10px 26px rgba(31,174,95,0.4);
}
.lifecycle li.is-active .lc-num::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(31,174,95,0.55); animation: lcPing 1.3s ease-out infinite;
}
.lifecycle li.is-active h4 { color: #0d7a3e !important; }
.lifecycle li h4 { transition: color .35s; }
.lifecycle.all-done li .lc-num { background: #1fae5f; color: #fff; border-color: #1fae5f; }
@keyframes lcPing { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }

/* ===== LOGO HOVER ZOOM (Dec 2026) =====
   Mouse over the navbar or footer logo: it zooms in, then gently breathes (zoom in / zoom out) while hovered,
   and zooms back out smoothly when the mouse leaves. */
.navbar .logo .logo-mark, footer .logo .logo-mark { transform-origin: center; transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), filter 0.45s ease; }
.navbar .logo .logo-text, footer .logo .logo-text { transform-origin: left center; transition: transform 0.45s cubic-bezier(.34,1.56,.64,1); }
.navbar .logo:hover .logo-mark, .navbar .logo:focus-visible .logo-mark,
footer .logo:hover .logo-mark, footer .logo:focus-visible .logo-mark {
  transform: scale(1.18);
  filter: drop-shadow(0 6px 14px rgba(31,174,95,0.35));
  animation: logoBreathe 1.6s ease-in-out 0.45s infinite;
}
/* footer is dark navy: a slightly stronger glow so it reads */
footer .logo:hover .logo-mark, footer .logo:focus-visible .logo-mark { filter: drop-shadow(0 4px 16px rgba(125,255,184,0.45)); }
.navbar .logo:hover .logo-text, .navbar .logo:focus-visible .logo-text,
footer .logo:hover .logo-text, footer .logo:focus-visible .logo-text { transform: scale(1.06); animation: logoBreatheText 1.6s ease-in-out 0.45s infinite; }
@keyframes logoBreathe { 0%, 100% { transform: scale(1.18); } 50% { transform: scale(1.06); } }
@keyframes logoBreatheText { 0%, 100% { transform: scale(1.06); } 50% { transform: scale(1.01); } }
@media (prefers-reduced-motion: reduce) {
  .navbar .logo:hover .logo-mark, .navbar .logo:hover .logo-text,
  footer .logo:hover .logo-mark, footer .logo:hover .logo-text { animation: none; }
}
