:root {
  --bg: #080909;
  --bg-2: #0b0d0d;
  --surface: rgba(18, 20, 20, 0.94);
  --surface-soft: rgba(23, 26, 26, 0.94);
  --surface-lift: rgba(28, 32, 32, 0.96);
  --text: #f3f5f4;
  --muted: #a6aeab;
  --muted-strong: #c9d1cd;
  --green: #7cff9e;
  --green-soft: rgba(124, 255, 158, 0.09);
  --green-line: rgba(124, 255, 158, 0.14);
  --border: rgba(124, 255, 158, 0.10);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --glow: 0 0 18px rgba(124, 255, 158, 0.10);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(124, 255, 158, 0.05), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(124, 255, 158, 0.03), transparent 24rem),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 50%, rgba(0, 0, 0, 0.018) 50%),
    linear-gradient(90deg, rgba(0, 255, 170, 0.004), rgba(255, 255, 255, 0.003), rgba(0, 255, 170, 0.004));
  background-size: 100% 4px, 8px 100%;
  opacity: 0.18;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0 60%, rgba(0, 0, 0, 0.18) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(124, 255, 158, 0.08);
  border: 1px solid var(--green-line);
  color: var(--green);
  font-size: 16px;
  box-shadow: var(--glow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.hero {
  padding: 100px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-shadow: 0 0 12px rgba(124, 255, 158, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8.4vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.08em;
  color: var(--text);
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions,
.feature-actions,
.contact-links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(22, 24, 24, 0.88);
  color: var(--text);
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 158, 0.20);
  background: var(--surface-lift);
  box-shadow: var(--shadow);
}

.button.primary {
  background: rgba(124, 255, 158, 0.11);
  color: var(--green);
  border-color: rgba(124, 255, 158, 0.22);
  box-shadow: var(--glow);
}

.button.primary:hover {
  background: rgba(124, 255, 158, 0.15);
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.feature-card,
.split-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 255, 158, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(124, 255, 158, 0.03), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.feature-card::before,
.split-panel::before,
.card::before,
.project-card::before,
.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 38%);
}

.feature-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
  padding: clamp(26px, 5vw, 44px);
}

.feature-label,
.project-top,
.achievement-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.feature-content h3 {
  max-width: 720px;
  margin: 8px 0 18px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.feature-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-actions {
  margin-top: 28px;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points span {
  padding: 13px 14px;
  border: 1px solid rgba(124, 255, 158, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 750;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.project-card,
.achievement-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background: rgba(18, 20, 20, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
}

.card h3,
.project-card h3,
.achievement-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.card p,
.project-card p,
.achievement-card p,
.split-panel p,
.section-intro {
  color: var(--muted);
  line-height: 1.7;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: clamp(26px, 5vw, 42px);
}

.large-text {
  font-size: 21px;
  color: var(--text) !important;
  line-height: 1.55 !important;
}

.stats {
  display: grid;
  gap: 12px;
}

.stats div {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--green);
}

.stats span {
  color: var(--muted);
  font-size: 14px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 38px;
}

.inline-links {
  margin-top: auto;
  padding-top: 24px;
}

.inline-links a {
  color: var(--green);
  font-weight: 850;
  border-bottom: 1px solid currentColor;
}

.inline-links a:hover {
  opacity: 0.78;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 18px;
}

.achievement-card {
  min-height: 190px;
}

.achievement-card h3 {
  margin-top: 20px;
  font-size: 32px;
}

.contact-section {
  text-align: center;
}

.contact-section h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  justify-content: center;
  margin-top: 28px;
}

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--green);
  font-weight: 800;
}

.footer a:hover {
  opacity: 0.8;
}

@media (max-width: 960px) {
  .card-grid.four,
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .split-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body::before {
    opacity: 0.12;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .hero {
    padding: 62px 0 62px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid.four,
  .card-grid.three,
  .card-grid.two,
  .feature-points {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
