:root {
  --ink: #15161a;
  --muted: #60646f;
  --line: #e5e7eb;
  --paper: #f6f5f2;
  --white: #ffffff;
  --coral: #ff6f4f;
  --coral-dark: #d74e33;
  --green: #147b65;
  --blue: #236b8e;
  --charcoal: #202329;
  --shadow: 0 24px 80px rgba(24, 30, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #424750;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--coral-dark);
}

.header-action,
.primary-btn,
.secondary-btn {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.header-action,
.primary-btn {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(255, 111, 79, 0.25);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.hero {
  display: grid;
  min-height: 94vh;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 116px clamp(20px, 5vw, 80px) 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 111, 79, 0.2), transparent 32%),
    linear-gradient(150deg, #111316 0%, #202329 49%, #f1eee8 49.2%, #ffffff 100%);
}

.hero-copy {
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 116px);
  line-height: 0.95;
  font-weight: 950;
}

.lead {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.65;
  font-weight: 650;
}

.hero-actions,
.version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.version-row {
  margin-top: 28px;
}

.version-row span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-width: 0;
}

.window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: #f7f7f8;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.window-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #4d535d;
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c9cdd4;
}

.window-bar span:first-child {
  background: var(--coral);
}

.window-bar strong {
  margin-left: 8px;
}

.app-preview {
  display: grid;
  min-height: 520px;
  grid-template-columns: 178px minmax(0, 1fr);
  color: var(--ink);
}

.app-preview aside {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--charcoal);
  padding: 22px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.app-preview aside b {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 17px;
}

.app-preview aside span {
  border-radius: 8px;
  padding: 10px 12px;
}

.app-preview aside .active {
  background: var(--coral);
  color: var(--white);
}

.app-preview section {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(35, 107, 142, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(35, 107, 142, 0.07) 1px, transparent 1px),
    #f7f8f8;
  background-size: 38px 38px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats div,
.quote,
.task-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.stats small,
.quote small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stats strong {
  display: block;
  margin-top: 10px;
  font-size: 23px;
  font-weight: 950;
}

.quote {
  display: flex;
  min-height: 152px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fff0eb 100%);
}

.quote h2 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.quote strong {
  color: var(--coral-dark);
  font-size: 34px;
  font-weight: 950;
  white-space: nowrap;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.task-list span {
  font-size: 15px;
  font-weight: 850;
}

.task-list b {
  border-radius: 999px;
  background: #eaf6f2;
  color: var(--green);
  padding: 7px 12px;
  font-size: 12px;
}

.plugin-badge {
  position: absolute;
  right: 26px;
  bottom: -24px;
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  padding: 18px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.plugin-badge span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.plugin-badge b {
  font-size: 18px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-strip article {
  min-height: 132px;
  background: var(--white);
  padding: 26px clamp(18px, 4vw, 42px);
}

.feature-strip strong {
  display: block;
  font-size: 34px;
  font-weight: 950;
}

.feature-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 750;
}

.coreldraw-section,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 80px);
}

.contact-section { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding: 22px; background: #fff6f3; color: #5b352c; }
.contact-section strong { color: var(--coral-dark); }

.coreldraw-section {
  background: var(--white);
}

.coreldraw-section h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 950;
}

.coreldraw-section p,
.download-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-left: 4px solid var(--coral);
  background: #fff6f3;
  padding: 14px 16px;
  color: #353942;
  font-size: 16px;
  font-weight: 800;
}

.download-section {
  background: var(--coral);
  color: var(--white);
}

.download-section .eyebrow,
.download-section p {
  color: rgba(255, 255, 255, 0.82);
}

.download-panel {
  display: grid;
  gap: 12px;
}

.download-panel .primary-btn {
  background: var(--white);
  color: var(--coral-dark);
  box-shadow: none;
}

.download-panel .secondary-btn {
  background: rgba(32, 35, 41, 0.18);
}

.wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 80px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.page-main {
  min-height: 100vh;
  padding: 120px clamp(20px, 6vw, 120px) 72px;
  background: linear-gradient(135deg, #fff3ee, var(--paper) 42%, #ffffff);
}

.content-card {
  width: min(960px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: clamp(26px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.content-card h1 { margin: 0; font-size: clamp(36px, 6vw, 64px); }
.content-card h2 { margin: 34px 0 16px; }
.content-card p { color: var(--muted); line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.detail-grid div { border-radius: 16px; background: #fff5f1; padding: 16px; }
.detail-grid small, .detail-grid strong { display: block; }
.detail-grid small { color: var(--muted); margin-bottom: 8px; }
.detail-grid strong { font-size: 18px; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--coral-dark); font-weight: 800; }
.form-grid { display: grid; gap: 16px; max-width: 460px; margin-top: 26px; }
.form-grid.compact { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }
.form-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; color: var(--muted); }
.form-grid input { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; color: var(--ink); }
.form-grid .primary-btn { border: 0; cursor: pointer; }
.toolbar { display:flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.toolbar h2 { margin: 0; }
.secondary-dark { border: 0; border-radius: 10px; background: var(--charcoal); color: white; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); } th { background: #fafafa; } code { font-size: 12px; }
#notice { color: var(--green); font-weight: 800; }

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .coreldraw-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 16px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 92px;
    background: linear-gradient(150deg, #111316 0%, #202329 58%, #f1eee8 58.2%, #ffffff 100%);
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .app-preview aside {
    display: none;
  }

  .stats,
  .feature-strip,
  .detail-grid,
  .form-grid.compact {
    grid-template-columns: 1fr;
  }

  .quote {
    align-items: flex-start;
    flex-direction: column;
  }

  .plugin-badge {
    position: static;
    margin-top: 12px;
  }
}
