/* ============================================================
   Vendru Solutions — landing page styles
   Modern B2B SaaS: blue→cyan on white/navy, clean and trustworthy.
   ============================================================ */

:root {
  --ink: #0B1B33;          /* headings / near-navy */
  --ink-2: #54647E;        /* body text */
  --ink-3: #8595AD;        /* muted */
  --brand: #2563EB;
  --brand-700: #1D4ED8;
  --accent: #06B6D4;
  --bg: #FFFFFF;
  --soft: #F3F7FD;
  --soft-2: #EAF1FB;
  --line: #E5ECF6;
  --grad: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);

  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display: "Plus Jakarta Sans", var(--sans);
  --container: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(15, 35, 75, 0.10);
  --shadow-sm: 0 6px 20px rgba(15, 35, 75, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--soft { background: var(--soft); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.section__head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 0.8rem 0 0; }
.section__intro { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; }

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  padding: 0.72rem 1.4rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.34); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ----------------------------- Nav ------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  padding-block: 0.5rem;
}
.nav.scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo__mark svg { border-radius: 9px; }
.logo__text { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); line-height: 1; letter-spacing: -0.01em; }
.logo__sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.nav__links > a:not(.btn) { font-size: 0.94rem; font-weight: 500; color: var(--ink); transition: color 0.2s; }
.nav__links > a:not(.btn):hover { color: var(--brand); }
.nav__cta { padding: 0.6rem 1.25rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero ------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(7rem, 12vw, 9.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 70% at 85% 0%, var(--soft-2) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 50ch; margin-bottom: 2rem; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__trust { margin-top: 1.6rem; font-size: 0.88rem; color: var(--ink-3); font-weight: 500; }

/* Dashboard mockup */
.hero__visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: #fbfdff; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #d6deeb; }
.mock__dot:nth-child(1) { background: #ff6058; } .mock__dot:nth-child(2) { background: #ffbd2e; } .mock__dot:nth-child(3) { background: #28c840; }
.mock__title { margin-left: 0.6rem; font-size: 0.78rem; color: var(--ink-3); font-weight: 500; }
.mock__body { padding: 1.1rem; display: grid; gap: 1rem; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.stat { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.2rem; }
.stat__label { font-size: 0.68rem; color: var(--ink-3); font-weight: 500; }
.stat__value { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.stat__delta { font-size: 0.68rem; color: var(--ink-3); font-weight: 600; }
.stat__delta.up { color: #10b981; } .stat__delta.warn { color: #f59e0b; }
.mock__chart { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem; }
.chart__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--ink-2); font-weight: 500; margin-bottom: 0.7rem; }
.chart__tag { color: #10b981; font-weight: 700; }
.chart__bars { display: flex; align-items: flex-end; gap: 8px; height: 78px; }
.chart__bars span { flex: 1; height: var(--h); background: var(--grad); border-radius: 5px 5px 0 0; opacity: 0.9; }
.mock__rows { display: grid; gap: 0.5rem; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 10px; }
.row__sku { color: var(--ink-2); font-weight: 500; }
.pill { font-size: 0.68rem; font-weight: 600; padding: 0.18rem 0.6rem; border-radius: 999px; }
.pill.ok { background: #e7f8f0; color: #0c9b6b; }
.pill.low { background: #fef3e2; color: #d98308; }
.mock__scan {
  position: absolute; left: -14px; bottom: 26px;
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.6rem 0.9rem; box-shadow: var(--shadow-sm); color: var(--brand); font-size: 0.8rem; font-weight: 600;
}
.mock__scan span { color: var(--ink); }

/* ----------------------------- Band ------------------------------ */
.band { border-block: 1px solid var(--line); background: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.8rem; }
.band__item { text-align: center; display: flex; flex-direction: column; }
.band__item strong { font-family: var(--display); font-size: 1.4rem; color: var(--ink); }
.band__item span { font-size: 0.85rem; color: var(--ink-3); }

/* ----------------------------- Solutions (animated cards) -------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sol-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.55s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.07s);   /* staggered entrance */
}
.sol-card.in { opacity: 1; transform: none; }
.sol-card.in:hover { transform: translateY(-6px); transition-delay: 0s; box-shadow: var(--shadow); border-color: transparent; }
.sol-card::after {   /* gradient bar draws across the top on hover */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.sol-card:hover::after { transform: scaleX(1); }
.sol-card__no {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.16; transition: opacity 0.4s var(--ease);
}
.sol-card:hover .sol-card__no { opacity: 0.5; }
.sol-card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); background-size: 180% 180%; color: #fff; margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  animation: sheen 7s ease infinite;
  transition: transform 0.4s var(--ease);
}
.sol-card:hover .sol-card__icon { transform: scale(1.08) rotate(-4deg); }
.sol-card__icon svg { width: 26px; height: 26px; }
.sol-card h3 { font-size: 1.16rem; margin-bottom: 0.5rem; }
.sol-card p { font-size: 0.95rem; color: var(--ink-2); }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ----------------------------- Industries (gradient hover) ------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ind-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.6rem; min-height: 200px;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.55s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.ind-card.in { opacity: 1; transform: none; }
.ind-card::before {   /* gradient fill slides up on hover */
  content: ""; position: absolute; inset: 0; background: var(--grad);
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: 0;
}
.ind-card.in:hover { transform: translateY(-6px); transition-delay: 0s; border-color: transparent; box-shadow: 0 18px 40px rgba(37, 99, 235, 0.30); }
.ind-card:hover::before { opacity: 1; }
.ind-card > * { position: relative; z-index: 1; transition: color 0.35s var(--ease), background 0.35s var(--ease); }
.ind-card__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--soft-2); color: var(--brand); margin-bottom: 1rem;
}
.ind-card__icon svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.ind-card p { font-size: 0.92rem; color: var(--ink-2); }
.ind-card__no {
  position: absolute; bottom: 1.1rem; right: 1.4rem;
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--line);
  transition: color 0.35s var(--ease);
}
.ind-card:hover h3, .ind-card:hover p { color: #fff; }
.ind-card:hover .ind-card__icon { background: rgba(255, 255, 255, 0.22); color: #fff; }
.ind-card:hover .ind-card__no { color: rgba(255, 255, 255, 0.55); }

/* ----------------------------- Steps ----------------------------- */
.steps { display: flex; align-items: stretch; gap: 0.5rem; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.step__no { font-family: var(--display); font-weight: 800; font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.15rem; margin: 0.5rem 0; }
.step p { font-size: 0.92rem; }
.step__arrow { display: flex; align-items: center; color: var(--ink-3); font-size: 1.4rem; }

/* ----------------------------- Why ------------------------------- */
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0.8rem 0 1rem; }
.why__copy p { margin-bottom: 1.6rem; font-size: 1.05rem; }
.why__list { list-style: none; display: grid; gap: 1rem; }
.why__list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; font-size: 0.95rem; color: var(--ink-2); }
.why__list strong { display: block; font-family: var(--display); color: var(--ink); font-size: 1.02rem; margin-bottom: 0.2rem; }

/* ----------------------------- Integrations ---------------------- */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.integrations__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.integrations__col h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.integrations__col ul { list-style: none; display: grid; gap: 0.6rem; }
.integrations__col li { font-size: 0.95rem; color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.integrations__col li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ----------------------------- Stats ----------------------------- */
.stats { background: var(--ink); color: #fff; padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats__grid strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.stats__grid span { font-size: 0.9rem; color: #9fb2cf; }

/* ----------------------------- FAQ ------------------------------- */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.4rem 1.3rem; }
.faq__item summary { list-style: none; cursor: pointer; padding: 0.9rem 0; font-family: var(--display); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1rem; font-size: 0.95rem; color: var(--ink-2); }

/* ----------------------------- CTA / Form ------------------------ */
.cta { background: var(--grad); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta__copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.cta__copy p { color: rgba(255,255,255,0.92); font-size: 1.05rem; max-width: 46ch; }
.cta__facts { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.cta__facts li { color: #fff; font-size: 0.95rem; }
.cta__facts span { display: inline-block; width: 80px; color: rgba(255,255,255,0.7); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cta__facts a:hover { text-decoration: underline; }

.form { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.field textarea { resize: vertical; }
.form__note { margin-top: 0.8rem; font-size: 0.9rem; color: #0c9b6b; font-weight: 500; min-height: 1.2em; }

/* ----------------------------- Footer ---------------------------- */
.footer { background: var(--ink); color: #c3d0e4; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer .logo__text { color: #fff; }
.footer .logo__sub { color: #8fa3c2; }
.footer__tag { margin-top: 1rem; font-size: 0.92rem; color: #93a6c4; max-width: 38ch; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer__col a, .footer__col span { font-size: 0.92rem; color: #a9b9d2; }
.footer__col a:hover { color: #fff; }
.footer__base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #8398b8;
}
.footer__base a:hover { color: #fff; }

/* ----------------------------- Reveal ---------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsive ------------------------ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .sol-grid, .integrations { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .cta__grid { grid-template-columns: 1fr; }
  .stats__grid, .band__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .step__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 3rem 2rem; background: #fff; box-shadow: -16px 0 50px rgba(0,0,0,0.12);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__cta { width: 100%; }
  .nav__toggle { display: flex; z-index: 101; }
  .sol-grid, .integrations, .ind-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
