:root {
  --ink: #17201c;
  --muted: #60706a;
  --line: #d8e1dc;
  --surface: #ffffff;
  --soft: #f4f7f5;
  --green: #116149;
  --green-2: #0b3f35;
  --coral: #c84c3a;
  --gold: #a87325;
  --shadow: 0 18px 46px rgba(22, 37, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8faf8;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 225, 220, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav,
.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav {
  justify-content: center;
}

.account-nav {
  justify-content: flex-end;
}

.main-nav a,
.account-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #3b4a45;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a:hover,
.account-nav a:hover,
.main-nav .active {
  background: #edf4f0;
  color: var(--green-2);
}

.vip-link {
  color: var(--green-2) !important;
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  position: relative;
  min-height: clamp(500px, 66vh, 650px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 110px) clamp(20px, 6vw, 88px);
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(9, 22, 18, 0.82), rgba(9, 22, 18, 0.58) 42%, rgba(9, 22, 18, 0.18)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(248, 250, 248, 0.92), rgba(248, 250, 248, 0));
  z-index: -1;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb29f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  line-height: 1.78;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-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: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.hero .button.primary {
  background: #e9fff5;
  color: var(--green-2);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.section,
.section-tight,
.detail-grid,
.account-page,
.narrow,
.article {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 58px 0 28px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-title p {
  color: var(--muted);
}

.row-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.text-link {
  color: var(--green);
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metrics div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 37, 32, 0.06);
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.news-card,
.account-panel,
.order-panel,
.payment-note,
.summary-box,
.service-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 37, 32, 0.06);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card-body,
.news-card,
.account-panel,
.order-panel,
.payment-note,
.service-item {
  padding: 22px;
}

.product-card p,
.news-card p,
.order-panel p,
.service-item p {
  color: var(--muted);
}

.card-kicker {
  margin: 0 0 10px;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 800;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.card-meta span,
.tag-list span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #dbe6df;
  border-radius: 8px;
  background: #f7faf8;
  color: #43554d;
  font-size: 13px;
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px clamp(20px, 6vw, 88px);
  background: #123b32;
  color: #fff;
}

.band p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
}

.band .eyebrow {
  color: #ffb29f;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card time,
.article time {
  color: var(--gold);
  font-weight: 750;
  font-size: 13px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.category-tabs a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #3d4b46;
  font-size: 14px;
}

.category-tabs .active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.payment-note {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
}

.detail-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 32px;
  align-items: center;
  padding: 36px 0 26px;
}

.detail-hero p {
  color: var(--muted);
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.price-row strong {
  color: var(--green);
  font-size: 30px;
}

.price-row span {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding: 34px 0 82px;
}

.detail-main {
  min-width: 0;
}

.detail-main h2 {
  margin-top: 34px;
  font-size: 26px;
}

.detail-main h2:first-child {
  margin-top: 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.steps {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.steps div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps strong {
  color: var(--coral);
}

.order-panel {
  position: sticky;
  top: 92px;
}

label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  color: #3d4b46;
  font-weight: 700;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(17, 97, 73, 0.12);
}

.manual-pay {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.manual-pay strong {
  color: var(--ink);
}

.auth-shell,
.account-page,
.narrow,
.article {
  padding: 64px 0 88px;
}

.auth-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 38px;
  align-items: start;
}

.auth-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-error {
  padding: 12px;
  border: 1px solid rgba(200, 76, 58, 0.38);
  border-radius: 8px;
  background: #fff3f0;
  color: #9d2f1f;
}

.form-switch {
  text-align: center;
  color: var(--muted);
}

.form-switch a {
  color: var(--green);
  font-weight: 750;
}

.account-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.account-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}

.summary-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  margin: 18px 0;
}

.summary-box div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
}

.summary-box span {
  color: var(--muted);
  font-size: 13px;
}

.summary-box strong {
  overflow-wrap: anywhere;
}

.summary-box.compact {
  grid-template-columns: 1fr;
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-list a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.order-list small {
  color: var(--muted);
}

.toggle-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.toggle-line input {
  width: 18px;
  height: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 17px;
}

.service-flow {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

.service-flow div,
.workflow-list div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-flow span,
.workflow-list span,
.notice-text {
  color: var(--muted);
}

.order-summary {
  margin: 14px 0 18px;
}

.order-content {
  margin-bottom: 18px;
}

.experience-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 66px 0 34px;
}

.experience-hero h1 {
  max-width: 840px;
}

.experience-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.experience-hero .hero-actions .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workspace-menu {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  background: #102b26;
  color: rgba(255, 255, 255, 0.78);
}

.workspace-menu strong {
  margin-bottom: 10px;
  color: #fff;
}

.workspace-menu span {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.workspace-main {
  min-width: 0;
  padding: 22px;
}

.workspace-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.article {
  max-width: 820px;
}

.article h1,
.narrow h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.article .lead {
  color: var(--green-2);
  font-size: 19px;
}

.article p,
.narrow p {
  color: var(--muted);
}

.site-footer {
  padding: 46px clamp(20px, 6vw, 72px) 26px;
  background: #101a17;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
}

.footer-legal {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .main-nav,
  .account-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 540px;
    align-items: flex-end;
    background-image:
      linear-gradient(0deg, rgba(9, 22, 18, 0.86), rgba(9, 22, 18, 0.46)),
      var(--hero-image);
  }

  .metrics,
  .product-grid,
  .news-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-hero,
  .detail-grid,
  .auth-shell,
  .account-grid,
  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-menu {
    grid-template-columns: repeat(5, minmax(88px, 1fr));
    overflow-x: auto;
  }

  .order-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .main-nav a,
  .account-nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero {
    min-height: 510px;
    padding: 46px 20px;
  }

  .hero-actions,
  .band,
  .row-title,
  .account-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .band .button {
    width: 100%;
  }

  .metrics,
  .product-grid,
  .news-grid,
  .service-grid,
  .footer-grid,
  .check-list,
  .summary-box {
    grid-template-columns: 1fr;
  }

  .section,
  .section-tight,
  .auth-shell,
  .account-page,
  .narrow,
  .article,
  .experience-hero {
    width: min(100% - 28px, 1180px);
  }

  .payment-note,
  .detail-hero,
  .detail-grid {
    width: min(100% - 28px, 1180px);
  }

  .detail-hero {
    margin-top: 22px;
    padding-top: 20px;
  }

  .steps div {
    grid-template-columns: 1fr;
  }

  .compact-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workspace-main {
    padding: 16px;
  }

  .workspace-top {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }
}
