/* ==========================================================================
   HEALTHYLIVING VSL LANDING PAGE STYLES - LIGHT THEME
   ========================================================================== */

:root {
  --bg-light: #f5f7fa;
  --bg-card: #ffffff;
  --bg-card-border: rgba(13, 148, 136, 0.2);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --primary-teal: #0d9488;
  --primary-teal-hover: #0f766e;
  --accent-emerald: #10b981;
  --accent-teal: #14b8a6;
  --accent-gold: #d97706;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.light-theme {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #f5f7fa 0%, #e8edf5 40%, #dfe6f0 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.vsl-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px;
  flex: 1;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.vsl-header {
  text-align: center;
  margin-bottom: 25px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--primary-teal);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.main-headline {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sub-headline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
}

.teal-accent {
  color: var(--primary-teal);
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
}

/* ==========================================================================
   VIDEO PLAYER SECTION
   ========================================================================== */
.video-section {
  margin-bottom: 40px;
}

.vsl-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 30px rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

#videoPlayer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.paused-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.paused-badge-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 40px;
  border-radius: 20px;
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.paused-video-overlay:hover .paused-badge-card {
  transform: translateY(-4px);
}

.play-icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 26px;
  color: #ffffff;
  padding-left: 4px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

.paused-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.paused-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Minimal Controls */
.minimal-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.ctrl-btn:hover {
  color: var(--accent-teal);
}

.time-slider-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-teal), var(--accent-emerald));
  border-radius: 4px;
  transition: width 0.1s linear;
}

.time-readout {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ==========================================================================
   ORDER / OFFER SECTION (BACKFIX TARGET)
   ========================================================================== */
.order-section {
  display: none;
  animation: fadeInSlideUp 0.6s ease forwards;
  margin-bottom: 50px;
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Header Banner */
.offer-header-banner {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  padding: 16px 24px;
  text-align: center;
  color: #ffffff;
}

.offer-header-banner .action-text {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.offer-header-banner .stock-counter-text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* Content Grid */
.offer-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 35px;
}

@media (max-width: 768px) {
  .offer-content-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 24px;
  }
  .main-headline {
    font-size: 1.6rem;
  }
}

/* Product Image Column */
.product-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8fafc;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin-bottom: 15px;
}

.discount-badge-wrapper {
  margin-top: 10px;
}

.discount-tag {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Form Column */
.form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.price-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  width: 100%;
}

.old-price {
  font-size: 1.2rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.new-price {
  font-size: 2.2rem;
  color: var(--accent-gold);
  font-weight: 900;
}

/* Form Elements */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #1e293b;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.form-input::placeholder {
  color: #94a3b8;
}

.input-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.error-message {
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
  display: none;
  margin-top: 4px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-emerald) 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 6px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}

.form-benefits {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.form-benefits span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.full-width-footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px 20px 20px 20px;
  margin-top: auto;
}

.footer-inner-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-disclaimer-box {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.disclaimer-title {
  color: var(--accent-gold);
  font-weight: 700;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--primary-teal);
  padding-bottom: 6px;
  display: inline-block;
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-teal);
}

.footer-bottom-bar {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
}

/* ==========================================================================
   FOOTER MODAL
   ========================================================================== */
.footer-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.footer-modal-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.footer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-modal-header h3 {
  font-size: 1.2rem;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.footer-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
