/* ==========================================================================
   Rakshak Digital — marketing site
   Design system: Navy #1B2A4A + Amber #E8A33D (brand palette, matches logo)
   Plain CSS, no build step, no external fonts — hosts anywhere as static files.
   ========================================================================== */

:root {
  --navy:        #1B2A4A;
  --navy-2:      #2C4470;
  --navy-deep:   #111C33;
  --amber:       #E8A33D;
  --amber-light: #F5C46B;
  --amber-dark:  #B87A22;
  --ink:         #16203a;
  --body:        #45516b;
  --muted:       #6b7690;
  --line:        #e5e8f0;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fc;
  --bg-navy:     #131c30;
  --white:       #ffffff;
  --danger:      #cc0000;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(20,32,58,.06), 0 12px 32px rgba(20,32,58,.08);
  --shadow-lg:   0 24px 60px rgba(20,32,58,.16);
  --maxw:        1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--amber-dark); }
img, svg { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-dark); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--body); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(232,163,61,.35); }
.btn-primary:hover { background: var(--amber-light); color: var(--navy-deep); box-shadow: 0 12px 26px rgba(232,163,61,.45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-2); color: var(--navy); }
.btn-wa { background: #25D366; color: #05391a; }
.btn-wa:hover { background: #1fbe5b; color: #05391a; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand svg, .brand img { height: 40px; width: auto; display: block; }
.brand .brand-name { font-size: 1.15rem; }
.brand .brand-name small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-dark); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: 10px; font-weight: 600;
  font-size: .96rem; color: var(--body);
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a.nav-cta { margin-left: 8px; background: var(--navy); color: #fff; padding: 11px 20px; }
.nav-links a.nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--bg-navy); color: #c7d0e4; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin: 0 auto 52px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #d7deee;
  background: radial-gradient(120% 120% at 15% 0%, #24365c 0%, var(--bg-navy) 55%, #0d1526 100%);
  padding: 96px 0 88px;
}
.hero h1 { color: #fff; }
.hero .lead { color: #b9c3da; }
.hero .btn-row { margin-top: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: rgba(232,163,61,.12); border: 1px solid rgba(232,163,61,.35);
  color: var(--amber-light); font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px;
}
.hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(232,163,61,.20), transparent 62%); pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Split cards (homepage) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.path-card .tag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dark); }
.path-card h3 { font-size: 1.6rem; margin-top: 8px; }
.path-card p { flex: 1; }
.path-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; background: linear-gradient(135deg, var(--amber-light), var(--amber)); }
.path-card.navy .path-icon { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); height: 100%;
}
.section-navy .feature { background: #1a2540; border-color: #29365a; color: #b9c3da; }
.section-navy .feature h3 { color: #fff; }
.feature .fi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: rgba(232,163,61,.14); color: var(--amber-dark); margin-bottom: 16px; }
.section-navy .feature .fi { background: rgba(232,163,61,.16); color: var(--amber-light); }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .96rem; margin: 0; }

/* ---------- How it works steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- Demo selector ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.demo-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.demo-thumb { height: 150px; display: grid; place-items: center; font-size: 54px; color: #fff; }
.demo-thumb.fnb   { background: linear-gradient(135deg, #E8A33D, #B8621C); }
.demo-thumb.salon { background: linear-gradient(135deg, #7A5Cc0, #3B2E80); }
.demo-thumb.realestate { background: linear-gradient(135deg, #2C4470, #111C33); }
.demo-thumb.ai { background: linear-gradient(135deg, #12A594, #0B6E62); }
.demo-thumb.clothing { background: linear-gradient(135deg, #D6567F, #8E2F52); }
.demo-thumb.footwear { background: linear-gradient(135deg, #B5793F, #6E4522); }
.demo-thumb.mobile { background: linear-gradient(135deg, #4F5BD5, #2A2F80); }
.demo-thumb.grocery { background: linear-gradient(135deg, #2E9E5B, #1B6E3C); }
.demo-thumb.generalretail { background: linear-gradient(135deg, #5A6270, #333A4D); }
.demo-thumb.hotels { background: linear-gradient(135deg, #8E4B6E, #56294A); }
.demo-thumb.healthcare { background: linear-gradient(135deg, #159AB4, #0E6274); }
.demo-thumb.gym { background: linear-gradient(135deg, #E8552D, #A5310F); }
.demo-thumb.coaching { background: linear-gradient(135deg, #3E6DB5, #24467E); }

/* Vertical category groups (demo + business) */
.vert-cat + .vert-cat { margin-top: 52px; }
.vert-cat-title { font-size: 1.4rem; margin: 0 0 22px; padding-left: 14px; border-left: 4px solid var(--amber); }
.vert-cat-title small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.demo-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.demo-body h3 { margin-bottom: 6px; }
.demo-body p { font-size: .95rem; flex: 1; }
.demo-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 24px; padding: 56px 44px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c2cbe0; margin-bottom: 28px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.notice { background: #fff8ec; border: 1px solid #f2dcae; border-left: 4px solid var(--amber); border-radius: 10px; padding: 18px 22px; color: #6a5320; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9aa6c2; padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #9aa6c2; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--amber-light); }
.footer-brand p { max-width: 34ch; font-size: .94rem; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid #26304d; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; color: #7f8bab; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.pill { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .84rem; font-weight: 600; color: var(--navy); margin: 3px; }
.section-navy .pill { background: #1a2540; border-color: #29365a; color: #c7d0e4; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-links a.nav-cta { margin: 8px 0 0; text-align: center; }
  .split, .grid-3, .grid-2, .steps, .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 44px 24px; }
}
