﻿:root {
  --parser: #4f6ef7;
  --architect: #f7a641;
  --accent: #6c5ce7;
  --bg-primary: #11152a;
  --bg-secondary: #171d38;
  --bg-card: #1c2342;
  --text-primary: #e8e8ed;
  --text-secondary: #8888a0;
  --border: #2a2a3e;
  --shadow: rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --transition: 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --bg-primary: #f5f3f0;
  --bg-secondary: #e8e6e0;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border: #d0d0d0;
  --shadow: rgba(0, 0, 0, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: radial-gradient(circle at 14% 18%, rgba(108,92,231,.2), transparent 31%), radial-gradient(circle at 86% 34%, rgba(79,110,247,.18), transparent 30%), linear-gradient(135deg, #11152a 0%, #10152c 52%, #171331 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body > * { position:relative; z-index:1; }
body::before, body::after { content:""; position:fixed; inset:0; pointer-events:none; z-index:0; }
body::before { opacity:.75; background:linear-gradient(115deg,transparent 0 12%,rgba(134,232,255,.1) 12.1% 12.25%,transparent 12.35% 100%),linear-gradient(75deg,transparent 0 67%,rgba(201,156,255,.1) 67.1% 67.25%,transparent 67.35% 100%),repeating-linear-gradient(90deg,transparent 0 52px,rgba(134,232,255,.05) 53px,transparent 54px 108px); transform:translate3d(0,var(--city-shift,0px),0); }
body::after { top:40%; opacity:.62; background:linear-gradient(to top,rgba(12,16,39,.9),transparent 78%),repeating-linear-gradient(90deg,rgba(108,92,231,.2) 0 30px,transparent 30px 42px,rgba(134,232,255,.16) 42px 48px,transparent 48px 76px); clip-path:polygon(0 30%,4% 30%,4% 18%,9% 18%,9% 35%,14% 35%,14% 8%,20% 8%,20% 27%,27% 27%,27% 14%,33% 14%,33% 40%,40% 40%,40% 20%,47% 20%,47% 34%,54% 34%,54% 10%,60% 10%,60% 28%,68% 28%,68% 16%,74% 16%,74% 38%,82% 38%,82% 6%,88% 6%,88% 26%,94% 26%,94% 13%,100% 13%,100% 100%,0 100%); transform:translate3d(0,var(--city-shift,0px),0) scale(1.04); }
[data-theme="light"] body { background:radial-gradient(circle at 14% 18%,rgba(108,92,231,.13),transparent 31%),radial-gradient(circle at 86% 34%,rgba(79,110,247,.1),transparent 30%),linear-gradient(135deg,#e6e9f5 0%,#eef1fb 52%,#f2eafa 100%); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section__header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  text-shadow: 0 0 18px rgba(134,232,255,.2), 0 0 28px rgba(255,184,107,.12);
}

.section__header h2::before { content: "// SYSTEM MODULE"; display: block; margin-bottom: 10px; color: #ffb86b; font: 700 10px/1 var(--font-mono); letter-spacing: .18em; text-align: left; text-shadow: 0 0 10px rgba(255,184,107,.5); }
.section__header h2::after { content: ""; position: absolute; left: -22px; top: 34px; width: 4px; height: 54px; background: linear-gradient(#ffb86b,#86e8ff); box-shadow: 0 0 14px rgba(134,232,255,.7); }

.section__desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 110, 247, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--parser), var(--accent));
  color: #fff;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 8, 18, 0.72);
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid rgba(134,232,255,.24);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

[data-theme="light"] .header {
  background: rgba(245, 243, 240, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
}

.header__logo-icon {
  color: var(--parser);
  font-size: 24px;
}

.header__nav {
  display: flex;
  gap: 8px;
}

.header__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.header__nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.header__nav a.active { color:#ffb86b; background:rgba(255,184,107,.08); text-shadow:0 0 12px rgba(255,184,107,.56); box-shadow:inset 0 -2px 0 #ffb86b; }

.header__nav a.header__nav-external { color:#ffb86b; background:rgba(255,184,107,.08); }
.header__nav a.header__nav-external:hover { color:#0a0a0c; background:#ffb86b; }

[data-theme="light"] .header__nav a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(79, 110, 247, 0.2);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  background: #08080a;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  opacity: .42;
  background:
    linear-gradient(rgba(134,232,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134,232,255,.09) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(680px) rotateX(58deg) translateY(36%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 82%);
}

.hero::after {
  z-index: 0;
  background:
    radial-gradient(circle at 70% 45%, rgba(108,92,231,.18), transparent 25%),
    radial-gradient(circle at 78% 58%, rgba(255,184,107,.1), transparent 15%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.72) 100%);
}

.hero__inner { padding-bottom: 68px; }

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero__content {
  max-width: 800px;
}

.hero__code {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--parser);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.hero__code-prompt {
  color: #00e676;
  font-weight: 700;
}

.hero__code-cursor {
  animation: blink 1s step-end infinite;
  color: var(--parser);
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 215, 0, .5), 0 0 26px rgba(134, 232, 255, .18);
}

[data-theme="light"] .hero__title {
  color: #15192e;
  text-shadow: 0 0 10px rgba(255, 215, 0, .35);
}

.hero__subtitle {
  font-size: 20px;
  color: #dce8ff;
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__eyebrow { display:block; margin-bottom:16px; color:#86e8ff; font:600 12px var(--font-mono); letter-spacing:.14em; text-transform:uppercase; }
.hero__actions { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.hero__link { color:var(--text-primary); font-weight:600; text-decoration:none; }
.hero__link span { color:#86e8ff; margin-left:6px; }
.hero-robot { position:relative; min-height:370px; display:flex; align-items:center; justify-content:center; }
.hero-robot__image { position:relative; z-index:2; width:min(100%, 560px); height:auto; max-height:420px; object-fit:contain; filter:drop-shadow(0 0 28px rgba(134,232,255,.28)); transform:translate(var(--robot-x, 0), var(--robot-y, 0)); transition:transform .18s ease-out; }
.hero-robot__halo { position:absolute; width:330px; height:330px; border:1px solid rgba(134,232,255,.34); border-radius:50%; box-shadow:0 0 70px rgba(79,110,247,.25), inset 0 0 50px rgba(134,232,255,.1); }
.hero-robot__head { position:relative; width:210px; height:240px; border:2px solid #86e8ff; border-radius:46% 46% 38% 38%; background:linear-gradient(145deg,#202b5c,#080d20 70%); box-shadow:0 0 36px rgba(134,232,255,.45), inset 0 0 35px rgba(79,110,247,.3); z-index:2; }
.hero-robot__head::before,.hero-robot__head::after { content:""; position:absolute; top:92px; width:24px; height:58px; border:2px solid #86e8ff; background:#10183b; }
.hero-robot__head::before { left:-27px; border-radius:8px 0 0 8px; }.hero-robot__head::after { right:-27px; border-radius:0 8px 8px 0; }
.hero-robot__antenna { position:absolute; left:50%; top:-42px; width:2px; height:40px; background:#86e8ff; }.hero-robot__antenna::after { content:""; position:absolute; left:-7px; top:-8px; width:14px; height:14px; border-radius:50%; background:#ffb86b; box-shadow:0 0 18px #ffb86b; }
.hero-robot__face { position:absolute; inset:60px 30px 40px; border:1px solid rgba(134,232,255,.55); border-radius:42%; }.hero-robot__face span { position:absolute; top:40px; width:28px; height:12px; border-radius:12px; background:#86e8ff; box-shadow:0 0 14px #86e8ff; }.hero-robot__face span:first-child { left:22px; }.hero-robot__face span:nth-child(2) { right:22px; }.hero-robot__face i { position:absolute; left:50%; bottom:27px; width:48px; height:3px; transform:translateX(-50%); background:#ffb86b; box-shadow:0 0 12px #ffb86b; }
 .hero-node { position:absolute; z-index:3; padding:6px 9px; border:1px solid rgba(134,232,255,.6); border-radius:20px; background:rgba(8,13,32,.88); color:#bff6ff; font:600 9px var(--font-mono); box-shadow:0 0 15px rgba(134,232,255,.18); pointer-events:none; white-space:nowrap; }.hero-node--orchestrator{top:-18px;left:2%}.hero-node--parser{top:28%;right:-18px}.hero-node--analyst{bottom:-18px;right:-18px}.hero-node--strategy{bottom:-22px;left:50%;margin-left:-35px}.hero-node--content{bottom:20%;left:-18px}.hero-node--legal{top:47%;left:-18px}.hero-node--architect{top:-18px;right:19%}.hero-node--ux{top:-36px;left:50%;margin-left:-12px}

 .scramble-text { display:inline-block; min-width:1ch; }
 .marquee { position:absolute; bottom:0; left:0; width:100%; overflow:hidden; border-top:1px solid rgba(134,232,255,.46); border-bottom:1px solid rgba(134,232,255,.46); background:linear-gradient(90deg,rgba(8,12,32,.9),rgba(28,18,61,.86),rgba(8,12,32,.9)); white-space:nowrap; box-shadow:0 -8px 30px rgba(108,92,231,.18),0 0 22px rgba(134,232,255,.14); }
 .marquee__track { display:flex; align-items:center; width:max-content; gap:22px; padding:14px 0; color:#d8faff; font:700 11px var(--font-mono); letter-spacing:.16em; text-shadow:0 0 10px rgba(134,232,255,.72); animation:marquee 22s linear infinite; will-change:transform; }.marquee__track b{color:#ffb86b;text-shadow:0 0 12px rgba(255,184,107,.85)}.marquee:hover .marquee__track{animation-play-state:paused}@keyframes marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.workflow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:14px; padding:24px; margin:0 0 42px; border:1px solid var(--border); border-radius:16px; background:linear-gradient(135deg,rgba(79,110,247,.1),rgba(134,232,255,.03)); }.workflow div{display:grid;gap:4px}.workflow strong{color:#86e8ff;font:700 11px var(--font-mono)}.workflow span{font-weight:800}.workflow small{color:var(--text-secondary);font-size:12px}.workflow i{color:#ffb86b;font-style:normal;font-size:24px}
 .agents-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }.agent-card { position:relative; display:flex; gap:14px; align-items:center; min-height:132px; padding:16px; border:1px solid rgba(134,232,255,.32); border-radius:0; background:linear-gradient(145deg,rgba(79,110,247,.12),var(--bg-card)); clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px)); transition:.25s ease; }.agent-card::before,.agent-card::after{content:"";position:absolute;width:18px;height:18px;pointer-events:none}.agent-card::before{top:6px;right:6px;border-top:1px solid #86e8ff;border-right:1px solid #86e8ff}.agent-card::after{bottom:6px;left:6px;border-bottom:1px solid #ffb86b;border-left:1px solid #ffb86b}.agent-card:hover{transform:translateY(-4px);border-color:#86e8ff;box-shadow:0 0 22px rgba(134,232,255,.2),0 12px 30px rgba(0,0,0,.22)}.agent-card--featured{border-color:rgba(255,184,107,.58);background:linear-gradient(145deg,rgba(255,184,107,.14),var(--bg-card))}.agent-card img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:2px solid rgba(134,232,255,.55);flex:0 0 auto}.agent-card span{color:#ffb86b;font:700 10px var(--font-mono)}.agent-card h3{margin:4px 0;font-size:15px}.agent-card p{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.4}
.reviewers-strip{display:grid;grid-template-columns:1.2fr 1.5fr auto;gap:24px;align-items:center;margin-top:34px;padding:24px;border-radius:16px;border:1px solid var(--border);background:var(--bg-secondary)}.reviewers-strip .section__tag{margin:0 0 8px}.reviewers-strip h3{margin:0;font-size:20px}.reviewers-strip p{margin:0;color:var(--text-secondary);font-size:14px;line-height:1.5}.reviewers-toggle{padding:11px 15px;border:1px solid var(--border);border-radius:10px;color:var(--text-primary);background:transparent;white-space:nowrap;cursor:pointer}.reviewers-toggle span{color:#86e8ff}.reviewers-list{display:none;grid-column:1/-1;padding-top:16px;border-top:1px solid var(--border);color:var(--text-secondary);font:12px/1.8 var(--font-mono)}.reviewers-strip.is-open .reviewers-list{display:block}
.architecture-section { padding-top: 20px; }
.architecture-flow { padding: 22px 26px; border: 1px solid rgba(134,232,255,.25); border-radius: 14px; color: var(--text-primary); background: rgba(12,18,43,.58); font: 600 13px/1.8 var(--font-mono); text-align: center; }
.architecture-flow span { color: #ffb86b; padding: 0 7px; }

@keyframes hud-breathe { 0%, 100% { opacity: .68; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.02); } }
.hero-node { animation: hud-breathe 3.2s ease-in-out infinite; }

.hero__stats {
  display: flex;
  gap: 48px;
}

.hero__stat {
  min-width:145px;
  padding:12px 18px;
  text-align:center;
  border:1px solid rgba(134,232,255,.3);
  background:rgba(12,18,43,.66);
  box-shadow:inset 0 0 18px rgba(108,92,231,.12),0 0 18px rgba(79,110,247,.12);
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}

.hero__stat::before { content:"● LIVE"; display:block; margin-bottom:3px; color:#52e0c4; font:700 9px var(--font-mono); letter-spacing:.12em; text-align:left; }

.hero__stat-num {
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-mono);
  display: block;
  background: linear-gradient(135deg, var(--parser), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
  display: block;
}

.about__tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.about__tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
}

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

.about__tab-btn.active {
  border-color: var(--tab-accent);
  box-shadow: 0 0 20px rgba(79, 110, 247, 0.15);
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(79, 110, 247, 0.1), transparent);
}

.about__tab-icon {
  font-size: 20px;
}

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

.about__panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.about__panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.about__agent {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.about__agent-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

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

.parser-glow {
  box-shadow: 0 0 20px rgba(79, 110, 247, 0.3), 0 0 40px rgba(79, 110, 247, 0.1);
}

.architect-glow {
  box-shadow: 0 0 20px rgba(247, 166, 65, 0.3), 0 0 40px rgba(247, 166, 65, 0.1);
}

.neon-gold {
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.4), 0 0 60px rgba(201, 168, 76, 0.15);
}

.neon-gold:hover {
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.6), 0 0 80px rgba(201, 168, 76, 0.25), 0 0 120px rgba(201, 168, 76, 0.1);
}

.about__agent-info h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.about__agent-role {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
}

.about__agent-skills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__agent-skills li {
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}

.about__agent-skills li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--parser);
  font-weight: 700;
}

.about__panel:nth-child(2) .about__agent-skills li::before {
  color: var(--architect);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px var(--card-accent), 0 0 60px rgba(79, 110, 247, 0.08);
  border-color: var(--card-accent);
}

.project-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.project-card__image::before { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; background:rgba(8,18,45,.27); transition:opacity .4s ease; }
.project-card__image::after { content:""; position:absolute; inset:8px; z-index:5; pointer-events:none; border:1px solid rgba(134,232,255,.42); clip-path:polygon(0 0,22px 0,22px 1px,calc(100% - 22px) 1px,calc(100% - 22px) 0,100% 0,100% 22px,calc(100% - 1px) 22px,calc(100% - 1px) calc(100% - 22px),100% calc(100% - 22px),100% 100%,calc(100% - 22px) 100%,calc(100% - 22px) calc(100% - 1px),22px calc(100% - 1px),22px 100%,0 100%,0 calc(100% - 22px),1px calc(100% - 22px),1px 22px,0 22px); opacity:.75; }
.project-card:hover .project-card__image::before { opacity:0; }

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__preview {
  position: absolute;
  inset: 0;
  padding: 10px 12px;
  color: #fff;
  font-family: Arial, sans-serif;
  background: linear-gradient(90deg, rgba(5, 12, 25, .9), rgba(5, 12, 25, .42));
  overflow: hidden;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

.project-card__preview--snow { background: linear-gradient(90deg, rgba(8, 20, 38, .88), rgba(8, 20, 38, .28)); }
.project-card__preview--mountain { background: linear-gradient(90deg, rgba(5, 12, 25, .82), rgba(5, 12, 25, .2)); }
.preview-topbar { display: flex; gap: 14px; align-items: center; white-space: nowrap; font-size: 8px; }
.preview-topbar strong { font-size: 12px; }
.preview-topbar span { opacity: .82; overflow: hidden; text-overflow: clip; }
.preview-phone, .preview-langs { margin-top: 4px; font-size: 8px; text-align: right; opacity: .88; }
.preview-phone b { background: #73a6d9; border-radius: 10px; padding: 3px 7px; }
.preview-content { position: absolute; left: 12px; right: 12px; bottom: 12px; max-width: 91%; }
.preview-content > strong { display: block; font-size: 20px; line-height: 1.05; margin: 5px 0; }
.preview-content p { margin: 0 0 7px; font-size: 9px; line-height: 1.3; max-width: 82%; opacity: .94; }
.preview-badge { display: inline-block; padding: 3px 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; font-size: 8px; }
.preview-buttons { display: flex; gap: 7px; align-items: center; font-size: 8px; }
.preview-buttons b, .preview-buttons span { padding: 4px 8px; border-radius: 10px; }
.preview-buttons b { background: #73a6d9; }
.preview-buttons span { border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.12); }
.preview-content small { display: block; margin-top: 5px; font-size: 8px; opacity: .8; }

.project-card__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px 12px 0;
}

.project-card__gallery img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.project-card__gallery img:hover {
  transform: scale(1.4);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  position: relative;
}

.project-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent);
  margin-bottom: 12px;
}

.project-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-card__desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.project-card__link {
  color: var(--parser);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-card__link:hover {
  gap: 8px;
}

.project-card__tech {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.tech__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}

.tech__item:hover {
  border-color: var(--parser);
  box-shadow: 0 0 16px rgba(79, 110, 247, 0.1);
}

.tech__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--parser);
  padding: 8px;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  border: 1px solid rgba(134,232,255,.34);
  box-shadow: inset 0 0 16px rgba(134,232,255,.08), 0 0 12px rgba(134,232,255,.12);
}

.tech__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(134,232,255,.7));
}

.tech__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech__desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

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

.contact__field--full {
  grid-column: 1 / -1;
}

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

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--parser);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.1);
}

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

.contact__form-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  display: none;
}

.contact__form-status.success {
  display: block;
  background: rgba(0, 230, 118, 0.1);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.contact__form-status.error {
  display: block;
  background: rgba(255, 82, 82, 0.1);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.2);
}

.contact__form-status.sending {
  display: block;
  color: var(--text-secondary);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact__info-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__info-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact__info-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.contact__info-item a:hover {
  color: var(--parser);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

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

.footer__logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--parser);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section__header h2 {
    font-size: 28px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav a {
    padding: 12px 16px;
  }

  .header__burger {
    display: block;
  }

  .hero__title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero__code {
    font-size: 14px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero { padding-top: 84px; }
  .hero__inner { gap: 30px; padding-bottom: 58px; }
  .hero-robot { min-height: 300px; }
  .hero-robot__image { max-height: 300px; }
  .hero-robot__halo { width: 245px; height: 245px; }
  .hero-node { font-size: 8px; padding: 5px 7px; }
  .hero-node--orchestrator { left: 0; top: -12px; }
  .hero-node--parser { right: -8px; top: 28%; }
  .hero-node--legal { left: -8px; top: 48%; }
  .hero-node--architect { right: 4%; top: -12px; }
  .hero-node--analyst { right: -8px; bottom: -12px; }
  .hero-node--strategy { left: 50%; bottom: -14px; margin-left: -30px; }
   .hero-node--content { left: -8px; bottom: 20%; }
   .hero-node--ux { top: -34px; left: 50%; margin-left: -10px; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow i { display: none; }
  .reviewers-strip { grid-template-columns: 1fr; }
  .reviewers-list { grid-column: auto; }
  .architecture-flow { text-align: left; }

   .hero__stats {
     width: 100%;
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 10px;
   }

   .hero__stat {
     min-width: 0;
     padding: 10px 6px;
   }

   .hero__stat-num {
     font-size: 32px;
   }

   .hero__stat-label {
     font-size: 10px;
     line-height: 1.25;
     letter-spacing: .35px;
     overflow-wrap: anywhere;
   }

  .about__tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .about__agent {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }

  .about__agent-avatar {
    width: 120px;
    height: 120px;
  }

  .about__agent-skills li {
    text-align: left;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

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

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__fields {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__stat {
    flex: 1;
    min-width: 80px;
  }

  .tech__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-robot { min-height: 250px; }
  .hero-robot__image { max-height: 245px; }
  .hero-robot__halo { width: 200px; height: 200px; }
   .hero-node--strategy, .hero-node--content { display: block; }
  .hero-node--orchestrator { left: 0; top: -8px; }
  .hero-node--architect { right: 0; top: -8px; }
   .hero-node--analyst { right: 0; bottom: -8px; }
   .hero-node--ux { top: -34px; left: 50%; margin-left: -10px; }
  .agents-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; padding: 18px; }
  .workflow div { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .workflow small { grid-column: 2; }
  .architecture-flow { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-node, .marquee__track, .hero__code-cursor { animation: none !important; }
}

