/* ============================================================
   KittiPoy — green on white, light and confident.
   ============================================================ */
:root {
  --green-900: #14532d;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --page:      #ffffff;
  --surface:   #f7fbf8;
  --ink:       #0f172a;
  --muted:     #5b6b60;
  --line:      #d9ecdd;
  --radius:    18px;
  --shadow:    0 10px 30px rgba(20, 83, 45, 0.08);
  --shadow-sm: 0 4px 14px rgba(20, 83, 45, 0.07);
  --font: "Segoe UI", system-ui, -apple-system, "Noto Sans Malayalam", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { vertical-align: middle; }
a { color: var(--green-700); text-decoration: none; }
b { font-weight: 700; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-alt { background: var(--surface); }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; text-align: center; letter-spacing: -0.02em; }
.section-title.left { text-align: left; }
.section-title em { font-style: normal; color: var(--green-600); }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 42px; }
.section-sub.left { text-align: left; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 14px; border: 2px solid var(--green-600);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-700); box-shadow: none; border-color: var(--line); }
.btn-ghost:hover { background: var(--green-50); border-color: var(--green-600); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--line); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-light { background: #fff; color: var(--green-700); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff;
}
.brand-name { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.brand-name b { color: var(--green-600); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--green-700); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 60px; background:
  radial-gradient(900px 420px at 85% -10%, var(--green-100) 0%, transparent 60%),
  radial-gradient(700px 380px at -10% 110%, var(--green-50) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; background: var(--green-100); color: var(--green-700);
  font-weight: 700; font-size: 13.5px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero h1 .ml { font-size: 0.55em; color: var(--muted); font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); margin: 20px 0 30px; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* phone mockup */
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: 300px; background: #0d1f14; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px rgba(20, 83, 45, 0.25); transform: rotate(2deg);
}
.phone-notch { width: 110px; height: 22px; background: #0d1f14; border-radius: 999px; margin: 2px auto 10px; }
.phone-screen { background: var(--surface); border-radius: 28px; padding: 16px 14px 18px; }
.app-bar { text-align: center; font-size: 15px; color: var(--green-700); font-weight: 400; }
.app-bar b { color: var(--green-600); }
.app-greeting { font-size: 12.5px; color: var(--muted); margin: 14px 2px 8px; }
.app-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.app-chips span { background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 9px; }
.app-card {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 8px;
  box-shadow: var(--shadow-sm); position: relative;
}
.app-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; font-weight: 800; }
.app-card small { display: block; color: var(--muted); font-size: 10.5px; }
.app-rating { font-size: 11px; color: #b45309; font-weight: 700; }
.app-rating span { color: var(--muted); font-weight: 500; }
.app-online {
  position: absolute; top: 8px; right: 8px; font-size: 9px; font-weight: 800;
  color: var(--green-600); background: var(--green-50); padding: 2px 7px; border-radius: 999px;
}
.app-card b { font-size: 13px; }
.app-cta { text-align: center; background: var(--green-600); color: #fff; font-weight: 800; font-size: 14px; padding: 12px; border-radius: 14px; margin-top: 12px; }
.app-earn { font-size: 34px; font-weight: 800; color: var(--green-700); margin: 2px 2px 12px; }
.app-card.job .job-dot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; }
.app-card.job .job-dot.done { background: var(--green-500); }
.job-amount { color: var(--green-700); }
.app-toggle { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 12px; }
.app-toggle b { color: var(--green-600); }

/* ---------- stats strip ---------- */
.stats-strip { background: var(--green-900); color: #fff; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats-grid b { display: block; font-size: 30px; font-weight: 800; color: #a7f3c9; }
.stats-grid span { color: #c9e5d4; font-size: 14px; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); font-weight: 800; font-size: 19px; margin-bottom: 16px;
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 15px; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 30px 16px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.service-tile:hover { transform: translateY(-4px); border-color: var(--green-500); }
.service-tile span { font-size: 38px; display: block; margin-bottom: 10px; }
.service-tile b { display: block; font-size: 16.5px; }
.service-tile small { color: var(--muted); font-size: 13px; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.why-list { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.why-list li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
  padding: 15px 18px; color: var(--muted); font-size: 15px;
}
.why-list li b { color: var(--ink); }
.why-quote { display: grid; gap: 18px; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green-500);
  border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.quote-card.alt { border-left-color: var(--green-300, #86efac); margin-left: 26px; }
.quote-card p { font-size: 16.5px; margin-bottom: 8px; }
.quote-card span { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* ---------- pro band ---------- */
.pro-band { background: linear-gradient(120deg, var(--green-700), var(--green-600)); color: #fff; padding: 62px 0; }
.pro-band-grid { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.pro-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.pro-band p { color: #d7f5e2; max-width: 60ch; }

/* ---------- benefits (join page) ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 46px; }
.benefit { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.benefit > span { font-size: 30px; }
.benefit b { font-size: 16.5px; }
.benefit p { color: var(--muted); font-size: 14.5px; }
.pro-cta { text-align: center; background: var(--green-50); border: 1.5px dashed var(--green-500); border-radius: var(--radius); padding: 34px 26px; }
.pro-cta p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

/* ---------- download ---------- */
.download-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.store-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: 14px; opacity: .55; cursor: not-allowed; filter: grayscale(0.3);
}
.store-btn small { display: block; font-size: 11px; opacity: .8; }
.store-btn b { font-size: 17px; }
.store-icon { font-size: 22px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 760px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 15px;
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--green-600); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: #cfe8d8; padding: 58px 0 0; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name b { color: #6ee7a0; }
.footer-tag { margin-top: 14px; font-size: 14px; color: #a9cdb7; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer a { display: block; color: #cfe8d8; margin-bottom: 9px; font-size: 14.5px; }
.site-footer a:hover { color: #6ee7a0; }
.muted-line { display: block; color: #9dc4ab; font-size: 14px; margin-bottom: 9px; }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #9dc4ab;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .why-grid, .download-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero-phone { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); padding: 10px 22px 18px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--green-50); }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .quote-card.alt { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
