/* ==========================================================================
   DeepStack Technology — Design Tokens
   ========================================================================== */
:root {
  --bg: #05070f;
  --bg-alt: #080b18;
  --bg-elevated: #0d1224;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2fb;
  --text-dim: #9aa5bd;
  --text-faint: #6b7690;

  --accent: #22d3ee;
  --accent-2: #6366f1;
  --accent-3: #a855f7;
  --accent-glow: rgba(34, 211, 238, 0.45);

  --gradient-1: linear-gradient(135deg, #22d3ee 0%, #6366f1 55%, #a855f7 100%);
  --gradient-2: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --gradient-text: linear-gradient(90deg, #22d3ee, #818cf8, #a855f7, #22d3ee);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 60px -10px rgba(34, 211, 238, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--accent-2); color: #fff; }

/* ==========================================================================
   Accessibility: skip link + focus states + reduced motion
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 2000;
  background: var(--gradient-1);
  color: #061019;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible { outline-offset: 4px; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent-2));
  border-radius: 10px;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   Scroll progress + cursor glow
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-1);
  z-index: 1200;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

@media (max-width: 900px), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: 0ms;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  padding: 14px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
  isolation: isolate;
}
.btn svg { transition: transform 0.3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient-1);
  background-size: 200% auto;
  color: #061019;
  box-shadow: 0 8px 30px -8px rgba(99, 102, 241, 0.55);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(99, 102, 241, 0.7);
  background-position: 100% 0;
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-soft), height 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-mark { width: 32px; height: 32px; display: block; }
.logo-mark svg { width: 100%; height: 100%; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
}
.brand-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.25s var(--ease-soft);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-2);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.18), transparent),
              var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
}

.hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 0%, transparent 75%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  animation: floatBlob 16s ease-in-out infinite;
}
.hero-glow-2 {
  width: 620px; height: 620px;
  bottom: -260px; right: -160px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22), transparent 70%);
  animation: floatBlob 20s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, -20px) scale(0.95); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-slogan {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
.stat { display: flex; flex-direction: column; min-width: 130px; }
.stat-number, .stat-suffix {
  font-family: 'Sora', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  display: inline;
}
.stat-suffix { color: var(--accent); }
.stat-label {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 4px;
  max-width: 160px;
}
.stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  display: none;
}
@media (min-width: 820px) { .stat-divider { display: block; } }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-cue-dot {
  position: absolute;
  top: 0; left: -1.5px;
  width: 4px; height: 12px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: -12px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

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

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-track span:hover { color: var(--accent); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section shared
   ========================================================================== */
section { position: relative; padding: 120px 0; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-desc { color: var(--text-dim); font-size: 1.05rem; max-width: 640px; }

/* ==========================================================================
   About / Value grid
   ========================================================================== */
.about { background: var(--bg); }

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

.value-card {
  padding: 32px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(99,102,241,0.15));
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}
.value-card:hover .value-icon { transform: scale(1.1) rotate(-4deg); }
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillars {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-glow {
  position: absolute;
  top: 10%; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12), transparent 70%);
  pointer-events: none;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.pillar-card {
  perspective: 1000px;
}
.pillar-card-inner {
  height: 100%;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
  will-change: transform;
}
.pillar-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-1);
  opacity: 0;
  z-index: -1;
  padding: 1px;
  transition: opacity 0.4s;
}
.pillar-card:hover .pillar-card-inner {
  border-color: transparent;
  box-shadow: 0 20px 50px -20px rgba(34, 211, 238, 0.25), var(--shadow-glow);
}
.pillar-card:hover .pillar-card-inner::before { opacity: 1; }

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pillar-number {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.pillar-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  color: var(--accent);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s;
}
.pillar-card:hover .pillar-icon {
  background: var(--gradient-1);
  color: #061019;
  transform: rotate(8deg) scale(1.08);
}
.pillar-icon svg { width: 22px; height: 22px; }

.pillar-card-inner h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.pillar-card-inner p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.pillar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pillar-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-faint);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.service-index {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--text-dim); margin-bottom: 20px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.service-list li:first-child { border-top: none; }
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-2);
  flex-shrink: 0;
}

/* ==========================================================================
   Process / Timeline
   ========================================================================== */
.process { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 20px; }
.timeline-line {
  position: absolute;
  left: 20px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0%;
  background: linear-gradient(var(--accent), var(--accent-2));
  transition: height 0.2s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 56px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -20px; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  z-index: 1;
  transition: border-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.timeline-item.in-view .timeline-marker {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}
.timeline-content h3 { font-size: 1.25rem; margin-bottom: 10px; }
.timeline-content p { color: var(--text-dim); max-width: 560px; }

/* ==========================================================================
   Engineers / Trust
   ========================================================================== */
.engineers {
  background: var(--bg);
  overflow: hidden;
}
.engineers-glow {
  position: absolute;
  top: 0; right: 0;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.engineers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.engineers-content .section-desc { margin-bottom: 28px; }

.engineers-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.engineers-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.engineers-badges svg {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.engineers-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-strong), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.engineers-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.engineers-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-1);
  color: #061019;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.engineers-card-head div { display: flex; flex-direction: column; }
.engineers-card-head strong { font-size: 1rem; }
.engineers-card-head span { font-size: 0.85rem; color: var(--text-faint); margin-top: 2px; }

.engineers-divider {
  height: 1px;
  background: var(--border);
  margin: 26px 0 22px;
}

.engineers-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.engineers-alumni {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 20px;
}
.engineers-alumni li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.alumni-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-2);
  flex-shrink: 0;
}
.engineers-card-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ==========================================================================
   CTA Band
   ========================================================================== */
.cta-band {
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(99,102,241,0.1));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cta-band-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band-inner p { color: var(--text-dim); margin-bottom: 32px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text-dim); }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  resize: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.form-field select { color-scheme: dark; }
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 1em; text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 80px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-tagline { color: var(--text); font-weight: 600; font-size: 0.95rem; margin-top: 16px; max-width: 260px; }
.footer-desc { color: var(--text-faint); font-size: 0.88rem; margin-top: 8px; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.25s, transform 0.25s;
  width: fit-content;
}
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.82rem;
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gradient-1); color: #061019; border-color: transparent; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .brand-kicker, .brand-divider { display: none; }
  .main-nav { gap: 20px; }
}

@media (max-width: 1080px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .engineers-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand-divider, .brand-kicker { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 7, 15, 0.97);
    backdrop-filter: blur(16px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .header-actions .btn-sm { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 24px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
}
