:root {
  --green: #2f9e44;
  --green-dark: #248236;
  --bg: #ffffff;
  --text: #1a1f1a;
  --text-muted: #5a665a;
  --border: #e5ebe5;
  --card: #f6faf6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }

header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 10;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.logo img { width: 28px; height: 28px; border-radius: 6px; }

nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.lang {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.lang:hover { border-color: var(--green); color: var(--green); }

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero img.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(47,158,68,0.18);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.tagline {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 18px;
}

.description {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
}

.description p + p { margin-top: 14px; }

.downloads {
  padding: 40px 0 80px;
}

.downloads h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 700;
}

.dl-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.dl-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.dl-col h3 {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.dl-col .col-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: -12px;
  margin-bottom: 18px;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.platform-block + .platform-block { margin-top: 18px; }

.platform-block .btn {
  flex: 1;
  padding: 22px 18px;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.platform-block .btn .icon { font-size: 28px; }

.qr-box {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border: 1px dashed #c8d3c8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-muted);
  padding: 8px;
  background: var(--card);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 8px 24px rgba(47,158,68,0.10);
}

.price-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.price-card .tier-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-card .price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-card .price-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.price-card ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  flex-grow: 1;
}

.price-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.price-card li.dim {
  color: var(--text-muted);
}

.price-card li.dim::before {
  content: "—";
  color: var(--text-muted);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

.btn:hover:not(.btn-disabled) {
  border-color: var(--green);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(47,158,68,0.12);
}

.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.btn-primary:hover:not(.btn-disabled) {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}

.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-disabled .badge {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  background: var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  margin-left: 6px;
}

.btn .icon { font-size: 20px; }

.note {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.note a { color: var(--green); }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.page {
  padding: 56px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.page h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.page p { margin-bottom: 14px; }

.page ol, .page ul { margin: 12px 0 18px 24px; }

.page li { margin-bottom: 8px; }

.page code {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.callout {
  background: var(--card);
  border-left: 3px solid var(--green);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 18px 0;
  font-size: 15px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; }
  .tagline { font-size: 17px; }
  .dl-columns { grid-template-columns: 1fr; gap: 16px; }
  .price-grid { grid-template-columns: 1fr; }
  nav a:not(.lang) { display: none; }
  .platform-block { flex-direction: column; gap: 14px; }
  .platform-block .btn { width: 100%; }
  .qr-box { width: 200px; height: 200px; }
}
