/* ================================================================
   VioBoost — Landing Page (home.css)
   All styles scoped to .lp-page — zero bleed to other pages.
   Only loaded on home.html via {% block extra_css %}.
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* ── CSS custom properties ──────────────────────────────────── */
.lp-page {
  --green:        #158413;
  --green-dark:   #0f6411;
  --green-start:  #0d6e0b;
  --green-light:  #f0fdf0;
  --green-badge:  #e3f1e2;
  --ink:          #0f172a;
  --ink2:         #374151;
  --muted:        #6b7280;
  --border:       #e5e7eb;
  --radius:       16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08), 0 20px 48px rgba(0,0,0,.10);
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

.lp-page a { text-decoration: none; }

/* ── Layout helpers ─────────────────────────────────────────── */
.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.lp-section      { padding: 100px 0; }
.lp-section-sm   { padding: 64px 0; }

.lp-section-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: block;
}

.lp-section-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.13;
  color: var(--ink);
  letter-spacing: -.3px;
  margin: 0 0 14px;
}

.lp-section-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 40px;
}

.lp-centered { text-align: center; }
.lp-centered .lp-section-p { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--green);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none !important;
}
.lp-btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(21,132,19,.30);
}

.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
  text-decoration: none !important;
}
.lp-btn-secondary:hover {
  border-color: var(--green);
  color: var(--green) !important;
  background: var(--green-light);
  transform: translateY(-1px);
}

.lp-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  background: #fff;
  color: var(--green-dark) !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none !important;
}
.lp-btn-white:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

/* ================================================================
   1. HERO
   ================================================================ */
.lp-hero {
  padding: 180px 0 120px;
  background: linear-gradient(155deg, #f8fef8 0%, #f0fdf0 45%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(21,132,19,.055) 0%, transparent 70%);
  top: -280px;
  right: -200px;
  pointer-events: none;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 54% 46%;
  gap: 60px;
  align-items: center;
}

.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-badge);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.lp-hero-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.5px;
  margin: 0 0 20px;
}
.lp-hero-h .lp-accent { color: var(--green); }

.lp-hero-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.78;
  margin: 0 0 38px;
  max-width: 480px;
}

.lp-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Hero visual: marketplace card ─────────────────────────── */
.lp-hero-visual {
  position: relative;
  padding: 30px 10px 30px 30px;
}

.lp-market-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.lp-market-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lp-market-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

.lp-market-badge {
  background: var(--green-badge);
  color: var(--green-dark);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .03em;
}

.lp-market-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}

.lp-market-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-market-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  transition: background .15s, border-color .15s;
}
.lp-market-item:hover {
  background: var(--green-light);
  border-color: #bbf7d0;
}

.lp-mi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.lp-mi-icon.ig { background: linear-gradient(135deg,#fd5949,#d6249f,#285aeb); color: #fff; }
.lp-mi-icon.tt { background: #010101; color: #fff; }
.lp-mi-icon.yt { background: #ff0000; color: #fff; }

.lp-mi-info { flex: 1; min-width: 0; }
.lp-mi-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-mi-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.lp-mi-price {
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  white-space: nowrap;
}

.lp-market-browse {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  background: var(--green-badge);
  color: var(--green-dark) !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  transition: background .2s;
  text-decoration: none !important;
}
.lp-market-browse:hover { background: #bbf7d0; }

/* Floating badges */
.lp-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  animation: lp-float 3.2s ease-in-out infinite;
  z-index: 3;
}
.lp-badge.b1 { top: 2px;    left: 2px;    color: #e1306c; animation-delay: 0s; }
.lp-badge.b2 { top: 48px;   right: -8px;  color: #ff0000; animation-delay: .7s; }
.lp-badge.b3 { bottom: 64px; left: -8px;  color: #1877f2; animation-delay: 1.4s; }
.lp-badge.b4 { bottom: 8px;  right: 16px; color: #010101; animation-delay: 2.1s; }

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

/* ================================================================
   2. STATS BAR
   ================================================================ */
.lp-stats {
  padding: 44px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.lp-stat-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}
.lp-stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ================================================================
   3. TWO PILLARS
   ================================================================ */
.lp-pillars { background: #fff; }
.lp-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.lp-pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 34px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.lp-pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lp-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green);
  border-radius: var(--radius) var(--radius) 0 0;
}

.lp-pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--green-badge);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 20px;
}
.lp-pillar-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}
.lp-pillar-p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 22px;
}
.lp-pillar-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lp-pillar-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.4;
}
.lp-pillar-check {
  width: 20px;
  height: 20px;
  background: var(--green-badge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--green);
}

/* ================================================================
   4. PLATFORMS
   ================================================================ */
.lp-platforms { background: var(--green-light); }
.lp-platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}
.lp-platform-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.lp-platform-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.lp-platform-chip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ================================================================
   5. HOW IT WORKS
   ================================================================ */
.lp-hiw { background: #fff; }
.lp-hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  position: relative;
}
/* connector line */
.lp-hiw-grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-badge) 0, var(--green-badge) 8px, transparent 8px, transparent 16px);
}

