/* === CSS Custom Properties === */
:root {
  --primary: #16A34A;
  --primary-dark: #15803D;
  --text: #111827;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --border: #E5E7EB;
  --success: #059669;
}

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

/* === Base === */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

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

/* === Navigation === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 60px;
  z-index: 100;
}

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

.nav-logo {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

/* === Hero === */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

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

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
}

/* === Section Base === */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: #DCFCE7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--primary);
}

.feature-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === Use Cases === */
.use-cases {
  background-color: var(--bg-subtle);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.usecase-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.usecase-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--primary);
}

.usecase-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === How It Works === */
.how-it-works {
  background-color: var(--bg);
}

.steps-list {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  counter-reset: steps;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.step-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === FAQ === */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* === Privacy Highlight === */
.privacy-highlight {
  background-color: var(--bg-subtle);
  text-align: center;
}

.privacy-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.privacy-highlight p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px auto;
  font-size: 1rem;
}

.privacy-highlight a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.privacy-highlight a:hover {
  text-decoration: underline;
}

/* === CTA Section === */
.cta-section {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

.btn-primary-large {
  display: inline-block;
  background-color: #fff;
  color: var(--primary);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-primary-large:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === Footer === */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  max-width: 240px;
}

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

.footer-link-group h4 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-link-group a {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* === Page Header (inner pages) === */
.page-header {
  background-color: var(--bg-subtle);
  padding: 80px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* === Content Pages === */
.content-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 24px;
}

.content-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

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

.content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-page p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.975rem;
}

.content-page ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.content-page ul li {
  color: var(--text-muted);
  font-size: 0.975rem;
  padding: 4px 0 4px 20px;
  position: relative;
}

.content-page ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.content-page a {
  color: var(--primary);
  text-decoration: none;
}

.content-page a:hover {
  text-decoration: underline;
}

.content-page .issue-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.content-page .issue-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background-color: var(--bg-subtle);
}

.content-page .issue-block p {
  margin-bottom: 0;
}

.step-list {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin-bottom: 16px;
}

.step-list li {
  counter-increment: steps;
  padding: 10px 0 10px 48px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.975rem;
  border-bottom: 1px solid var(--border);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 28px;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.05rem;
  }

  .hero {
    padding: 80px 0 60px;
  }

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

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

  .steps-list {
    flex-direction: column;
    gap: 24px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-logo {
    font-size: 0.9rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}
