/* ============================================================
   VINIO — Launch Website
   Design: Precision Infrastructure
   Dark, editorial, data-forward — modern SA tech confidence
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Base palette */
  --ink:          #142537;
  --navy:         #0D1B2A;
  --navy-mid:     #112236;
  --navy-lift:    #18304A;
  --lime:         #bbde34;
  --lime-warm:    rgb(99, 189, 59);
  --lime-pale:    rgba(99, 189, 59, 0.10);
  --lime-glow:    rgba(99, 189, 59, 0.22);
  --white:        #FFFFFF;
  --off-white:    #F5F4F0;
  --text-body:    #C8D5E4;
  --text-muted:   #6B82A0;
  --text-dim:     #3A5068;
  --border:       rgba(255, 255, 255, 0.07);
  --border-lime:  rgba(144, 204, 54, 0.22);

  /* Status */
  --green:      #22C55E;
  --green-dim:  rgba(34, 197, 94, 0.12);
  --blue:       #4B8FE8;
  --blue-dim:   rgba(75, 143, 232, 0.12);

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Layout */
  --nav-h:      72px;
  --r-sm:       4px;
  --r-md:       10px;
  --r-lg:       16px;
  --r-xl:       24px;

  /* Transitions */
  --t-fast: 0.14s cubic-bezier(0.4, 0, 0.2, 1);
  --t-med:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
}
h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; }

/* ── Section Tag ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.2rem;
}

/* ── Section Header ── */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 54ch;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  padding: 0.75rem 1.6rem;
  transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--lime);
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(187, 222, 52, 0.32);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.75rem 1.4rem;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Artwork Placeholders ── */
.artwork-placeholder {
  border: 1.5px dashed rgba(99, 189, 59, 0.28);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 189, 59, 0.025);
  transition: border-color var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
}
.artwork-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 22px,
    rgba(99, 189, 59, 0.018) 22px,
    rgba(99, 189, 59, 0.018) 23px
  );
  pointer-events: none;
}
.artwork-placeholder:hover {
  border-color: rgba(99, 189, 59, 0.55);
  background: rgba(99, 189, 59, 0.05);
}
.artwork-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  padding: 2.5rem;
  color: rgba(99, 189, 59, 0.5);
  position: relative;
  z-index: 1;
}
.artwork-inner p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(99, 189, 59, 0.65);
}
.artwork-inner span {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  color: rgba(99, 189, 59, 0.38);
  text-transform: uppercase;
}
.artwork-hero   { width: 100%; height: 100%; border-radius: var(--r-xl); }
.artwork-hero img { object-fit: cover; width: 100%; height: 100%; border-radius: var(--r-xl); }
.artwork-module { width: 100%; min-height: 290px; }
.artwork-why    { width: 100%; min-height: 180px; margin-top: 2.25rem; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--t-slow), transform 0.75s var(--t-slow);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-word { opacity: 1 !important; transform: none !important; animation: none !important; }
  * { animation-duration: 0.001ms !important; }
  .ticker-track { animation: none !important; }
}


/* ============================================================
   NAVIGATION
============================================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  /* Always-on top gradient so logo/links are readable against any hero */
  background: linear-gradient(to bottom, rgba(7,12,18,0.72) 0%, rgba(7,12,18,0.0) 100%);
  transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
}
#main-nav.scrolled {
  background: rgba(10, 18, 30, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-logo { flex-shrink: 0; line-height: 0; display: flex; align-items: center; gap: 0.55rem; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo svg { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 2.25rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width var(--t-med);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* Nav CTA overrides btn-primary — white pill, navy text, inviting not alarming */
.nav-cta {
  margin-left: 0.75rem;
  font-size: 0.87rem;
  padding: 0.52rem 1.35rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--r-sm);
}
.nav-cta:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255,255,255,0.14);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-med);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 12, 18, 0.97);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 2rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
  pointer-events: none;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.78); }
.mobile-menu a:hover { color: var(--white); }
.mobile-cta { display: inline-flex; margin-top: 0.5rem; }