.lp-hiw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  z-index: 1;
}
.lp-hiw-num {
  width: 46px;
  height: 46px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green-badge);
}
.lp-hiw-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 10px;
}
.lp-hiw-p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   6. WHY CHOOSE VIOBOOST
   ================================================================ */
.lp-why { background: var(--green-light); }
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.lp-why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.lp-why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.lp-why-icon {
  width: 46px;
  height: 46px;
  background: var(--green-badge);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--green);
  margin-bottom: 16px;
}
.lp-why-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 8px;
}
.lp-why-p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   7. TESTIMONIALS
   ================================================================ */
.lp-testi { background: #fff; }
.lp-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.lp-testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.lp-testi-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.lp-testi-q {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.72;
  margin: 0 0 20px;
  flex: 1;
}
.lp-testi-footer {
  display: flex;
  align-items: center;
  gap: 11px;
}
.lp-testi-avatar {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  flex-shrink: 0;
}
.lp-testi-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.lp-testi-role {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

/* ================================================================
   8. FAQ
   ================================================================ */
.lp-faq { background: var(--green-light); }
.lp-faq-wrap {
  max-width: 720px;
  margin: 52px auto 0;
}
.lp-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.lp-faq-item.open { box-shadow: 0 4px 16px rgba(21,132,19,.08); border-color: #bbf7d0; }
.lp-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  gap: 16px;
  transition: color .15s;
}
.lp-faq-item.open .lp-faq-btn { color: var(--green); }
.lp-faq-plus {
  font-size: 22px;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.lp-faq-item.open .lp-faq-plus { transform: rotate(45deg); }
.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
}
.lp-faq-item.open .lp-faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* ================================================================
   9. CTA BAND
   ================================================================ */
.lp-cta {
  background: linear-gradient(135deg, var(--green-start) 0%, var(--green) 55%, #1daa1a 100%);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  top: -250px;
  right: -150px;
}
.lp-cta-h {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 44px);
  color: #fff;
  letter-spacing: -.3px;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.lp-cta-p {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  margin: 0 auto 36px;
  max-width: 440px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.lp-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.lp-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  text-decoration: none !important;
}
.lp-btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ================================================================
   10. FOOTER OVERRIDE (dark — only takes effect when home.css loads)
   ================================================================ */
.fc-divider { display: none; }

.fc-footer {
  background: #0f172a !important;
}
.fc-footer .footer-title {
  color: #fff !important;
}
.fc-footer .footer-links a,
.fc-footer p,
.fc-footer a {
  color: rgba(255,255,255,.68) !important;
}
.fc-footer .footer-links a:hover { color: #fff !important; }
.fc-footer small { color: rgba(255,255,255,.42) !important; }
.fc-footer .social-icon { color: rgba(255,255,255,.60); }
.fc-footer .social-icon:hover { color: #fff; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .lp-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lp-hero         { padding: 130px 0 80px; }
  .lp-hero-grid    { grid-template-columns: 1fr; gap: 48px; }
  .lp-hero-p       { max-width: 100%; }
  .lp-hero-visual  { display: flex; justify-content: center; padding: 0; }
  .lp-pillars-grid { grid-template-columns: 1fr; }
  .lp-hiw-grid     { grid-template-columns: 1fr; }
  .lp-hiw-grid::before { display: none; }
  .lp-testi-grid   { grid-template-columns: 1fr; }
  .lp-stats-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lp-section { padding: 72px 0; }
  .lp-why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .lp-hero-ctas .lp-btn-primary,
  .lp-hero-ctas .lp-btn-secondary { width: 100%; justify-content: center; }
  .lp-hero-ctas { flex-direction: column; }
  .lp-badge { display: none; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-cta-actions { flex-direction: column; align-items: center; }
}
