/* 伊灵科技公司站 — 浅色高端风（留白 · 克制 · 可信） */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-tile: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --radius: 18px;
  --font: "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.container.narrow { width: min(720px, 90vw); }
.center { text-align: center; }

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 20px;
}

.brand-word {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.nav-cta {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
}

.nav-cta:hover { text-decoration: underline; }

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 88px;
  text-align: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(0, 113, 227, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(180, 190, 210, 0.18), transparent 50%),
    linear-gradient(180deg, #fafafc 0%, #ffffff 70%);
  animation: atmosphere-shift 14s var(--ease) infinite alternate;
}

@keyframes atmosphere-shift {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.04); opacity: 0.92; }
}

.hero-inner {
  position: relative;
  animation: rise 0.9s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover { transform: scale(1.02); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover { background: var(--blue-hover); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
}

.btn-ghost:hover { background: rgba(0, 113, 227, 0.06); }

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* —— 速览条 —— */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px 0;
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strip-row span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.strip-row strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* —— 通用区块 —— */
.section { padding: 88px 0; }

.section--soft { background: var(--bg-soft); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.section h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-sub {
  margin: 12px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.prose {
  margin-top: 36px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.value-row h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.value-row p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* —— 业务 —— */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.biz-tile {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  min-height: 100%;
  animation: rise 0.8s var(--ease) both;
}

.biz-tile:nth-child(2) { animation-delay: 0.08s; }
.biz-tile:nth-child(3) { animation-delay: 0.16s; }

.biz-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}

.biz-tile h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.biz-tile > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.biz-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.9rem;
}

.biz-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

/* —— 产品 —— */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.product-tile {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.product-tile h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.product-tile p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
}

.text-link:hover { text-decoration: underline; }

.product-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #eef3f9 0%, #f7f8fa 45%, #e8eef6 100%);
}

.product-band h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.product-band p {
  margin: 0;
  color: var(--muted);
}

.legal-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}

/* —— 会员说明页（只展示，不开通） —— */
.hero--compact { padding: 72px 0 48px; }

.page-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.tier-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tier-card--featured {
  box-shadow: inset 0 0 0 1.5px rgba(0, 113, 227, 0.35);
}

.tier-card-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tier-card-head h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.tier-price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tier-price .tier-list {
  margin-right: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
}

.tier-price strong { font-size: 1.35rem; }

.tier-period {
  margin-left: 2px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.tier-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tier-benefits li {
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.tier-benefits li:first-child { border-top: none; }

.tier-footnote {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.try-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.try-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.try-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.try-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.try-hint {
  margin-top: 14px !important;
  font-size: 0.82rem !important;
  color: var(--blue) !important;
}

.try-band { margin-top: 28px; }

.qr-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 560px;
  margin: 36px auto 0;
}

.qr-card {
  margin: 0;
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
}

.qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 12px;
}

.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.qr-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

.qr-footnote {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.section-head--left { text-align: left; }
.section-head--left .section-sub { max-width: 36rem; }

/* —— 页脚 —— */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.footer-top strong {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a:hover { color: var(--text); }

/* —— 会员页沿用 —— */
.is-hidden { display: none !important; }

.membership-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.membership-badge {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
}

.membership-stats {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-panel {
  max-width: 420px;
  margin: 24px auto 32px;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-align: center;
}

.membership-login-toggle {
  margin: 28px 0 8px;
  text-align: center;
}

.membership-login-toggle-tip {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 12px;
  line-height: 1.6;
}

.membership-login-cancel { margin-top: 12px; }

.login-panel-tip {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0;
}

.login-panel input {
  width: 100%;
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

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

.plan-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.plan-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

.plan-benefits {
  margin: 0 0 14px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-periods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.plan-period-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.plan-period-label { font-weight: 600; min-width: 2.5em; }
.plan-select-btn { margin-left: auto; white-space: nowrap; }

.membership-env-hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.membership-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px;
}

.membership-modal-panel {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
}

.membership-modal-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.membership-suncode-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.membership-suncode-loading { margin: 16px auto; }

.plan-period-price {
  color: var(--muted);
  flex: 1;
}

.plan-buy-btn {
  margin-left: auto;
  white-space: nowrap;
}

.plan-buy-btn--pending {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px dashed var(--line);
}

.membership-purchase-note {
  margin-top: 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.membership-purchase-note h3 { margin: 0 0 12px; }

.membership-flow-steps {
  margin: 0 0 14px;
  padding-left: 1.3em;
  color: var(--muted);
  line-height: 1.7;
}

.membership-purchase-tip,
.membership-purchase-warn {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.membership-purchase-warn { color: var(--text); }

.membership-order-link {
  margin-left: 8px;
  color: var(--blue);
}

.membership-operator-notice {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.pay-modal-card {
  position: relative;
  width: min(400px, 100%);
  background: var(--bg);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
}

.pay-channel-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.pay-channel-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.pay-channel-btn.active {
  border-color: var(--blue);
  background: rgba(0, 113, 227, 0.06);
  color: var(--blue);
}

.pay-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

.pay-qr-img {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  background: #fff;
}

.loading-line {
  color: var(--muted);
  padding: 40px 0;
}

.pay-modal-meta,
.pay-amount {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pay-amount {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.pay-simulate-row { margin: 14px 0; }

.demo-badge {
  text-align: center;
  font-size: 0.82rem;
  color: #b45309;
  margin-bottom: 8px;
}

.pay-status {
  text-align: center;
  margin: 10px 0;
  color: var(--blue);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .strip-row,
  .biz-grid,
  .product-grid,
  .value-row,
  .plans-grid,
  .try-grid {
    grid-template-columns: 1fr;
  }

  .tier-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qr-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .site-nav { display: none; }

  .hero { padding: 72px 0 56px; }

  .product-band {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-band .hero-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}