/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--ink);
}

/* Full-bleed background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

/* Gradient overlay: left-to-right dark fade + bottom vignette */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(7,12,18,0.76) 0%,
      rgba(7,12,18,0.65) 22%,
      rgba(7,12,18,0.40) 46%,
      rgba(7,12,18,0.14) 65%,
      rgba(7,12,18,0.02) 82%,
      rgba(7,12,18,0.0)  100%
    ),
    linear-gradient(to top, rgba(7,12,18,0.82) 0%, rgba(7,12,18,0.3) 8%, transparent 22%);
  z-index: 1;
}

/* Noise texture for depth */
.hero-noise {
  position: absolute; inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  z-index: 2;
  pointer-events: none;
}

/* Hero layout */
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: calc(100vh - var(--nav-h));
  padding-block: clamp(4rem, 9vh, 7rem) clamp(5rem, 7vh, 6rem);
}

/* Hero content — left column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 560px;
  flex-shrink: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  opacity: 0;
  animation: fadeUp 0.6s 0.1s var(--t-slow) forwards;
}
.kicker-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--lime);
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 189, 59, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(99, 189, 59, 0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(12px); }
}

/* Hero headline — stacked lines */
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.0;
  font-size: clamp(4.5rem, 9.5vw, 8rem);
  letter-spacing: -0.04em;
}
.hero-word {
  display: block;
  opacity: 0;
  transform: translateY(50px) skewY(1.5deg);
  animation: wordIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--wi) * 130ms + 200ms);
}
.hero-word-amber { color: var(--lime); }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) skewY(0deg); }
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.82;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  text-shadow: 0 1px 8px rgba(7,12,18,0.5);
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
/* Ghost button needs a visible border against the bright image right-side bleed */
.hero-actions .btn-ghost {
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
}
.hero-actions .btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: -0.5rem;
}
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
}
.stat-divider {
  width: 1px; height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero float cluster — right column, positions the glass cards */
.hero-float-cluster {
  position: relative;
  flex-shrink: 0;
  width: 250px;
  height: 230px;
  align-self: center;
}

/* Floating UI cards — premium glass, warm and elevated */
.float-card {
  position: absolute;
  background: rgba(10, 20, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.10);
}
.float-card-pipeline {
  bottom: 0;
  left: 0;
  width: 215px;
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.float-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}
.mini-pipeline { display: flex; flex-direction: column; gap: 0.45rem; }
.mini-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.77rem;
  color: var(--white);
}
.mini-stage { flex: 1; }
.mini-row b { color: var(--white); font-weight: 600; font-size: 0.82rem; }
.mini-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-amber { background: var(--lime); }
.dot-blue  { background: var(--blue); }
.dot-green { background: var(--green); }

/* Live status pill */
.float-pill {
  position: absolute;
  top: 0; right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 27, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  padding: 0.4rem 0.95rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--white);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  animation: floatCard 3.2s 1s ease-in-out infinite;
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* ── Hero Scroll Hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 5.5rem; /* sits above ticker */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: fadeUp 0.6s 1.5s var(--t-slow) forwards;
}
.hero-scroll-hint svg {
  animation: scrollBounce 2.2s ease-in-out 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Ticker ── */
.ticker-wrapper {
  position: relative;
  z-index: 4; /* lift above hero-overlay (z-index 1) */
  background: var(--navy);
  border-top: 1px solid rgba(187, 222, 52, 0.18);
  padding: 0.75rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-content {
  flex-shrink: 0;
  padding-right: 3rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   PROBLEM
============================================================ */
#problem {
  background: var(--off-white);
  padding: clamp(4.5rem, 9vw, 9rem) 0;
  color: var(--navy);
}
#problem .section-tag { color: var(--lime-warm); }
#problem h2,
#problem .section-sub { color: var(--navy); }
#problem .section-sub { color: #4C6280; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(13, 27, 42, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.problem-item {
  position: relative;
  background: var(--off-white);
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  transition: background var(--t-med);
}
.problem-item:hover { background: #edf0e4; }

.problem-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(187, 222, 52, 0.14);
  margin-bottom: 1.5rem;
  transition: color var(--t-med);
}
.problem-item:hover .problem-num { color: rgba(187, 222, 52, 0.30); }

.problem-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.problem-body p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #4C6280;
}

