/* ==============================================================
   Vistaarly v2 — Landing / marketing page
   ============================================================== */

/* Reveal on scroll */
.v-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1); }
.v-reveal.is-visible { opacity: 1; transform: translateY(0); }
.v-reveal[data-delay="1"] { transition-delay: 0.08s; }
.v-reveal[data-delay="2"] { transition-delay: 0.16s; }
.v-reveal[data-delay="3"] { transition-delay: 0.24s; }
.v-reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Full-bleed sections escape the .v-main container width */
.v-section-bleed {
  position: relative;
  width: 100vw;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  padding: 80px 24px;
}
.v-container { max-width: 1240px; margin: 0 auto; }

/* ------- HERO ------- */
.v-hero {
  padding: 60px 24px 100px;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(245,158,11,0.18), transparent 60%),
    radial-gradient(50% 50% at 90% 30%, rgba(124,58,237,0.10), transparent 60%),
    var(--cream-100);
  position: relative;
  overflow: hidden;
}
.v-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,15,25,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,15,25,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.v-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .v-hero-inner { grid-template-columns: 1.15fr 1fr; gap: 80px; }
}

.v-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11,15,25,0.06);
  color: var(--ink-800);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.v-hero-eyebrow i { color: var(--accent); }

.v-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  font-weight: 500;
}
.v-hero h1 em {
  font-style: italic;
  font-family: var(--display);
  color: var(--accent-hover);
  background: linear-gradient(90deg, var(--accent-hover), #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.v-hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-600);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.v-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.v-hero-search {
  position: relative;
  max-width: 560px;
  margin-bottom: 24px;
}
.v-hero-search-input {
  width: 100%;
  padding: 18px 24px 18px 54px;
  border-radius: 999px;
  border: 1px solid var(--ink-200);
  background: white;
  font-size: 16px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.v-hero-search-input:focus { outline: none; border-color: var(--ink-950); box-shadow: 0 8px 32px rgba(11,15,25,0.14); }
.v-hero-search::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; left: 24px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  font-size: 15px;
}
.v-hero-search-btn {
  position: absolute;
  right: 6px; top: 6px; bottom: 6px;
  padding: 0 22px;
  background: var(--ink-950);
  color: white;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.v-hero-search-btn:hover { background: var(--ink-800); color: var(--accent); }
#landing-search-results {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 320px;
  overflow: auto;
}
#landing-search-results a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-900);
}
#landing-search-results a:hover { background: var(--cream-100); }
#landing-search-results img { width: 40px; height: 40px; border-radius: 8px; background: var(--cream-200); object-fit: cover; }
#landing-search-results a > div span { display: block; font-size: 12px; color: var(--ink-500); }
.v-empty { padding: 18px; text-align: center; color: var(--ink-500); font-size: 13px; }

.v-hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px;
  font-size: 13px; color: var(--ink-600);
}
.v-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.v-hero-trust i { color: var(--success); }

/* Hero mosaic */
.v-hero-mosaic {
  position: relative;
  min-height: 480px;
}
.v-hero-mosaic-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--ink-200);
}
.v-hero-mosaic-card.mc-1 { top: 0; left: 0; width: 240px; }
.v-hero-mosaic-card.mc-2 { top: 60px; right: 0; width: 220px; }
.v-hero-mosaic-card.mc-3 { bottom: 20px; left: 40px; width: 260px; }
.v-hero-mosaic-card.mc-4 { bottom: 80px; right: 40px; width: 220px; }
.v-hero-mosaic-card .mc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.v-hero-mosaic-card .mc-avatar {
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
}
.v-hero-mosaic-card .mc-name { font-weight: 600; font-size: 13px; }
.v-hero-mosaic-card .mc-sub { font-size: 11px; color: var(--ink-500); }
.v-hero-mosaic-card .mc-price {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  color: var(--ink-950);
}
.v-hero-mosaic-card .mc-price small { font-family: var(--sans); font-weight: 500; color: var(--ink-500); font-size: 11px; }
.v-hero-mosaic-card .mc-tag {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-hover);
  font-size: 10px; font-weight: 600; margin-right: 4px;
}
.v-hero-mosaic-card .mc-badge {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--success); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 8px rgba(5,150,105,0.3);
}
@media (max-width: 900px) { .v-hero-mosaic { display: none; } }

/* Marquee logos */
.v-social-proof {
  padding: 40px 24px;
  background: var(--cream-50);
  border-block: 1px solid var(--ink-200);
  text-align: center;
}
.v-social-proof p {
  color: var(--ink-500);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
}
.v-social-proof-logos {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  font-family: var(--display); font-size: 22px; font-weight: 500;
  color: var(--ink-400);
  letter-spacing: -0.02em;
}
.v-social-proof-logos span { opacity: 0.7; }

/* Sections */
.v-section { padding: 100px 24px; }
.v-section-alt { background: white; }
.v-section-dark { background: var(--ink-950); color: white; padding: 100px 24px; }
.v-section-dark h2, .v-section-dark h3 { color: white; }
.v-section-dark .v-section-eyebrow { color: var(--accent); }

