/* css/index.css */
html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  overflow-y: auto;
}

.landing-page {
  min-height: 100dvh;
  padding: 20px 16px 64px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 34%),
    var(--bg);
}

.landing-header {
  max-width: 960px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
}

.landing-hero {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.landing-hero h1 {
  margin: 18px 0;
  font-size: clamp(38px, 10vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 700;
}

.hero-actions {
  margin-top: 24px;
}

.landing-main-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 17px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.preview-card {
  background: white;
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  margin-bottom: 20px;
}

.preview-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 13px;
}

.preview-summary {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-summary p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-summary strong {
  font-size: 30px;
}

.preview-expense {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-weight: 900;
}

.feature-section,
.howto-section,
.final-cta {
  max-width: 960px;
  margin: 56px auto 0;
}

.feature-section h2,
.howto-section h2,
.final-cta h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  font-size: 28px;
}

.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 20px;
  padding: 16px;
  font-weight: 900;
}

.step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
}

.final-cta {
  text-align: center;
  background: white;
  border-radius: 32px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.final-cta p {
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 760px) {
  .landing-page {
    padding: 28px 24px 80px;
  }

  .landing-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}