/* Màu và chữ lấy từ .claude/plans/ui/02-design-system.md (giữ nhận diện với dashboard). */
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url(fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url(fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 800; font-display: swap; src: url(fonts/be-vietnam-pro-vietnamese-800-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }

:root {
  --ink: #0c0f0e;
  --void: #060807;
  --paper: #e6ece8;
  --fog: #8c9690;
  --line: #242b27;
  --accent: #c5f05a;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 "Be Vietnam Pro", system-ui, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }

.btn {
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); padding: 14px 28px; font-size: 16px; }
.btn-primary:hover { background: #d4f77c; }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); padding: 8px 16px; font-size: 14px; background: rgb(12 15 14 / .6); }
.btn-ghost:hover { border-color: var(--fog); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Thanh trên nằm đè lên bầu trời. */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 700; font-size: 15px; }
.brand img { display: block; }

/* Hero: trời sao vẽ bằng canvas (main.js), chân trời một hành tinh bằng CSS. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 112px var(--gutter) 22svh;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #0d1311 0%, var(--void) 70%);
  isolation: isolate;
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.horizon {
  position: absolute; z-index: -1;
  left: 50%; top: 82%;
  width: max(260vw, 1900px); aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #0a0d0c 97%, #10201a 99.4%, #1d4a37 100%);
  box-shadow: 0 0 90px 6px rgb(25 158 112 / .22), 0 0 240px 40px rgb(25 158 112 / .08);
}
.hero-text { text-align: center; max-width: 100%; }
.wordmark {
  font-weight: 800;
  font-size: clamp(44px, 13.4vw, 216px);
  line-height: .95;
  letter-spacing: -.045em;
  white-space: nowrap;
  background: linear-gradient(180deg, #f4f8f5 30%, #9aa59f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tagline {
  margin-top: clamp(18px, 2.4vw, 32px);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.lede { margin: 12px auto 0; max-width: 34em; color: var(--fog); font-size: clamp(15px, 1.25vw, 18px); }
.hero .btn-primary { margin-top: 32px; }
.note { margin-top: 12px; font-size: 13px; color: var(--fog); }

/* Khối tính năng: chữ lớn, kẻ 1px như dashboard. */
.features {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) var(--gutter) clamp(40px, 6vw, 80px);
}
.section-title {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 16px 48px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature h3 {
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.feature p { color: var(--fog); max-width: 34em; }

.closing {
  text-align: center;
  padding: clamp(64px, 10vw, 140px) var(--gutter);
}
.closing-line {
  max-width: 16em; margin: 0 auto 36px;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  color: var(--fog); font-size: 14px;
}
.foot p:first-child { color: var(--paper); }

@media (max-width: 720px) {
  .wordmark { white-space: normal; font-size: 17vw; }
  .feature { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
