/* ==============================================================================
   G TECH SOLUTIONS — PUBLIC SITE (Home / About)
   Palette lifted from gtech.ind.in : brand #3366f2, accent #06aed4, ink slate
   ============================================================================== */

:root {
  /* Brand blue — gtech.ind.in --color-brand-* */
  --b-50:  #eef4ff;
  --b-100: #d9e6ff;
  --b-200: #bcd3ff;
  --b-300: #8eb6ff;
  --b-400: #598eff;
  --b-500: #3366f2;
  --b-600: #1f47d6;
  --b-700: #1a37ab;
  --b-800: #1b3187;
  --b-900: #142a63;
  --b-950: #0a1738;

  /* Accent cyan — --color-accent-* */
  --a-50:  #ecfeff;
  --a-100: #cff9fe;
  --a-300: #67e4f9;
  --a-400: #22cdee;
  --a-500: #06aed4;
  --a-600: #088bb2;

  /* Ink slate — --color-ink-* */
  --i-50:  #f8fafc;
  --i-100: #f1f5f9;
  --i-200: #e2e8f0;
  --i-300: #cbd5e1;
  --i-400: #94a3b8;
  --i-500: #64748b;
  --i-600: #475569;
  --i-700: #334155;
  --i-800: #1e293b;
  --i-900: #0f172a;

  --ok: #009767;
  --warn: #dd7400;

  --font: "Plus Jakarta Sans", "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hi: "Noto Sans Devanagari", "Plus Jakarta Sans", sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --sh-md: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 10px 20px -5px rgba(15, 23, 42, .1);
  --sh-lg: 0 20px 40px -12px rgba(15, 23, 42, .18);
  --sh-brand: 0 10px 30px -8px rgba(51, 102, 242, .45);

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--i-700);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
}

/* Hindi line + English line pairing ---------------------------------------- */
.hi { font-family: var(--hi); }
.en {
  display: block;
  font-size: .82em;
  font-weight: 500;
  color: var(--i-500);
  letter-spacing: .01em;
  margin-top: 3px;
}
h1 .en, h2 .en, h3 .en { font-weight: 600; }

/* ------------------------------- NAVBAR ----------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--i-200);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 96px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}
.brand-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--i-900);
  letter-spacing: -.01em;
  line-height: 1.15;
}
.brand-sub { font-size: 12.5px; color: var(--i-500); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--i-600);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--b-50); color: var(--b-600); }
.nav-links a.active { color: var(--b-600); background: var(--b-50); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Login lives in the dropdown on mobile, where the header button is hidden */
.nav-auth-m { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--i-200);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  color: var(--i-700);
}

/* ------------------------------- BUTTONS ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--b-500), var(--b-600));
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--b-600), var(--b-700));
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(51, 102, 242, .55);
}

.btn-outline {
  background: #fff;
  color: var(--b-600);
  border-color: var(--b-200);
}
.btn-outline:hover { background: var(--b-50); border-color: var(--b-400); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--i-700); }
.btn-ghost:hover { background: var(--i-100); }

.btn-lg { padding: 14px 28px; font-size: 15.5px; }

/* ------------------------------- HERO ------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  background:
    radial-gradient(1000px 520px at 88% -8%, var(--b-50) 0%, transparent 60%),
    radial-gradient(760px 420px at -5% 15%, var(--a-50) 0%, transparent 55%),
    #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--b-50);
  border: 1px solid var(--b-200);
  color: var(--b-700);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(0, 151, 103, .18);
}
.hero h1 {
  font-family: var(--hi);
  font-size: clamp(30px, 4.4vw, 47px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--i-900);
  letter-spacing: -.02em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--b-500), var(--a-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .en { font-size: .48em; color: var(--i-500); margin-top: 12px; line-height: 1.4; }
.hero-lead {
  margin-top: 20px;
  font-size: 16px;
  color: var(--i-600);
  max-width: 560px;
  font-family: var(--hi);
}
.hero-lead .en { font-size: 14.5px; margin-top: 8px; font-family: var(--font); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--i-200);
}
.stat-n {
  font-size: 25px;
  font-weight: 800;
  color: var(--b-600);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat-l { font-size: 12.5px; color: var(--i-500); font-weight: 600; margin-top: 3px; }

.hero-art { position: relative; }
.hero-art-glow {
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(circle, rgba(51, 102, 242, .16), transparent 68%);
  filter: blur(42px);
  z-index: 0;
}
.hero-art svg { position: relative; z-index: 1; width: 100%; height: auto; }

/* ------------------------------ SECTIONS ---------------------------------- */
.sec { padding: 78px 0; }
.sec-tint { background: linear-gradient(180deg, var(--i-50), #fff); }
.sec-dark {
  background: linear-gradient(150deg, var(--b-950) 0%, var(--i-900) 55%, var(--b-900) 100%);
  color: var(--i-200);
}
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--b-500);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-family: var(--hi);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 800;
  color: var(--i-900);
  line-height: 1.32;
  letter-spacing: -.02em;
}
.sec-head h2 .en { font-size: .58em; color: var(--i-500); margin-top: 8px; }
.sec-head p { margin-top: 14px; color: var(--i-600); font-size: 15.5px; font-family: var(--hi); }
.sec-head p .en { font-size: 14px; font-family: var(--font); }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .sec-head h2 .en { color: var(--i-400); }
.sec-dark .sec-head p { color: var(--i-300); }
.sec-dark .sec-head p .en { color: var(--i-400); }
.sec-dark .sec-tag { color: var(--a-400); }

