/* JaldiKart — brand tokens sampled from the logo artwork */
:root {
  --navy: #052b74;
  --navy-deep: #021950;
  --blue: #0b44b8;
  --sky: #2f6bff;
  --green: #f86a00; /* accent = JaldiKart orange */
  --orange: #f86a00;
  --orange-2: #ffa21a;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #0b1736;
  --muted: #5b6785;
  --border: #e3e8f2;
  --link: #0b44b8;
  --danger: #e5484d;
  --danger-soft: #fff1f1;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(10 36 99 / 0.06);
  --shadow: 0 1px 2px rgb(10 36 99 / 0.05), 0 8px 24px -8px rgb(10 36 99 / 0.12);
  --shadow-lg: 0 24px 48px -16px rgb(10 36 99 / 0.25);
  --header-h: 68px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* The original logo PNG has generous white margins; object-fit crops them
   visually without altering the file. */
.brand img {
  height: 46px;
  width: 206px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--blue);
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .brand img {
    height: 40px;
    width: 179px;
  }
  .nav {
    margin: 0 -16px;
    padding: 0 16px 2px;
  }
  .nav a {
    padding: 7px 12px;
    font-size: 0.86rem;
  }
  :root {
    --header-h: 104px;
  }
}

/* ---------- Hero bands ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgb(47 107 255 / 0.40), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgb(248 106 0 / 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #0b3aa8 100%);
}

/* Speed lines echoing the logo's motion mark */
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  width: 420px;
  height: 180px;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, transparent, rgb(255 162 26 / 0.22)) 0 20px / 70% 22px no-repeat,
    linear-gradient(90deg, transparent, rgb(248 106 0 / 0.18)) 60px 78px / 85% 22px no-repeat,
    linear-gradient(90deg, transparent, rgb(255 162 26 / 0.12)) 30px 136px / 60% 22px no-repeat;
  border-radius: 999px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero::after {
    display: none;
  }
}

.page-hero {
  padding: 48px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfe0ff;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-2);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-weight: 800;
}

.hero .lead {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: #c9d6f5;
  max-width: 640px;
  margin: 0;
}

.hero .meta {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #9fb3e3;
}

/* ---------- Doc layout (privacy / terms) ---------- */
.doc-wrap {
  display: grid;
  gap: 28px;
  margin-top: -28px;
  padding-bottom: 64px;
  position: relative;
  z-index: 2;
}

@media (min-width: 980px) {
  .doc-wrap {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}

@media (min-width: 980px) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
  }
}

.toc summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.toc[open] summary::after {
  transform: rotate(-135deg);
}

@media (min-width: 980px) {
  .toc summary {
    pointer-events: none;
  }
  .toc summary::after {
    display: none;
  }
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}

.toc a {
  display: block;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.toc a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.toc a.active {
  color: var(--blue);
  background: var(--surface-2);
  border-left-color: var(--blue);
}

.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 0;
}

@media (min-width: 640px) {
  .doc {
    padding: 40px 44px;
  }
}

.doc .intro {
  font-size: 1.05rem;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border-left: 4px solid var(--blue);
  margin-bottom: 32px;
}

.doc section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.doc section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.doc h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.doc h2 .num {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--surface-2);
  transform: translateY(-2px);
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

li::marker {
  color: var(--blue);
}

strong {
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

/* ---------- Generic cards / grids ---------- */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  min-width: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

a.card {
  display: block;
  color: var(--text);
  text-decoration: none;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
}

.card h3 {
  font-size: 1.08rem;
  margin: 14px 0 6px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 8px 18px -8px rgb(0 102 255 / 0.7);
  flex-shrink: 0;
}

.icon.green {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 18px -8px rgb(248 106 0 / 0.7);
}

.icon.navy {
  background: linear-gradient(135deg, #1d3f99, var(--navy));
}

.icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Home ---------- */
.home-hero {
  padding: 56px 0 120px;
  text-align: center;
}

.home-hero .lead {
  margin: 0 auto;
}

.hero-logo {
  width: min(320px, 70vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 30px rgb(0 0 0 / 0.25));
}

.app-cards {
  margin-top: -84px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-card .logo-box {
  width: 100%;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 22px;
  margin-bottom: 18px;
}

.app-card .logo-box img {
  height: 120px;
  width: auto;
}

.app-card h3 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.app-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--blue);
  margin-bottom: 12px;
}

.tag.green {
  color: #c24e00;
  background: color-mix(in srgb, var(--orange) 14%, transparent);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 12px;
  background: #0b1736;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: left;
}

.store-badge b {
  display: block;
  font-size: 0.98rem;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}


.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.step {
  position: relative;
  padding-top: 56px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: var(--blue);
}

.cta-band {
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 8px;
}

.cta-band p {
  color: #c9d6f5;
  margin: 0 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  transition: transform 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------- Contact ---------- */
.contact-cards {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: transform 0.2s, border-color 0.2s;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.contact-card .label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card .value {
  font-weight: 800;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.two-col {
  display: grid;
  gap: 24px;
  padding: 48px 0 64px;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: start;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  min-width: 0;
}

.panel h2 {
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  margin-top: 16px;
}

.callout svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 3px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 48px 14px 16px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue);
  background: var(--surface-2);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Delete account ---------- */
.option-grid {
  display: grid;
  gap: 18px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.option h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.badge-inline {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  color: #c24e00;
  background: color-mix(in srgb, var(--orange) 15%, transparent);
}

.numbered {
  list-style: none;
  padding: 0;
  counter-reset: n;
}

.numbered li {
  counter-increment: n;
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
}

.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--blue);
}

.check-list,
.keep-list {
  list-style: none;
  padding: 0;
}

.check-list li,
.keep-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.keep-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
}

.check-list li::before {
  content: "✓";
  background: #16a34a;
}

.keep-list li::before {
  content: "i";
  background: var(--sky);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  color: #b8c6e8;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 48px 0 28px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  max-width: 280px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #b8c6e8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #8ea0cc;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .reveal.d1 {
    animation-delay: 0.08s;
  }
  .reveal.d2 {
    animation-delay: 0.16s;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}


/* ---------- JaldiKart additions ---------- */
/* Original logo images shown inside white "brand cards" so their white
   backgrounds read as intentional on coloured sections. */
.brand-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.45);
  overflow: hidden;
}
.brand-card img {
  width: 100%;
  height: auto;
}
.hero-brand {
  width: min(520px, 88vw);
  margin: 0 auto 30px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.hero-brand img {
  width: 100%;
  height: auto;
}
.app-card .logo-box {
  padding: 0;
  overflow: hidden;
}
/* Square original artwork: a 1.6:1 frame shows the logo's centre band
   (the white margins fall outside it). The app icon is shown whole. */
.app-card .logo-box img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  height: auto;
  object-fit: cover;
}
.app-card .logo-box img.whole {
  object-fit: contain;
  padding: 14px;
}
.footer-logo {
  width: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.highlight {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
