/* ── SpendMunk Website — matches the mobile app design language ── */

:root {
  --background: #F7F5F0;
  --surface: #FFFCF8;
  --surface-soft: #F8F1E7;
  --surface-soft-strong: #F1E3D3;
  --accent: #1F8A70;
  --accent-muted: #DCEEE5;
  --accent-strong: #145F4C;
  --brand-ink: #112C24;
  --brand-munk: #B86B2F;
  --brand-munk-soft: #F3E0CF;
  --text: #12231D;
  --text-muted: #6F7F79;
  --border: #E8E1D7;
  --danger: #D16064;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Hero ── */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--brand-munk);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-image-wrap {
  flex: 0 0 auto;
}

.hero-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(24, 50, 40, 0.12);
}

/* ── CTA Buttons ── */
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 50, 40, 0.12);
}

.btn-primary {
  background: var(--brand-munk);
  color: var(--white);
}

.btn-disabled {
  background: var(--surface-soft-strong);
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.btn-icon {
  width: 22px;
  height: 22px;
}

/* ── Features ── */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px;
}

.features-heading {
  text-align: center;
  margin-bottom: 48px;
}

.features-heading h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.features-heading p {
  font-size: 16px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(24, 50, 40, 0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-icon.green { background: var(--accent-muted); }
.feature-icon.orange { background: var(--brand-munk-soft); }
.feature-icon.red { background: #FCE8E5; }
.feature-icon.olive { background: #EEF3E4; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Premium Banner ── */
.premium-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.premium-card {
  background: linear-gradient(135deg, #FFF6EC 0%, #F3E0CF 100%);
  border: 1px solid #E9D8C2;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.premium-card-text {
  flex: 1;
}

.premium-badge {
  display: inline-block;
  background: var(--brand-munk);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.premium-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.premium-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.premium-features {
  list-style: none;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.premium-features li {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  padding-left: 22px;
  position: relative;
}

.premium-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-munk);
  font-weight: 800;
}

.premium-card-visual {
  font-size: 80px;
  line-height: 1;
}

/* ── Footer ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-ink);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Legal Pages ── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal .effective-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-ink);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal ul {
  margin: 8px 0 16px 24px;
}

.legal li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal a {
  color: var(--brand-munk);
  text-decoration: none;
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px 32px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    width: 200px;
    height: 200px;
  }

  .cta-row {
    justify-content: center;
  }

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

  .premium-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .premium-features {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

  .nav-links {
    gap: 16px;
  }
}
