/* WorkSathi marketing site — brand: navy #0F2A4A, emerald #16A34A, bg #F1F5F9 */
:root {
  --navy: #0F2A4A;
  --navy-dark: #0A1E36;
  --navy-soft: #1B3A5C;
  --green: #16A34A;
  --green-dark: #15803D;
  --red: #DC2626;
  --bg: #F1F5F9;
  --card: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 42, 74, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 42, 74, 0.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--card);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 72px 0; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(15, 42, 74, 0.10); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:not(.btn):hover { color: var(--green); }
.nav-cta { padding: 9px 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; }
.hero-points li { margin: 8px 0; color: var(--ink); font-weight: 600; }
.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  margin-right: 8px;
}
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  margin: 0;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px 14px 8px;
  box-shadow: var(--shadow-lg);
}
.phone-frame img { border-radius: 14px; width: 100%; }
.phone-frame figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 10px 4px 6px;
}

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #fff; padding: 16px 0; }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}
.strip .dot { color: var(--green); }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #E8F7EE;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Showcase ---------- */
.showcase { background: var(--bg); }
.browser-frame {
  margin: 0 auto;
  max-width: 960px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.browser-frame img { border-radius: 10px; border: 1px solid var(--line); }
.browser-frame figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 12px 4px 4px;
}
.privacy-note { margin: 28px auto 0; max-width: 680px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step p { margin: 0; color: var(--muted); }

/* ---------- Plans ---------- */
.plans-section { background: var(--bg); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 8px 0 0; letter-spacing: -0.02em; }
.plan-price .currency { font-size: 1.5rem; vertical-align: top; }
.plan-price .per { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-tag { color: var(--muted); margin-bottom: 18px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-card ul li { padding: 7px 0 7px 28px; position: relative; }
.plan-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.plan-featured { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0;
  white-space: nowrap;
}
.plans-note { color: var(--muted); margin: 32px auto 0; max-width: 640px; font-size: 0.95rem; }

/* ---------- How to pay ---------- */
.pay-section { background: var(--bg); }
.pay-checkout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.pay-main { min-width: 0; }
.pay-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 16px;
}
.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.pay-plan-opt {
  font-family: var(--font);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pay-plan-opt:hover { border-color: var(--navy-soft); }
.pay-plan-opt.is-active {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.18);
}
.plan-opt-name { display: block; font-weight: 800; color: var(--navy); font-size: 1rem; }
.pay-plan-opt.is-active .plan-opt-name { color: #fff; }
.plan-opt-price { display: block; font-weight: 800; font-size: 1.35rem; color: var(--navy); margin-top: 2px; letter-spacing: -0.01em; }
.plan-opt-price span { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.pay-plan-opt.is-active .plan-opt-price { color: #fff; }
.pay-plan-opt.is-active .plan-opt-price span { color: #CBD5E1; }
.plan-opt-save { display: block; font-size: 0.78rem; font-weight: 700; color: var(--green); margin-top: 2px; min-height: 1.1em; }
.pay-plan-opt.is-active .plan-opt-save { color: #86EFAC; }
.pay-summary { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  color: var(--muted);
}
.summary-row strong { color: var(--navy); font-size: 1.02rem; text-align: right; }
.team-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.team-stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--bg);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
}
.team-stepper button:hover { background: var(--line); }
.team-stepper span { min-width: 44px; text-align: center; font-weight: 800; color: var(--navy); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 2px solid var(--navy);
  margin-top: 12px;
  padding-top: 16px;
}
.summary-total span { font-weight: 700; color: var(--navy); }
.summary-total strong { font-size: 1.7rem; color: var(--navy); letter-spacing: -0.02em; }
.gst-note { color: var(--muted); font-size: 0.9rem; margin: 10px 0 0; }
.pay-qr-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 28px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pay-qr-card .pay-label { color: #86EFAC; }
.qr-frame {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.qr-img { width: 220px; height: 220px; }
.qr-apps { color: #CBD5E1; font-size: 0.92rem; margin: 16px 0 0; }
.pay-qr-card .upi-fallback-label { color: #CBD5E1; margin: 18px 0 8px; font-size: 0.95rem; }
.pay-qr-card .upi-row { justify-content: center; margin: 0; }
.pay-qr-card .upi-id {
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: #fff;
}
.pay-qr-card .copy-btn { background: var(--green); }
.pay-qr-card .copy-btn:hover { background: var(--green-dark); }
.pay-qr-card .copy-btn.copied { background: #fff; color: var(--navy); }
.pay-steps-grid { margin-top: 4px; }
.upi-id {
  display: inline-block;
  background: var(--bg);
  border: 1px dashed var(--navy-soft);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.upi-fallback-label { margin-top: 14px; }
.upi-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { background: var(--navy-soft); }
.copy-btn.copied { background: var(--green); }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.contact-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}
.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--navy); word-break: break-word; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 36px 20px 0;
  text-align: left;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
}
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { display: none; padding: 0 0 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-item.open .faq-a { display: block; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #CBD5E1; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #CBD5E1; padding: 48px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.site-footer .brand-name { color: #fff; }
.footer-tag { margin: 14px 0 0; font-size: 0.95rem; max-width: 320px; }
.footer-heading {
  color: #fff;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer nav a {
  display: block;
  color: #CBD5E1;
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.97rem;
}
.site-footer nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
}
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone-frame { max-width: 240px; }
  .steps, .plans-grid { grid-template-columns: 1fr; }
  .pay-checkout { grid-template-columns: 1fr; padding: 26px 20px; }
  .plan-featured { margin-top: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 42, 74, 0.10);
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 14px; width: 100%; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .hero-actions .btn { flex: 1; }
  .pay-checkout { padding: 22px 16px; }
  .plan-opt-price { font-size: 1.15rem; }
  .plan-opt-name { font-size: 0.92rem; }
  .qr-img { width: 200px; height: 200px; }
  .summary-total strong { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
