﻿:root {
  --home-bg: #f3efe5;
  --home-surface: rgba(255, 255, 255, 0.9);
  --home-panel: #fffdf8;
  --home-line: rgba(22, 45, 63, 0.12);
  --home-ink: #1b2a34;
  --home-muted: #5c6b74;
  --home-accent: #0f766e;
  --home-accent-strong: #0a4d49;
  --home-warm: #c48a3a;
  --home-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
}
body.platform-home {
  margin: 0;
  color: var(--home-ink);
  background:
    radial-gradient(circle at top right, rgba(196, 138, 58, 0.18), transparent 26%),
    radial-gradient(circle at left 20%, rgba(15, 118, 110, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f2e8 0%, #f2ede2 45%, #f6f3ed 100%);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.platform-home .brand-font,
.platform-home .hero-title,
.platform-home .section-title,
.platform-home .flow-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}
.platform-home .topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(16px);
  background: rgba(18, 31, 40, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.platform-home .topbar .navbar-brand,
.platform-home .topbar .nav-link,
.platform-home .topbar .btn {
  color: #f9fafb;
}
.platform-home .topbar .nav-link {
  opacity: 0.84;
}
.platform-home .topbar .nav-link:hover {
  opacity: 1;
}
.platform-home .hero-shell {
  padding: 48px 0 24px;
}
.platform-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 24px;
}
.platform-home .hero-card,
.platform-home .info-card,
.platform-home .group-card,
.platform-home .panel-card,
.platform-home .quick-card {
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}
.platform-home .hero-card {
  padding: 34px 34px 28px;
  position: relative;
  overflow: hidden;
}
.platform-home .hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.20), transparent 70%);
}
.platform-home .hero-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--home-accent-strong);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}
.platform-home .hero-title {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.08;
  margin: 16px 0 12px;
}
.platform-home .hero-text {
  color: var(--home-muted);
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.platform-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.platform-home .hero-btn-main {
  background: linear-gradient(135deg, #0f766e, #164e63);
  color: #fff;
  border: 0;
}
.platform-home .hero-btn-main:hover {
  color: #fff;
  opacity: 0.95;
}
.platform-home .hero-btn-sub {
  border-color: rgba(22, 45, 63, 0.18);
  color: var(--home-ink);
  background: rgba(255,255,255,0.55);
}
.platform-home .hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}
.platform-home .hero-metric {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.10), rgba(255,255,255,0.72));
  border: 1px solid rgba(15, 118, 110, 0.12);
}
.platform-home .hero-metric .num {
  font-size: 1.9rem;
  font-weight: 700;
}
.platform-home .hero-metric .label {
  color: var(--home-muted);
  font-size: 0.9rem;
}
.platform-home .section-shell {
  padding: 18px 0;
}
.platform-home .section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.platform-home .section-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
}
.platform-home .section-desc {
  margin: 6px 0 0;
  color: var(--home-muted);
  max-width: 780px;
  line-height: 1.75;
}
.platform-home .flow-grid,
.platform-home .info-grid,
.platform-home .group-grid,
.platform-home .support-grid,
.platform-home .quick-grid {
  display: grid;
  gap: 16px;
}
.platform-home .flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.platform-home .info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.platform-home .group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.platform-home .support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.platform-home .flow-card,
.platform-home .info-card,
.platform-home .group-card,
.platform-home .support-card,
.platform-home .panel-card,
.platform-home .quick-card {
  padding: 22px;
}
.platform-home .flow-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(22, 45, 63, 0.10);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.platform-home .flow-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--home-accent-strong);
  font-weight: 700;
}
.platform-home .flow-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.platform-home .muted {
  color: var(--home-muted);
}
.platform-home .info-card h3,
.platform-home .panel-card h3,
.platform-home .quick-card h3,
.platform-home .group-card h3,
.platform-home .support-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.platform-home .stat-value {
  font-size: 2.1rem;
  font-weight: 700;
}
.platform-home .info-badge,
.platform-home .group-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(196, 138, 58, 0.12);
  color: #8a5e1f;
}
.platform-home .group-card .feature-list,
.platform-home .support-card .feature-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.platform-home .feature-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed rgba(22, 45, 63, 0.10);
}
.platform-home .feature-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.platform-home .feature-title {
  font-weight: 600;
}
.platform-home .feature-desc {
  color: var(--home-muted);
  font-size: 0.92rem;
}
.platform-home .panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}
.platform-home .mini-table table,
.platform-home .quick-table table {
  width: 100%;
  border-collapse: collapse;
}
.platform-home .mini-table th,
.platform-home .mini-table td,
.platform-home .quick-table th,
.platform-home .quick-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(22, 45, 63, 0.08);
  font-size: 0.92rem;
  vertical-align: top;
}
.platform-home .mini-table th,
.platform-home .quick-table th {
  color: var(--home-muted);
  font-weight: 600;
}
.platform-home .quick-grid {
  grid-template-columns: 1.05fr 0.95fr;
}
.platform-home .quick-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.platform-home .quick-visuals .full {
  grid-column: 1 / -1;
}
.platform-home .quick-visuals img {
  width: 100%;
  min-height: 180px;
  border-radius: 16px;
  border: 1px solid rgba(22, 45, 63, 0.08);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(15, 23, 42, 0.04));
  object-fit: cover;
}
.platform-home .quick-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.platform-home .quick-metric {
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
}
.platform-home .quick-metric strong {
  display: block;
  font-size: 1.2rem;
}
.platform-home .anchor-link {
  text-decoration: none;
}
.platform-home .footer-note {
  padding: 24px 0 42px;
  color: var(--home-muted);
}
@media (max-width: 1199px) {
  .platform-home .hero-grid,
  .platform-home .panel-grid,
  .platform-home .quick-grid,
  .platform-home .group-grid,
  .platform-home .support-grid,
  .platform-home .info-grid,
  .platform-home .flow-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .platform-home .hero-shell {
    padding-top: 24px;
  }
  .platform-home .hero-card,
  .platform-home .flow-card,
  .platform-home .info-card,
  .platform-home .group-card,
  .platform-home .support-card,
  .platform-home .panel-card,
  .platform-home .quick-card {
    padding: 18px;
    border-radius: 18px;
  }
  .platform-home .hero-metrics,
  .platform-home .quick-metrics,
  .platform-home .quick-visuals {
    grid-template-columns: 1fr;
  }
}
