:root {
  --green: #11b76a;
  --green-strong: #079455;
  --green-soft: #e9f8f0;
  --ink: #0f172a;
  --muted: #5f6b7a;
  --line: #e6ebf2;
  --panel: #ffffff;
  --soft: #f7fafc;
  --blue: #2563eb;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --deep-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(17, 183, 106, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 48%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 72px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(230, 235, 242, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #0b1220;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  white-space: nowrap;
}

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

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green-strong);
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(17, 183, 106, 0.2);
}

.btn:hover {
  background: var(--green-strong);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--soft);
}

.btn-ghost {
  background: transparent;
  color: var(--green-strong);
  border-color: transparent;
  box-shadow: none;
}

.btn-login {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: none;
}

.btn-login:hover {
  background: #1e293b;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100vw - 48px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 76px 0 64px;
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(17, 183, 106, 0.24);
  border-radius: 999px;
  background: rgba(233, 248, 240, 0.72);
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #0b1220;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 880;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 30px;
  color: #425066;
  font-size: 20px;
  line-height: 1.75;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.dashboard {
  min-height: 520px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  border: 1px solid #dfe7ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-hero {
  position: relative;
  box-shadow: var(--deep-shadow);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(17, 183, 106, 0.09), transparent 38%);
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  background: #f8fafc;
  border-right: 1px solid var(--line);
}

.dash-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e2e8f0;
}

.dash-sidebar span:first-child {
  background: var(--green);
}

.dash-sidebar span:nth-child(2) {
  background: #dbeafe;
}

.dash-sidebar span:nth-child(3) {
  background: #dcfce7;
}

.dash-main {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.dash-top strong {
  display: block;
  font-size: 20px;
}

.dash-top small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.dash-top em {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

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

.metric-row div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.metric-row strong {
  display: block;
  color: #0f172a;
  font-size: 28px;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.work-grid section {
  min-height: 238px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.work-grid h4 {
  margin: 0 0 16px;
  font-size: 16px;
}

.work-grid p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.work-grid p b {
  flex: 0 0 auto;
  color: var(--green-strong);
  font-size: 12px;
}

.ai-card {
  border-color: rgba(37, 99, 235, 0.18) !important;
  background: linear-gradient(180deg, #ffffff, #f5f9ff) !important;
}

.work-grid button {
  width: 100%;
  height: 42px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
}

.dash-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.dash-footer span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  text-align: center;
}

.section,
.split-section,
.cta,
.page-hero,
.pricing-grid,
.help-grid,
.comparison-section,
.download-hero,
.security-grid {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.section,
.split-section,
.cta {
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: #0b1220;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.16;
}

.section-head p + h2 {
  margin-top: 0;
}

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

.card,
.help-card,
.price-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.card {
  padding: 24px;
}

.feature-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 183, 106, 0.28);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.feature-card > span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.card p,
.split-section p,
.page-hero p,
.compact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-section-alt {
  grid-template-columns: 1fr 430px;
}

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

.panel-list span {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.chart-card {
  height: 300px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 18px;
  padding: 28px;
  border: 1px solid #cfe8dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3fbf7, #ffffff);
}

.chart-card span {
  width: 48px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.cta {
  margin-bottom: 64px;
  padding: 62px;
  border: 1px solid #cfe8dc;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2fbf6, #ffffff);
  text-align: center;
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.page-hero {
  padding: 86px 0 42px;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(38px, 4.4vw, 64px);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 22px 0 0;
}

.pricing-hero,
.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: center;
}

.pricing-note,
.download-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(17, 183, 106, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f2fbf6);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.pricing-note strong,
.download-card strong {
  display: block;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.3;
}

.pricing-note span,
.download-card p {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.download-hero {
  padding: 86px 0 42px;
}

.download-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.08;
}

.download-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.download-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0 64px;
}

.price-card {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(17, 183, 106, 0.48);
  box-shadow: 0 28px 78px rgba(17, 183, 106, 0.18);
  transform: translateY(-10px);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 850;
}

.price-card h2 {
  font-size: 26px;
}

.price-card p {
  min-height: 56px;
  color: var(--muted);
  line-height: 1.65;
}

.price-card strong {
  display: block;
  margin: 20px 0;
  font-size: 28px;
}

.price-card ul {
  flex: 1 1 auto;
  min-height: 188px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  margin: 12px 0;
  padding-left: 24px;
  color: #334155;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.comparison-section {
  padding: 0 0 68px;
}

.comparison-section h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.4vw, 36px);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.comparison-table span {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: #475569;
  font-size: 14px;
}

.comparison-table div:first-child span {
  border-top: 0;
}

.comparison-head span {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 850;
}

.compact {
  padding-top: 0;
}

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

.help-card {
  padding: 24px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.help-card:hover {
  border-color: rgba(17, 183, 106, 0.28);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.help-card h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.help-card a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #475569;
}

.help-card a:hover {
  color: var(--green-strong);
}

.security-hero {
  padding-bottom: 30px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 10px 0 64px;
}

.security-grid article {
  padding: 24px;
  border: 1px solid rgba(17, 183, 106, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fcf9);
}

.security-grid h2 {
  font-size: 20px;
}

.security-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  padding: 42px 44px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  color: #475569;
}

.site-footer strong {
  color: #0f172a;
  font-size: 18px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    padding: 18px 24px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard {
    min-height: 460px;
  }

  .card-grid,
  .pricing-grid,
  .help-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-hero,
  .download-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 0;
    padding: 0 10px;
  }

  .hero,
  .section,
  .split-section,
  .cta,
  .page-hero,
  .pricing-grid,
  .help-grid {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    padding-top: 48px;
    gap: 38px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .dashboard {
    min-height: auto;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .dash-main {
    padding: 18px;
  }

  .metric-row,
  .work-grid,
  .dash-footer,
  .card-grid,
  .pricing-grid,
  .help-grid,
  .security-grid,
  .split-section,
  .split-section-alt,
  .site-footer,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero,
  .download-hero,
  .comparison-section,
  .security-grid {
    width: min(100% - 32px, 1180px);
  }

  .pricing-hero,
  .download-hero {
    padding-top: 52px;
  }

  .price-card-featured {
    transform: none;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table > div {
    min-width: 640px;
  }

  .price-card ul {
    min-height: auto;
  }

  .cta {
    padding: 40px 22px;
  }
}
