/* 南广互联官网 — Cirrus 视觉 + 经典落地排版 */
@import url("/cirrus-system.css");

.page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--color-sky);
}

.container {
  width: min(100% - 2 * var(--container-pad), var(--container-max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: var(--border-soft);
}
.nav-inner {
  width: min(100% - 2 * var(--container-pad), var(--container-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-cloud);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex: 0 0 auto;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-hairline);
  box-shadow: var(--shadow-tier-1);
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--text-strong);
  background: rgba(14, 17, 22, 0.04);
}
.nav-actions {
  display: inline-flex;
  gap: 8px;
  margin-left: 10px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-primary {
  background: var(--color-ink);
  color: #fff;
}
.btn-primary:hover {
  background: #1a1f28;
}
.btn-secondary {
  background: #fff;
  color: var(--text-strong);
  border: var(--border-hairline);
  box-shadow: var(--shadow-tier-1);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  height: 40px;
  padding: 0 14px;
  font-weight: 500;
}
.btn-block {
  width: 100%;
}

/* —— Hero: 左文右卡（旧版布局） —— */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--color-horizon) 0%, var(--color-sky) 70%);
}
.hero-sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.85;
}
.hero-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(237, 242, 247, 0.92) 0%,
    rgba(237, 242, 247, 0.55) 42%,
    rgba(237, 242, 247, 0.2) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-signal);
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-strong);
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lead {
  margin: 0 0 24px;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stats div {
  min-width: 118px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: var(--border-hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-tier-1);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}
.hero-stats span {
  font-size: 12px;
  color: var(--text-muted);
}

/* 右侧预览卡 */
.hero-card {
  display: flex;
  justify-content: center;
}
.product-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: 28px;
  box-shadow: var(--shadow-tier-2);
  overflow: hidden;
}
.product-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--surface-sunken);
  border-bottom: var(--border-soft);
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}
.product-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ccd6;
}
.product-bar i:nth-child(1) {
  background: #ff7a3d;
}
.product-bar i:nth-child(2) {
  background: #f5c542;
}
.product-bar i:nth-child(3) {
  background: #2bc48a;
}
.product-bar span {
  margin-left: 6px;
}
.fake-body {
  padding: 10px 12px 14px;
}
.fake-row {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.75fr 0.55fr;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.fake-row.head {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
}
.fake-row:nth-child(even) {
  background: var(--surface-sunken);
}
.fake-row .n {
  font-weight: 600;
  color: var(--text-strong);
}
.tag {
  color: var(--color-signal);
  font-weight: 600;
}
.tag.ok {
  color: var(--color-meadow);
}

/* —— Sections（旧版分区节奏） —— */
.section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.section.alt {
  background: #fff;
  border-block: var(--border-soft);
}
.section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.section h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.sec-sub {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 40em;
  line-height: 1.55;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: 24px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-tier-1);
}
.card.line {
  background: var(--surface-sunken);
  box-shadow: none;
}
.card .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-sunken);
  margin-bottom: 12px;
  font-size: 18px;
}
.card.line .ico {
  background: #fff;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 15px;
}

.section.cta {
  text-align: center;
  background: linear-gradient(180deg, #e8f1fb 0%, var(--color-sky) 100%);
  border-radius: 28px;
  margin: 8px auto 48px;
  padding: 48px 24px;
  border: var(--border-soft);
  box-shadow: var(--shadow-tier-1);
}
.section.cta p {
  margin: 0 auto 20px;
  max-width: 34em;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.footer {
  border-top: var(--border-soft);
  background: #fff;
  padding: 28px 0 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-strong);
}
.footer .muted {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 12px;
}

/* —— Login —— */
.login-page {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, var(--color-horizon), var(--color-sky) 55%);
}
.login-page .hero-sky {
  position: absolute;
  inset: 0;
  height: 50vh;
  opacity: 0.7;
  pointer-events: none;
}
.login-page .hero-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 40px 16px 72px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: var(--border-hairline);
  border-radius: 28px;
  box-shadow: var(--shadow-tier-2);
  padding: 28px 26px 30px;
}
.login-card h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.login-card .sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.login-card label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.login-card input {
  width: 100%;
  margin-top: 6px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: var(--border-hairline);
  background: var(--surface-sunken);
  font: inherit;
  color: var(--text-strong);
}
.login-card input:focus {
  outline: none;
  box-shadow: var(--focus-ring);
  background: #fff;
  border-color: var(--color-signal);
}
.login-card .btn {
  margin-top: 18px;
}
.err {
  color: #c2410c;
  font-size: 13px;
  margin: 10px 0 0;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero-inner,
  .grid3,
  .grid2 {
    grid-template-columns: 1fr;
  }
}
