/* ==========================================================================
   Grok Media Pvt Ltd — political campaign consultancy
   Plain CSS, no build step, no external dependencies.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --bg:            #06070f;
  --bg-alt:        #0b0d1c;
  --bg-deep:       #04050c;
  --surface:       #11142a;
  --surface-2:     #191d3a;
  --line:          #2a3057;
  --line-soft:     #1d2242;

  --text:          #eef1fb;
  --text-muted:    #a3adcf;
  --text-dim:      #717ca6;

  /* Brand spectrum — used across cards, badges and gradients */
  --saffron:       #ff8a2b;
  --saffron-2:     #ffc247;
  --pink:          #ff4d8d;
  --pink-2:        #ff7eb6;
  --violet:        #9d5cff;
  --violet-2:      #c39bff;
  --blue:          #3d8bff;
  --blue-2:        #66b3ff;
  --green:         #22c98a;
  --green-2:       #5ce8ac;
  --cyan:          #22d3ee;
  --cyan-2:        #7ee7f7;

  --ok:            #22c98a;
  --warn:          #ffc247;

  --grad-hot:  linear-gradient(120deg, #ff8a2b 0%, #ff4d8d 50%, #9d5cff 100%);
  --grad-cool: linear-gradient(120deg, #3d8bff 0%, #22d3ee 55%, #22c98a 100%);
  --grad-full: linear-gradient(120deg, #ff8a2b 0%, #ff4d8d 28%, #9d5cff 55%, #3d8bff 78%, #22d3ee 100%);

  --radius:    16px;
  --radius-lg: 26px;
  --shadow:    0 22px 60px -22px rgba(0, 0, 0, .8);

  --max:  1180px;
  --gap:  24px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

/* Per-accent theming. Any element with data-accent="green" (etc.) gets these. */
[data-accent="saffron"] { --a: var(--saffron); --a2: var(--saffron-2); }
[data-accent="pink"]    { --a: var(--pink);    --a2: var(--pink-2); }
[data-accent="violet"]  { --a: var(--violet);  --a2: var(--violet-2); }
[data-accent="blue"]    { --a: var(--blue);    --a2: var(--blue-2); }
[data-accent="green"]   { --a: var(--green);   --a2: var(--green-2); }
[data-accent="cyan"]    { --a: var(--cyan);    --a2: var(--cyan-2); }
[data-accent]           { --a-grad: linear-gradient(120deg, var(--a), var(--a2)); }

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section--deep { background: var(--bg-deep); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #0b0714;
  background: var(--grad-hot);
}
.eyebrow--cool { background: var(--grad-cool); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--text-muted); font-size: 1.04rem; margin-bottom: 0; }
.grad-text {
  background: var(--grad-hot);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text--cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; }
.grad-text--full { background: var(--grad-full); -webkit-background-clip: text; background-clip: text; }

/* Tricolour rule — subtle nod to the national palette */
.tri-rule {
  height: 4px; border-radius: 4px; width: 72px; margin-bottom: 20px;
  background: linear-gradient(90deg, var(--saffron) 0 33%, #f2f4ff 33% 66%, var(--green) 66% 100%);
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: .95rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-hot);
  color: #100616;
  box-shadow: 0 14px 34px -12px rgba(255, 77, 141, .75);
}
.btn--primary:hover { filter: brightness(1.08); }
.btn--cool {
  background: var(--grad-cool);
  color: #04141a;
  box-shadow: 0 14px 34px -12px rgba(61, 139, 255, .7);
}
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--ghost:hover { border-color: var(--pink-2); color: var(--pink-2); }
.btn--sm { padding: 9px 19px; font-size: .86rem; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 7, 15, .84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header::after {
  content: ""; display: block; height: 2px;
  background: var(--grad-full);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.035em; font-size: 1.14rem; }
.brand__mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 11px;
  background: var(--grad-hot);
  display: grid; place-items: center;
  color: #100616; font-weight: 900; font-size: 1rem;
  box-shadow: 0 8px 20px -8px rgba(255, 77, 141, .9);
}
.brand__sub { display: block; font-size: .61rem; font-weight: 700; letter-spacing: .19em; color: var(--text-dim); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px; border-radius: 9px;
  font-size: .92rem; font-weight: 600; color: var(--text-muted);
  transition: color .16s ease, background .16s ease;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__links a.is-active { color: var(--pink-2); background: rgba(255, 77, 141, .1); }
.nav__links a.btn.is-active { color: #100616; }
.nav__toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 11px;
  background: transparent; cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--text); border-radius: 2px; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; padding: 104px 0 92px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5; }
.blob--1 { width: 520px; height: 520px; top: -180px; left: -140px; background: var(--saffron); }
.blob--2 { width: 460px; height: 460px; top: -120px; right: -100px; background: var(--violet); }
.blob--3 { width: 420px; height: 420px; bottom: -220px; left: 38%; background: var(--blue); opacity: .38; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.8vw, 4.2rem); max-width: 16ch; margin-bottom: .3em; }
.hero__lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--text-muted); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: .87rem; color: var(--text-dim); }

