/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f5f5f7;
  --bg3:       #ffffff;
  --border:    #e5e5ea;
  --accent:    #1d6f42;
  --accent2:   #34a853;
  --text:      #111118;
  --text2:     #6e6e80;
  --radius:    14px;
  --max-w:     1100px;
  --shadow:    0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

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

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

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  -webkit-text-fill-color: initial;
  background: none;
}
.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links > a:not(.btn-download-sm) {
  font-size: 14px;
  color: var(--text2);
  transition: color 0.15s;
}
.nav-links > a:not(.btn-download-sm):hover { color: var(--text); }

.btn-download-sm {
  padding: 8px 18px;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-download-sm:hover { opacity: 0.8; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 90px 24px 80px;
  text-align: center;
  background: var(--bg);
}
.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-lg);
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  background: #f0faf4;
  border: 1px solid #c6e6d2;
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.accent {
  color: var(--accent2);
  background: none;
  -webkit-text-fill-color: initial;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-desc {
  font-size: 18px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-primary {
  padding: 14px 28px;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary.btn-large { padding: 16px 36px; font-size: 17px; }

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: #c0c0cc; color: var(--text); background: var(--bg2); }
.gh-icon { width: 18px; height: 18px; flex-shrink: 0; }

.hero-note { font-size: 13px; color: var(--text2); opacity: 0.7; }

/* ── Sections ─────────────────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ── Features ─────────────────────────────────────────────────── */
.features { padding: 80px 0; background: var(--bg2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  padding: 10px;
  background: #f0faf4;
  border: 1px solid #d4edde;
  border-radius: 10px;
  color: var(--accent);
}
.feature-icon svg { width: 100%; height: 100%; display: block; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── Compare ──────────────────────────────────────────────────── */
.compare { padding: 80px 0; background: var(--bg); }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 14px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; color: var(--text2); }
.compare-table thead th {
  font-weight: 600;
  color: var(--text2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.compare-table th.highlight { color: var(--accent2); }
.masked { color: var(--text2); letter-spacing: 0.05em; font-size: 13px; }
.table-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.compare-table td.highlight { color: var(--text); font-weight: 600; }
.compare-table tbody tr:hover { background: var(--bg2); }
.compare-note { font-size: 12px; color: var(--text2); margin-top: 16px; text-align: center; opacity: 0.6; }

/* ── How To ───────────────────────────────────────────────────── */
.howto { padding: 80px 0; background: var(--bg2); }
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  width: 38px;
  height: 38px;
  background: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  margin: 0 auto 16px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.step-arrow { font-size: 20px; color: var(--border); flex-shrink: 0; }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cta-icon {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta p { font-size: 17px; color: var(--text2); margin-bottom: 32px; }
.cta-note { font-size: 13px; color: var(--text2); margin-top: 16px; opacity: 0.6; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; background: var(--bg2); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer .logo-icon { width: 22px; height: 22px; border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text2); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text2); opacity: 0.6; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  .step-arrow { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .nav-links > a:not(.btn-download-sm) { display: none; }
}
