/* ==========================================================================
   Hungarian VSL Landing Page & Funnel Design System
   Brand: OptiVita Hungary / EyesHU (Sapphire & Cyan Blue Theme)
   ========================================================================== */

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

.light-vsl-theme {
  background-color: #f0f4f9;
  color: #0f172a;
}

/* Main Container */
.vsl-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

/* Header Section */
.vsl-header {
  text-align: center;
  margin-bottom: 28px;
}

.main-headline {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin: 0 auto;
}

/* Video Section */
.video-section {
  width: 100%;
  margin-bottom: 40px;
}

.vsl-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.vsl-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Video Paused / Unmute Overlay */
.paused-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.paused-badge-card {
  text-align: center;
  padding: 36px 32px;
  background: rgba(15, 23, 42, 0.92);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.paused-video-overlay:hover .paused-badge-card {
  transform: scale(1.03);
  border-color: rgba(56, 189, 248, 0.8);
}

/* Pulsing Play Icon */
.play-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: 28px;
  padding-left: 6px;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 24px rgba(56, 189, 248, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

.paused-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.paused-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Minimal Custom Video Controls */
.minimal-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 70%, transparent);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  z-index: 10;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.ctrl-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.time-slider-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.15s ease;
}

.time-slider-container:hover {
  height: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.time-readout {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Full-Width Footer Styles */
.full-width-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
  margin-top: 60px;
  border-top: 4px solid #0284c7;
}

.footer-inner-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Disclaimer Warning Box */
.footer-disclaimer-box {
  background-color: #1e293b;
  border-left: 4px solid #eab308;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.disclaimer-title {
  font-weight: 700;
  color: #fbbf24;
  margin-right: 6px;
}

/* 3-Column Footer Grid */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

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

.footer-col h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.company-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 6px;
}

.company-meta, .company-address {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 6px;
  line-height: 1.5;
}

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

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.footer-bottom-bar {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #334155;
  font-size: 13px;
  color: #64748b;
}

/* Footer Modal Dialog */
.footer-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 99999;
  padding: 20px;
}

.footer-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.footer-modal-card {
  background-color: #1e293b;
  color: #f8fafc;
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.footer-modal-backdrop.show .footer-modal-card {
  transform: scale(1);
}

.footer-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-modal-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: #38bdf8;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.65;
  color: #e2e8f0;
}

.footer-modal-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 8px;
}

.footer-modal-body h4:first-child {
  margin-top: 0;
}

.footer-modal-body p {
  margin-bottom: 14px;
}

/* ==========================================================================
   Order & Thank You Pages Custom Components
   ========================================================================== */

/* Order Section Cards */
.order-hero-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 768px) {
  .order-hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.product-image-box {
  text-align: center;
}

.product-image-box img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  border-radius: 12px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.product-info-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}

.product-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 8px 0;
}

.current-price {
  font-size: 32px;
  font-weight: 900;
  color: #0284c7;
}

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

.product-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}

.product-highlights i {
  color: #0284c7;
  font-size: 16px;
}

/* Order Form Card System */
.order-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 2px solid #0284c7;
  box-shadow: 0 15px 35px -10px rgba(2, 132, 199, 0.22);
}

@media (max-width: 600px) {
  .order-form-card {
    padding: 24px 16px;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-header p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

/* Flexbox Input Box with Integrated Left Icon/Prefix */
.input-container {
  display: flex;
  align-items: stretch;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-container:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
  background-color: #ffffff;
}

.input-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 16px;
  border-right: 1px solid #cbd5e1;
  flex-shrink: 0;
}

.input-prefix-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background-color: #e2e8f0;
  color: #1e293b;
  font-weight: 700;
  font-size: 15px;
  border-right: 1px solid #cbd5e1;
  user-select: none;
  flex-shrink: 0;
}

.input-prefix-box i {
  color: #0284c7;
}

.clean-input {
  flex: 1;
  width: 100%;
  padding: 14px 16px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: transparent;
  color: #0f172a;
}

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

.phone-error-msg {
  display: none;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.phone-error-msg.show {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Call To Action Submit Button */
.btn-order-submit {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shine-sweep 4s infinite;
}

@keyframes shine-sweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-main-text {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

.btn-sub-text {
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-order-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -4px rgba(2, 132, 199, 0.6);
}

/* Trust Badges Grid */
.guarantee-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .guarantee-badges {
    grid-template-columns: 1fr;
  }
}

.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-align: center;
}

.badge-item i {
  color: #0284c7;
  font-size: 14px;
}

/* Stock & Timer Bar */
.stock-timer-bar {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
  color: #991b1b;
  font-weight: 600;
}

/* Thank You Confirmation Box */
.thanks-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  max-width: 640px;
  margin: 40px auto;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.success-icon-circle {
  width: 90px;
  height: 90px;
  background-color: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}

.thanks-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.thanks-card p {
  color: #475569;
  font-size: 16px;
  margin-bottom: 24px;
}

.order-details-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  margin-bottom: 28px;
}

.order-details-box p {
  margin-bottom: 8px;
  font-size: 15px;
  color: #334155;
}

.order-details-box p:last-child {
  margin-bottom: 0;
}

