/**
 * Brand V2: components.css - Typography, buttons, cards, badges.
 */

/* Typography Hierarchy */
.brand-v2-h1 {
  font-size: clamp(2.25rem, 1.75rem + 2vw, 3.25rem) !important;
  font-weight: 800 !important;
  color: var(--color-brand-text-dark) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem;
}

.brand-v2-h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: var(--color-brand-text-dark) !important;
  text-align: center;
  margin-bottom: 1rem;
}

.brand-v2-h3 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--color-brand-text-dark) !important;
  margin-bottom: 0.75rem;
}

.brand-v2-subtitle {
  font-size: 1.125rem !important;
  color: var(--color-brand-text-muted) !important;
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.6;
}

.brand-v2-lead {
  font-size: 1.25rem !important;
  color: var(--color-brand-text-muted) !important;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* UI Elements & Buttons */
.btn-brand-primary {
  display: inline-block;
  background-color: var(--color-brand-primary) !important;
  color: #ffffff !important;
  padding: 0.875rem 1.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  border: 1px solid var(--color-brand-primary) !important;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.btn-brand-primary:hover {
  background-color: #600018 !important;
  border-color: #600018 !important;
  text-decoration: none;
}

.btn-brand-secondary {
  display: inline-block;
  background-color: #ffffff !important;
  color: var(--color-brand-text-dark) !important;
  padding: 0.875rem 1.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  border: 1px solid #ced4da !important;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.btn-brand-secondary:hover {
  background-color: #f8f9fa !important;
  border-color: var(--color-brand-text-dark) !important;
  text-decoration: none;
}

.brand-v2-card {
  background-color: var(--color-brand-card) !important;
  border: 1px solid var(--color-brand-border) !important;
  border-radius: 0.5rem;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.brand-v2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.brand-v2-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: #f1f3f5;
  border: 1px solid #dee2e6;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

/* Global Legacy Slate Class Overrides to enforce light theme everywhere */
.bg-slate-950 {
  background-color: #f8f9fa !important;
}
.bg-slate-900 {
  background-color: #ffffff !important;
}
.bg-slate-900\/60,
.bg-slate-900\/80 {
  background-color: rgba(255, 255, 255, 0.9) !important;
}
.border-slate-800,
.border-slate-850,
.border-slate-900 {
  border-color: #e9ecef !important;
}
body.brand-v2-active .text-slate-300 {
  color: #495057 !important;
}
body.brand-v2-active .text-slate-400 {
  color: #6c757d !important;
}
body.brand-v2-active .text-slate-500 {
  color: #adb5bd !important;
}
body.brand-v2-active .text-white,
body.brand-v2-active h1,
body.brand-v2-active h2,
body.brand-v2-active h3,
body.brand-v2-active h4,
body.brand-v2-active h5,
body.brand-v2-active h6 {
  color: #212529 !important;
}

/* Reusable Video Proof Component styling */
.video-proof-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--color-brand-border);
  background: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.video-proof-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-proof-container video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Crop & Zoom Masks to clean raw PPT visuals */
.video-proof-container.mask-zoom-10 video {
  transform: scale(1.10);
}

.video-proof-container.mask-zoom-15 video {
  transform: scale(1.15);
}

.video-proof-container.mask-zoom-20 video {
  transform: scale(1.20);
}

/* Aspect Ratio constraints */
.video-proof-container.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.video-proof-container.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.video-proof-container.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

/* Subtitles/Captions overlay inside the video wrapper */
.video-proof-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
}

.video-proof-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  background-color: var(--color-brand-primary) !important;
  color: #ffffff !important;
  border-radius: 2px;
  font-size: 9px;
  font-family: monospace;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.video-proof-caption-text {
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-align: left !important;
}