/* ---------- Stat strip --------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 66px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--a-grad, var(--grad-hot));
}
.stat__num { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; letter-spacing: -.04em; color: var(--a, var(--saffron)); }
.stat__label { font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ---------- Service cards ------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: var(--a-grad);
}
.svc-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: -110px;
  border-radius: 50%; background: var(--a); opacity: .11; filter: blur(40px);
  transition: opacity .22s ease;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--a); box-shadow: var(--shadow); }
.svc-card:hover::after { opacity: .22; }
.svc-card > * { position: relative; }
.svc-card__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--a-grad); color: #0a0714;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -10px var(--a);
}
.svc-card h3 { font-size: 1.16rem; margin-bottom: .25em; }
.svc-card__tag { color: var(--a2); font-size: .87rem; font-weight: 700; margin-bottom: 12px; }
.svc-card p { color: var(--text-muted); font-size: .93rem; }
.svc-card__points { display: grid; gap: 8px; margin-top: 16px; }
.svc-card__points li { position: relative; padding-left: 22px; font-size: .87rem; color: var(--text-muted); }
.svc-card__points li::before {
  content: ""; position: absolute; left: 3px; top: .55em;
  width: 8px; height: 8px; border-radius: 3px; background: var(--a-grad);
}

/* ---------- Category cards ---------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: var(--gap); }
.cat-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: auto 0 0; height: 3px;
  background: var(--a-grad, var(--grad-hot));
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.cat-card:hover { border-color: var(--a, var(--saffron)); transform: translateY(-5px); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--a, var(--saffron)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--a, var(--saffron)) 40%, transparent);
  margin-bottom: 16px; color: var(--a2, var(--saffron-2));
  font-weight: 900;
}
.cat-card h3 { font-size: 1.04rem; }
.cat-card p { color: var(--text-muted); font-size: .91rem; margin-bottom: 12px; }
.cat-card__count { font-size: .8rem; color: var(--a2, var(--saffron-2)); font-weight: 700; }

/* ---------- Tool filter bar --------------------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--text-muted); font-size: .86rem; font-weight: 600; cursor: pointer;
  transition: all .16s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--a, var(--text-dim)); }
.filter-btn.is-active {
  background: var(--a-grad, var(--grad-hot));
  color: #0d0714; border-color: transparent; font-weight: 700;
}
.search { position: relative; flex: 1 1 240px; max-width: 320px; }
.search input {
  width: 100%; padding: 11px 16px 11px 40px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: .9rem;
  outline: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.search input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 77, 141, .16); }
.search input::placeholder { color: var(--text-dim); }
.search__icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); }

/* ---------- Tool cards --------------------------------------------------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); }
.tool-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tool-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--a-grad);
}
.tool-card:hover { border-color: var(--a); transform: translateY(-5px); box-shadow: var(--shadow); }
.tool-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tool-card__name { font-size: 1.12rem; margin: 0; }
.tool-card__tag { color: var(--a2); font-size: .85rem; font-weight: 700; margin-bottom: 12px; }
.tool-card__desc { color: var(--text-muted); font-size: .92rem; flex: 1; }
.tool-card__features { margin: 4px 0 16px; display: grid; gap: 7px; }
.tool-card__features li { position: relative; padding-left: 20px; font-size: .87rem; color: var(--text-muted); }
.tool-card__features li::before {
  content: ""; position: absolute; left: 4px; top: .58em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--a-grad);
}
.tool-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.stack { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .71rem; padding: 3px 9px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line-soft);
  color: var(--text-dim); font-family: var(--mono);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .71rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge--live { background: rgba(34, 201, 138, .14); color: var(--green-2); border: 1px solid rgba(34, 201, 138, .38); }
.badge--maintenance { background: rgba(255, 194, 71, .14); color: var(--warn); border: 1px solid rgba(255, 194, 71, .38); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tool-link { font-size: .86rem; font-weight: 700; color: var(--a2); }
.tool-link:hover { filter: brightness(1.2); }
.tool-access { font-size: .8rem; color: var(--text-dim); font-style: italic; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-dim); grid-column: 1 / -1; }

/* ---------- Process steps ------------------------------------------------ */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-5px); border-color: var(--a); }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 15px;
  display: grid; place-items: center;
  background: var(--a-grad); color: #0a0714;
  font-weight: 900; font-size: 1.05rem;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ---------- Split / panels ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.panel {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 32px;
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad-cool);
}
.panel h3 { font-size: 1.08rem; }
.check-list { display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-muted); font-size: .94rem; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: .12em;
  width: 21px; height: 21px; border-radius: 7px;
  display: grid; place-items: center; font-size: .68rem; font-weight: 900;
  background: var(--grad-hot); color: #0d0714;
}
.check-list--cool li::before { background: var(--grad-cool); color: #04141a; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-full); opacity: .14;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: var(--grad-full);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.1vw, 2.2rem); }
.cta-band p { color: var(--text-muted); max-width: 56ch; margin-inline: auto; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Contact ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.contact-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--a-grad, var(--grad-hot));
}
.contact-card h3 { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.contact-card a, .contact-card p { color: var(--text); font-size: 1rem; margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--a2); }

.field { display: grid; gap: 6px; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--text);
  outline: none; font-weight: 400;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 139, 255, .18);
}
.field textarea { resize: vertical; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-deep); padding: 0 0 30px; }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--grad-full); }
.site-footer .wrap { padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.footer-grid p { color: var(--text-muted); font-size: .92rem; max-width: 42ch; }
.footer-col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--pink-2); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: var(--text-dim); font-size: .85rem;
}

/* ---------- Reveal animation -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-alt); border-bottom: 1px solid var(--line-soft);
    padding: 12px 18px 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__links .btn { margin-top: 8px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
  .cta-band { padding: 40px 22px; }
  .blob { opacity: .35; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tool-grid, .svc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
