/* VibeMyCar — futuristic landing + macOS-Dock bottom navigation
   Target routes: /, /landing (when body.landing-body is present) */

:root {
  --vmc-red:       #ff6b6b;
  --vmc-red-dark:  #e03131;
  --vmc-red-light: #ffa5a5;
  --vmc-red-soft:  #ffe3e3;
  --vmc-red-glass: rgba(255, 107, 107, 0.12);
  --vmc-ink:       #0f172a;
  --vmc-ink-2:     #1f2937;
  --vmc-slate:     #475569;
  --vmc-cream:     #fff5f5;
  --vmc-radius-xl: 28px;
  --vmc-radius-lg: 20px;
  --vmc-radius-md: 14px;
  --vmc-ease:      cubic-bezier(.22, 1, .36, 1);
}

/* Landing body: eliminate top padding and header space */
body.landing-body { padding-top: 0 !important; margin-top: 0 !important; }
body.landing-body main { padding: 0 !important; margin: 0 !important; min-height: 100vh; }
body.landing-body .section-header,
body.landing-body header.section-header,
body.landing-body .navbar,
body.landing-body .main-footer { display: none !important; }
body.landing-body #app { padding: 0 !important; }

/* --------------- HERO --------------- */
.vmc-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--vmc-ink);
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255, 107, 107, .28) 0%, transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(224, 49, 49, .22) 0%, transparent 60%),
    linear-gradient(135deg, #fff5f5 0%, #ffe3e3 55%, #ffc9c9 100%);
  padding: 80px 6vw 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vmc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    conic-gradient(from 180deg at 50% 50%, transparent, rgba(255, 107, 107, .08), transparent 60%);
  animation: vmc-spin 60s linear infinite;
  pointer-events: none;
}
@keyframes vmc-spin { to { transform: rotate(360deg); } }
@keyframes vmc-float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
@keyframes vmc-pulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes vmc-rise { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }

.vmc-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 1280px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.vmc-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,107,107,.25);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--vmc-red-dark);
  animation: vmc-rise .7s var(--vmc-ease) both;
}
.vmc-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vmc-red); animation: vmc-pulse 1.6s ease-in-out infinite; }

.vmc-hero-title {
  font-family: 'Wix Madefor Text', 'Onest', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  margin: 18px 0 18px;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--vmc-ink) 30%, var(--vmc-red-dark) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vmc-rise .8s var(--vmc-ease) .08s both;
}
.vmc-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--vmc-red) 0%, var(--vmc-red-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vmc-hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--vmc-slate);
  max-width: 560px;
  margin: 0 0 34px;
  animation: vmc-rise .8s var(--vmc-ease) .18s both;
}
.vmc-hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: vmc-rise .8s var(--vmc-ease) .28s both;
}
.vmc-btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: transform .3s var(--vmc-ease), box-shadow .3s var(--vmc-ease), background .3s var(--vmc-ease);
}
.vmc-btn-primary {
  background: linear-gradient(135deg, var(--vmc-red) 0%, var(--vmc-red-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(224, 49, 49, .34), inset 0 1px 0 rgba(255,255,255,.2);
}
.vmc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(224, 49, 49, .45); }
.vmc-btn-ghost {
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  color: var(--vmc-ink);
  border: 1px solid rgba(15,23,42,.08);
}
.vmc-btn-ghost:hover { background: #fff; transform: translateY(-2px); }

.vmc-hero-stats {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 520px;
  animation: vmc-rise .9s var(--vmc-ease) .38s both;
}
.vmc-stat-num {
  font-size: 32px; font-weight: 800; color: var(--vmc-red-dark);
  font-family: 'Wix Madefor Text', 'Onest', sans-serif;
  letter-spacing: -.02em;
}
.vmc-stat-label { font-size: 12px; color: var(--vmc-slate); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }

/* Hero visual — layered red mesh + car SVG */
.vmc-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  animation: vmc-rise 1s var(--vmc-ease) .2s both;
}
.vmc-hero-visual .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: .65;
}
.vmc-hero-visual .orb-1 { width: 60%; height: 60%; top: 5%; left: 10%; background: var(--vmc-red-light); animation: vmc-float 8s ease-in-out infinite; }
.vmc-hero-visual .orb-2 { width: 45%; height: 45%; bottom: 10%; right: 8%; background: var(--vmc-red); animation: vmc-float 10s ease-in-out infinite reverse; }
.vmc-hero-visual .hero-card {
  position: relative; z-index: 2;
  width: 78%; aspect-ratio: 1;
  background: rgba(255, 255, 255, .65); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 40px;
  box-shadow: 0 40px 80px -24px rgba(224, 49, 49, .35);
  padding: 32px;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: vmc-float 6s ease-in-out infinite;
}
.vmc-hero-visual .hero-card img {
  width: 100%; height: 100%; object-fit: contain;
}