.v-section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.v-section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.v-section h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.v-section p.v-section-sub { font-size: 17px; color: var(--ink-600); }
.v-section-dark p.v-section-sub { color: rgba(255,255,255,0.75); }

/* Feature grid */
.v-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.v-feature-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.2s;
}
.v-feature-card:hover { transform: translateY(-4px); border-color: var(--ink-950); box-shadow: var(--shadow-lg); }
.v-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.v-feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.v-feature-card p { color: var(--ink-600); margin: 0 0 8px; font-size: 15px; }
.v-feature-card .v-feature-body { color: var(--ink-500); font-size: 14px; line-height: 1.6; }

/* How it works timeline */
.v-how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  counter-reset: how;
}
.v-how-step {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.v-how-step::before {
  counter-increment: how;
  content: counter(how, decimal-leading-zero);
  font-family: var(--mono);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.v-how-step h4 { font-size: 20px; margin-bottom: 8px; }
.v-how-step p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }

/* Pricing */
.v-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.v-price-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.2s;
}
.v-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.v-price-card.is-highlighted {
  background: var(--ink-950);
  color: white;
  border-color: var(--ink-950);
  transform: scale(1.03);
}
.v-price-card.is-highlighted h3 { color: white; }
.v-price-tag-featured {
  position: absolute; top: -14px; right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink-950);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.v-price-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  font-weight: 600;
}
.v-price-card.is-highlighted .v-price-name { color: rgba(255,255,255,0.7); }
.v-price-card h3 { font-family: var(--display); font-size: 26px; margin: 6px 0; }
.v-price-desc { color: var(--ink-500); font-size: 14px; margin-bottom: 20px; }
.v-price-card.is-highlighted .v-price-desc { color: rgba(255,255,255,0.7); }
.v-price-value {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.v-price-period { color: var(--ink-500); font-size: 13px; margin-left: 4px; }
.v-price-features { list-style: none; padding: 0; margin: 24px 0; }
.v-price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
}
.v-price-card.is-highlighted .v-price-features li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.08); }
.v-price-features li i { color: var(--success); margin-top: 4px; }
.v-price-card.is-highlighted .v-price-features li i { color: var(--accent); }
.v-price-cta { margin-top: auto; }

/* Bulk pricing table */
.v-bulk-table {
  max-width: 720px;
  margin: 40px auto 0;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.v-bulk-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ink-100);
  font-size: 15px;
}
.v-bulk-row:last-child { border-bottom: 0; }
.v-bulk-row.is-header { background: var(--cream-100); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; color: var(--ink-600); }
.v-bulk-row .v-bulk-disc { font-family: var(--mono); font-weight: 600; color: var(--success); }

/* Testimonials */
.v-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.v-testimonial {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
}
.v-testimonial-quote {
  color: var(--accent);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--display);
}
.v-testimonial p { font-size: 15px; line-height: 1.55; color: var(--ink-800); margin: 0 0 20px; font-style: italic; }
.v-testimonial-author { display: flex; align-items: center; gap: 12px; }
.v-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
}
.v-testimonial-name { font-weight: 600; font-size: 14px; }
.v-testimonial-role { font-size: 12px; color: var(--ink-500); }

/* FAQ */
.v-faq { max-width: 780px; margin: 0 auto; }
.v-faq-item {
  border-bottom: 1px solid var(--ink-200);
}
.v-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-950);
  transition: color 0.15s;
}
.v-faq-q:hover { color: var(--accent-hover); }
.v-faq-q::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--ink-500);
  transition: transform 0.2s;
}
.v-faq-item.is-open .v-faq-q::after { transform: rotate(-180deg); }
.v-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.65;
}
.v-faq-item.is-open .v-faq-a { max-height: 400px; padding-bottom: 22px; }

/* Final CTA */
.v-final-cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--ink-950) 0%, #1a1030 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.v-final-cta::before {
  content: '';
  position: absolute; top: 20%; left: 10%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.28), transparent 70%);
  filter: blur(20px);
}
.v-final-cta > * { position: relative; z-index: 1; }
.v-final-cta h2 {
  color: white;
  font-size: clamp(32px, 5vw, 54px);
  max-width: 800px; margin: 0 auto 20px;
  letter-spacing: -0.03em;
}
.v-final-cta p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.v-final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Big stat strip */
.v-stat-strip {
  padding: 60px 24px;
  background: var(--cream-200);
  border-block: 1px solid var(--ink-200);
}
.v-stat-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px; text-align: center;
}
.v-stat-strip-item { }
.v-stat-strip-item .v-stat-strip-value {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-950);
  display: block;
  margin-bottom: 4px;
}
.v-stat-strip-item .v-stat-strip-label {
  font-size: 12px;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Browse layout */
.browse-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-top: 20px;
}
@media (max-width: 900px) { .browse-layout { grid-template-columns: 1fr; } }
.browse-filters {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.browse-filters h2 { font-size: 18px; margin-bottom: 16px; }
