/* VCS landing — premium, minimal, niyantha-inspired. Hand-authored CSS, no build. */

:root {
  /* Palette derived from the Vinayak Consultancy Services logo: brand red + charcoal. */
  --bg:        #1a1a1d;   /* charcoal (logo swoosh) — hero */
  --bg-2:      #29292e;
  --ink:       #1b1b1f;   /* body text on light */
  --ink-soft:  #5c5c66;
  --paper:     #ffffff;
  --paper-alt: #f7f6f6;
  --line:      #ececee;
  --accent:    #d81f26;   /* VCS brand red */
  --accent-2:  #ff5a52;   /* lighter red (gradient warmth) */
  --on-dark:   #f1f0f2;
  --on-dark-soft: #b3b2ba;
  --radius:    16px;
  --maxw:      1140px;
  --shadow:    0 18px 50px -20px rgba(20, 20, 24, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px rgba(216, 31, 38, .65);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(216, 31, 38, .8); }
.btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
.section .btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.section .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .72);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; }
/* The logo JPEG has a white background, so sit it in a white rounded chip to read
   cleanly on the dark nav/footer. */
.brand__logo { height: 38px; width: auto; display: block; background: #fff; padding: 5px 9px; border-radius: 9px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn) { color: var(--on-dark-soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links > a:not(.btn):hover { color: #fff; }
/* Discreet client-login link (de-emphasised — primary CTA is "Request a Demo"). */
.nav__login { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.nav__login::before { content: "→"; opacity: .6; }
.nav__login:hover { color: #fff !important; border-color: rgba(255,255,255,.4); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: .25s; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 72% -10%, #3a3033 0%, var(--bg-2) 45%, var(--bg) 100%);
  color: var(--on-dark);
  padding: 96px 0 104px;
}
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 320px at 16% 10%, rgba(216,31,38,.28), transparent 60%),
    radial-gradient(460px 300px at 90% 72%, rgba(255,90,82,.14), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 880px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-2); margin: 0 0 18px;
}
.eyebrow--center { display: block; text-align: center; color: var(--accent); }
.hero__title { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 22px; }
.grad { background: linear-gradient(120deg, #ff8b86, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--on-dark-soft); max-width: 640px; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 720px; }
.hero__stats > div { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid rgba(255,255,255,.14); }
.hero__stats strong { font-size: 26px; font-weight: 800; color: #fff; }
.hero__stats span { font-size: 13px; color: var(--on-dark-soft); }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 8px 0 48px; }
.section__title--left { text-align: left; margin-bottom: 20px; }

/* ── Grids / cards ───────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card, .feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9ddf0; }
.card__icon, .feature__icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px;
  border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(216,31,38,.12), rgba(255,90,82,.10));
}
.card h3, .feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p, .feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ── About ───────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about p { color: var(--ink-soft); font-size: 17px; }
.about__list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.about__list li { position: relative; padding-left: 30px; font-size: 16px; }
.about__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #fff; background: var(--accent); width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.about__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__stat {
  background: linear-gradient(160deg, var(--bg-2), var(--bg)); color: var(--on-dark);
  border-radius: 14px; padding: 26px 20px; text-align: center;
}
.about__stat strong { display: block; font-size: 30px; font-weight: 800; color: #fff; }
.about__stat span { font-size: 13px; color: var(--on-dark-soft); }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__intro p { color: var(--ink-soft); font-size: 17px; }
.contact__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact__list li { font-size: 16px; }
.contact__list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 2px; }
.contact__list a { color: var(--accent); font-weight: 600; }
.contact__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; background: #fcfcff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,108,255,.15); }
.form__note { font-size: 14px; margin: 12px 0 0; min-height: 18px; }
.form__note.ok { color: #15803d; }
.form__note.err { color: #b91c1c; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--bg); color: var(--on-dark-soft); padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__logo { height: 40px; width: auto; display: block; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer__tag { margin: 14px 0 0; max-width: 320px; font-size: 14px; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__nav a { font-size: 15px; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__legal { padding-top: 22px; font-size: 13px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 16px 24px 24px; background: var(--bg-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links > a:not(.btn) { padding: 10px 0; }
  .nav__links .btn { width: 100%; }
  .nav__toggle { display: flex; }
}
@media (max-width: 480px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .about__panel { grid-template-columns: 1fr 1fr; }
  .brand__logo { height: 32px; }
}