/* --------------- FEATURE GRID --------------- */
.vmc-section {
  padding: 120px 6vw;
  max-width: 1280px;
  margin: 0 auto;
}
.vmc-section-heading {
  text-align: center; margin-bottom: 72px;
}
.vmc-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--vmc-red-dark);
  padding: 6px 16px; background: var(--vmc-red-soft); border-radius: 999px;
  margin-bottom: 16px;
}
.vmc-section-title {
  font-family: 'Wix Madefor Text', 'Onest', sans-serif;
  font-weight: 800; font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.1; letter-spacing: -.02em; color: var(--vmc-ink);
  margin: 0 auto 18px; max-width: 740px;
}
.vmc-section-sub { font-size: 17px; line-height: 1.55; color: var(--vmc-slate); max-width: 640px; margin: 0 auto; }

.vmc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vmc-feature {
  position: relative;
  padding: 36px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--vmc-radius-xl);
  transition: transform .4s var(--vmc-ease), box-shadow .4s var(--vmc-ease), border-color .4s var(--vmc-ease);
  overflow: hidden;
}
.vmc-feature::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, var(--vmc-red-soft) 0%, transparent 50%);
  opacity: 0; transition: opacity .5s var(--vmc-ease);
  pointer-events: none;
}
.vmc-feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(224,49,49,.35); border-color: transparent; }
.vmc-feature:hover::before { opacity: 1; }
.vmc-feature .icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--vmc-red) 0%, var(--vmc-red-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(224, 49, 49, .5);
  margin-bottom: 22px;
  transition: transform .5s var(--vmc-ease);
}
.vmc-feature:hover .icon { transform: rotate(-6deg) scale(1.08); }
.vmc-feature h3 { font-size: 22px; font-weight: 700; color: var(--vmc-ink); margin: 0 0 10px; letter-spacing: -.01em; }
.vmc-feature p  { font-size: 15px; line-height: 1.6; color: var(--vmc-slate); margin: 0; }

/* --------------- HOW-IT-WORKS --------------- */
.vmc-how {
  background:
    radial-gradient(70% 90% at 100% 100%, var(--vmc-red-soft) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.vmc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.vmc-step { text-align: center; }
.vmc-step .num {
  width: 60px; height: 60px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--vmc-red) 0%, var(--vmc-red-dark) 100%);
  box-shadow: 0 14px 30px -14px rgba(224,49,49,.55);
  margin-bottom: 18px;
}
.vmc-step h4 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--vmc-ink); }
.vmc-step p  { font-size: 15px; color: var(--vmc-slate); line-height: 1.55; max-width: 280px; margin: 0 auto; }

