:root {
  --green: #0f5132;
  --green-dark: #083a26;
  --green-light: #1c7049;
  --cream: #f7f5f2;
  --ink: #183a2b;
  --muted: #5e7469;
  --line: #dce6df;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(10, 61, 39, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, "Noto Sans Khmer", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, 100%); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247,245,242,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15,81,50,.08); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; font-size: 1.1rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: white; letter-spacing: 0; font-size: 1.3rem; }
nav { display: flex; gap: 24px; color: var(--muted); font-weight: 700; font-size: .95rem; }
nav a:hover { color: var(--green); }
.hero { background: linear-gradient(135deg, #f7f5f2 0%, #edf5ef 100%); overflow: hidden; }
.hero-content { min-height: 650px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 36px; }
.hero-copy { padding: 56px 0; }
.eyebrow { margin: 0 0 10px; color: var(--green-light); font-weight: 800; letter-spacing: .12em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); margin-bottom: 18px; color: var(--green-dark); }
h1 span { color: var(--green-light); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); color: var(--green-dark); }
.hero-text, .section-text { color: var(--muted); max-width: 650px; font-size: 1.04rem; }
.button { display: inline-block; margin-top: 16px; padding: 13px 22px; border-radius: 10px; background: var(--green); color: white; font-weight: 800; box-shadow: 0 10px 25px rgba(15,81,50,.18); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--green-light); }
.hero-visual img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.section { padding: 88px 0; }
.section-alt { background: #eef4ef; }
.center { text-align: center; }
.center-text { margin-left: auto; margin-right: auto; text-align: center; }
.feature-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; box-shadow: 0 10px 28px rgba(10,61,39,.05); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--green); color: white; font-weight: 900; font-size: 1.35rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.screenshots { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.screenshots figure { margin: 0; background: white; padding: 10px 10px 16px; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.screenshots img { width: 100%; border-radius: 11px; }
figcaption { padding: 13px 8px 0; text-align: center; font-weight: 700; font-size: .88rem; color: var(--muted); }
.cta { padding: 0 0 88px; background: var(--cream); }
.cta-box { padding: 40px; border-radius: 24px; background: linear-gradient(135deg, var(--green-dark), var(--green-light)); color: white; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: white; margin: 0; max-width: 720px; }
.cta .eyebrow { color: #bde5c8; }
.button-light { background: white; color: var(--green-dark); white-space: nowrap; }
.button-light:hover { background: #eef7f0; }
footer { background: var(--green-dark); color: #c9d9d0; }
.footer-content { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .9rem; }
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding-top: 18px; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { padding-bottom: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { min-height: 62px; }
  nav { display: none; }
  .hero-content { min-height: auto; }
  .hero-copy { padding-top: 48px; }
  .section { padding: 64px 0; }
  .feature-grid, .screenshots { grid-template-columns: 1fr; }
  .cta-box, .footer-content { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 28px; }
}
