/*
 * ============================================================
 *  VNV MARKETING — SHARED COMPONENTS (EDITORIAL B&W)
 *  ─────────────────────────────────────────────────────────
 *  Clean UI components:
 *    • Custom cursor
 *    • Scroll progress bar
 *    • Hero image card (clean border + subtle shadow)
 *    • Feature cards (clean agency layout)
 *    • Pricing cards
 *    • FAQ accordion
 *    • Process step list
 *    • CTA section
 * ============================================================
 */

/* ── Scroll progress bar (top of page) ── */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--ink);
  z-index: 9999; width: 0%;
  transition: width .1s linear;
}

/* ── Custom Cursor (Disabled for normal, smooth system cursor) ── */
.cursor {
  display: none !important;
}

/* ── Section eyebrow tag ── */
.section-tag {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.section-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── Hero image card ── */
.hero-bw-img {
  border: 1px solid var(--ink); border-radius: 12px;
  overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: var(--card);
}
.hero-bw-img img { width: 100%; height: auto; display: block; }

/* ── Hero stat mini-cards (service page heros) ── */
.hero-stats-row { display: flex; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat-card {
  background: var(--card); border: 1px solid var(--line);
  padding: 16px 24px; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.hero-stat-card .val { font-family: 'Anton', sans-serif; font-size: 28px; }
.hero-stat-card .lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── Feature cards (3-col grid, service pages) ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card); border: 1px solid var(--line);
  padding: 36px; border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.03);
  transition: transform .3s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card p  { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Pricing cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--card); border: 1px solid var(--line);
  padding: 40px 32px; border-radius: 12px;
  position: relative; transition: transform .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.price-card.popular { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card.popular p { color: #d0d0cc; }
.price-title { font-family: 'Anton', sans-serif; font-size: 28px; text-transform: uppercase; }
.price-num   { font-family: 'Anton', sans-serif; font-size: 42px; margin: 16px 0 8px; }
.price-list  { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.price-list li::before { content: "—"; color: var(--muted); }

/* ── FAQ Grid & Accordion ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  align-items: start;
}
@media (max-width: 820px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.faq-item {
  border: 1px solid var(--line); background: #ffffff;
  border-radius: 12px; margin-bottom: 0; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.faq-item:hover {
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.faq-item.active { border-color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,0.07); }
.faq-question {
  padding: 18px 20px; font-weight: 700; font-size: 15.5px; line-height: 1.4;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; user-select: none; color: var(--ink);
}
.faq-question .faq-icon,
.faq-question span:last-child {
  font-size: 20px; font-weight: 400; transition: transform .3s ease; line-height: 1; display: inline-block; flex-shrink: 0; color: var(--ink);
}
.faq-item.active .faq-question .faq-icon,
.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 14px 20px 18px; font-size: 14px;
  color: #555550; line-height: 1.55; display: none;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.faq-item.active .faq-answer { display: block; }

/* ── Process step list (vertical, service pages) ── */
.process-step-list  { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.step-item {
  background: var(--card); border: 1px solid var(--line);
  padding: 28px; border-radius: 10px;
  display: flex; gap: 24px; align-items: flex-start;
}
.step-num-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700;
  background: var(--paper); border: 1px solid var(--ink);
  padding: 6px 14px; border-radius: 6px;
}

/* ── CTA section ── */
.cta {
  padding: 140px 0; text-align: center;
  overflow: hidden; position: relative;
}
.cta h2  { font-size: clamp(40px, 8vw, 110px); }
.cta p   { margin: 24px auto 0; max-width: 520px; color: #c9c9c4; font-size: 16px; line-height: 1.6; }
.cta-btns { display: flex; gap: 18px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Animated border pulse on CTA outline btn */
.cta .btn-outline { animation: border-pulse 2.5s ease-in-out infinite; }

/* ── Process grid (4-col, about page) ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.process-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px; position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.process-card:hover { transform: translateY(-6px); border-color: var(--ink); }
.process-num {
  font-family: 'Anton', sans-serif; font-size: 48px; line-height: 1;
  color: var(--ink); opacity: 0.15; position: absolute; top: 20px; right: 24px;
}
.process-card h3 { font-size: 22px; font-family: 'Anton', sans-serif; margin: 16px 0 10px; }
.process-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* ── Services page: process steps ── */
.process-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px; position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.process-step:hover { transform: translateY(-6px); border-color: var(--ink); }
.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; color: var(--ink);
  opacity: 0.25; display: block; margin-bottom: 12px;
}
.process-step h3 { font-size: 22px; font-family: 'Anton', sans-serif; margin-bottom: 10px; }
.process-step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Services page process grid */
.process { padding: 120px 0; }

/* ── THE CREATIVE ENGINE ANIMATIONS ── */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .engine-grid { grid-template-columns: 1fr; gap: 60px; } }

.engine-station {
  text-align: center;
}
.engine-station h3 {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-top: 24px;
  margin-bottom: 12px;
}
.engine-station p {
  font-size: 14px;
  color: #a8a8a4;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.station-animation {
  width: 100%;
  height: 180px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Web Design Mock Browser */
.mock-browser {
  width: 160px; height: 110px;
  background: #1a1a1a; border-radius: 8px;
  border: 1px solid #333;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.browser-dots {
  height: 14px; background: #2a2a2a;
  display: flex; align-items: center; gap: 4px; padding: 0 8px;
}
.browser-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: #555;
}
.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.mock-layout { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mock-header { width: 100%; height: 8px; background: #333; border-radius: 4px; animation: skeleton-load 2s infinite; }
.mock-hero { width: 100%; height: 35px; background: #444; border-radius: 4px; animation: skeleton-load 2s 0.2s infinite; }
.mock-grid { display: flex; gap: 6px; }
.mock-grid div { flex: 1; height: 25px; background: #333; border-radius: 4px; animation: skeleton-load 2s 0.4s infinite; }

@keyframes skeleton-load {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Brand Strategy Palette */
.mock-palette {
  display: flex; gap: 12px;
}
.swatch {
  width: 32px; height: 80px; border-radius: 100px;
  animation: float-swatch 3s infinite ease-in-out;
}
.swatch.c1 { background: #fff; animation-delay: 0s; }
.swatch.c2 { background: #7a7a7a; animation-delay: 0.2s; }
.swatch.c3 { background: #444; animation-delay: 0.4s; }
.swatch.c4 { background: #111; border: 1px solid #333; animation-delay: 0.6s; }

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

/* Paid Ads Chart */
.mock-chart {
  display: flex; align-items: flex-end; gap: 10px; height: 80px; position: relative;
}
.chart-bar {
  width: 24px; background: #fff; border-radius: 4px 4px 0 0;
  animation: grow-bar 2s infinite alternate ease-in-out;
}
.chart-bar.b1 { height: 20%; animation-delay: 0s; }
.chart-bar.b2 { height: 40%; animation-delay: 0.2s; opacity: 0.8; }
.chart-bar.b3 { height: 70%; animation-delay: 0.4s; opacity: 0.6; }
.chart-bar.b4 { height: 100%; background: #00ff88; animation-delay: 0.6s; box-shadow: 0 0 15px rgba(0,255,136,0.4); }

@keyframes grow-bar {
  0% { transform: scaleY(0.5); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

/* Green Dot Pulse */
@keyframes green-pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0px #00ff88; }
  50% { transform: scale(1.4); opacity: 0.6; box-shadow: 0 0 15px #00ff88; }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0px #00ff88; }
}