/* --------------- CTA BANNER --------------- */
.vmc-cta-band {
  margin: 0 6vw 140px;
  border-radius: 40px;
  padding: 72px 8%;
  color: #fff;
  background:
    radial-gradient(60% 90% at 85% 15%, rgba(255,255,255,.20) 0%, transparent 55%),
    linear-gradient(135deg, #ff6b6b 0%, #e03131 100%);
  box-shadow: 0 40px 80px -30px rgba(224, 49, 49, .55);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  position: relative; overflow: hidden;
}
.vmc-cta-band::before, .vmc-cta-band::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(28px); pointer-events: none;
}
.vmc-cta-band::before { width: 240px; height: 240px; background: rgba(255,255,255,.35); top: -60px; right: -60px; }
.vmc-cta-band::after  { width: 200px; height: 200px; background: rgba(224,49,49,.6); bottom: -80px; left: -40px; }
.vmc-cta-band h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 10px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.vmc-cta-band p  { font-size: 17px; opacity: .92; max-width: 520px; margin: 0; line-height: 1.5; }
.vmc-store-buttons { display: flex; flex-direction: column; gap: 12px; }
.vmc-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: #000; color: #fff;
  border-radius: 14px; text-decoration: none;
  min-width: 200px;
  transition: transform .3s var(--vmc-ease), box-shadow .3s var(--vmc-ease);
}
.vmc-store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(0,0,0,.35); color: #fff; }
.vmc-store-btn .sub { font-size: 11px; opacity: .7; display: block; }
.vmc-store-btn .big { font-size: 16px; font-weight: 700; line-height: 1.1; }

/* --------------- MACOS-STYLE BOTTOM DOCK --------------- */
.vmc-dock {
  position: fixed; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  box-shadow: 0 20px 60px -20px rgba(15, 23, 42, .28),
              inset 0 1px 0 rgba(255, 255, 255, .8),
              0 0 0 1px rgba(255, 107, 107, .08);
  display: flex; align-items: flex-end; gap: 6px;
}
.vmc-dock-item {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--vmc-ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(15, 23, 42, .06);
  cursor: pointer;
  transition:
    transform .35s var(--vmc-ease),
    margin .35s var(--vmc-ease),
    background .25s var(--vmc-ease),
    border-color .25s var(--vmc-ease),
    box-shadow .3s var(--vmc-ease);
}
.vmc-dock-item svg { width: 26px; height: 26px; stroke-width: 2; transition: filter .25s var(--vmc-ease), transform .35s var(--vmc-ease); }
.vmc-dock-item:hover {
  transform: translateY(-14px) scale(1.32);
  margin: 0 12px 0 12px;
  background: linear-gradient(135deg, var(--vmc-red) 0%, var(--vmc-red-dark) 100%);
  border-color: var(--vmc-red-dark);
  color: #fff;
  box-shadow: 0 20px 36px -14px rgba(224, 49, 49, .55);
}
.vmc-dock-item:hover svg {
  filter: invert(1) brightness(2);
  transform: rotate(-4deg);
}
.vmc-dock-item + .vmc-dock-item:hover { margin-left: 16px; }
.vmc-dock-item:has(+ .vmc-dock-item:hover) { transform: translateY(-6px) scale(1.1); }
.vmc-dock-item:hover + .vmc-dock-item { transform: translateY(-6px) scale(1.1); }

/* tooltip label */
.vmc-dock-item::after {
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--vmc-ink); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--vmc-ease);
  box-shadow: 0 10px 20px rgba(15,23,42,.18);
}
.vmc-dock-item:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Border test / seperator dot (subtle divider between dock groups) */
.vmc-dock-sep {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,.14), transparent);
  margin: 0 6px;
  align-self: center;
}

/* dock on small screens: compact + scroll */
@media (max-width: 640px) {
  .vmc-dock {
    bottom: 12px; padding: 8px 10px; gap: 4px; border-radius: 22px;
    max-width: calc(100vw - 24px);
    overflow-x: auto;
  }
  .vmc-dock-item { width: 44px; height: 44px; border-radius: 14px; }
  .vmc-dock-item svg { width: 22px; height: 22px; }
  .vmc-dock-item:hover { transform: translateY(-8px) scale(1.15); margin: 0 6px; }
  .vmc-dock-item::after { display: none; }
}

/* Layout breakpoints */
@media (max-width: 900px) {
  .vmc-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .vmc-hero-stats { margin-left: auto; margin-right: auto; max-width: none; }
  .vmc-hero-cta { justify-content: center; }
  .vmc-feature-grid, .vmc-steps { grid-template-columns: 1fr; }
  .vmc-cta-band { grid-template-columns: 1fr; text-align: center; }
  .vmc-store-buttons { align-items: center; }
}

/* Smooth scrollspy reveal */
.vmc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--vmc-ease), transform .8s var(--vmc-ease); }
.vmc-reveal.in { opacity: 1; transform: translateY(0); }
