:root {
  color-scheme: light;
  --bg: #f6f7f5;
  --bg-soft: #ecefed;
  --ink: #1f2522;
  --muted: #6b746f;
  --card: #ffffff;
  --line: #dfe4e0;
  --green: #6f8f7d;
  --green-strong: #425f52;
  --teal: #497f85;
  --gold: #d69d46;
  --rose: #a84f61;
  --coral: #c9654b;
  --shadow: 0 18px 54px rgba(39, 48, 43, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(246, 247, 245, 0.92);
  border-bottom: 1px solid rgba(223, 228, 224, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-strong), var(--coral));
  color: #fff;
}

.logo-text span {
  color: var(--green);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--green-strong);
}

.nav-login,
.btn-primary,
.btn-secondary,
.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
}

.nav-login,
.btn-primary {
  background: var(--green);
  color: #fff;
}

.nav-login:hover,
.btn-primary:hover {
  background: var(--green-strong);
}

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

.btn-secondary:hover {
  border-color: var(--green);
}

.btn-quiet {
  background: #fff;
  border-color: var(--line);
  color: var(--green-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 0 70px;
  overflow: hidden;
  background: #f4f5f2;
  color: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 58% at 82% 10%, rgba(201, 101, 75, 0.18), transparent 58%),
    radial-gradient(ellipse 70% 76% at 8% 84%, rgba(111, 143, 125, 0.24), transparent 54%),
    linear-gradient(180deg, #faf9f5 0%, #eef2ef 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 37, 34, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 37, 34, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 82%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(111, 143, 125, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(201, 101, 75, 0.14);
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green-strong);
}

.hero-desc {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--coral);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-dashboard {
  border: 1px solid rgba(223, 228, 224, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(40, 50, 44, 0.12);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.dashboard-top,
.dashboard-kpis,
.dashboard-chart {
  border-radius: var(--radius);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-top small {
  color: var(--coral);
  font-weight: 900;
}

.dashboard-kpis {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.dashboard-kpis div {
  padding: 16px;
  background: #f5f7f5;
}

.dashboard-kpis span,
.dashboard-kpis strong {
  display: block;
}

.dashboard-kpis span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-kpis strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 20px;
}

.dashboard-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 150px;
  padding: 18px;
  background: #eef2ef;
}

.dashboard-chart i {
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #d9a663, #6f8f7d);
}

.section-header {
  margin-bottom: 38px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--teal);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3,
p {
  margin-top: 0;
}

.section-header p:not(.section-label) {
  max-width: 650px;
  color: var(--muted);
}

.services,
.tools-section,
.contact {
  padding: 92px 0;
}

.services {
  background: var(--bg);
}

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

.service-card,
.advantage-card,
.tool-card,
.access-panel,
.contact-form,
.roadmap-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 0 rgba(20, 32, 26, 0.03);
}

.service-card {
  min-height: 300px;
  padding: 30px;
  transition: 0.24s ease;
}

.service-card:hover,
.tool-card:hover,
.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 101, 75, 0.28);
  box-shadow: var(--shadow);
}

.service-icon,
.tool-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: #eef1ed;
  color: var(--green-strong);
  font-weight: 900;
}

.service-card p,
.tool-card p,
.advantage-card p,
.roadmap-grid p {
  color: var(--muted);
}

.service-card span {
  display: inline-flex;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 101, 75, 0.18);
  border-radius: 999px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.advantage,
.roadmap {
  padding: 92px 0;
  background: var(--bg-soft);
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage-card {
  padding: 26px;
}

.advantage-card strong,
.roadmap-grid span {
  color: var(--coral);
  font-size: 28px;
  line-height: 1;
}

.tools-section {
  background: #fff;
}

.tools-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
}

.access-panel {
  padding: 20px;
}

.access-panel span,
.access-panel strong {
  display: block;
}

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

.access-panel strong {
  margin: 6px 0 16px;
  font-size: 24px;
}

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

.tool-card {
  display: grid;
  align-content: space-between;
  min-height: 340px;
  padding: 26px;
  transition: 0.24s ease;
}

.tool-card.available {
  border-color: rgba(111, 143, 125, 0.48);
  background: linear-gradient(180deg, #fff, #f4f6f2);
}

.tool-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf3ef;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.tool-badge.member {
  background: #eef1ed;
  color: var(--green-strong);
}

.tool-badge.locked {
  background: #fff2e3;
  color: var(--gold);
}

.tool-badge.soon {
  background: #f9eaf0;
  color: var(--rose);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tool-tags span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-actions .btn-primary,
.tool-actions .btn-secondary {
  min-height: 40px;
  padding: 8px 14px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.roadmap-grid article {
  min-height: 210px;
  padding: 24px;
  border: 0;
}

.cta-banner {
  padding: 80px 0;
  background: #f1ede7;
  color: var(--ink);
}

.cta-inner {
  padding: 56px;
  border: 1px solid rgba(201, 101, 75, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(222, 160, 96, 0.18));
  text-align: center;
}

.cta-inner p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
}

.contact-info a:hover {
  color: var(--coral);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label,
.card-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.card-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.card-field input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(111, 143, 125, 0.18);
}

.site-footer {
  padding: 42px 0;
  background: #252b28;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner p {
  margin: 10px 0 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 37, 34, 0.58);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(100%, 480px);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.modal h2 {
  font-size: 30px;
}

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

.form-message {
  min-height: 24px;
  color: var(--rose);
  font-weight: 800;
}

.form-message.success {
  color: var(--green-strong);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 74px 0 auto;
    z-index: 39;
    display: none;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 247, 0.97);
  }

  .mobile-nav.open {
    display: grid;
    gap: 12px;
  }

  .hero-layout,
  .services-grid,
  .advantage-layout,
  .tools-head,
  .tools-grid,
  .roadmap-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .access-panel .btn-secondary,
  .modal-actions .btn-primary,
  .modal-actions .btn-secondary {
    width: 100%;
  }

  .services,
  .tools-section,
  .contact,
  .advantage,
  .roadmap {
    padding: 68px 0;
  }

  .cta-inner {
    padding: 34px 22px;
  }

  .footer-inner {
    display: grid;
  }
}
