/* ==========================================================================
   ULTRA-CLEAN WHITE VSL LANDING PAGE WITH PERFECTLY CENTERED MODAL CLOSE BUTTON
   ========================================================================== */

:root {
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  
  --text-main: #0F172A;
  --text-headline: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --accent-red: #DC2626;
  --accent-green: #059669;
  --accent-green-hover: #047857;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* Reset & Base Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.light-vsl-theme {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* VSL Container */
.vsl-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Header & Headlines */
.vsl-header {
  text-align: center;
}

.main-headline {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-headline);
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  max-width: 940px;
  margin: 0 auto;
}

/* Video Player Section - Full Size & Prominent */
.video-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.full-size-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0F172A;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

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

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

.paused-video-overlay:hover {
  background: rgba(15, 23, 42, 0.94);
}

.paused-badge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 28px 44px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
  max-width: 85%;
}

.paused-video-overlay:hover .paused-badge-card {
  transform: scale(1.05);
}

.play-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 25px rgba(217, 37, 52, 0.6);
  margin-bottom: 4px;
  padding-left: 4px;
}

.paused-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.paused-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Minimal Player Controls */
.minimal-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  z-index: 15;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
}

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

.time-slider-container {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--accent-red);
  border-radius: 3px;
  width: 0%;
}

.time-readout {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-family: monospace;
}

/* ==========================================================================
   CLEAN WHITE LEAD FORM SECTION
   ========================================================================== */
.lead-form-section {
  width: 100%;
}

.lead-form-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: center;
}

/* Product Preview Box */
.product-preview-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 28px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.product-img {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.14));
  transition: transform 0.3s ease;
}

.product-preview-card:hover .product-img {
  transform: scale(1.03);
}

.product-info-tag {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text-headline);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--accent-green);
  font-weight: 700;
}

/* Clean White Lead Card */
.white-lead-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 28px;
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clean-price-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.percent-tag {
  align-self: flex-start;
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.old-price-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
}

.new-price-text {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-headline);
  letter-spacing: -0.5px;
}

.savings-note {
  font-size: 0.88rem;
  color: var(--accent-green);
  font-weight: 700;
}

.form-action-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-headline);
}

/* Form Inputs & Styling */
.clean-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.clean-input-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-headline);
}

.clean-input-group input[type="text"] {
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-headline);
  outline: none;
  transition: border-color 0.2s ease;
}

.clean-input-group input[type="text"]:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.phone-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.phone-wrapper:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.phone-prefix {
  background: #F1F5F9;
  border-right: 1px solid var(--border-color);
  padding: 13px 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-headline);
  user-select: none;
}

.phone-wrapper input {
  border: none !important;
  box-shadow: none !important;
  padding: 13px 16px !important;
  font-size: 1rem !important;
  font-family: monospace;
  font-weight: 700;
  width: 100%;
  outline: none;
}

.phone-error-msg {
  color: var(--accent-red);
  font-size: 0.82rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.phone-error-msg.show {
  display: flex;
}

.clean-submit-btn {
  background: var(--accent-green);
  color: #FFFFFF;
  border: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 4px;
}

.clean-submit-btn:hover {
  background: var(--accent-green-hover);
  transform: translateY(-1px);
}

.clean-trust-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Expanded Educational Content Section */
.expanded-lecture-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-section-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-section-title i {
  color: var(--accent-green);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.detailed-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-green);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
}

.card-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.35;
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.card-checklist li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.card-checklist i {
  color: var(--accent-green);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Expert Quote Box */
.expert-quote-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--accent-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.quote-icon {
  font-size: 1.8rem;
  color: var(--accent-green);
  opacity: 0.8;
}

.quote-text p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-headline);
  font-weight: 500;
  line-height: 1.6;
}

.quote-author {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 8px;
  font-style: normal;
}

/* ==========================================================================
   FULL-WIDTH STRUCTURED COMPANY FOOTER
   ========================================================================== */
.full-width-footer {
  width: 100%;
  background: #0B101D;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.footer-inner-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Top Disclaimer Box */
.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #F97316;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.disclaimer-title {
  font-weight: 800;
  color: #FFFFFF;
}

/* 3-Column Footer Grid */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.company-name {
  font-weight: 800;
  color: #FFFFFF;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.company-meta, .company-address {
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.company-address em {
  color: #64748B;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col strong {
  color: #FFFFFF;
}

/* Bottom Copyright Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
}

/* ==========================================================================
   FOOTER TAB MODAL DIALOG (PERFECTLY CENTERED CLOSE BUTTON & ALIGNMENT)
   ========================================================================== */
.footer-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.footer-modal-backdrop.show {
  display: flex;
}

.footer-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 650px;
  padding: 28px 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.footer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.footer-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.2;
}

/* Perfectly Centered Close Cross Button */
.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-headline);
  transform: scale(1.05);
}

.footer-modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-modal-body h4 {
  font-size: 1.05rem;
  color: var(--text-headline);
  margin-top: 12px;
  margin-bottom: 6px;
}

/* Thank You Page Styling */
.thanks-page-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: var(--bg-subtle);
}

.thanks-container {
  width: 100%;
  max-width: 600px;
}

.thanks-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-green);
  line-height: 1;
}

.thanks-card h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-headline);
}

.thanks-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.order-summary-box {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-summary-box h3 {
  font-size: 1rem;
  color: var(--text-headline);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-val {
  font-weight: 700;
  color: var(--text-headline);
}

.price-highlight {
  color: var(--accent-red);
  font-size: 1.05rem;
}

.info-alert {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #1E40AF;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-alert i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-headline);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.back-home-btn:hover {
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 820px) {
  .main-headline { font-size: 1.45rem; }
  .lead-form-wrapper { grid-template-columns: 1fr; }
  .detailed-cards-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .white-lead-card { padding: 24px 20px; }
}