/* Hover accent line slides in from left */
.problem-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--lime), var(--lime-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-item:hover .problem-accent-line { transform: scaleX(1); }


/* ============================================================
   SOLUTION
============================================================ */
#solution {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
  background: var(--ink);
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.module-row:last-child { margin-bottom: 0; }
.module-row-flip { direction: rtl; }
.module-row-flip > * { direction: ltr; }

/* Visual column */
.module-visual { position: relative; }

/* Overlay card on top of artwork placeholder */
.module-overlay-card {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: rgba(13, 27, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  width: 255px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
  font-size: 0.78rem;
}
.overlay-card-left { right: auto; left: -1.5rem; }

.overlay-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

/* Doc rows */
.doc-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.33rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.77rem;
}
.doc-row:last-child { border-bottom: none; }
.doc-name { flex: 1; }
.doc-ck { font-size: 0.68rem; width: 14px; text-align: center; color: var(--green); }
.doc-ck.wait { color: var(--text-dim); }
.doc-meta { margin-left: auto; font-family: var(--font-mono); font-size: 0.63rem; color: rgba(255,255,255,0.55); }
.doc-tag  { margin-left: auto; font-family: var(--font-mono); font-size: 0.63rem; color: var(--lime); background: var(--lime-pale); padding: 0.1rem 0.4rem; border-radius: 3px; }

/* Stock mini rows */
.stock-mini-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.77rem;
}
.stock-status {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  padding: 0.14rem 0.38rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.available { background: var(--green-dim); color: var(--green); }
.offer     { background: var(--lime-pale); color: var(--lime); }
.stock-name  { flex: 1; color: var(--white); font-size: 0.75rem; }
.stock-price { font-family: var(--font-mono); font-size: 0.72rem; color: var(--white); white-space: nowrap; }
.stock-mini-meta {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
}

/* Checklist mini */
.checklist-mini { display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: 0.5rem; }
.cl-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0;
  font-size: 0.77rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cl-ck { font-size: 0.68rem; width: 14px; text-align: center; color: var(--green); }
.cl-ck-wait { color: var(--text-dim); }
.overlay-dl-btn {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.45rem;
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-body);
  transition: opacity var(--t-fast);
}
.overlay-dl-btn:hover { opacity: 0.88; }

/* Module text */
.module-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.85rem;
}
.module-text h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.module-desc {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 44ch;
}
.module-features { display: flex; flex-direction: column; gap: 0.7rem; }
.module-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.module-features li::before {
  content: '';
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8.5' cy='8.5' r='8' stroke='%23bbde34' stroke-opacity='0.3'/%3E%3Cpath d='M5 8.5l2.5 2.5 4.5-4.5' stroke='%23bbde34' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}


/* ============================================================
   WHY VINIO
============================================================ */
#why {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(99, 189, 59, 0.065) 0%, transparent 65%);
  pointer-events: none;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.why-left .section-sub { max-width: 36ch; }

/* Differentiators */
.differentiators {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: background var(--t-med), border-color var(--t-med);
}
.diff-item:hover {
  background: rgba(99, 189, 59, 0.04);
  border-color: var(--border-lime);
}
.diff-item strong { color: var(--white); }
.diff-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }

/* Insurance card */
.insurance-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.75rem;
  color: var(--navy);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
}
.insurance-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(13,27,42,0.05);
  pointer-events: none;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.insurance-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.insurance-logo { height: 22px; width: auto; }
