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

:root {
  --green-dark:   #2D5016;
  --green-mid:    #4A7C59;
  --green-light:  #7AAD85;
  --green-pale:   #E8F0E9;
  --white:        #FFFFFF;
  --off-white:    #F7F4F0;
  --text-dark:    #1A1A1A;
  --text-mid:     #4A4A4A;
  --text-light:   #777777;
  --border:       #DDD8D0;
  --shadow:       rgba(0,0,0,0.08);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p  { color: var(--text-mid); line-height: 1.7; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74,124,89,0.35); }
.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green-mid);
}
.btn-outline:hover { background: var(--green-pale); transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.03em;
}
.nav-logo span { color: var(--green-mid); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.95rem; color: var(--text-mid); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--green-mid); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--green-pale) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(122,173,133,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 24px;
}
.taro-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--green-mid); }
.hero p { font-size: 1.15rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 40px var(--shadow);
  border: 1px solid var(--border);
}
.hero-visual-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 20px;
}
.hero-tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--off-white);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.hero-tool-icon {
  width: 36px; height: 36px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-tool-name { font-size: 0.9rem; font-weight: 600; }
.hero-tool-desc { font-size: 0.8rem; color: var(--text-light); }
.hero-tool-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--green-pale);
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ── How It Works ─────────────────────────────────────────── */
.how { background: var(--white); }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.1rem; color: var(--text-mid); max-width: 560px; margin: 0 auto 56px; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-pale), var(--green-light), var(--green-pale));
}
.step-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--off-white);
}
.step-card h3 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 0.9rem; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { background: var(--off-white); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow); }
.pricing-card.featured {
  border-color: var(--green-mid);
  background: linear-gradient(160deg, var(--white) 0%, var(--green-pale) 100%);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-mid);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-mid); margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--text-dark); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.5rem; vertical-align: top; margin-top: 8px; }
.pricing-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green-mid); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--white); }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--green-mid); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding-top: 12px; font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; }
.cta-banner .btn-primary { background: var(--white); color: var(--green-dark); }
.cta-banner .btn-primary:hover { background: var(--off-white); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-weight: 800; color: var(--white); font-size: 1rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ── Modal (Auth) ─────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  margin: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.modal-sub { color: var(--text-light); margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-mid); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--green-mid); background: var(--white); }
.modal-toggle { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-light); }
.modal-toggle a { color: var(--green-mid); font-weight: 600; cursor: pointer; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-light);
  background: none; border: none;
  line-height: 1;
}
.modal { position: relative; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-light); font-size: 0.85rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
