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

:root {
  --green:       #1B7A4A;
  --green-light: #e8f5ed;
  --blue:        #2563A8;
  --blue-light:  #e8f0fe;
  --text:        #1a1a2e;
  --text-sub:    #6b7280;
  --white:       #ffffff;
  --bg:          #f8fafc;
  --radius:      14px;
  --nav-h:       64px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
}

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

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-sub);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links .btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
}
.nav-links .btn-nav:hover { opacity: .85; }
.hamburger { display: none; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}

/* ── Section wrapper ── */
.section { padding: 72px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 48px;
  font-size: 15px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green-light); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { opacity: .88; transform: translateY(-1px); }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

/* ── App icon style ── */
.app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.app-icon-sm {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

/* ── Footer ── */
footer {
  background: var(--text);
  color: #d1d5db;
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: #9ca3af;
  transition: color .2s;
}
footer .footer-links a:hover { color: var(--white); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%);
  padding: 80px 24px 72px;
  text-align: center;
}
.hero-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero-sub {
  color: var(--text-sub);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-icon-wrap { text-align: center; }
.hero-icon-label {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 8px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s;
  text-decoration: none;
}
.appstore-btn:hover { opacity: .82; }
.appstore-btn svg { flex-shrink: 0; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-icon.green { background: var(--green-light); }
.feature-icon.blue  { background: var(--blue-light); }
.feature-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.feature-desc  { color: var(--text-sub); font-size: 14px; line-height: 1.65; }

/* ── Store CTA ── */
.store-cta {
  background: linear-gradient(135deg, #0d4a2f 0%, var(--green) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.store-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.store-cta p  { font-size: 15px; opacity: .85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: var(--white);
  color: var(--green);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  border: 2px solid transparent;
  position: relative;
}
.plan-card.popular {
  border-color: var(--green);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name  { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.plan-price { font-size: 28px; font-weight: 900; color: var(--green); margin-bottom: 4px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--text-sub); }
.plan-features { list-style: none; margin-top: 16px; }
.plan-features li {
  font-size: 13px;
  color: var(--text-sub);
  padding: 5px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ── About table ── */
.about-table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.about-table th {
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  width: 180px;
  white-space: nowrap;
}

/* ── Contact ── */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-align: center;
}
.contact-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-box p  { color: var(--text-sub); margin-bottom: 24px; font-size: 14px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s;
}
.contact-email:hover { background: var(--green); color: var(--white); }

/* ── Pricing reveal ── */
#pricing-reveal { display: none; }
#pricing-reveal.visible { display: block; }

/* ── Mobile ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    gap: 16px;
    align-items: flex-start;
  }
  .hamburger { display: block; margin-left: auto; }
  .section { padding: 48px 20px; }
  .hero { padding: 56px 20px 48px; }
  .about-table th { width: 120px; }
}
