/* DeepSeek visual family clone — fresh build 2026-11-24 */
@font-face {
  font-family: "DM Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/dm-sans-400.woff2") format("woff2");
}

:root {
  --bg: #f9f8f8;
  --bg-soft: #f4f6f9;
  --ink: #1e232c;
  --navy: #152443;
  --muted: rgba(0, 0, 0, 0.62);
  --line: rgba(0, 0, 0, 0.08);
  --line-soft: rgba(0, 0, 0, 0.05);
  --brand: #4d6bfe;
  --brand-deep: #3157b8;
  --brand-mid: #4176e6;
  --sky: #9cc1e7;
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.56);
  --radius-card: 24px;
  --radius-panel: 18px;
  --radius-pill: 100px;
  --shadow-card: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 40px -18px rgba(21, 36, 67, 0.22);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(249, 248, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  height: 76px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 121px; height: auto; }
.brand-name {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a,
.header-ghost {
  font-size: 14.5px;
  color: rgba(21, 36, 67, 0.78);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.site-nav a:hover, .header-ghost:hover { color: var(--brand-deep); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-ghost {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(9, 45, 78, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(9, 45, 78, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--navy);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 0 16px 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px -16px rgba(21, 36, 67, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--navy);
}
.mobile-nav a:hover { background: rgba(77, 107, 254, 0.07); }
.mobile-nav.open { display: flex; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 158px 0 92px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4fa 0%, #f9f8f8 100%);
}
.hero-sky {
  position: absolute;
  inset: 0 0 auto 0;
  height: 780px;
  background: linear-gradient(180deg, #9cc1e7 0%, rgba(250, 250, 250, 0) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(21, 36, 67, 0.66);
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}
.announce:hover { background: rgba(255, 255, 255, 0.6); color: var(--navy); }
.announce-sparkle { flex: none; width: 14px; height: 14px; }
.announce svg { flex: none; }

.hero-title {
  margin-top: 30px;
  font-size: clamp(36px, 5.2vw, 54px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #152443;
  text-indent: 0.2em;
}
.hero-sub {
  margin-top: 20px;
  max-width: 660px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(21, 36, 67, 0.72);
}
.download-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  margin-top: 34px;
  padding: 0 42px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #4a5fd6 0%, #3d55cc 46%, #2f4fae 100%);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 44px -14px rgba(47, 79, 174, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: cta-glow 3.2s ease-in-out infinite;
}
.download-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 56px -14px rgba(47, 79, 174, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.download-cta:active { transform: translateY(0) scale(0.99); }
.download-cta:focus-visible { outline: 3px solid #2f4fae; outline-offset: 3px; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 18px 44px -14px rgba(47, 79, 174, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 22px 56px -10px rgba(47, 79, 174, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
}

.hero-prompt {
  width: 100%;
  max-width: 880px;
  margin-top: 30px;
  padding: 18px 18px 12px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 20px 50px -28px rgba(21, 36, 67, 0.5);
  text-align: left;
}
.prompt-line {
  min-height: 62px;
  padding: 6px 8px 12px;
  font-size: 16px;
  color: rgba(21, 36, 67, 0.42);
}
.prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prompt-chips { display: flex; align-items: center; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 13px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.prompt-send {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.hero-entries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.entry-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font-size: 14px;
  color: var(--navy);
  transition: background 0.22s ease, transform 0.22s ease;
}
.entry-pill:hover { background: rgba(255, 255, 255, 0.64); transform: translateY(-1px); }

/* ---------- shared sections ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.narrow { max-width: 640px; }
.eyebrow {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow.light { color: #9db8e8; }
.section-head h2, .models-head h2, .dev-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
}
.section-lead { margin-top: 16px; max-width: 640px; font-size: 15.5px; color: var(--muted); }

/* ---------- product cards ---------- */
.products { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  border-radius: var(--radius-panel);
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 107, 254, 0.22);
  box-shadow: var(--shadow-card);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(77, 107, 254, 0.09);
  color: var(--brand-deep);
}
.product-card h3 { font-size: 17.5px; }
.product-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-link span { transition: transform 0.2s ease; }
.card-link:hover span { transform: translateX(3px); }

/* ---------- capabilities ---------- */
.capabilities { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cap-card {
  position: relative;
  padding: 30px 30px 28px;
  border-radius: var(--radius-panel);
  background: #fff;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.cap-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 193, 231, 0.28), transparent 70%);
}
.cap-index {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(21, 36, 67, 0.4);
}
.cap-card h3 { font-size: 20px; margin-bottom: 8px; }
.cap-card p { font-size: 14.5px; color: var(--muted); max-width: 420px; }

/* ---------- models ---------- */
.models {
  padding: 104px 0;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(77, 107, 254, 0.3), transparent 62%),
    linear-gradient(180deg, #101a2e 0%, #152443 58%, #121c31 100%);
  color: #e8eefb;
}
.models-head { max-width: 720px; margin-bottom: 42px; }
.models-head h2 { color: #fff; }
.models-head p { margin-top: 14px; color: rgba(232, 238, 251, 0.66); font-size: 15px; }
.model-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.model-card {
  padding: 24px 20px;
  border-radius: var(--radius-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(6px);
}
.model-card h3 { color: #fff; font-size: 16.5px; margin-bottom: 8px; }
.model-card p { font-size: 13.5px; line-height: 1.7; color: rgba(232, 238, 251, 0.62); }
.model-card--feature {
  border-color: rgba(115, 163, 210, 0.5);
  background: linear-gradient(160deg, rgba(77, 107, 254, 0.28), rgba(255, 255, 255, 0.04));
}
.model-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(115, 163, 210, 0.22);
  color: #cfe1f6;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.model-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(232, 238, 251, 0.45);
  font-family: ui-monospace, Menlo, monospace;
}
.model-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.model-note p { max-width: 700px; font-size: 13.5px; color: rgba(232, 238, 251, 0.6); }
.model-note code { color: #bcd3f3; }
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf1fc;
  font-size: 13.5px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- scenarios ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scenario-card {
  padding: 26px 22px;
  border-radius: var(--radius-panel);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}
.scenario-dot {
  display: block;
  width: 9px; height: 9px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(77, 107, 254, 0.1);
}
.scenario-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.scenario-card p { font-size: 14px; color: var(--muted); }

/* ---------- platforms ---------- */
.platforms { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform-card {
  padding: 26px 22px;
  border-radius: var(--radius-panel);
  background: #fff;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.platform-card h3 { font-size: 17px; }
.platform-card p { font-size: 13.8px; color: var(--muted); line-height: 1.7; }
.platform-tag {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
}

/* ---------- developer band ---------- */
.dev-band {
  padding: 96px 0;
  background: linear-gradient(135deg, #16233c 0%, #1b2c49 60%, #20355a 100%);
  color: #e8eefb;
}
.dev-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dev-copy h2 { color: #fff; }
.dev-copy > p { margin-top: 16px; font-size: 14.5px; color: rgba(232, 238, 251, 0.68); max-width: 460px; }
.dev-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.dev-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13px;
  color: rgba(232, 238, 251, 0.62);
}
.dev-list code {
  min-width: 84px;
  color: #bcd3f3;
  font-size: 12.5px;
}
.code-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 16, 30, 0.62);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-head .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.code-title { margin-left: auto; font-size: 12px; color: rgba(232, 238, 251, 0.4); font-family: ui-monospace, monospace; }
.code-card pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; }
.code-card code { font-size: 12.8px; line-height: 1.75; color: #d7e3f7; }
.c-key { color: #8fb3ff; }
.c-str { color: #9fd7b6; }
.c-num { color: #e7b67f; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: rgba(21, 36, 67, 0.4);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 72px 0 34px;
  background: #f4f5f7;
  border-top: 1px solid var(--line-soft);
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-brand img { width: 120px; height: auto; }
.footer-tagline { margin-top: 14px; font-size: 14px; color: rgba(21, 36, 67, 0.6); letter-spacing: 0.12em; }
.footer-name { display: none; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(21, 36, 67, 0.5);
  letter-spacing: 0.08em;
}
.footer-col a { font-size: 13.5px; color: rgba(21, 36, 67, 0.76); }
.footer-col a:hover { color: var(--brand-deep); }
.footer-legal {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(21, 36, 67, 0.46);
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .header-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .model-rail { grid-template-columns: repeat(3, 1fr); }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 767px) {
  .wrap { padding: 0 20px; }
  .header-inner { height: 64px; padding: 0 20px; }
  .brand-mark { width: 104px; }
  .hero { padding: 118px 0 64px; }
  .hero-inner { padding: 0 20px; }
  .hero-sky { height: 640px; }
  .hero-title { font-size: clamp(30px, 9.4vw, 40px); letter-spacing: 0.14em; text-indent: 0.14em; }
  .hero-sub { font-size: 14.5px; margin-top: 16px; }
  .download-cta { width: 100%; min-height: 56px; margin-top: 28px; font-size: 1.0625rem; padding: 0 24px; }
  .hero-prompt { margin-top: 24px; padding: 14px 14px 10px; }
  .prompt-line { min-height: 46px; font-size: 15px; }
  .prompt-send { width: 34px; height: 34px; }
  .announce { font-size: 12px; padding: 7px 12px; }
  .section, .models, .dev-band { padding: 68px 0; }
  .product-grid, .cap-grid, .scenario-grid, .platform-grid { grid-template-columns: 1fr; }
  .model-rail { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 460px) {
  .model-rail { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .entry-pill { font-size: 13px; padding: 0 15px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-cta { animation: none; transition: none; }
  .product-card, .entry-pill, .btn-ghost-light { transition: none; }
}
