/* 
 * Hungarian VSL Detox Landing Page Style System
 * Palette: Emerald Green (#059669 / #10B981), Slate Navy (#0F172A / #1E293B), Amber Gold (#F59E0B / #D97706)
 */

:root {
  --primary-color: #059669;
  --primary-hover: #047857;
  --primary-light: #d1fae5;
  --secondary-color: #10b981;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;
  
  --dark-text: #0f172a;
  --body-text: #334155;
  --muted-text: #64748b;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -15px rgba(15, 23, 42, 0.14);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body.light-vsl-theme {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--body-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout Container */
.vsl-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 35px 20px;
  flex: 1;
}

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

.main-headline {
  font-size: 26px;
  font-weight: 900;
  color: var(--dark-text);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f172a 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .main-headline {
    font-size: 34px;
  }
}

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

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

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

/* Green VSL Banner Overlay (Matching Reference Image) */
.green-vsl-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  padding: 15px;
  transition: opacity 0.3s ease;
}

.green-vsl-banner-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.92) 0%, rgba(22, 163, 74, 0.95) 100%);
  border: 3px solid #ffffff;
  border-radius: 16px;
  padding: 24px 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(255, 255, 255, 0.25);
  max-width: 620px;
  width: 92%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.green-vsl-banner-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.35);
}

.vsl-banner-top-text {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .vsl-banner-top-text {
    font-size: 17px;
  }
}

.vsl-banner-speaker-icon {
  font-size: 52px;
  color: #ffffff;
  margin: 8px 0 12px 0;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  animation: pulse-speaker 1.8s infinite ease-in-out;
}

@keyframes pulse-speaker {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.vsl-banner-bottom-text {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .vsl-banner-bottom-text {
    font-size: 15px;
  }
}

/* Custom Minimal Controls */
.minimal-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time-readout {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  font-family: monospace;
  white-space: nowrap;
}

/* Lead Form Section */
.lead-form-section {
  width: 100%;
}

.lead-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .lead-form-wrapper {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }
}

.product-preview-card {
  flex: 1;
  text-align: center;
}

.product-img {
  max-width: 230px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 15px 30px rgba(5, 150, 105, 0.2));
  transition: transform 0.3s ease;
}

.product-img:hover {
  transform: translateY(-5px);
}

.product-info-tag {
  margin-top: 15px;
}

.product-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-text);
}

.white-lead-card {
  flex: 1.2;
}

.clean-price-header {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  text-align: center;
  border: 1px solid #bbf7d0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.old-price-text {
  text-decoration: line-through;
  color: var(--muted-text);
  font-size: 18px;
}

.new-price-text {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-color);
}

.savings-note {
  display: block;
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 4px;
}

.form-action-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 20px;
  text-align: center;
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.clean-input-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-text);
}

.clean-input-group input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

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

.phone-prefix {
  background: #f8fafc;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--dark-text);
  border-right: 1px solid var(--border-color);
  user-select: none;
}

.phone-wrapper input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.phone-error-msg {
  display: none;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 600;
}

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

.clean-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.4);
  margin-top: 10px;
}

.clean-submit-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(5, 150, 105, 0.5);
}

.clean-submit-btn:active {
  transform: scale(0.99);
}

/* Standalone Policy / Subpage Layout */
.policy-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 35px 25px;
  max-width: 800px;
  margin: 20px auto;
}

@media (min-width: 768px) {
  .policy-card {
    padding: 45px 40px;
  }
}

.policy-header {
  border-bottom: 2px solid var(--bg-color);
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.policy-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-text);
}

.policy-body {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.7;
}

.policy-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-body p {
  margin-bottom: 15px;
}

.info-highlight-box {
  background: #f0fdf4;
  border-left: 4px solid var(--primary-color);
  padding: 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.info-highlight-box h4 {
  color: var(--dark-text);
  font-size: 15px;
  margin-bottom: 8px;
}

.info-highlight-box ul {
  padding-left: 20px;
  margin: 10px 0;
}

.info-highlight-box li {
  margin-bottom: 6px;
}

/* Full Width Footer */
.full-width-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 20px 25px 20px;
  margin-top: 60px;
}

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

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 35px;
}

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

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

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.company-name {
  color: #ffffff;
  font-weight: 600;
}

.company-meta {
  font-size: 12px !important;
  color: #64748b;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

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