/* ============================================================
   Nishchay Labs — production styles
   ============================================================ */
:root {
  --ink:        #101826;
  --ink-soft:   #2D3340;
  --accent:     #2E5BFF;
  --muted:      #4A5260;
  --muted-2:    #7B828D;
  --line:       #E7EAEE;
  --bg:         #ffffff;
  --bg-alt:     #F7F8FA;
  --footer:     #0B121E;
  --maxw:       1200px;
  --radius:     20px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-mono:    'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Public Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.logo__name { color: var(--ink); }
.logo__labs { color: var(--accent); }
.logo--light .logo__name { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
  cursor: pointer;
}
.btn--dark   { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222C3D; }
.btn--ghost  { background: #fff; color: var(--ink); border-color: #D5D9E0; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; font-size: 16px; padding: 16px 34px; border-radius: 11px; }
.btn--accent:hover { opacity: .9; }

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
}
.eyebrow--accent { color: var(--accent); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  max-width: 620px;
  text-wrap: balance;
}
.section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links .btn { color: #fff; font-size: 14px; padding: 11px 20px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero { padding: 108px 0 100px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  max-width: 880px;
  text-wrap: balance;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 38px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.accent { color: var(--accent); }

/* ---------- Services ---------- */
.services {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 92px 0;
}
.cards {
  display: flex;
  gap: 22px;
  margin-top: 52px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 32px;
  padding-bottom: 14px;
}
.cards::-webkit-scrollbar { height: 8px; }
.cards::-webkit-scrollbar-thumb { background: #D5D9E0; border-radius: 4px; }
.cards::-webkit-scrollbar-track { background: transparent; }

.card {
  flex: 0 0 332px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #E7EAEE;
  border-radius: var(--radius);
  padding: 36px;
}
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 24px;
}
.card__tag {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9098A3;
  margin: 0 0 10px;
}
.card__tag--accent { color: var(--accent); }
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
}
.card__text strong { color: var(--ink); font-weight: 600; }
.card__list { list-style: none; margin: 0; padding: 0; }
.card__list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
}
.cards__hint {
  display: none;
  margin: 18px 0 0;
  font-weight: 500;
  font-size: 13px;
  color: #9098A3;
}

/* ---------- Process ---------- */
.process { padding: 92px 0; }
.process .section__title { margin-bottom: 52px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.step p { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 92px 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.about__main p { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.about__main .section__title { margin-bottom: 26px; }
.stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 18px; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat__label { font-weight: 500; font-size: 14px; color: var(--muted-2); margin-top: 4px; }

.about__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.about__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.about__card ul { list-style: none; margin: 0; padding: 0; }
.about__card li {
  position: relative;
  padding: 11px 0 11px 21px;
  border-top: 1px solid #EEF0F3;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.about__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #fff; }
.cta__inner { padding: 96px 0; text-align: center; max-width: 760px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta__lead { font-size: 17.5px; line-height: 1.65; color: #A8B0BD; max-width: 560px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #9AA3B0; }
.footer__grid {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 64px;
  padding-bottom: 64px;
}
.footer__brand { flex: 2 1 320px; }
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { font-size: 15px; line-height: 1.65; max-width: 340px; margin: 0; }
.footer__col { flex: 1 1 180px; display: flex; flex-direction: column; }
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 16px;
}
.footer__col a, .footer__col p { font-size: 15px; color: #9AA3B0; text-decoration: none; padding: 5px 0; margin: 0; line-height: 1.5; }
.footer__col a { transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid #1C2636; }
.footer__bar .container { padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; color: #6A7384; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}

@media (max-width: 760px) {
  .hero { padding: 72px 0 64px; }
  .services, .process, .about { padding: 64px 0; }
  .cta__inner { padding: 72px 0; }
  .cards {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .card { flex: 1 1 auto; width: 100%; }
  .cards__hint { display: none; }
}

@media (max-width: 560px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav__links a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
}

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