/* ==========================================================================
   PROSTALIS VSL LANDING PAGE STYLES - CHOCOLATE THEME (CZECH VERSION)
   ========================================================================== */

:root {
  --primary-color: #5c3317;        /* Chocolate Brown */
  --primary-hover: #42230e;
  --secondary-color: #2e7d32;      /* Green Accent */
  --secondary-hover: #1b5e20;
  --bg-chocolate-dark: #2a170e;    /* Dark Chocolate BG */
  --bg-chocolate-mid: #3d2314;
  --bg-chocolate-light: #52311d;
  --card-bg: #fffcf8;              /* Cream / Warm White */
  --text-dark: #2c1810;            /* Deep Chocolate Text */
  --text-cream: #fbf5ef;
  --text-muted: #6b5547;
  --border-color: #e6d7c3;
  --shadow-md: 0 6px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.5);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body.light-vsl-theme {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #23120a 0%, #3b2112 40%, #201007 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.vsl-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* Header Headline - Chocolate & Cream Style */
.vsl-header {
  text-align: center;
  margin-bottom: 25px;
}

.main-headline {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-cream);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.clean-headline {
  color: #fff8f0;
}

.gold-highlight {
  background-color: #d97706;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline;
}

.sub-headline {
  font-size: 18px;
  font-weight: 600;
  color: #e2d1c3;
  margin-top: 12px;
}

.sub-headline .red-text, .sub-headline .gold-text {
  color: #fbbf24;
  font-weight: 700;
}

/* Video Section & Custom Player */
.video-section {
  width: 100%;
  margin-bottom: 35px;
}

.vsl-player-wrapper {
  position: relative;
  width: 100%;
  background: #140904;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  border: 2px solid #5a3620;
}

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

/* Paused Video Overlay */
.paused-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 15, 8, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.paused-badge-card {
  background: rgba(255, 252, 248, 0.97);
  padding: 25px 35px;
  border-radius: 16px;
  text-align: center;
  max-width: 90%;
  box-shadow: var(--shadow-lg);
  border: 1px solid #d4c2b0;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.paused-badge-card:hover {
  transform: scale(1.03);
}

.play-icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #5c3317 0%, #3d200e 100%);
  color: #fbbf24;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  margin: 0 auto 15px auto;
  box-shadow: 0 0 20px rgba(92, 51, 23, 0.6);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 51, 23, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(92, 51, 23, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 51, 23, 0);
  }
}

.paused-title {
  font-size: 22px;
  font-weight: 800;
  color: #2c1810;
  margin-bottom: 6px;
}

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

/* Minimal Custom Video Controls */
.minimal-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(20, 9, 4, 0.95), transparent);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

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

.ctrl-btn:hover {
  color: #fbbf24;
}

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

.progress-fill {
  height: 100%;
  width: 0%;
  background: #d97706;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time-readout {
  color: #f3e8dc;
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
  text-align: center;
}

/* Order Section & Offer Card */
.order-section {
  margin-top: 30px;
  margin-bottom: 40px;
}

.offer-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

/* GREEN BANNER (Krasnaya plazhka sdelana zelenoy) */
.offer-header-banner {
  background: #edf7ed;              /* Soft Light Green BG */
  border-left: 5px solid #2e7d32;   /* Green Left Border */
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.action-text {
  font-size: 16px;
  color: #1b5e20;                   /* Dark Green Text */
  margin-bottom: 4px;
  font-weight: 700;
}

.stock-counter-text {
  font-size: 15px;
  color: #2e7d32;                   /* Green Stock Text */
  font-weight: 600;
}

.stock-badge {
  background: #2e7d32;             /* Green Badge */
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 800;
}

.offer-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
}

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

.product-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

.discount-tag {
  display: inline-block;
  background: #2e7d32;
  color: #ffffff;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.price-box {
  background: #fdf8f3;
  border: 2px dashed #d4c0ae;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
}

.old-price {
  font-size: 18px;
  color: #8c7566;
  text-decoration: line-through;
  margin-right: 12px;
}

.new-price {
  font-size: 32px;
  font-weight: 900;
  color: #2e7d32;
}

/* Order Form (Only Name and Phone) */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #2c1810;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #d4c2b0;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: #2c1810;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.input-hint {
  font-size: 12px;
  color: #7b6557;
}

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

.error-message.show {
  display: block;
}

.submit-btn {
  background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.4);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  margin-top: 6px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
  background: linear-gradient(180deg, #388e3c 0%, #2e7d32 100%);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-disclaimer-note {
  font-size: 12px;
  color: #7b6557;
  text-align: center;
  margin-top: 8px;
}

/* Footer Section - Chocolate Dark */
.full-width-footer {
  background: #170c06;
  color: #d4c2b0;
  padding: 40px 20px 20px 20px;
  margin-top: 60px;
  font-size: 14px;
  border-top: 3px solid #4a2a16;
}

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

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #2e7d32;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: 13px;
  line-height: 1.5;
}

.disclaimer-title {
  font-weight: 700;
  color: #fff;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
}

.footer-col p {
  margin-bottom: 8px;
  line-height: 1.5;
}

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

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

.footer-links a {
  color: #c2b09f;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom-bar {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 12px;
  color: #8c7868;
}

/* Modals */
.footer-modal-backdrop, .backfix-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 9, 4, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.footer-modal-card, .backfix-modal-card {
  background: #fffcf8;
  width: 90%;
  max-width: 600px;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #d4c2b0;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.footer-modal-header, .backfix-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6d7c3;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.footer-modal-header h3, .backfix-modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #2c1810;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

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

.footer-modal-body {
  font-size: 14px;
  color: #443125;
  line-height: 1.6;
}

.footer-modal-body h4 {
  margin: 14px 0 6px 0;
  color: #2c1810;
}

/* Thanks Page - Chocolate Theme */
.thanks-page-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.thanks-card {
  background: #fffcf8;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #d4c2b0;
  text-align: center;
  max-width: 550px;
  width: 100%;
}

.success-icon {
  font-size: 60px;
  color: #2e7d32;
  margin-bottom: 16px;
}

.thanks-card h1 {
  font-size: 26px;
  font-weight: 800;
  color: #2c1810;
  margin-bottom: 8px;
}

.thanks-subtitle {
  color: #6b5547;
  margin-bottom: 24px;
}

.order-summary-box {
  background: #fdf8f3;
  border: 1px solid #e6d7c3;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 25px;
}

.order-summary-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #2c1810;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #443125;
}

.summary-val {
  font-weight: 700;
  color: #2c1810;
}

.price-highlight {
  color: #2e7d32;
  font-size: 16px;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .main-headline {
    font-size: 20px;
  }
  
  .sub-headline {
    font-size: 16px;
  }
  
  .offer-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .offer-card {
    padding: 20px 16px;
  }
  
  .new-price {
    font-size: 26px;
  }
}
