/* ═══════════════════════════════════════════════════════════════════════
   V3 — Value Proposition: Compact Tactical Briefing
   Split-panel: Canvas Islamic Rose (left) + Content (right)
   Class prefix: .v3-vp-
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section ── */
.v3-vp {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.v3-vp > .container {
  position: relative;
  z-index: 2;
}

/* ── Split Layout ── */
.v3-vp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ═══════════════════════════════════════
   LEFT: Canvas Container
   ═══════════════════════════════════════ */
.v3-vp-canvas-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
}

.v3-vp-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Subtle outer ring around canvas */
.v3-vp-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.06);
  pointer-events: none;
}

.v3-vp-canvas-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.04);
  pointer-events: none;
  animation: v3-ringSpin 80s linear infinite;
}

@keyframes v3-ringSpin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   RIGHT: Content
   ═══════════════════════════════════════ */
.v3-vp-content {
  position: relative;
}

/* Tag */
.v3-vp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--v2-hud-font, 'JetBrains Mono', monospace);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--z-success, #10b981);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.v3-vp.v2-in-view .v3-vp-tag {
  opacity: 1;
  transform: translateY(0);
}

.v3-vp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--z-success, #10b981);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  animation: v2-pulse 2s ease-in-out infinite;
}

.v3-vp-tag-sep {
  color: rgba(16, 185, 129, 0.3);
}

/* Title */
.v3-vp-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--z-text, #f1f5f9);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.v3-vp.v2-in-view .v3-vp-title {
  opacity: 1;
  transform: translateY(0);
}

.v3-vp-accent {
  background: var(--z-accent-gradient, linear-gradient(135deg, #f59e0b, #fbbf24));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.v3-vp-desc {
  font-size: 0.875rem;
  color: var(--z-text-sec, #94a3b8);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 440px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.v3-vp.v2-in-view .v3-vp-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FEATURE CARDS (Intel Cards)
   ═══════════════════════════════════════ */
.v3-vp-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.v3-vp-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--z-surface-1, #1e293b);
  border: 1px solid var(--z-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--z-radius-sm, 8px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

  /* Stagger */
  opacity: 0;
  transform: translateX(-12px);
}

.v3-vp.v2-in-view .v3-vp-feature {
  opacity: 1;
  transform: translateX(0);
}

.v3-vp.v2-in-view .v3-vp-feature:nth-child(1) { transition-delay: 0.25s; }
.v3-vp.v2-in-view .v3-vp-feature:nth-child(2) { transition-delay: 0.35s; }
.v3-vp.v2-in-view .v3-vp-feature:nth-child(3) { transition-delay: 0.45s; }

/* Left color bar */
.v3-vp-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--feat-color, var(--z-accent));
  border-radius: 0 3px 3px 0;
  transition: height 0.3s ease, width 0.3s ease;
}

.v3-vp-feature:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--feat-color, var(--z-accent)) 30%, transparent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
              -4px 0 16px color-mix(in srgb, var(--feat-color, var(--z-accent)) 8%, transparent);
}

.v3-vp-feature:hover::before {
  height: 80%;
  width: 4px;
}

/* Feature icon */
.v3-vp-feat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--z-radius-sm, 8px);
  font-size: 0.875rem;
  color: var(--feat-color, var(--z-accent));
  background: color-mix(in srgb, var(--feat-color, var(--z-accent)) 10%, transparent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.v3-vp-feature:hover .v3-vp-feat-icon {
  transform: scale(1.1);
}

/* Feature text */
.v3-vp-feat-body {
  min-width: 0;
  flex: 1;
}

.v3-vp-feat-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--z-text, #f1f5f9);
  margin: 0 0 2px;
  line-height: 1.3;
}

.v3-vp-feat-desc {
  font-size: 0.75rem;
  color: var(--z-text-muted, #64748b);
  margin: 0;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow */
.v3-vp-feat-arrow {
  font-size: 0.5rem;
  color: var(--z-text-muted, #64748b);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.v3-vp-feature:hover .v3-vp-feat-arrow {
  transform: translateX(3px);
  color: var(--feat-color, var(--z-accent));
}

/* Color variants */
.v3-vp-feature--news  { --feat-color: var(--z-success, #10b981); }
.v3-vp-feature--sell  { --feat-color: var(--z-accent, #f59e0b); }
.v3-vp-feature--earn  { --feat-color: var(--z-cyan, #0ea5e9); }

/* ═══════════════════════════════════════
   METRICS (Inline)
   ═══════════════════════════════════════ */
.v3-vp-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s;
}

.v3-vp.v2-in-view .v3-vp-metrics {
  opacity: 1;
  transform: translateY(0);
}

.v3-vp-metric {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
}

.v3-vp-metric:first-child { padding-left: 0; }

.v3-vp-metric-sep {
  width: 1px;
  height: 28px;
  background: var(--z-border, rgba(255, 255, 255, 0.08));
  flex-shrink: 0;
}

.v3-vp-metric-val {
  font-family: var(--v2-hud-font, 'JetBrains Mono', monospace);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--z-accent, #f59e0b);
  line-height: 1;
  margin-bottom: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.v3-vp-metric-lbl {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--z-text-muted, #64748b);
}

/* ═══════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════ */
.v3-vp-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.6s, transform 0.4s ease 0.6s;
}

.v3-vp.v2-in-view .v3-vp-actions {
  opacity: 1;
  transform: translateY(0);
}

.v3-vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--z-radius-sm, 8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.v3-vp-btn--solid {
  background: var(--z-accent-gradient, linear-gradient(135deg, #f59e0b, #fbbf24));
  color: #0a101e;
  border: none;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
}

.v3-vp-btn--solid::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.v3-vp-btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.3);
  color: #0a101e;
}

.v3-vp-btn--solid:hover::after { left: 100%; }

.v3-vp-btn--outline {
  background: transparent;
  color: var(--z-accent, #f59e0b);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.v3-vp-btn--outline:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.5);
  color: var(--z-accent, #f59e0b);
}

.v3-vp-btn i,
.v3-vp-btn svg { transition: transform 0.3s ease; }

.v3-vp-btn:hover i,
.v3-vp-btn:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 992px) {
  .v3-vp-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .v3-vp-canvas-wrap {
    max-width: 300px;
    order: -1;
    margin: 0 auto 1rem;
  }

  .v3-vp-content {
    text-align: center;
  }

  .v3-vp-desc { margin-left: auto; margin-right: auto; }
  .v3-vp-features { max-width: 440px; margin-left: auto; margin-right: auto; }
  .v3-vp-metrics { justify-content: center; }
  .v3-vp-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .v3-vp { padding: 3rem 0; }
  .v3-vp-canvas-wrap { display: none; }
  .v3-vp-feat-desc { white-space: normal; }
  .v3-vp-actions { flex-direction: column; width: 100%; }
  .v3-vp-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .v3-vp-metrics { flex-direction: column; gap: 0.75rem; align-items: center; }
  .v3-vp-metric-sep { width: 40px; height: 1px; }
  .v3-vp-metric { padding: 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .v3-vp-tag, .v3-vp-title, .v3-vp-desc,
  .v3-vp-feature, .v3-vp-metrics, .v3-vp-actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .v3-vp-canvas-wrap::after { animation: none; }
}
