:root {
  --bg: #07111f;
  --excel: #217346;
  --mint: #78e2b1;
  --cyan: #77d8ff;
  --ink: #f6fbff;
  --muted: #b8c9d8;
  --soft: #e8f4fb;
  --amber: #f0b04f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7,17,31,.56), #07111f 620px),
    url("../assets/excel-bi-agent-visual-bg.png") center top / 1800px auto no-repeat,
    var(--bg);
  font-family: "Segoe UI", Inter, "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.58;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: calc(100% - 40px); max-width: 1180px; margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; }
.mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--excel);
  border: 1px solid rgba(120, 226, 177, .8);
  display: grid; grid-template-columns: repeat(3, 6px); align-items: end; justify-content: center; gap: 4px;
  padding-bottom: 8px;
}
.mark span { display: block; width: 6px; border-radius: 3px; background: white; }
.mark span:nth-child(1) { height: 14px; }
.mark span:nth-child(2) { height: 22px; }
.mark span:nth-child(3) { height: 28px; }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255,255,255,.06);
  font-weight: 750;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 44px;
  align-items: center;
  min-height: 620px;
  padding: 50px 0 72px;
}
.hero > * { min-width: 0; }
.eyebrow { color: var(--mint); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1 {
  margin: 14px 0 0;
  max-width: 790px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}
.lead { margin: 24px 0 0; max-width: 770px; color: var(--soft); font-size: 20px; }
.byline {
  margin: 16px 0 0;
  max-width: 720px;
  color: #d7e9f4;
  font-size: 15px;
}
.byline strong { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--mint);
  background: var(--excel);
  color: white;
  font-weight: 850;
}
.button.secondary { background: rgba(255,255,255,.06); color: var(--soft); border-color: rgba(255,255,255,.24); }
.hero-card, .tile, .matrix, .code-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(2, 11, 23, .84);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.hero-card { border-radius: 18px; overflow: hidden; max-width: 100%; }
.hero-card-head {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: rgba(255,255,255,.08);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
pre {
  margin: 0;
  padding: 26px 28px 30px;
  color: #83f5b7;
  font: 16px/1.75 Consolas, "Cascadia Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prompt { color: #9ee7ff; }
.section { padding: 72px 0; border-top: 1px solid rgba(255,255,255,.08); }
h2 { margin: 0 0 16px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.1; }
.section-intro { max-width: 860px; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 16px; margin-top: 28px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { border-radius: 12px; padding: 20px; }
.tile h3 { margin: 0 0 8px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); }
.tile a { color: var(--accent); text-decoration: none; font-weight: 850; }
.card-link {
  display: block;
  color: inherit;
  min-height: 164px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
  border-color: rgba(119, 216, 255, .46);
  background: rgba(5, 20, 35, .92);
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.proof-strip div {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.055);
}
.proof-strip strong {
  display: block;
  color: white;
  font-size: 24px;
  line-height: 1;
}
.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.release-grid { margin-top: 22px; }
.matrix { margin-top: 30px; overflow: hidden; border-radius: 14px; }
.row { display: grid; grid-template-columns: 280px 1fr; border-top: 1px solid rgba(255,255,255,.1); }
.row:first-child { border-top: 0; }
.row > div { padding: 16px 18px; }
.row > div:first-child { color: white; font-weight: 850; background: rgba(255,255,255,.045); }
.row > div:last-child { color: var(--muted); }
code { color: #dcf3ff; }
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 28px; }
.code-card { border-radius: 12px; overflow: hidden; max-width: 100%; }
.code-title { padding: 14px 18px; font-weight: 850; background: rgba(255,255,255,.08); color: white; }
.note {
  margin-top: 22px;
  border-left: 4px solid var(--amber);
  padding: 12px 16px;
  background: rgba(240, 176, 79, .12);
  color: #ffe4bb;
}
footer { color: var(--muted); padding: 44px 0 60px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.footer-links a { color: var(--accent); text-decoration: none; }
@media (max-width: 880px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; gap: 30px; }
  .grid.three, .install, .proof-strip { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  h1 { font-size: 44px; }
  .lead { font-size: 18px; }
  pre { padding: 24px 18px 28px; font-size: 14px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .eyebrow, h1, .lead, .byline, .actions, .hero-card, h2, .section-intro { max-width: 340px; }
  .eyebrow { font-size: 12px; overflow-wrap: anywhere; }
  h1 { font-size: 30px; line-height: 1.1; overflow-wrap: anywhere; }
  .lead, .section-intro { font-size: 16px; }
  .actions { flex-direction: column; }
  .button { width: 100%; min-height: 42px; padding: 0 15px; }
  pre { font-size: 13px; }
  h2 { font-size: 26px; }
}