.ins-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
}
.ins-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #8A9BB0;
  margin-top: 0.2rem;
}
.ins-divider { height: 1px; background: #E2E7ED; margin: 0.7rem 0; }

.ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}
.ins-field { display: flex; flex-direction: column; gap: 0.08rem; }
.ins-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A9BB0;
}
.ins-val { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.ins-mono { font-family: var(--font-mono); font-weight: 500; }
.ins-row-full { display: flex; flex-direction: column; gap: 0.08rem; }
.ins-price-row { display: flex; justify-content: space-between; align-items: baseline; }
.ins-price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.ins-dl-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.62rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-body);
  transition: background var(--t-fast);
}
.ins-dl-btn:hover { background: var(--navy-lift); }


/* ============================================================
   FORM SECTION
============================================================ */
#dealership-form {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.form-bg { position: absolute; inset: 0; pointer-events: none; }
.form-bg-orb {
  position: absolute;
  bottom: -150px; left: -80px;
  width: 580px; height: 580px;
  background: radial-gradient(ellipse, rgba(99, 189, 59, 0.09) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left copy */
.form-left h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); margin: 0.9rem 0 1.2rem; }
.form-left-desc {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 2.5rem;
}
.form-left-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.fl-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.fl-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
}
.fl-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
}

/* Honeypot — visually hidden from humans, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form card */
.form-card {
  background: rgba(7, 12, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.required { color: var(--lime); margin-left: 2px; }
.form-optional { color: var(--text-dim); font-weight: 400; }

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.68rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--navy-mid); color: var(--white); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--lime);
  background: rgba(99, 189, 59, 0.04);
  box-shadow: 0 0 0 3px rgba(99, 189, 59, 0.14);
}

.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 0.9rem; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-dim);
  pointer-events: none;
}
.select-wrapper select { cursor: pointer; }

.form-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
  color: #f87171;
  margin-bottom: 1rem;
}

/* Waitlist intro */
.waitlist-intro { margin-bottom: 2rem; }
.waitlist-heading { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.waitlist-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* Form success */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--green);
  margin: 0 auto 1.5rem;
}
.form-success h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--text-muted); font-size: 0.97rem; }


/* ============================================================
   FOOTER
============================================================ */
#footer {
  padding: 2.5rem 0;
  background: var(--ink);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 1.5rem; }
.footer-tagline { font-size: 0.78rem; color: var(--text-muted); }

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.footer-nav a,
.footer-investor-btn {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-nav a:hover,
.footer-investor-btn:hover { color: var(--lime); }

.footer-legal {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-legal p { font-size: 0.73rem; color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--lime); }
.footer-disclaimer { font-style: italic; }


/* ============================================================
   INVESTOR MODAL
============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 12, 18, 0.88);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--t-med);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.modal-card h2 { margin: 0.75rem 0 1rem; font-size: 1.9rem; }
.modal-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}


/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--lime-warm); }

/* ── Insurance card extras ── */
.insurance-logo-mark { display: flex; align-items: center; gap: 0.35rem; line-height: 0; }
.ins-logo-img { height: 26px; width: auto; }
.ins-logo-text { height: 26px; width: auto; }

.ins-vehicle-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 0.7rem;
  background: #E2E7ED;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1000px) {
  .hero-inner   { flex-direction: column; align-items: flex-start; min-height: auto; padding-block: clamp(3rem, 6vh, 4rem) clamp(4rem, 5vh, 5rem); }
  .hero-content { max-width: 100%; }
  .hero-float-cluster { display: none; }
  .hero-scroll-hint { display: none; }
  .hero-stats   { flex-wrap: wrap; gap: 1.25rem; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-num  { font-size: 4rem; }

  .module-row { grid-template-columns: 1fr; }
  .module-row-flip { direction: ltr; }
  .module-overlay-card { position: static; width: 100%; margin-top: 1rem; }
  .module-desc { max-width: none; }

  .why-layout { grid-template-columns: 1fr; }

  .form-layout { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav   { margin-left: 0; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu   { display: block; }

  .hero-overlay {
    background:
      rgba(7,12,18,0.82),
      linear-gradient(to top, rgba(7,12,18,0.88) 0%, transparent 22%);
  }
}

@media (max-width: 560px) {
  .hero-stats .stat-divider { display: none; }
  .ins-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 0.4rem; }
  .form-left-stats { gap: 1.25rem; }
}