/* ------------------------------- CARDS ------------------------------------ */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--i-200);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--b-200);
}
.card h3 {
  font-family: var(--hi);
  font-size: 17px;
  font-weight: 800;
  color: var(--i-900);
  margin-bottom: 9px;
}
.card h3 .en { font-size: .74em; margin-top: 2px; }
.card p { font-size: 14px; color: var(--i-600); font-family: var(--hi); }
.card p .en { font-size: 13px; font-family: var(--font); color: var(--i-500); }

.ico {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--b-50);
  color: var(--b-600);
  border: 1px solid var(--b-100);
  font-size: 22px;
  line-height: 1;
}
.ico.cyan { background: var(--a-50); color: var(--a-600); border-color: var(--a-100); }
.ico.green { background: #e7f8f2; color: var(--ok); border-color: #c4ecdf; }
.ico.amber { background: #fff6e8; color: var(--warn); border-color: #ffe2bd; }

/* ------------------------------ STEPS ------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff;
  border: 1px solid var(--i-200);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--sh-sm);
}
.step-n {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--b-500), var(--b-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  box-shadow: var(--sh-brand);
  margin-bottom: 15px;
}
.step h3 { font-family: var(--hi); font-size: 16px; font-weight: 800; color: var(--i-900); margin-bottom: 7px; }
.step h3 .en { font-size: .75em; margin-top: 2px; }
.step p { font-size: 13.5px; color: var(--i-600); font-family: var(--hi); }
.step p .en { font-size: 12.5px; font-family: var(--font); }

/* --------------------------- SPLIT FEATURE -------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.flip .split-art { order: -1; }
.split h2 {
  font-family: var(--hi);
  font-size: clamp(23px, 2.8vw, 31px);
  font-weight: 800;
  color: var(--i-900);
  line-height: 1.34;
  letter-spacing: -.02em;
}
.split h2 .en { font-size: .58em; margin-top: 8px; }
.split > div > p { margin-top: 16px; color: var(--i-600); font-size: 15px; font-family: var(--hi); }
.split > div > p .en { font-size: 13.5px; font-family: var(--font); }
.sec-dark .split h2 { color: #fff; }
.sec-dark .split h2 .en { color: var(--i-400); }
.sec-dark .split > div > p { color: var(--i-300); }

.ticks { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--i-700); font-family: var(--hi); }
.ticks li .en { font-size: 13px; font-family: var(--font); }
.tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--b-50);
  color: var(--b-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  margin-top: 2px;
  border: 1px solid var(--b-100);
}
.sec-dark .ticks li { color: var(--i-200); }
.sec-dark .ticks li .en { color: var(--i-400); }
.sec-dark .tick { background: rgba(51, 102, 242, .2); color: var(--b-300); border-color: rgba(51, 102, 242, .35); }

/* ------------------------------ CALLOUT ----------------------------------- */
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--b-50);
  border: 1px solid var(--b-100);
  border-left: 4px solid var(--b-500);
  margin-top: 26px;
}
.note.amber { background: #fff9f0; border-color: #ffe2bd; border-left-color: var(--warn); }
.note-i { font-size: 19px; line-height: 1.2; flex: 0 0 auto; }
.note p { font-size: 13.8px; color: var(--i-700); font-family: var(--hi); margin: 0; }
.note p .en { font-size: 12.8px; font-family: var(--font); }

/* -------------------------------- FAQ ------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--i-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq details[open] { border-color: var(--b-300); box-shadow: var(--sh-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 22px;
  font-family: var(--hi);
  font-weight: 700;
  font-size: 15px;
  color: var(--i-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--b-50);
  color: var(--b-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
  transition: background .2s;
}
.faq details[open] summary::after { content: "\2212"; background: var(--b-500); color: #fff; }
.faq-body { padding: 0 22px 19px; font-size: 14px; color: var(--i-600); font-family: var(--hi); }
.faq-body .en { font-size: 13px; font-family: var(--font); }

/* -------------------------------- CTA ------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--b-600) 0%, var(--b-500) 45%, var(--a-500) 130%);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  text-align: center;
  color: #fff;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%);
}
.cta-band h2 {
  font-family: var(--hi);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.32;
  position: relative;
}
.cta-band h2 .en { font-size: .56em; color: rgba(255, 255, 255, .8); margin-top: 8px; }
.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-family: var(--hi);
  position: relative;
}
.cta-band p .en { font-size: 13.5px; font-family: var(--font); color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 30px; position: relative; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--b-600);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .3);
}
.cta-band .btn-primary:hover { background: var(--b-50); }
.cta-band .btn-outline {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .2); }

/* ------------------------------- FOOTER ----------------------------------- */
.foot {
  background: var(--i-900);
  color: var(--i-400);
  padding: 54px 0 26px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot .brand-name { color: #fff; }
.foot .brand-sub { color: var(--i-400); }
.foot-about { margin-top: 15px; font-size: 13.5px; line-height: 1.7; max-width: 330px; font-family: var(--hi); }
.foot h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 15px; }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot ul a { font-size: 13.8px; color: var(--i-400); transition: color .16s; }
.foot ul a:hover { color: var(--a-400); }
.foot-bot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
}
.foot-bot a { color: var(--a-400); }

/* ---------------------------- DIAGRAM BLOCK ------------------------------- */
.figure {
  background: #fff;
  border: 1px solid var(--i-200);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--sh-sm);
}
.figure figcaption {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--i-500);
  font-family: var(--hi);
}
.figure figcaption .en { font-size: 12.5px; font-family: var(--font); }

