/* ====================================================================
   Zinble Edge Services — shared stylesheet for the compliance / legal
   pages (Privacy, Statutory Compliance, Commission Disclosure, Terms).
   Mirrors the light-luxury HNI theme used on index.html.
==================================================================== */
:root {
  --bg:        #eef1f6;
  --bg-soft:   #e7ebf2;
  --panel:     #ffffff;
  --panel-2:   #f4f6fa;
  --panel-3:   #e6eaf1;
  --ink:       #0e1420;
  --text:      #2c3441;
  --muted:     #5c6675;
  --muted-2:   #8b94a3;
  --line:      #e4e8ef;
  --line-2:    #d3d9e3;

  --green:      #39ff14;
  --green-hov:  #4dff32;
  --green-ink:  #0a8f2c;
  --green-deep: #07761f;
  --green-soft: rgba(57, 255, 20, .14);
  --green-tint: rgba(10, 143, 44, .10);

  --red:       #d30000;
  --red-ink:   #b00000;
  --red-soft:  rgba(211, 0, 0, .07);

  --radius:    18px;
  --shadow:    0 18px 50px -24px rgba(16, 22, 40, .30);
  --shadow-sm: 0 8px 24px -14px rgba(16, 22, 40, .22);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --rupee-cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='30'%20viewBox='0%200%2026%2030'%3E%3Ctext%20x='1'%20y='22'%20font-family='Georgia,serif'%20font-size='24'%20font-weight='700'%20fill='%230a8f2c'%20stroke='%2306351a'%20stroke-width='0.8'%3E%E2%82%B9%3C/text%3E%3C/svg%3E") 5 6, auto;
}

* { cursor: var(--rupee-cursor); }
input, textarea, select { cursor: text; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(720px 520px at 12% -8%, rgba(57,255,20,.10), transparent 60%),
    radial-gradient(680px 520px at 100% 0%, rgba(211,0,0,.05), transparent 55%);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: .2px; }
a { text-decoration: none; }
::selection { background: var(--green-ink); color: #fff; }

.text-green { color: var(--green-ink) !important; }
.text-red   { color: var(--red)       !important; }
.text-ink   { color: var(--ink)       !important; }

/* ---------------- Buttons ---------------- */
.btn { font-family: var(--sans); font-weight: 700; border-radius: 999px; padding: .7rem 1.4rem; letter-spacing: .2px; transition: .25s ease; }
.btn-green { background: var(--green); color: #06210a; border: 1px solid var(--green); box-shadow: 0 12px 26px -10px rgba(57,255,20,.6); }
.btn-green:hover { background: var(--green-hov); color: #052006; transform: translateY(-2px); }
.btn-ghost { background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--green-ink); color: var(--green-ink); transform: translateY(-2px); }

.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(57,255,20,.55); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57,255,20,.55); } 70% { box-shadow: 0 0 0 14px rgba(57,255,20,0); } 100% { box-shadow: 0 0 0 0 rgba(57,255,20,0); } }

/* ---------------- Navbar ---------------- */
.navbar { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; background: transparent; border-bottom: 1px solid transparent; padding: .9rem 0; }
.navbar.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(16,22,40,.6); }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { height: 46px; width: auto; border-radius: 10px; background: #fff; padding: 4px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .brand-name { font-family: var(--serif); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: .5px; }
.brand-text .brand-sub { font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--green-ink); margin-top: 4px; }
.navbar .nav-link { color: var(--ink) !important; font-weight: 600; font-size: .94rem; padding: .5rem .95rem !important; border-radius: 8px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--green-ink) !important; }
.navbar-toggler { border: 1px solid var(--line-2); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--ink); }

/* ---------------- Page header ---------------- */
.legal-hero { padding: clamp(7rem, 12vw, 9rem) 0 1.5rem; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-ink); }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.08; margin-bottom: .8rem; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.crumb { color: var(--muted-2); font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.crumb a { color: var(--green-ink); }
.crumb i { margin: 0 .35rem; }

/* ---------------- Body / prose ---------------- */
.legal-body { padding-bottom: 4rem; }
.legal-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 4vw, 3rem); }
.legal-card h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; padding-top: .4rem; }
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card h3 { font-size: 1.08rem; margin: 1.3rem 0 .5rem; color: var(--ink); }
.legal-card p, .legal-card li { color: var(--text); font-size: .98rem; }
.legal-card ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-card li { margin-bottom: .5rem; }
.legal-card a { color: var(--green-ink); font-weight: 600; }
.legal-card a:hover { color: var(--green-deep); text-decoration: underline; }
.legal-card strong, .legal-card b { color: var(--ink); }

.note { background: var(--green-tint); border: 1px solid rgba(10,143,44,.3); border-radius: 13px; padding: 1rem 1.2rem; font-size: .92rem; color: var(--text); margin-bottom: 1.5rem; }
.note i { color: var(--green-ink); margin-right: .5rem; }

.reg-warning { background: var(--red-soft); border: 2px solid var(--red); border-radius: 16px; padding: 1.2rem 1.4rem; color: #7a1010; font-weight: 600; font-size: .95rem; line-height: 1.55; margin: 1.5rem 0; }
.reg-warning b { color: var(--ink); }
.reg-warning i { color: var(--red); margin-right: .4rem; }

.legal-card table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.legal-card th, .legal-card td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.legal-card th { background: var(--panel-2); color: var(--ink); font-weight: 700; }
.legal-card tbody tr:nth-child(even) td { background: #fbfcfe; }

.toc { background: var(--panel-2); border: 1px solid var(--line); border-radius: 13px; padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.toc b { display: block; color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; }
.toc a { color: var(--text); font-weight: 600; font-size: .9rem; }
.toc a:hover { color: var(--green-ink); }
@media (max-width: 575px) { .toc ol { columns: 1; } }

/* ---------------- Footer ---------------- */
.footer { background: linear-gradient(180deg, var(--panel), #eef1f6); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer .brand-logo { height: 50px; }
.footer h6 { font-family: var(--sans); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; color: var(--ink); margin-bottom: 1.1rem; }
.footer-link { color: var(--muted); display: block; padding: .3rem 0; font-size: .92rem; font-weight: 500; }
.footer-link:hover { color: var(--green-ink); }
.reg-meta { font-size: .82rem; color: var(--muted); }
.reg-pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--green-ink); background: var(--green-tint); border: 1px solid rgba(10,143,44,.35); border-radius: 999px; padding: .3rem .8rem; }
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------------- Floating WhatsApp ---------------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 1050; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #06210a; font-size: 1.7rem; box-shadow: 0 16px 34px -10px rgba(57,255,20,.7); animation: pulse 2.4s infinite; }
.fab-wa:hover { color: #052006; transform: scale(1.06); }

@media (max-width: 991px) {
  .navbar-collapse { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin-top: 1rem; box-shadow: var(--shadow); }
  .brand-logo { height: 40px; }
}
