/* =========================================
   COLOR PALETTE (Midnight & Emerald Theme)
   ========================================= */
:root {
  --bg: #0f172a;           
  --surface: #1e293b;      
  --ink: #f8fafc;          
  --ink-soft: #cbd5e1;     
  --ink-muted: #64748b;    
  --line: #334155;         
  --line-strong: #475569;  
  --accent: #10b981;       
  --highlight: #059669;    
  --whatsapp: #25d366;
  --whatsapp-deep: #1eb455;
  --warning-bg: rgba(16, 185, 129, 0.1); 
  --warning-border: var(--accent);
  --warning-text: var(--accent);
}

/* =========================================
   GLOBAL STYLES
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; line-height: 1.55; overflow-x: hidden;
}

button, label, input, .radio-card, .acknowledge {
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.container { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   HEADER
   ========================================= */
header { padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.brand-mark { width: 28px; height: 28px; background: var(--ink); color: var(--bg); display: grid; place-items: center; border-radius: 7px; font-weight: 800; font-size: 14px; }
.header-tag { font-size: 12px; color: var(--ink-muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.header-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }

/* =========================================
   INTRO & TYPOGRAPHY
   ========================================= */
.intro { margin-bottom: 72px; }
.intro-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.intro h1 { font-size: clamp(34px, 5.5vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 18px; color: var(--ink); }
.intro p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 560px; font-weight: 400; }

.section { margin-bottom: 72px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* =========================================
   HOW IT WORKS (NEW GRID LAYOUT)
   ========================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Creates 2 columns */
  gap: 20px; /* Space between the grid cards */
}
.step {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s;
}
.step:hover { transform: translateY(-3px); border-color: var(--accent); }
.step-num {
  width: 32px; height: 32px; background: var(--accent); color: var(--bg);
  display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 13px;
}
.step-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; color: var(--ink); }
.step-content p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* =========================================
   VIDEO SECTION
   ========================================= */
.video-section { margin-bottom: 72px; }
.video-frame { max-width: 320px; margin: 0 auto; aspect-ratio: 9/16; background: var(--ink); border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--line); box-shadow: 0 24px 60px -25px rgba(0,0,0,0.5); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* =========================================
   FORM SECTION
   ========================================= */
.form-section { background: var(--surface); padding: 56px 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-section .section-label { margin-bottom: 12px; }
.form-section h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 32px; line-height: 1.1; color: var(--ink); }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.field input { width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 500; background: var(--bg); color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.field input:focus { outline: none; border-color: var(--accent); background: var(--surface); }

/* =========================================
   RADIO CARDS (Pricing)
   ========================================= */
.radio-group { display: grid; gap: 10px; margin-bottom: 24px; }
.radio-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); cursor: pointer; transition: all 0.15s; position: relative; }
.radio-card:hover { border-color: var(--ink-soft); background: var(--surface); }
.radio-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.radio-circle { width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 50%; flex-shrink: 0; transition: all 0.15s; position: relative; background: var(--surface); }
.radio-card input[type="radio"]:checked ~ .radio-circle { border-color: var(--accent); }
.radio-card input[type="radio"]:checked ~ .radio-circle::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.radio-card:has(input[type="radio"]:checked) { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); }

.radio-content { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.radio-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; letter-spacing: -0.01em; }
.radio-mini-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 3px 7px; border-radius: 4px; }
.radio-mini-tag.save { background: var(--highlight); color: var(--ink); }
.radio-mini-tag.gift { background: #b85a2b; color: #fff8d6; }
.radio-subtitle { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
.radio-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }
.radio-price { font-size: 18px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.radio-price-currency { font-size: 11px; color: var(--ink-muted); margin-right: 4px; }

/* =========================================
   QUANTITY FIELD
   ========================================= */
.quantity-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; margin-bottom: 22px; padding: 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; }
.quantity-info { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.quantity-info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 4px; }
.quantity-stepper { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.quantity-stepper button { width: 40px; height: 44px; background: transparent; border: 0; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; }
.quantity-stepper button:hover { background: var(--bg); }
.quantity-stepper button:disabled { color: var(--line-strong); cursor: not-allowed; }
.quantity-stepper input { width: 50px; height: 44px; text-align: center; border: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; color: var(--ink); background: transparent; -moz-appearance: textfield; }
.quantity-stepper input:focus { outline: none; }

/* =========================================
   COMMITMENT & CHECKBOX
   ========================================= */
.commitment { background: var(--warning-bg); border: 1.5px solid var(--warning-border); border-radius: 12px; padding: 20px 22px; margin: 28px 0 22px; }
.commitment-header { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warning-text); margin-bottom: 12px; }
.commitment-header svg { width: 14px; height: 14px; fill: var(--warning-text); }
.commitment-list { list-style: none; counter-reset: commit-counter; margin: 0; padding: 0; display: grid; gap: 10px; }
.commitment-list li { counter-increment: commit-counter; padding-left: 32px; position: relative; font-size: 14px; color: var(--ink); line-height: 1.55; font-weight: 500; }
.commitment-list li::before { content: counter(commit-counter); position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--warning-text); color: var(--bg); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.commitment-note { color: var(--ink-muted); font-size: 13px; font-style: italic; }
.highlight { background: var(--warning-border); color: var(--bg); padding: 1px 6px; border-radius: 3px; font-weight: 700; }

.acknowledge { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; margin-bottom: 18px; }
.acknowledge:has(input:checked) { border-color: var(--accent); background: var(--surface); }
.acknowledge input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-box { width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 5px; flex-shrink: 0; background: var(--surface); display: grid; place-items: center; margin-top: 1px; transition: all 0.15s; }
.acknowledge input:checked ~ .checkbox-box { background: var(--accent); border-color: var(--accent); }
.checkbox-box svg { width: 12px; height: 12px; fill: white; opacity: 0; }
.acknowledge input:checked ~ .checkbox-box svg { opacity: 1; }
.acknowledge-text { font-size: 13px; color: var(--ink); line-height: 1.5; font-weight: 500; }

/* =========================================
   BUTTONS & FOOTER
   ========================================= */
.submit-btn { width: 100%; padding: 16px; background: var(--whatsapp); color: white; border: 0; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; background: var(--ink-muted); }
.submit-btn svg { width: 18px; height: 18px; fill: white; }

.form-note { text-align: center; font-size: 12px; color: var(--ink-muted); margin-top: 14px; font-weight: 500; }
.call-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; color: var(--ink-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; }
.call-divider::before, .call-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.call-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 16px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 11px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.call-btn:hover { background: var(--ink); color: var(--surface); }
.call-btn svg { width: 18px; height: 18px; fill: currentColor; }

footer { padding: 32px 0; text-align: center; font-size: 12px; color: var(--ink-muted); font-weight: 500; }

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; } /* Stacks the grid on phones */
  header { padding: 18px 0; margin-bottom: 36px; }
  .intro h1 { font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
  .video-frame { max-width: 100%; border-radius: 14px; }
  .form-section { padding: 44px 0 52px; }
  .quantity-row { grid-template-columns: 1fr; }
}