/* ------------------------------ PAGE HEAD --------------------------------- */
.phead {
  padding: 62px 0 54px;
  background:
    radial-gradient(900px 400px at 80% -20%, var(--b-50), transparent 62%),
    linear-gradient(180deg, var(--i-50), #fff);
  border-bottom: 1px solid var(--i-200);
  text-align: center;
}
.phead h1 {
  font-family: var(--hi);
  font-size: clamp(27px, 4vw, 41px);
  font-weight: 800;
  color: var(--i-900);
  line-height: 1.26;
  letter-spacing: -.02em;
}
.phead h1 .en { font-size: .5em; margin-top: 10px; }
.phead p { margin-top: 15px; color: var(--i-600); font-size: 15.5px; max-width: 680px; margin-inline: auto; font-family: var(--hi); }
.phead p .en { font-size: 14px; font-family: var(--font); }

/* ------------------------------ RESPONSIVE -------------------------------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 36px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 96px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--i-200);
    padding: 12px 20px 18px;
    box-shadow: var(--sh-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .nav-auth-m {
    display: block;
    margin-top: 8px;
    padding-top: 16px !important;
    border-top: 1px solid var(--i-200);
    color: var(--b-600) !important;
    font-weight: 700;
  }

  .hero { padding: 48px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; max-width: 460px; margin: 28px auto 0; }
  .hero-lead { max-width: none; }
  .hero-stats { gap: 22px; }

  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-art { order: 0; }
  .cta-band { padding: 38px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .figure { padding: 20px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-stats { gap: 18px 26px; }
  .card { padding: 20px; }
  .nav-in { height: 76px; }
  .nav-links { top: 76px; }
  .brand { gap: 9px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 15.5px; white-space: nowrap; }
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------- POST-LOGOUT NOTICE ---------------------- */
.logout-toast {
  position: fixed;
  left: 50%;
  top: 112px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, 92vw);
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--b-200);
  border-left: 4px solid var(--ok);
  box-shadow: var(--sh-lg);
  font-family: var(--hi);
  font-size: 14px;
  color: var(--i-800);
  animation: toastIn .3s cubic-bezier(.16, 1, .3, 1);
}
.logout-toast.is-timeout { border-left-color: var(--warn); }
.logout-toast .lt-i { font-size: 18px; line-height: 1; flex: 0 0 auto; }
.logout-toast .lt-x {
  margin-left: auto;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--i-400);
  font-size: 19px;
  line-height: 1;
  padding: 0 2px;
}
.logout-toast .lt-x:hover { color: var(--i-700); }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 560px) {
  .logout-toast { top: 84px; font-size: 13px; padding: 11px 14px; }
}
