:root {
  --primary: #16A34A;
  --primary-dark: #15803D;
  --primary-soft: #DCFCE7;
  --bg: #F8FAF5;
  --white: #FFFFFF;
  --ink: #14261B;
  --muted: #5B6B60;
  --line: #E4EDE4;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(20, 60, 35, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 20px;
}
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.logo-text em { font-style: normal; color: var(--primary); }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: none; transition: all .2s;
}
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-soft); color: var(--primary-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}

/* ===== Hero ===== */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }

.hero h1 { font-size: 52px; line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; margin: 20px 0 18px; }
.hero h1 .accent { color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--muted); max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 38px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; }
.stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--primary-dark); }
.stat span { font-size: 13.5px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.mock-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
}
.mock-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.mock-head > i { font-size: 26px; color: var(--primary); }
.mock-head strong { display: block; font-size: 15px; }
.mock-head span { font-size: 13px; color: var(--muted); }

.mock-rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.room {
  padding: 14px 0; text-align: center; border-radius: 10px;
  font-weight: 700; font-size: 14px; color: #fff;
}
.room.occupied { background: var(--primary); }
.room.empty { background: #E8F0E8; color: var(--muted); }
.room.debt { background: #F59E0B; }
.room.booked { background: #38BDF8; }

.mock-legend { display: flex; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.mock-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.occupied { background: var(--primary); }
.dot.empty { background: #CBD9CB; }
.dot.debt { background: #F59E0B; }
.dot.booked { background: #38BDF8; }

.mock-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; right: -12px; bottom: -26px; animation: floaty 4s ease-in-out infinite;
}
.mock-float i { font-size: 26px; color: var(--primary); }
.mock-float span { display: block; font-size: 12px; color: var(--muted); }
.mock-float strong { font-size: 16px; }
.mock-float-2 { right: auto; left: -16px; top: -24px; bottom: auto; animation-delay: 2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 10px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-soft); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary-dark);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 22px 24px; text-align: center;
}
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.step > i { font-size: 32px; color: var(--primary); }
.step h3 { font-size: 16.5px; margin: 10px 0 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-content h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 12px; }
.split-content > p { color: var(--muted); margin-bottom: 22px; }
.checklist { list-style: none; margin-bottom: 30px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 500; font-size: 15.5px; }
.checklist i { color: var(--primary); font-size: 20px; }

.report-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
}
.report-card h4 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; margin-bottom: 18px; }
.report-card h4 i { color: var(--primary); font-size: 20px; }
.report-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.report-row span { color: var(--muted); }
.report-row .pos { color: var(--primary-dark); }
.report-row .neg { color: #B45309; }
.report-row.total { border-bottom: none; padding-top: 16px; font-size: 16px; }
.report-row.total strong { color: var(--primary); font-size: 20px; font-weight: 800; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 72px 0; text-align: center;
}
.cta-inner h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.cta-inner p { opacity: .9; margin: 10px 0 26px; font-size: 16.5px; }

/* Footer */
.footer { padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { color: var(--muted); font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .nav { display: none; }
  .mock-float { position: static; margin-top: 16px; animation: none; }
  .hero-visual { display: grid; gap: 14px; }
}
@media (max-width: 560px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .footer-inner { flex-direction: column; }
}
