:root {
  --bg: #f6f3ee;
  --bg-alt: #ebe4d8;
  --panel: #fff;
  --text: #1f2933;
  --muted: #6b7280;
  --green: #0b7a5a;
  --green-dark: #1f6b4a;
  --line: #e5e7eb;
  --shadow: 0 12px 40px rgba(31, 41, 51, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: #0b7a5a; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand strong { display: block; font-size: 17px; }
.brand span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--green-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(0.98); }
.btn.primary { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.subtle { background: transparent; }
.btn.block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-copy p.lead { margin: 0 0 28px; color: var(--muted); font-size: 18px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: 13px; }

.app-preview {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 1280 / 850;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #111827;
  position: relative;
}

.app-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 901px) {
  .app-preview {
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  }
}

.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { margin: 0 0 10px; font-size: 2rem; }
.section-head p { margin: 0; color: var(--muted); }

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

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

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

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card.featured {
  border-color: #cfe8dc;
  box-shadow: 0 16px 44px rgba(11, 122, 90, 0.12);
  transform: translateY(-4px);
}

.pricing-card.coming-soon {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 700;
}

.pricing-card.featured .pricing-badge { background: #e8f5ee; color: var(--green-dark); }
.pricing-card.coming-soon .pricing-badge { background: #f3f4f6; color: #4b5563; }

.pricing-card h3 { margin: 2px 0 0; font-size: 22px; line-height: 1.2; }
.pricing-price { margin: 0; font-size: 28px; font-weight: 800; color: var(--text); }
.pricing-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pricing-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.pricing-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
}
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-dark);
  transform: translateY(-50%);
}

.download-panel {
  background: linear-gradient(135deg, #e8f5ee 0%, #fff 100%);
  border: 1px solid #cfe8dc;
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.download-panel h2 { margin: 0 0 8px; }
.download-panel > p { margin: 0 0 24px; color: var(--muted); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card-head { display: flex; align-items: center; gap: 12px; }
.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.platform-icon.mac::before {
  content: "";
  width: 20px;
  height: 24px;
  background: currentColor;
  color: #374151;
  clip-path: path("M15.5 1.5c0 1.2-.5 2.4-1.3 3.3-.9 1-2.1 1.7-3.4 1.6-.1-1.2.4-2.4 1.2-3.3.9-1 2.1-1.7 3.5-1.6zm-2.8 4.2c1.9 0 2.7 1.1 4.2 1.1 1.5 0 2.4-1.1 4.1-1.1 2.1 0 3.6 1.2 4.6 3.1-4 2.4-3.3 8.6.6 10.2-.9 1.2-2 2.4-3.4 2.4-1.3 0-1.7-.8-3.5-.8s-2.2.8-3.5.8c-1.4 0-2.6-1.2-3.5-2.5-2.4-3.7-2.7-8.1-1.2-10.4 1-1.5 2.6-2.4 4.2-2.4z");
  transform: scale(1.15);
}

.platform-icon.windows::before {
  content: "⊞";
  font-size: 24px;
  line-height: 1;
  color: #2563eb;
}

.download-card h3 { margin: 0; font-size: 18px; }
.download-card p { margin: 0; color: var(--muted); font-size: 13px; }
.download-card .filename { font-size: 12px; color: #9ca3af; word-break: break-all; }
.download-card .soon { font-size: 12px; color: #b45309; font-weight: 700; }

.faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 36px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a { color: #e5e7eb; }

@media (max-width: 900px) {
  .hero-grid, .features, .pricing-grid, .download-grid, .contact-grid { grid-template-columns: 1fr; }
  .app-preview { transform: none; }
  .site-nav { display: none; }
}
