:root {
  --bg: #020711;
  --panel: rgba(7, 16, 29, 0.78);
  --line: rgba(139, 166, 201, 0.22);
  --text: #f3f6fb;
  --muted: #9caac0;
  --green: #28d4a0;
  --green-strong: #12bfa4;
  --purple: #7757ff;
  --blue: #2fa4e9;
  --radius: 20px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  background:
    radial-gradient(circle at 50% 30%, rgba(25, 75, 112, 0.12), transparent 34%),
    linear-gradient(145deg, #02060d 0%, #06101c 48%, #02060d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.background-orb {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(105px);
  opacity: 0.2;
  pointer-events: none;
}

.orb-left { left: -190px; bottom: -230px; background: #13d7a0; }
.orb-right { right: -170px; bottom: -235px; background: #724cff; }

.site-header {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.brand-mark {
  font-size: 38px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.brand-mark span,
.brand-name strong { color: var(--green); }
.brand-name { font-size: 18px; font-weight: 550; letter-spacing: -0.015em; }
.brand-name strong { font-weight: 650; }

.top-links { display: flex; align-items: center; gap: 34px; }
.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dce5f1;
  text-decoration: none;
  font-size: 16px;
  font-weight: 450;
  transition: color 160ms ease, transform 160ms ease;
}
.top-links a:hover { color: #fff; transform: translateY(-1px); }

.link-icon { width: 18px; height: 18px; position: relative; display: inline-block; color: #bac6d7; }
.github-icon { border: 2px solid currentColor; border-radius: 50%; }
.github-icon::before { content: ""; position: absolute; width: 8px; height: 5px; left: 3px; top: 8px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; border-radius: 0 0 5px 5px; }
.mail-icon { border: 2px solid currentColor; border-radius: 3px; }
.mail-icon::before { content: ""; position: absolute; width: 9px; height: 9px; left: 2px; top: -1px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }

.landing-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 30px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 48px;
  animation: enter 600ms ease both;
}

.hello {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 450;
  background: linear-gradient(90deg, #a26aff, #4ba6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 7.4vw, 90px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 600;
  text-wrap: balance;
}
.hero h1 span { color: #f7f8fb; font-weight: 560; }
.hero h1 strong {
  font-weight: 650;
  background: linear-gradient(90deg, #7453ff 0%, #3c8eea 44%, #48d59c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dev-status {
  margin: 22px 0 18px;
  color: #e1e7f0;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 420;
  letter-spacing: -0.02em;
}
.dev-status span { color: var(--green); font-weight: 650; }

.hero-description {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.choice-card {
  min-height: 405px;
  padding: 34px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 15%, rgba(42, 92, 133, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(11, 23, 40, 0.86), rgba(5, 13, 24, 0.82));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  animation: enter 650ms ease both;
}
.choice-card:nth-child(2) { animation-delay: 90ms; }
.choice-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.personal-card::after { background: linear-gradient(90deg, #19d5a5, #34e7c2); }
.simulator-card::after { background: linear-gradient(90deg, #864dff, #514cff); }
.choice-card:hover { transform: translateY(-5px); }
.personal-card:hover { border-color: rgba(37, 212, 162, 0.56); box-shadow: 0 30px 90px rgba(0,0,0,.36), 0 0 32px rgba(37,212,162,.12); }
.simulator-card:hover { border-color: rgba(117, 76, 255, 0.58); box-shadow: 0 30px 90px rgba(0,0,0,.36), 0 0 34px rgba(117,76,255,.15); }

.choice-icon {
  width: 118px;
  height: 118px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(114, 151, 188, 0.14);
  border-radius: 50%;
  background: rgba(6, 15, 28, 0.5);
}
.personal-icon { position: relative; color: #39dda8; }
.person-head { width: 30px; height: 30px; border: 4px solid currentColor; border-radius: 50%; position: absolute; top: 27px; }
.person-body { width: 54px; height: 27px; border: 4px solid currentColor; border-bottom: 0; border-radius: 28px 28px 0 0; position: absolute; bottom: 26px; }
.simulator-icon img { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(255,255,255,.12)); }

.choice-card h2 { margin: 0 0 14px; font-size: 28px; font-weight: 620; letter-spacing: -0.025em; line-height: 1.2; }
.choice-card p { max-width: 430px; margin: 0 0 28px; color: var(--muted); font-size: 16.5px; line-height: 1.6; font-weight: 400; }

.choice-button {
  width: 100%;
  min-height: 64px;
  margin-top: auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 620;
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
  transition: transform 170ms ease, filter 170ms ease;
}
.personal-button { background: linear-gradient(90deg, #10a796, #13b8a8); }
.simulator-button { background: linear-gradient(90deg, #6441e9, #4b4cff); }
.choice-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.choice-button .arrow { transition: transform 170ms ease; }
.choice-button:hover .arrow { transform: translateX(4px); }
.person-small { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; justify-self: center; position: relative; }
.person-small::after { content: ""; position: absolute; width: 22px; height: 10px; border: 2px solid currentColor; border-bottom: 0; border-radius: 12px 12px 0 0; left: -5px; top: 14px; }

.landing-footer { min-height: 130px; display: grid; place-items: center; align-content: center; gap: 14px; color: #cad4e3; position: relative; z-index: 1; }
.landing-footer p { margin: 0; font-family: "SFMono-Regular", Consolas, "Courier New", monospace; }
.landing-footer p span { color: #8d65ff; }
.landing-footer p strong { color: #43d7a7; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: #7f90a8; text-decoration: none; font-size: 15px; font-weight: 650; }
.footer-links a:hover { color: #fff; }

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

@media (max-width: 780px) {
  .site-header { width: min(calc(100% - 28px), 680px); min-height: 82px; }
  .brand-name { font-size: 14px; }
  .brand-mark { font-size: 30px; }
  .top-links { gap: 16px; }
  .top-links a { font-size: 0; }
  .top-links .link-icon { width: 19px; height: 19px; }
  .landing-shell { padding-top: 32px; }
  .hero { margin-bottom: 34px; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); line-height: 1.07; letter-spacing: -0.03em; }
  .hero-description { font-size: 15.5px; }
  .choice-grid { grid-template-columns: 1fr; gap: 20px; }
  .choice-card { min-height: 360px; padding: 28px 22px; }
  .choice-card h2 { font-size: 24px; }
  .choice-card p { font-size: 15px; }
  .choice-button { min-height: 58px; font-size: 15.5px; }
}

@media (max-width: 430px) {
  .brand-name { display: none; }
  .hero h1 span, .hero h1 strong { display: block; }
  .hero h1 { line-height: 1.02; }
}

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