/* ============================================================
   VENTARA — concept stylesheet
   White foundation · ink/charcoal · indigo→cyan highlights
   Display: Sora · Body: Inter
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-tint: #F6F8FB;
  --ink: #0B0D12;
  --charcoal: #0E1118;
  --charcoal-2: #161B26;
  --body: #4B5563;
  --muted: #8A93A3;
  --border: #E7EAF0;
  --border-dark: rgba(255, 255, 255, 0.09);
  --accent: #4F46E5;
  --accent-2: #06B6D4;
  --grad: linear-gradient(100deg, #4F46E5 0%, #06B6D4 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Sora", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --shadow-card: 0 1px 2px rgba(11, 13, 18, 0.04), 0 8px 24px rgba(11, 13, 18, 0.05);
  --shadow-card-hover: 0 2px 4px rgba(11, 13, 18, 0.05), 0 16px 40px rgba(11, 13, 18, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.13rem; font-weight: 600; letter-spacing: -0.01em; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: normal;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 12px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 16px 32px; font-size: 0.98rem; }
.btn--nav { padding: 10px 20px; font-size: 0.86rem; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25), 0 6px 20px rgba(79, 70, 229, 0.28);
}
.btn--primary:hover {
  background: #4338CA;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25), 0 12px 32px rgba(79, 70, 229, 0.38);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { border-color: #C9CFDC; transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn__arrow { transition: transform 0.18s var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1C212C; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 13, 18, 0.25); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }

.btn--outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.92); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-mark {
  width: 12px; height: 12px;
  border-radius: 3.5px;
  background: var(--grad);
  transform: rotate(45deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
  position: relative;
  transition: color 0.16s ease;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: right 0.22s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { right: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: 72px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--a {
  width: 560px; height: 560px;
  right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.13), transparent 65%);
}
.hero__glow--b {
  width: 480px; height: 480px;
  left: -180px; bottom: 0;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10), transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(72px, 12vh, 140px);
  max-width: 1180px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.hero__sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 56ch;
  color: var(--body);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* trust bar + marquee */

.hero__trust {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(48px, 8vh, 84px) 0 34px;
}
.hero__trust-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 22px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 64px;
  padding-right: 64px;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B6BDCB;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.marquee__track span:hover { color: var(--ink); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections (shared) ---------- */

.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section--tint { background: var(--bg-tint); }

.section__head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-2); }

.section__lede {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--body);
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px;
}

.service {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #DDE2EB;
}
.service:hover::before { opacity: 1; }

.service__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.09), rgba(6, 182, 212, 0.09));
  border: 1px solid rgba(79, 70, 229, 0.14);
  margin-bottom: 20px;
}
.service__icon svg { width: 23px; height: 23px; }

.service h3 { margin-bottom: 9px; }
.service p { font-size: 0.93rem; line-height: 1.6; }

/* ---------- Why Ventara (dark) ---------- */

.section--dark {
  background: var(--charcoal);
  overflow: hidden;
}
.section--dark h2 { color: #fff; }
.section--dark .section__lede { color: #99A1B3; }

.dark-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.dark-glow--a { width: 520px; height: 520px; top: -200px; right: -120px; background: rgba(79, 70, 229, 0.16); }
.dark-glow--b { width: 460px; height: 460px; bottom: -220px; left: -100px; background: rgba(6, 182, 212, 0.10); }

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  position: relative;
}

.benefit {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 30px 26px 34px;
  transition: transform 0.22s var(--ease), background-color 0.22s ease, border-color 0.22s ease;
}
.benefit:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.16);
}

.benefit__num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.18);
  margin-bottom: 20px;
}
.benefit__num svg { width: 22px; height: 22px; }

.benefit h3 { color: #fff; margin-bottom: 9px; }
.benefit p { font-size: 0.93rem; color: #99A1B3; line-height: 1.6; }

/* ---------- Vendor grid ---------- */

.vendor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vendor {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6B7385;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: transform 0.18s var(--ease), color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s var(--ease);
  cursor: default;
}
.vendor:hover {
  transform: translateY(-3px);
  color: var(--ink);
  border-color: #D5DAE4;
  box-shadow: var(--shadow-card);
}

.vendor-caption {
  margin-top: 28px;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Featured solutions ---------- */

.solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.solution {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s ease;
}
.solution:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #DDE2EB;
}

.solution__art { aspect-ratio: 320 / 200; overflow: hidden; background: var(--charcoal); }
.solution__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.solution:hover .solution__art img { transform: scale(1.045); }

.solution__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.solution__body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.solution__body p { font-size: 0.92rem; line-height: 1.6; }

.solution__link {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.solution__link span { transition: transform 0.18s var(--ease); }
.solution__link:hover span { transform: translateX(4px); }

/* ---------- Process ---------- */

#process {
  background-image: radial-gradient(rgba(11, 13, 18, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

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

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 36px;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__copy h2 { margin-bottom: 22px; }
.about__copy p { margin-bottom: 16px; max-width: 50ch; }
.about__copy .btn { margin-top: 14px; }

.about__art { position: relative; }
.about__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(11, 13, 18, 0.18);
}

.about__chip {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-card);
  animation: float 7s ease-in-out infinite;
}
.about__chip--a { top: 8%; left: -4%; }
.about__chip--b { bottom: 10%; right: -3%; animation-delay: -3.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Final CTA ---------- */

.section--cta { padding-bottom: clamp(84px, 11vw, 140px); }

.cta {
  position: relative;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 96px);
  text-align: center;
  overflow: hidden;
}
.cta h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.cta > p {
  color: #99A1B3;
  max-width: 52ch;
  margin: 20px auto 0;
  font-size: 1.06rem;
}

.cta__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta__glow--a { width: 480px; height: 480px; top: -220px; left: 8%; background: rgba(79, 70, 229, 0.22); }
.cta__glow--b { width: 420px; height: 420px; bottom: -200px; right: 6%; background: rgba(6, 182, 212, 0.14); }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  position: relative;
}

.cta__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-dark);
  position: relative;
}
.cta__contact li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: #B8BFCC;
}
.cta__contact svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }
.cta__contact a { transition: color 0.16s ease; }
.cta__contact a:hover { color: #fff; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  padding: 56px 0 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: #fff;
  margin-bottom: 10px;
}
.footer__tag { font-size: 0.85rem; color: #717A8C; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a {
  font-size: 0.9rem;
  color: #99A1B3;
  transition: color 0.16s ease;
}
.footer__nav a:hover { color: #fff; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #99A1B3;
  transition: color 0.16s ease;
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { color: #fff; }

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer__legal p { font-size: 0.82rem; color: #5D6678; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .section__head--split { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .about { grid-template-columns: 1fr; }
  .about__chip--a { left: 4%; }
  .about__chip--b { right: 4%; }
}

@media (max-width: 780px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s ease, visibility 0.25s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links > a:not(.btn) { padding: 14px 0; font-size: 1.02rem; border-bottom: 1px solid var(--border); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; justify-content: center; }

  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .cta__contact { flex-direction: column; align-items: center; gap: 16px; }
  .footer__inner { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .about__chip { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
