/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #3db854;
  --green-dark: #2a8f40;
  --green-deeper: #1d6b2e;
  --green-light: #edf7ee;
  --green-mid: #c8e6cb;
  --text: #1a2e1c;
  --text-muted: #5a7a5e;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* === UTILITY === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--green-mid);
  z-index: 100;
}

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

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

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

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

/* === HAMBURGER === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--green-light);
}

.icon-close {
  display: none;
}

.nav-open .icon-menu {
  display: none;
}

.nav-open .icon-close {
  display: block;
}

/* === HERO === */
.hero {
  background: linear-gradient(160deg, var(--green-light) 0%, var(--green-mid) 100%);
  padding: 100px 0 90px;
  text-align: center;
}

.hero-logo {
  width: 160px;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* === DOWNLOAD BUTTONS === */
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  padding: 13px 26px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.btn-store svg {
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1;
}

.btn-store-text small {
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 400;
  margin-bottom: 2px;
}

.btn-store-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* === FEATURES === */
.features {
  padding: 88px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--green-mid);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

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

.feature-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* === FAQ === */
.faq {
  padding: 88px 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--green-mid);
}

.faq-item:first-child {
  border-top: 1px solid var(--green-mid);
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--green-dark);
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === PRICING === */
.pricing {
  padding: 88px 0;
  background: var(--green-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  border: 2px solid var(--green-mid);
  text-align: center;
  position: relative;
}

.pricing-card--pro {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(61, 184, 84, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--green);
  color: var(--green-dark);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

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

.btn-pricing--pro {
  background: var(--green);
  color: var(--white);
}

.btn-pricing--pro:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* === CTA BANNER === */
.cta {
  background: var(--green);
  padding: 88px 0;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta .btn-store {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn-store:hover {
  color: var(--text);
  background: #f0faf0;
}

/* === PAGE HEADER === */
.page-header {
  background: var(--green-light);
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--green-mid);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

.page-header p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 1.05rem;
}

/* === PROSE CONTENT (privacy, terms) === */
.page-content {
  padding: 64px 0 88px;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 44px 0 12px;
  color: var(--text);
}

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

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.prose ul, .prose ol {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

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

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

.prose .effective-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--green-mid);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.contact-email {
  margin-top: 8px;
}

.contact-email a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid #e0e8e0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd8cc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 184, 84, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden {
  display: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

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

/* === FOOTER === */
.footer {
  background: var(--text);
  color: #8aaa8a;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand img {
  height: 70px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.82rem;
  opacity: 0.55;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8aaa8a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    position: relative;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--green-mid);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--green-light);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-open .nav-links {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 64px;
  }

  .features,
  .cta {
    padding: 64px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .contact-form {
    padding: 24px;
  }
}
