:root {
  --brand: #e7842c;
  --brand-dark: #c96a18;
  --brand-soft: #fff7ed;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --font: "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

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

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a:hover {
  background: var(--bg-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-ghost {
  color: var(--ink-2);
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

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

.btn-outline:hover {
  border-color: #d1d5db;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 18px;
}

/* —— Hero —— */
.hero {
  padding: 72px 0 40px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(231, 132, 44, 0.16), transparent 60%),
    linear-gradient(#fff, #f8fafc);
}

.hero h1 {
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-formula {
  margin: 22px auto 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero-desc {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-cta-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-stage {
  margin-top: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: auto;
  min-height: 540px;
}

.mock {
  position: relative;
  flex-shrink: 0;
}

.mock-frame,
.mock-screen {
  display: block;
}

.mock-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.mock-screen {
  position: absolute;
  z-index: 1;
  object-fit: cover;
}

.mock-mac {
  width: min(752px, 60%);
  z-index: 1;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.16));
}

.mock-mac .mock-screen {
  top: 13.86%;
  left: 10.88%;
  width: 78.34%;
  height: 74.96%;
  object-position: left top;
  border-radius: 6px;
}

.mock-phone .mock-screen {
  top: 4.29%;
  left: 8.46%;
  width: 83.16%;
  height: 91.56%;
  object-position: top center;
  border-radius: 12.5% / 6.2%;
}

.mock-phone-app,
.mock-phone-mp {
  z-index: 2;
  filter: drop-shadow(0 22px 36px rgba(15, 23, 42, 0.22));
}

.mock-phone-app {
  width: min(262px, 26%);
}

.mock-phone-mp {
  width: min(196px, 20%);
}

.device {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-pc {
  left: 50%;
  top: 24px;
  width: min(760px, 72%);
  height: 380px;
  transform: translateX(-42%);
  border-radius: 14px;
}

.device-phone {
  width: 210px;
  height: 400px;
  border-radius: 28px;
  border-width: 8px;
  border-color: #0f172a;
  right: 8%;
  top: 0;
  z-index: 2;
}

.device-head {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.device-body {
  padding: 16px;
  text-align: left;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kpi {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.kpi b {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

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

.mini-list {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  border-top: 1px solid #f1f5f9;
}

.mini-row:first-child {
  border-top: 0;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.tag-amber {
  background: #fffbeb;
  color: #b45309;
}

.tag-sky {
  background: #f0f9ff;
  color: #0369a1;
}

.phone-inner {
  padding: 18px 14px;
  background: #f8fafc;
  height: 100%;
}

.phone-inner h3 {
  margin: 0;
  font-size: 16px;
}

.phone-card {
  margin-top: 12px;
  background: linear-gradient(160deg, #0f172a, #334155);
  color: #fff;
  border-radius: 16px;
  padding: 14px;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.phone-tile {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  text-align: center;
  border: 1px solid var(--line);
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-h {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-h h2,
.block-h h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-h p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* —— Tabs —— */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab {
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.tab.active {
  background: var(--ink);
  color: #fff;
}

.tab-panel {
  display: none;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.tab-panel.active {
  display: grid;
}

.tab-copy h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.tab-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 4px var(--brand);
}

.preview {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 280px;
  padding: 18px;
}

/* —— Cards —— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}

a.card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
}

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

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.step-n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.step h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.price-grid-single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.price {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.price.featured {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(231, 132, 44, 0.12);
}

.price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.price-badge {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.price .lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price .amount {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--brand);
}

.price .amount span {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price .amount-note {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.price-foot {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-foot a {
  display: inline;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.price-scope {
  margin: 0 0 16px;
}

.price-scope:last-child {
  margin-bottom: 0;
}

.price-scope h4 {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-scope-out h4 {
  color: var(--muted);
}

.price ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price li {
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.price-scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.price-scope-out li {
  color: var(--muted);
}

.price-scope-out li::before {
  background: #c9c4bc;
}

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

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.quote p {
  margin: 0;
  line-height: 1.75;
  font-size: 15px;
}

.who {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item .a {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.faq-item.open .a {
  display: block;
}

#faq.section-soft {
  width: 100%;
  background: var(--bg-soft);
}

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-brand {
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: center;
}

.footer-brand .logo {
  display: flex;
  justify-content: center;
  margin: 0;
}

.footer-brand p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 32px 80px;
  text-align: center;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.footer a,
.footer p {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  color: var(--ink-2);
}

.copy {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}

.copy p {
  display: block;
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.copy p + p {
  margin-top: 4px;
}

.copy .icp:not(:empty)::before {
  content: " · ";
}

.copy .icp a {
  display: inline;
  color: inherit;
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }
  .hero-stage {
    flex-direction: column;
    min-height: 0;
    gap: 28px;
    padding-bottom: 8px;
  }
  .mock-mac,
  .mock-phone-app,
  .mock-phone-mp {
    width: 100%;
    margin: 0;
  }
  .mock-phone-mp {
    order: 1;
    max-width: 208px;
  }
  .mock-phone-app {
    order: 2;
    max-width: 276px;
  }
  .mock-mac {
    order: 3;
    max-width: 640px;
  }
  .tab-panel,
  .split,
  .grid-3,
  .price-grid,
  .quotes,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}
