:root {
  --green: #4CAF50;
  --green-dark: #388E3C;
  --gold: #C9A94E;
  --gold-light: #F0DCA8;
  --surface: #FAFAF8;
  --surface-2: #F3F1EC;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E5E1D8;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-text h1 .accent { color: var(--green); }

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 440px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-green { background: #E8F5E9; color: var(--green-dark); }
.badge-gold  { background: #FFF8E1; color: #8B6914; }
.badge-blue  { background: #E3F2FD; color: #1565C0; }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(76,175,80,0.3);
}

.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-screenshot {
  height: 480px;
  width: auto;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
}

/* ── Screenshots ─────────────────────────────────────────────────────── */

.screenshots-section h2 { margin-bottom: 32px; }

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.screenshots-scroll::-webkit-scrollbar { height: 6px; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  height: 460px;
  width: auto;
  border-radius: 24px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}

.screenshot-item img:hover { transform: translateY(-4px); }

.screenshot-item figcaption { display: none; }

/* ── Features ────────────────────────────────────────────────────────── */

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.icon-green  { background: #E8F5E9; }
.icon-gold   { background: #FFF8E1; }
.icon-blue   { background: #E3F2FD; }
.icon-purple { background: #EDE7F6; }
.icon-rose   { background: #FCE4EC; }
.icon-teal   { background: #E0F2F1; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Divider ─────────────────────────────────────────────────────────── */

.divider {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider hr { border: none; border-top: 1px solid var(--border); }

/* ── Privacy page ────────────────────────────────────────────────────── */

.page-hero {
  background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 100%);
  padding: 64px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

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

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.prose ul {
  margin: 0 0 14px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.prose li { margin-bottom: 6px; }

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

.info-box {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.info-box p {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.92rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer nav ul {
  justify-content: center;
  margin-top: 16px;
}

footer nav a { font-size: 0.85rem; }

/* ── Lightbox ────────────────────────────────────────────────────────── */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#lightbox.open { display: flex; }

#lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  width: auto;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  animation: lb-in 0.18s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

#lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 40px;
  }

  .hero-visual { display: none; }

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

  nav ul { display: none; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}
