@import 'base.css';

/* ── Trust Bar ─────────────────────────────────────────────────────────── */
.vdx-trust-bar {
  background: var(--vdx-green-dark);
  color: #c8e6c9;
  font-size: 13px;
  font-family: var(--vdx-font-body);
  font-weight: 500;
  position: relative;
  z-index: 100;
  overflow: hidden;
}
.vdx-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--vdx-max-width);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  animation: vdx-ticker 30s linear infinite;
  white-space: nowrap;
}
.vdx-trust-bar__inner::-webkit-scrollbar { display: none; }

@keyframes vdx-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.vdx-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-right: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}
.vdx-trust-item svg { opacity: .85; flex-shrink: 0; }

/* ── Certifications Grid ─────────────────────────────────────────────── */
.vdx-certifications {
  padding: 80px 24px;
  background: var(--vdx-cream);
}
.vdx-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--vdx-max-width);
  margin: 0 auto;
}
.vdx-cert-card {
  background: #fff;
  border: 1px solid var(--vdx-border);
  border-radius: var(--vdx-radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--vdx-transition), box-shadow var(--vdx-transition);
}
.vdx-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vdx-shadow-lg);
  border-color: var(--vdx-green);
}
.vdx-cert-icon { width: 64px; height: 64px; margin: 0 auto 16px; }
.vdx-cert-icon svg { width: 100%; height: 100%; }
.vdx-cert-name { font-size: 16px; font-weight: 700; color: var(--vdx-green-dark); margin: 0 0 8px; }
.vdx-cert-desc { font-size: 13px; color: var(--vdx-text-muted); line-height: 1.5; margin: 0 0 12px; }
.vdx-cert-badge { font-size: 11px; background: var(--vdx-green-light); color: var(--vdx-green); padding: 3px 10px; border-radius: 20px; font-weight: 600; }

/* ── Guarantee Block ─────────────────────────────────────────────────── */
.vdx-guarantee-block {
  display: flex;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--vdx-green-light) 0%, #fff 100%);
  border: 2px solid var(--vdx-green);
  border-radius: var(--vdx-radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.vdx-guarantee-icon { flex-shrink: 0; }
.vdx-guarantee-content h3 { font-family: var(--vdx-font-display); font-size: 26px; color: var(--vdx-green-dark); margin: 0 0 10px; }
.vdx-guarantee-content p  { color: var(--vdx-text-muted); line-height: 1.6; margin: 0 0 16px; }
.vdx-guarantee-points { list-style: none; padding: 0; margin: 0; }
.vdx-guarantee-points li { font-size: 14px; color: var(--vdx-green); font-weight: 600; margin-bottom: 4px; }

@media (max-width: 640px) {
  .vdx-guarantee-block { flex-direction: column; padding: 28px 20px; }
}

/* ── USP Block ──────────────────────────────────────────────────────── */
.vdx-usp-block {
  background: var(--vdx-green-dark);
  padding: 80px 24px;
  text-align: center;
}
.vdx-usp-headline {
  font-family: var(--vdx-font-display);
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}
.vdx-usp-subline { font-size: 16px; color: #a5d6a7; margin: 0 0 40px; }
.vdx-usp-differentiators {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.vdx-usp-point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--vdx-radius);
  padding: 18px 22px;
  flex: 1;
  min-width: 220px;
  text-align: left;
}
.vdx-usp-point-icon { font-size: 28px; flex-shrink: 0; }
.vdx-usp-point strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.vdx-usp-point span   { display: block; color: #a5d6a7; font-size: 13px; margin-top: 2px; }

/* ── Stats Bar ──────────────────────────────────────────────────────── */
.vdx-stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-top: 3px solid var(--vdx-green);
  border-bottom: 1px solid var(--vdx-border);
  padding: 8px 0;
}
.vdx-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 48px;
  border-right: 1px solid var(--vdx-border);
  flex: 1;
  min-width: 160px;
}
.vdx-stat-item:last-child { border-right: none; }
.vdx-stat-number {
  font-family: var(--vdx-font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--vdx-green);
  line-height: 1;
}
.vdx-stat-suffix { font-size: 24px; color: var(--vdx-gold); font-weight: 700; margin-top: -4px; }
.vdx-stat-label  { font-size: 13px; color: var(--vdx-text-muted); font-weight: 500; margin-top: 8px; text-align: center; }

/* ── Product Trust Badges ─────────────────────────────────────────── */
.vdx-product-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.vdx-ptb-item {
  background: var(--vdx-green-light);
  color: var(--vdx-green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 640px) {
  .vdx-stats-bar { flex-direction: column; }
  .vdx-stat-item { border-right: none; border-bottom: 1px solid var(--vdx-border); padding: 20px; }
  .vdx-stat-item:last-child { border-bottom: none; }
}
