/* =========================================================
   岚风经营管家官网
   纯 HTML + CSS + JS，无第三方 CDN 依赖
   ========================================================= */

:root {
  --bg: #f7faff;
  --bg-soft: #f3f7fd;
  --card: #ffffff;
  --text: #152238;
  --text-2: #5f6f87;
  --text-3: #8a99af;
  --line: #dfe8f5;
  --line-2: #eaf0f8;
  --blue: #2368f2;
  --blue-2: #4a82f6;
  --blue-dark: #1251d6;
  --orange: #f7931a;
  --navy: #0f2a56;
  --green: #28b883;
  --shadow-sm: 0 8px 28px rgba(23, 54, 105, 0.06);
  --shadow-md: 0 20px 60px rgba(23, 54, 105, 0.12);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(35, 104, 242, 0.08), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(76, 141, 255, 0.07), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 40%, #ffffff 100%);
}

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

.section {
  padding: 96px 0;
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading p,
.about-copy > p,
.contact-copy > p {
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 17px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.site-header.scrolled {
  border-color: rgba(221, 231, 244, 0.9);
  box-shadow: 0 8px 24px rgba(26, 53, 94, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 38px;
  height: 38px;
}

.brand-text {
  color: #10213a;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: #596a83;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: 0.25s ease;
}

.nav-link.active::after {
  left: 0;
  right: 0;
}

.header-cta {
  padding: 10px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(35, 104, 242, 0.18);
}

.header-cta:hover {
  background: var(--blue-dark);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #1d2b42;
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4c84ff);
  box-shadow: 0 12px 24px rgba(35, 104, 242, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(35, 104, 242, 0.3);
}

.btn-ghost {
  border: 1px solid #d8e4f5;
  background: rgba(255, 255, 255, 0.8);
  color: #33445d;
}

.btn-ghost:hover {
  border-color: #b9cdec;
  background: #fff;
}

.btn-white {
  color: var(--blue);
  background: #fff;
  border: 1px solid #fff;
}

.btn-white[aria-disabled="true"] {
  cursor: pointer;
}

.btn-outline-white {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--blue);
  border: 1px solid #d8e7ff;
  border-radius: 999px;
  background: #f6f9ff;
  font-size: 13px;
  font-weight: 750;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(35, 104, 242, 0.1);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: #10203a;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #2368f2 0%, #487fff 55%, #7d6df1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-desc {
  max-width: 620px;
  margin: 24px 0 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.platform-strip {
  margin-top: 36px;
}

.platform-label {
  display: block;
  margin-bottom: 12px;
  color: #8a99af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-tags span {
  padding: 6px 10px;
  color: #64748b;
  border: 1px solid #e0e8f3;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 14% 0 8% 10%;
  background: radial-gradient(circle, rgba(52, 112, 243, 0.2), transparent 65%);
  filter: blur(12px);
}

.mini-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 18px;
  border: 1px solid rgba(207, 220, 239, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(24, 58, 114, 0.16);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  backdrop-filter: blur(16px);
}

.mini-window-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 3px 15px;
  border-bottom: 1px solid #edf2f8;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #283952;
  font-size: 13px;
  font-weight: 800;
}

.mini-logo {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #6b89ff);
  font-size: 13px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #d5dfed;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini-metric {
  min-height: 116px;
  padding: 15px;
  border: 1px solid #e2eaf5;
  border-radius: 14px;
  background: #fff;
}

.mini-metric span {
  display: block;
  color: #8a99af;
  font-size: 11px;
}

.mini-metric strong {
  display: block;
  margin-top: 8px;
  color: #26354a;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.2;
}

.mini-metric small {
  display: block;
  margin-top: 9px;
  color: #9ba8ba;
  font-size: 10px;
}

.mini-metric:first-child strong {
  color: var(--blue);
}

.mini-metric.highlight strong {
  color: var(--orange);
}

.chart-card {
  position: relative;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #e2eaf5;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.chart-title-row,
.chart-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title-row span {
  color: #283952;
  font-size: 13px;
  font-weight: 800;
}

.chart-title-row small {
  color: #9aa8bb;
  font-size: 10px;
}

.chart-lines {
  height: 155px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 12px;
  padding: 8px 0 0;
  background:
    linear-gradient(#eef3fa 1px, transparent 1px) 0 0 / 100% 33.333%;
}

.chart-lines span {
  flex: 1;
  height: var(--h);
  min-height: 20px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4b82f6, #d5e3ff);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.7);
}

.chart-legend {
  margin-top: 12px;
  color: #8391a6;
  font-size: 11px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 2px;
  background: var(--blue);
}

.chart-legend strong {
  color: var(--green);
  font-size: 12px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 186px;
  padding: 13px 14px;
  border: 1px solid rgba(217, 227, 241, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(25, 56, 105, 0.13);
  backdrop-filter: blur(12px);
}

.floating-card-a {
  right: -28px;
  top: 85px;
}

.floating-card-b {
  left: -34px;
  bottom: 82px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, #276df1, #72a1ff);
  font-size: 13px;
  font-weight: 800;
}

.floating-icon.orange {
  background: linear-gradient(135deg, #f7931a, #ffbb5a);
}

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

.floating-card strong {
  color: #293a51;
  font-size: 13px;
}

.floating-card small {
  margin-top: 3px;
  color: #93a0b2;
  font-size: 10px;
}

/* Features */
.product-section {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-top: 1px solid #f0f4fa;
}

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

.feature-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid #e2eaf5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #c7d9f5;
  box-shadow: 0 20px 50px rgba(34, 72, 130, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #edf4ff;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
}

.feature-card h3 {
  margin: 0;
  color: #23344d;
  font-size: 19px;
}

.feature-card p {
  margin: 12px 0 0;
  color: #728198;
  font-size: 14px;
  line-height: 1.85;
}

/* Preview */
.preview-section {
  background: #fff;
}

.dashboard-shell {
  overflow: hidden;
  border: 1px solid #dfe8f4;
  border-radius: 24px;
  background: #f9fbfe;
  box-shadow: 0 30px 80px rgba(25, 55, 103, 0.12);
}

.dashboard-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid #e6edf6;
  background: #fff;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #668fff);
  font-size: 14px;
  font-weight: 800;
}

.dashboard-title strong {
  color: #26364c;
  font-size: 16px;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7d8ca2;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35c98c;
  box-shadow: 0 0 0 5px rgba(53, 201, 140, 0.1);
}

.dashboard-content {
  padding: 34px;
}

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

.metric-card {
  min-height: 128px;
  padding: 22px 26px;
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  background: #fff;
}

.metric-label {
  display: block;
  color: #8a9ab1;
  font-size: 13px;
}

.metric-value {
  display: block;
  margin-top: 8px;
  color: #1f2c41;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
}

.metric-value.blue {
  color: #2b6ef1;
}

.metric-value.orange {
  color: #f29413;
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: #8798b0;
  font-size: 11px;
}

.stats-table-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  background: #fff;
}

.stats-table-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #e2eaf4;
}

.stats-table-head strong {
  color: #28384e;
  font-size: 15px;
}

.stats-table-head span {
  color: #8293ab;
  font-size: 12px;
}

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

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th,
td {
  height: 54px;
  padding: 0 24px;
  border-bottom: 1px solid #e8eef6;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

th {
  color: #8494aa;
  background: #fbfdff;
  font-weight: 500;
}

td {
  color: #344258;
}

tbody td:first-child,
tfoot td:first-child {
  font-weight: 700;
}

tbody td:nth-child(2),
tfoot td:nth-child(2) {
  font-weight: 650;
}

td:nth-child(2),
th:nth-child(2) {
  text-align: center;
}

td:nth-child(3),
th:nth-child(3) {
  text-align: right;
}

tbody tr:hover {
  background: #fbfdff;
}

tfoot td {
  border-bottom: 0;
  background: #f7f9fd;
  color: #253449;
  font-weight: 750;
}

.preview-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #7d8ca2;
  font-size: 12px;
}

.preview-note span {
  flex: 0 0 auto;
  padding: 2px 7px;
  color: #5e78a2;
  border-radius: 6px;
  background: #eef4fd;
  font-weight: 700;
}

/* Workflow */
.workflow-section {
  background: #f8fbff;
}

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

.workflow-item {
  position: relative;
  padding: 28px 24px;
}

.step-num {
  display: inline-block;
  color: #b7c9e7;
  font-size: 40px;
  font-weight: 850;
  line-height: 1;
}

.step-line {
  width: 48px;
  height: 3px;
  margin: 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #a9c5ff);
}

.workflow-item h3 {
  margin: 0;
  color: #24364f;
  font-size: 20px;
}

.workflow-item p {
  margin: 10px 0 0;
  color: #77869b;
  font-size: 14px;
}

/* Pricing */
.pricing-section {
  background: #fbfcff;
}

.pricing-section .section-heading {
  max-width: none;
  margin-bottom: 26px;
  text-align: left;
}

.pricing-section .section-heading h2 {
  font-size: clamp(28px, 3.2vw, 38px);
}

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

.pricing-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background: #fff;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: #c7d9f5;
  box-shadow: 0 16px 38px rgba(34, 72, 130, 0.08);
}

.pricing-card.featured {
  border: 2px solid #2f73ed;
  background: #f7faff;
  box-shadow: none;
}

.pricing-head {
  min-height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pricing-head h3 {
  margin: 0;
  color: #1d2d45;
  font-size: 26px;
  line-height: 1.25;
}

.pricing-head p {
  margin: 12px 0 0;
  color: #74839a;
  font-size: 14px;
  font-weight: 650;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 12px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 58px;
  margin-top: 22px;
  color: #1b283d;
}

.pricing-price strong {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.1;
  letter-spacing: 0;
}

.pricing-price span {
  color: #79889d;
  font-size: 14px;
  font-weight: 800;
}

.pricing-price.primary strong {
  color: var(--blue);
}

.contact-price strong {
  font-size: clamp(22px, 2vw, 26px);
}

.pricing-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  color: #718198;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.pricing-list li {
  position: relative;
  padding-left: 22px;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.pricing-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid #c9d6ea;
  border-radius: 6px;
  color: #33445d;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.pricing-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.pricing-btn.primary {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(35, 104, 242, 0.22);
}

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

/* About */
.about-section {
  background: #fff;
}

.about-copy h2 {
  font-size: clamp(30px, 3vw, 40px);
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.about-copy > p {
  line-height: 2;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.about-points > div {
  display: flex;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fbfdff;
}

.check {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  color: var(--blue);
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 900;
}

.about-points p {
  margin: 0;
  color: #7a899d;
  font-size: 12px;
  line-height: 1.6;
}

.about-points strong {
  color: #34445a;
  font-size: 14px;
}

.about-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 38px;
  border: 1px solid #d8e6fb;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.76), transparent 34%),
    linear-gradient(145deg, #f5f9ff 0%, #edf5ff 54%, #dfeaff 100%);
  box-shadow: 0 20px 46px rgba(31, 94, 213, 0.08);
}

.about-card-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(35,104,242,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,104,242,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.about-card-content {
  position: relative;
  z-index: 2;
  color: #1d2d45;
}

.about-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid #c9dcfb;
  border-radius: 18px;
  color: var(--blue);
  background: rgba(255,255,255,0.72);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-card h3 {
  margin: 26px 0 0;
  font-size: 30px;
}

.about-card-content > p {
  margin: 8px 0 0;
  color: #5f6f87;
}

.about-data {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.about-data > div {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid #d2e0f4;
  border-radius: 12px;
  background: rgba(255,255,255,0.68);
}

.about-data span {
  color: #728198;
  font-size: 11px;
}

.about-data strong {
  color: #253449;
  font-size: 13px;
}

/* Contact */
.contact-section {
  padding-top: 36px;
  padding-bottom: 96px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 54px;
  border: 1px solid #d8e6fb;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.82), transparent 34%),
    linear-gradient(135deg, #f4f8ff, #edf5ff 54%, #dfeaff);
  box-shadow: 0 18px 44px rgba(33, 95, 222, 0.08);
}

.contact-copy h2 {
  color: #1d2d45;
}

.contact-copy > p {
  max-width: 660px;
  color: #5f6f87;
}

.contact-box .section-kicker.light {
  color: var(--blue);
}

.contact-box .btn-white {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.contact-box .btn-outline-white {
  color: var(--blue);
  border-color: #b8cbed;
  background: rgba(255,255,255,0.56);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

/* Footer */
.site-footer {
  padding: 52px 0 22px;
  border-top: 1px solid #e8eef6;
  background: #fbfcfe;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 0.7fr;
  gap: 54px;
}

.footer-brand p {
  margin: 18px 0 4px;
  color: #45556d;
  font-size: 14px;
  font-weight: 700;
}

.footer-brand small {
  color: #8b99ac;
  font-size: 12px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 6px;
  color: #34445b;
  font-size: 14px;
}

.footer-links a {
  width: fit-content;
  color: #7b899c;
  font-size: 12px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #e7edf5;
  color: #8b99ac;
  font-size: 11px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 2000;
  max-width: min(92vw, 520px);
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: rgba(20, 33, 53, 0.94);
  box-shadow: 0 12px 34px rgba(0,0,0,0.18);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Legal pages */
.legal-main {
  min-height: calc(100vh - 72px);
  padding: 72px 0 96px;
  background: #f8fbff;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid #e0e8f3;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin: 0;
  font-size: 34px;
}

.legal-card .legal-date {
  margin-top: 8px;
  color: #8a98ac;
  font-size: 12px;
}

.legal-card h2 {
  margin: 34px 0 12px;
  color: #293a52;
  font-size: 20px;
}

.legal-card p,
.legal-card li {
  color: #66768c;
  font-size: 14px;
  line-height: 1.95;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-panel {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 36px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 2px;
    padding: 14px;
    border: 1px solid #dfe8f4;
    border-radius: 14px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 22px 50px rgba(26, 54, 101, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.22s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav-link.active {
    background: #f2f7ff;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  .hero-panel {
    min-height: 450px;
  }

  .floating-card-a {
    right: 0;
    top: 62px;
  }

  .floating-card-b {
    left: 0;
    bottom: 48px;
  }

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

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .workflow-item {
    padding: 20px 16px;
  }

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

  .about-copy h2 {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero {
    padding-top: 54px;
  }

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

  .hero-desc {
    font-size: 16px;
  }

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

  .btn {
    width: 100%;
  }

  .mini-window {
    padding: 12px;
    transform: none;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 620px;
  }

  .floating-card {
    display: none;
  }

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

  .feature-card {
    min-height: auto;
  }

  .pricing-card {
    min-height: auto;
    padding: 24px;
  }

  .pricing-head {
    min-height: auto;
  }

  .dashboard-content {
    padding: 16px;
  }

  .dashboard-topbar {
    padding: 0 16px;
  }

  .stats-table-head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 70px;
  }

  .about-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .contact-box {
    padding: 34px 24px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .legal-card {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
