:root {
  --sun: #ffc928;
  --sun-deep: #f49b12;
  --cream: #fff8df;
  --paper: #fffdf6;
  --ink: #2a170d;
  --muted: #7b6542;
  --line: rgba(89, 54, 16, 0.14);
  --brown: #5b3217;
  --green: #4f8d63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(255, 253, 246, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(71, 38, 4, 0.08);
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(245, 165, 25, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  color: var(--brown);
  background: #fff0b8;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7d4;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brown);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 6vw;
  padding: 46px 6vw 70px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 210, 63, 0.28), transparent 30%),
    linear-gradient(135deg, #fffdf6 0%, #fff4c9 54%, #fffaf0 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #594125;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  color: #27170b;
  background: linear-gradient(135deg, #ffe375, var(--sun));
  box-shadow: 0 14px 30px rgba(224, 145, 7, 0.22);
}

.primary-button.dark {
  background: var(--ink);
  color: #fff7db;
  box-shadow: none;
}

.secondary-button {
  color: var(--brown);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 42px;
}

.metrics div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 26px;
  line-height: 1.2;
}

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

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(86%, 520px);
  border-radius: 50%;
  filter: drop-shadow(0 28px 42px rgba(190, 119, 10, 0.22));
}

.orbital {
  position: absolute;
  width: min(88%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(#fff9d8, #fff9d8) padding-box,
    linear-gradient(150deg, #fff1a8, #ffc01d, #fffaf0) border-box;
  border: 18px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 201, 40, 0.18);
}

.floating-panel {
  position: absolute;
  z-index: 3;
  min-width: 142px;
  padding: 13px 16px;
  border: 1px solid rgba(96, 54, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(91, 50, 23, 0.12);
  backdrop-filter: blur(14px);
}

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

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

.floating-panel strong {
  font-size: 22px;
}

.panel-sales {
  left: 2%;
  bottom: 18%;
}

.panel-auth {
  right: 0;
  top: 22%;
}

.section {
  padding: 86px 6vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-band {
  background: #fff;
}

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

.intro-grid article,
.process article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--brown);
  background: #fff0b8;
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin: 16px 0 8px;
  font-size: 21px;
  line-height: 1.3;
}

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

.capability-section {
  background: var(--cream);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1fr);
  gap: 34px;
  align-items: stretch;
}

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

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.feature.active {
  border-color: rgba(244, 155, 18, 0.36);
  background: #fff;
  box-shadow: 0 18px 40px rgba(145, 91, 9, 0.1);
}

.feature span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--sun);
  font-weight: 900;
}

.feature h3,
.feature p {
  margin-top: 0;
}

.feature p {
  margin-bottom: 0;
}

.dashboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 24px 70px rgba(89, 54, 16, 0.12);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff8df;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun-deep);
}

.dashboard-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.dash-card,
.chart-card {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dash-card.wide {
  grid-column: 1 / -1;
}

.dash-card small,
.dash-card strong {
  display: block;
}

.dash-card small {
  color: var(--muted);
}

.dash-card strong {
  margin-top: 8px;
  font-size: 28px;
}

.dash-card p {
  margin: 8px 0 0;
}

.chart-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 180px;
}

.chart-card span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ffe066, #f49b12);
}

.process-section {
  background: #fff;
}

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

.process strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--brown);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 6vw 70px;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd95b, #fff2b6 68%, #fffdf7);
}

.cta-section p {
  margin-bottom: 0;
  color: #5d421f;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 6vw 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .nav.open {
    position: absolute;
    inset: 68px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf6;
    box-shadow: 0 18px 48px rgba(89, 54, 16, 0.14);
  }

  .nav.open a {
    padding: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .metrics,
  .intro-grid,
  .capability-layout,
  .process {
    grid-template-columns: 1fr;
  }

  .cta-section,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-visual {
    min-height: 340px;
  }

  .floating-panel {
    min-width: 118px;
    padding: 10px 12px;
  }

  .panel-sales {
    left: 0;
    bottom: 10%;
  }

  .panel-auth {
    right: 0;
    top: 12%;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .chart-card {
    grid-column: auto;
  }

  .cta-section {
    margin-left: 20px;
    margin-right: 20px;
    padding: 28px 22px;
  }
}
