:root {
  --bg: #07131a;
  --bg-soft: #0d1920;
  --panel: rgba(10, 18, 26, 0.78);
  --panel-strong: rgba(12, 22, 30, 0.94);
  --text: #eef2f7;
  --muted: #a5b1bf;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #d7ff4d;
  --accent-2: #c4ff29;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(3, 9, 14, 0.82), rgba(3, 9, 14, 0.88)),
    url("agent.png") center center / cover no-repeat fixed;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(215, 255, 77, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 220, 0, 0.08), transparent 26%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 10, 15, 0.62);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f4ffbf);
  box-shadow: 0 0 24px rgba(215, 255, 77, 0.45);
}

.brand-text {
  font-size: 1.05rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: 0.25s ease;
}

.menu a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(215, 255, 77, 0.14);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0d0f;
  box-shadow: 0 12px 30px rgba(215, 255, 77, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(215, 255, 77, 0.32);
}

.btn-secondary,
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-tag,
.project-meta,
.signal-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 760px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-text,
.section-heading p,
.card p,
.focus-card p,
.project-card p,
.contact-box p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-card {
  min-width: 145px;
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel .panel {
  background: linear-gradient(180deg, rgba(17, 24, 34, 0.88), rgba(10, 15, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-1 {
  background: #ff6b6b;
}

.dot-2 {
  background: #ffd93d;
}

.dot-3 {
  background: #8ce99a;
}

.panel-body {
  padding: 24px;
}

.code-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.code-line.accent {
  background: rgba(215, 255, 77, 0.45);
}

.w-90 {
  width: 90%;
}

.w-85 {
  width: 85%;
}

.w-70 {
  width: 70%;
}

.w-60 {
  width: 60%;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.mini-box {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.mini-box.active {
  background: rgba(215, 255, 77, 0.08);
  border-color: rgba(215, 255, 77, 0.3);
  color: var(--text);
}

.signal-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.16);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.focus-card,
.project-card,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card {
  padding: 28px;
}

.card h3,
.focus-card h3,
.project-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.focus-card {
  padding: 26px;
}

.focus-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: rgba(215, 255, 77, 0.1);
  color: var(--accent);
  font-weight: 800;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  padding: 28px;
}

.project-meta {
  margin-bottom: 14px;
}

.section-contact {
  padding-top: 30px;
}

.contact-box {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 26px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.delay-1 {
  transition-delay: 0.12s;
}

.reveal.delay-2 {
  transition-delay: 0.22s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .cards-3,
  .focus-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .menu {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .btn-outline {
    display: none;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero,
  .section {
    padding: 62px 0;
  }

  .hero-actions,
  .hero-stats,
  .contact-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .panel-body,
  .card,
  .focus-card,
  .project-card,
  .contact-box {
    padding: 22px;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
  }
}