/* ============================================================
   PresyoWise — Complete Redesign
   Warm, modern, mobile-first Filipino seller calculator
   ============================================================ */

:root {
  --primary:       #C9365D;
  --primary-dk:    #A3244A;
  --primary-lt:    #FDEEF3;
  --primary-mid:   #F0AABF;
  --accent:        #FF7A5C;
  --accent-lt:     #FFF0EC;
  --success:       #059669;
  --success-lt:    #D1FAE5;
  --warning:       #D97706;
  --warning-lt:    #FEF3C7;
  --danger:        #DC2626;
  --danger-lt:     #FEE2E2;

  --bg:            #FFF8F2;
  --card:          #FFFFFF;
  --border:        #F0E0D6;
  --border-focus:  var(--primary);

  --text:          #1A1020;
  --text-mid:      #5C4A56;
  --text-light:    #9E8A96;

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;

  --sh-sm: 0 1px 4px rgba(0,0,0,0.07);
  --sh-md: 0 4px 18px rgba(0,0,0,0.09);
  --sh-lg: 0 8px 36px rgba(0,0,0,0.11);

  --ease: 0.2s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ─── Header ─── */
.app-header {
  background: linear-gradient(135deg, #FFF2F6 0%, #FFF8F2 60%, #FFF4ED 100%);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { font-size: 26px; flex-shrink: 0; }
.logo-name {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}
.logo-tag {
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.2;
}
.header-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-lt);
  border: 1px solid var(--primary-mid);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ─── Wizard container ─── */
.wizard {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 16px 140px;
}

/* ─── Progress ─── */
.progress-wrap {
  padding: 20px 0 8px;
  margin-bottom: 4px;
}
.progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 28px 14px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 25%;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}
.prog-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  transition: all var(--ease);
}
.prog-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  transition: color var(--ease);
}
.prog-step.active .prog-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--primary-lt);
}
.prog-step.active .prog-label { color: var(--primary); }
.prog-step.done .prog-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.prog-step.done .prog-label { color: var(--success); }

/* ─── Step panels ─── */
.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
  animation: stepIn 0.28s ease both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-head {
  padding: 20px 0 16px;
}
.step-head h1 {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.step-head p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.step-head p strong { color: var(--primary); }

/* ─── Choice cards (type, platform, payment) ─── */
.card-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.card-choices.quad {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .card-choices.quad { grid-template-columns: repeat(4, 1fr); }
}
.choice-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
  user-select: none;
  position: relative;
}
.choice-card:hover {
  border-color: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.choice-card.active {
  border-color: var(--primary);
  background: var(--primary-lt);
}
.choice-card.active::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}
.choice-icon { font-size: 22px; margin-bottom: 5px; }
.choice-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.choice-desc {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 2px;
}
.choice-fee {
  display: inline-block;
  margin-top: 7px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(201,54,93,0.1);
  color: var(--primary);
}
.choice-card.active .choice-fee {
  background: var(--primary);
  color: #fff;
}

/* ─── Fields ─── */
.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.fields-row.three-col { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 480px) {
  .fields-row,
  .fields-row.three-col { grid-template-columns: 1fr; }
}
.full-field { margin-bottom: 16px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--primary); }
.field-hint {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ─── Inputs ─── */
.money-input, .plain-input {
  position: relative;
}
.money-input .peso-sign {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  pointer-events: none;
}
input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lt);
}
.money-input input { padding-left: 32px; }
input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-lt);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%239E8A96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ─── Range Sliders ─── */
.range-slider {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 10px 0 6px;
  border: none;
  padding: 0;
}
.range-slider.fat {
  height: 8px;
  margin: 12px 0 8px;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,54,93,0.4);
  transition: transform var(--ease);
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,54,93,0.4);
}
.range-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}
.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* ─── Section labels ─── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  margin-top: 8px;
}

/* ─── Collapsible overhead ─── */
.collapsible-section {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.collapsible-toggle {
  width: 100%;
  background: #FAF5F0;
  border: none;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease);
}
.collapsible-toggle:hover { background: #F5EDE6; }
.toggle-arrow {
  font-size: 10px;
  transition: transform var(--ease);
}
.collapsible-toggle.open .toggle-arrow { transform: rotate(180deg); }
.collapsible-body {
  display: none;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.collapsible-body.show { display: block; }

/* ─── Info box ─── */
.step-info-box {
  display: flex;
  gap: 12px;
  background: #FFFBF0;
  border: 1px solid #FDE68A;
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-top: 8px;
}
.info-icon { font-size: 18px; flex-shrink: 0; }
.info-text {
  font-size: 13px;
  color: #92400E;
  line-height: 1.6;
}
.info-text strong { color: #78350F; }

/* ─── Fee summary box (Step 3) ─── */
.fee-summary-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  margin-top: 4px;
  box-shadow: var(--sh-sm);
}
.fee-summary-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.fee-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid #FAF5F0;
}
.fee-summary-row strong { font-weight: 700; color: var(--text); }
.fee-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.fee-summary-total strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
}

/* ─── Big slider cards (Step 4) ─── */
.big-slider-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--sh-sm);
}
.bsc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.bsc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.bsc-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.roi-zones {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.roi-zone {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: var(--r-sm);
  background: #FAF5F0;
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.roi-zone.active-zone {
  background: var(--success-lt);
  border-color: var(--success);
}
.zone-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
}
.roi-zone.active-zone .zone-label { color: var(--success); }
.zone-desc {
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.3;
  margin-top: 2px;
}
.roi-zone.active-zone .zone-desc { color: #065F46; }

/* ─── Live preview (Step 4) ─── */
.live-preview-card {
  background: linear-gradient(135deg, #FFF2F6 0%, #FFF8F2 100%);
  border: 1px solid var(--primary-mid);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 4px;
}
.lpc-top { margin-bottom: 14px; }
.lpc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lpc-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.lpc-item { flex: 1; min-width: 80px; }
.lpc-tag {
  font-size: 10px;
  color: var(--text-light);
  margin-bottom: 3px;
  line-height: 1.3;
}
.lpc-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}
.lpc-num.primary { color: var(--primary); font-size: 24px; }
.lpc-num.danger { color: var(--danger); }
.lpc-divider {
  font-size: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}
.lpc-profit-row {
  font-size: 13px;
  color: var(--text-mid);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.lpc-profit-row strong {
  color: var(--success);
  font-weight: 800;
  font-size: 15px;
}

/* ─── Results ─── */
.results-hero {
  text-align: center;
  padding: 20px 0 16px;
}
.results-emoji { font-size: 44px; margin-bottom: 10px; }
.results-hero h1 {
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}
.results-hero p {
  font-size: 14px;
  color: var(--text-mid);
}

.spotlight-card {
  background: linear-gradient(135deg, var(--primary) 0%, #E85D98 60%, var(--accent) 100%);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(201,54,93,0.35);
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.sc-label {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.sc-price {
  font-size: clamp(48px, 14vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.sc-sublabel {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 12px;
}
.sc-type-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
}

/* ─── Price ladder ─── */
.price-ladder {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 400px) {
  .price-ladder { grid-template-columns: 1fr; }
}
.pl-item {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--sh-sm);
}
.pl-item.floor { border-color: #FCA5A5; background: #FFF5F5; }
.pl-item.target { border-color: #6EE7B7; background: var(--success-lt); }
.pl-item.growth { border-color: #93C5FD; background: #EFF6FF; }
.pl-icon { font-size: 18px; margin-bottom: 4px; }
.pl-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.pl-price {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
}
.pl-desc {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.3;
}

/* ─── Results sections ─── */
.results-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--sh-sm);
}
.rs-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.breakdown-bar-item {
  margin-bottom: 12px;
}
.bb-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}
.bb-name { color: var(--text-mid); }
.bb-val { font-weight: 700; color: var(--text); }
.bb-pct { color: var(--text-light); font-size: 11px; }
.bb-track {
  height: 7px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.bb-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}
.landed-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid var(--border);
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.landed-total strong {
  font-size: 20px;
  color: var(--primary);
}

.cost-formula-note {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
}
.cfn-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 13px;
}
.cfn-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  padding: 2px 0;
}
.cfn-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 6px;
}
.cfn-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

.deductions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.deduction-chip {
  background: #FAF5F0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}
.dc-name {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 3px;
}
.dc-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.dc-val.zero { color: var(--text-light); }

/* ─── Insights ─── */
.insights-block {
  margin-bottom: 14px;
}
.insight-item {
  display: flex;
  gap: 12px;
  background: var(--primary-lt);
  border: 1px solid var(--primary-mid);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.insight-item.warn {
  background: var(--warning-lt);
  border-color: #FCD34D;
}
.insight-item.good {
  background: var(--success-lt);
  border-color: #6EE7B7;
}
.ins-icon { font-size: 18px; flex-shrink: 0; }
.ins-body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.ins-body strong { color: var(--text); }

/* ─── Results actions ─── */
.results-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
@media (min-width: 400px) {
  .results-actions { flex-direction: row; flex-wrap: wrap; }
  .results-actions .btn-primary { flex: 1; }
  .results-actions .btn-outline { flex: 1; }
}

/* ─── Buttons ─── */
.btn-next,
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #E85D98 100%);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(201,54,93,0.35);
  transition: all var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn-next:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,54,93,0.45);
}
.btn-next:active,
.btn-primary:active { transform: translateY(0); }
.btn-next.go {
  background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
  box-shadow: 0 4px 14px rgba(5,150,105,0.35);
}
.btn-next.go:hover { box-shadow: 0 6px 20px rgba(5,150,105,0.45); }

.btn-back {
  background: transparent;
  color: var(--text-mid);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
}
.btn-back:hover {
  border-color: var(--text-mid);
  background: #FAF5F0;
}

.btn-outline {
  background: var(--card);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
  text-align: center;
}
.btn-outline:hover { background: var(--primary-lt); }

/* ─── Sticky bottom nav ─── */
.sticky-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.sn-preview {
  display: flex;
  flex-direction: column;
  min-width: 80px;
}
.snp-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.snp-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.sn-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ─── Footer ─── */
.app-footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.footer-note { margin-top: 4px; font-size: 11px; }

/* ─── Mobile tweaks ─── */
@media (max-width: 480px) {
  .wizard { padding: 0 14px 140px; }
  .step-head h1 { font-size: 20px; }
  .choice-icon { font-size: 18px; }
  .choice-name { font-size: 12px; }
  .sc-price { font-size: 48px; }
  .sticky-nav { padding: 10px 14px; }
  .snp-price { font-size: 20px; }
  .results-hero { padding: 12px 0 12px; }
  .results-emoji { font-size: 36px; }
}

/* ─── Validation shake ─── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake 0.4s ease; }

/* ════════════════════════════════════════════════════════════
   AUTH AREA
════════════════════════════════════════════════════════════ */
.auth-area { display: flex; align-items: center; }

/* Wrapper gives dropdown its containing block */
.auth-user-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.auth-btn:hover { background: var(--bg); border-color: var(--primary); }
.google-icon { flex-shrink: 0; }

.auth-user {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  transition: background var(--ease);
  position: relative;
}
.auth-user:hover { background: rgba(0,0,0,0.05); }

.auth-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.auth-avatar-placeholder {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-tier-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.auth-tier-chip.tier-chip-libre       { display: none; }
.auth-tier-chip.tier-chip-diskarte    { background: #FEF3C7; color: #92400E; }
.auth-tier-chip.tier-chip-negosyante  { background: #D1FAE5; color: #065F46; }
.auth-tier-chip.tier-chip-bosing      { background: #EDE9FE; color: #5B21B6; }
.auth-caret { font-size: 10px; color: var(--text-light); }

.auth-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 190px;
  z-index: 200;
  overflow: hidden;
}
.auth-dropdown.open  { display: block; }

.auth-dd-user-info {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.auth-dd-user-name  { font-size: 13px; font-weight: 700; color: var(--text); }
.auth-dd-user-email { font-size: 11px; color: var(--text-light); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.auth-dd-user-tier  { font-size: 10px; font-weight: 700; color: var(--primary); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.04em; }

.auth-dd-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

.auth-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  text-decoration: none;
}
.auth-dd-item:hover { background: var(--bg); }
.auth-dd-item.auth-dd-danger { color: var(--danger); }
.auth-dd-item:hover    { background: var(--bg); }
.auth-dd-upgrade       { color: #92400E; font-weight: 700; background: #FFFBEB; }
.auth-dd-upgrade:hover { background: #FEF3C7; }

/* ════════════════════════════════════════════════════════════
   GATE OVERLAY
════════════════════════════════════════════════════════════ */
.gate-field { position: relative; }

.gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 249, 245, 0.88);
  backdrop-filter: blur(1px);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
}
.gate-overlay:hover { background: rgba(253, 249, 245, 0.70); }

.gate-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.gate-lock  { font-size: 13px; line-height: 1; }
.gate-label { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; white-space: nowrap; }

/* Unlock when tier is sufficient */
body.tier-diskarte   .gate-field[data-gate="diskarte"]   .gate-overlay,
body.tier-negosyante .gate-field[data-gate="diskarte"]   .gate-overlay,
body.tier-negosyante .gate-field[data-gate="negosyante"] .gate-overlay,
body.tier-bosing     .gate-field .gate-overlay { display: none; }

/* ════════════════════════════════════════════════════════════
   SAVE PROMPT BAR
════════════════════════════════════════════════════════════ */
.save-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.save-prompt.sp-upgrade { border-color: #F59E0B; background: #FFFBEB; }
.save-prompt.sp-ready   { border-color: #10B981; background: #F0FDF4; }

.sp-icon { font-size: 20px; flex-shrink: 0; }
.sp-text { flex: 1; min-width: 0; }
.sp-text strong { display: block; font-size: 13px; color: var(--text); }
.sp-text span   { font-size: 12px; color: var(--text-light); }

.sp-btn {
  padding: 7px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity var(--ease);
  white-space: nowrap;
}
.sp-btn:hover    { opacity: 0.85; }
.sp-btn-upgrade  { background: #F59E0B; }
.sp-btn-save     { background: #10B981; }

/* ════════════════════════════════════════════════════════════
   UPGRADE MODAL
════════════════════════════════════════════════════════════ */
.upgrade-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
}
.upgrade-modal-overlay.open { display: flex; }

@media (min-width: 600px) {
  .upgrade-modal-overlay { align-items: center; padding: 24px; }
}

.upgrade-modal {
  background: var(--card);
  border-radius: 24px 24px 0 0;
  padding: 28px 24px 36px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.22s ease;
}
@media (min-width: 600px) {
  .upgrade-modal { border-radius: 20px; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.um-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.um-header  { text-align: center; margin-bottom: 20px; }
.um-emoji   { font-size: 32px; margin-bottom: 6px; }
.um-title   { font-size: 20px; font-weight: 800; color: var(--text); }
.um-price   { font-size: 28px; font-weight: 800; color: var(--primary); margin-top: 4px; }
.um-price span { font-size: 14px; font-weight: 500; color: var(--text-light); }

.um-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.um-feat     { font-size: 13px; color: var(--text); line-height: 1.5; }

.um-how       { background: var(--bg); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 20px; }
.um-how-title { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.um-step      { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.um-num       { min-width: 20px; height: 20px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.um-email-ref { margin-top: 10px; font-size: 12px; color: var(--text-light); background: var(--card); padding: 8px 10px; border-radius: var(--r-sm); }

.um-actions     { display: flex; gap: 10px; }
.um-actions > * { flex: 1; text-align: center; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   LANDING PAGE  (lp- prefix)
════════════════════════════════════════════════════════════ */
.lp-body { background: var(--bg); }

/* Shared container */
.lp-container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ── */
.lp-nav {
  position: sticky; top: 0;
  background: rgba(253,249,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.lp-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-logo-icon { font-size: 22px; }
.lp-logo-text  { font-size: 18px; font-weight: 800; color: var(--text); }
.lp-nav-links  {
  display: none;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.lp-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--ease);
}
.lp-nav-links a:hover, .lp-nav-links a.active { color: var(--primary); }
.lp-nav-right { display: none; align-items: center; gap: 10px; margin-left: auto; }
.lp-nav-cta {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-nav-cta:hover { opacity: 0.88; }
.lp-nav-burger {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
}
.lp-nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.lp-nav-mobile-menu.open { display: flex; }
.lp-nav-mobile-menu a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.lp-nav-mobile-menu a:last-child { border-bottom: none; }
.lp-nav-mobile-menu .lp-nav-cta {
  margin-top: 8px;
  text-align: center;
  border-bottom: none;
  color: #fff;
}
@media (min-width: 768px) {
  .lp-nav-links  { display: flex; }
  .lp-nav-right  { display: flex; }
  .lp-nav-burger { display: none; }
  .lp-nav-mobile-menu { display: none !important; }
}

/* ── Hero ── */
.lp-hero {
  padding: 60px 0 48px;
}
.lp-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.lp-viral-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.lp-hero-h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.lp-hero-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 28px;
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.lp-cta-main {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--ease);
}
.lp-cta-main:hover { opacity: 0.88; }
.lp-cta-sec {
  display: inline-block;
  padding: 14px 24px;
  background: var(--card);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--ease);
}
.lp-cta-sec:hover { border-color: var(--primary); }
.lp-free-note { font-size: 12px; color: var(--text-light); }

/* Hero mockup card */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-mock-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.lp-mock-header { margin-bottom: 8px; }
.lp-mock-badge  { font-size: 12px; font-weight: 600; color: var(--text-mid); }
.lp-mock-label  { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.lp-mock-price  { font-size: 48px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.lp-mock-sub    { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.lp-mock-ladder { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.lp-mock-row    { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 10px; border-radius: var(--r-sm); }
.lp-mock-floor  { background: #FEF2F2; color: #991B1B; }
.lp-mock-target { background: #F0FDF4; color: #166534; }
.lp-mock-growth { background: #EFF6FF; color: #1D4ED8; }
.lp-mock-profit { font-size: 14px; font-weight: 700; color: var(--text); text-align: center; padding: 10px; background: var(--bg); border-radius: var(--r-sm); }

@media (min-width: 768px) {
  .lp-hero-inner   { flex-direction: row; align-items: center; gap: 60px; }
  .lp-hero-content { flex: 1; }
  .lp-hero-visual  { flex-shrink: 0; }
  .lp-hero-h1      { font-size: 48px; }
}

/* ── Proof bar ── */
.lp-proof-bar   { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.lp-proof-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
.lp-proof-item  { display: flex; flex-direction: column; align-items: center; }
.lp-proof-num   { font-size: 22px; font-weight: 900; color: var(--primary); line-height: 1; }
.lp-proof-label { font-size: 11px; color: var(--text-light); font-weight: 500; }
.lp-proof-dot   { font-size: 24px; color: var(--border); line-height: 1; }

/* ── Generic section ── */
.lp-section     { padding: 64px 0; }
.lp-alt-section { background: var(--card); }
.lp-section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.lp-section-head h2 { font-size: 28px; font-weight: 800; color: var(--text); margin: 8px 0 12px; line-height: 1.2; }
.lp-section-head p  { font-size: 15px; color: var(--text-mid); line-height: 1.6; }
.lp-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: #FCE7EF;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── Features grid ── */
.lp-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-feat-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.lp-feat-icon { font-size: 28px; margin-bottom: 10px; }
.lp-feat-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.lp-feat-card p  { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin: 0; }
@media (min-width: 768px) {
  .lp-feat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── How it works ── */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 36px;
}
.lp-step { display: flex; gap: 16px; align-items: flex-start; }
.lp-step-num {
  min-width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-step-body h3  { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.lp-step-body p   { font-size: 14px; color: var(--text-mid); line-height: 1.55; margin: 0; }
.lp-step-arrow    { display: none; }
.lp-steps-cta     { text-align: center; }
@media (min-width: 768px) {
  .lp-steps      { flex-direction: row; align-items: flex-start; }
  .lp-step       { flex-direction: column; align-items: center; text-align: center; flex: 1; }
  .lp-step-arrow { display: flex; align-items: center; font-size: 24px; color: var(--border); padding-top: 10px; }
}

/* ── Pricing grid ── */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .lp-pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.lp-price-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.lp-price-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(201,54,93,0.12);
}
.lp-pc-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-pc-tier     { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.lp-pc-price    { font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.lp-pc-price span { font-size: 14px; font-weight: 500; color: var(--text-light); }
.lp-pc-tagline  { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.lp-pc-list     { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.lp-pc-list li  { font-size: 13px; color: var(--text-mid); line-height: 1.4; padding-left: 22px; position: relative; }
.lp-pc-list .yes::before { content: '✅'; position: absolute; left: 0; font-size: 12px; }
.lp-pc-list .no         { color: var(--text-light); }
.lp-pc-list .no::before  { content: '🔒'; position: absolute; left: 0; font-size: 12px; }
.lp-pc-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--ease);
  cursor: pointer;
  border: none;
}
.lp-pc-btn:hover        { opacity: 0.88; }
.lp-pc-btn-primary      { background: var(--primary); color: #fff; }
.lp-pc-btn-outline      { background: var(--bg); color: var(--text); border: 2px solid var(--border); }
.lp-pricing-note        { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-light); }

/* ── Testimonials ── */
.lp-testi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .lp-testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .lp-testi-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-testi-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.lp-testi-stars { font-size: 14px; margin-bottom: 10px; }
.lp-testi-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin: 0 0 16px; font-style: italic; }
.lp-testi-author { display: flex; align-items: center; gap: 10px; }
.lp-testi-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-testi-author strong { display: block; font-size: 13px; color: var(--text); }
.lp-testi-author span   { display: block; font-size: 11px; color: var(--text-light); }

/* ── FAQ ── */
.lp-faq-wrap .lp-section-head { text-align: left; margin-bottom: 32px; }
.lp-faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.lp-faq-item {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.lp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lp-faq-q::-webkit-details-marker { display: none; }
.lp-faq-q::after { content: '▾'; font-size: 12px; color: var(--text-light); transition: transform 0.2s; }
details[open] .lp-faq-q::after { transform: rotate(-180deg); }
.lp-faq-a {
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 14px;
}

/* ── CTA band ── */
.lp-cta-band  { background: var(--primary); padding: 64px 0; }
.lp-cta-inner { text-align: center; }
.lp-cta-band h2 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 12px; }
.lp-cta-band p  { font-size: 16px; color: rgba(255,255,255,0.80); margin: 0 0 28px; }
.lp-cta-band .lp-cta-main { background: #fff; color: var(--primary); }
.lp-cta-fine  { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.65); }

/* ── Footer ── */
.lp-footer { background: #1A1020; padding: 48px 0 24px; }
.lp-footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
.lp-footer-brand { display: flex; align-items: flex-start; gap: 10px; }
.lp-footer-brand .lp-logo-icon { font-size: 24px; }
.lp-footer-brand .lp-logo-text { color: #fff; font-size: 18px; font-weight: 800; }
.lp-footer-tagline { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.lp-footer-cols { display: flex; gap: 40px; }
.lp-footer-col  { display: flex; flex-direction: column; gap: 8px; }
.lp-footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.lp-footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--ease); }
.lp-footer-col a:hover { color: #fff; }
.lp-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,0.3); }
@media (min-width: 640px) {
  .lp-footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ── Pricing page hero ── */
.lp-pricing-hero { padding: 60px 0 48px; text-align: center; }
.lp-pricing-hero h1 { font-size: 36px; font-weight: 900; color: var(--text); margin: 12px 0 16px; line-height: 1.15; }
.lp-pricing-hero p  { font-size: 16px; color: var(--text-mid); }
.lp-ph-gcash-note   { margin-top: 20px; font-size: 13px; color: var(--text-light); }
@media (min-width: 768px) {
  .lp-pricing-hero h1 { font-size: 48px; }
}

/* ── Pricing page full cards ── */
.lp-pricing-grid-big .lp-pc-list li { font-size: 13px; }
.lp-pricing-section { padding: 0 0 64px; }

/* ── Compare table ── */
.lp-table-wrap { overflow-x: auto; }
.lp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg);
  border-radius: var(--r);
  overflow: hidden;
}
.lp-compare-table th, .lp-compare-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.lp-compare-table th:first-child,
.lp-compare-table td:first-child { text-align: left; color: var(--text-mid); }
.lp-compare-table thead th { background: var(--card); font-weight: 700; color: var(--text); }
.lp-compare-table .th-featured { color: var(--primary); }
.lp-compare-table .td-feat     { background: #FFF0F4; color: var(--text); }
.lp-compare-table .tr-group td {
  background: var(--bg);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  padding: 10px 14px 6px;
}
.lp-compare-table tr:last-child td { border-bottom: none; }
.lp-compare-table tr:hover td { background: rgba(0,0,0,0.015); }
.lp-compare-table tr:hover .td-feat { background: #FFE4EE; }

/* ── Upgrade steps (pricing page) ── */
.lp-upgrade-wrap .lp-section-head { text-align: center; }
.lp-upgrade-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 36px;
}
@media (min-width: 640px) { .lp-upgrade-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-upgrade-step {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
}
.lp-upgrade-num {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.lp-upgrade-step h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.lp-upgrade-step p  { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin: 0; }

/* ── Logo link (calculator page) ── */
.logo-link { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 12px; }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE DEMO PHONE ANIMATION
   ═══════════════════════════════════════════════════════════ */

.demo-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.demo-phone {
  width: 270px;
  min-height: 460px;
  background: #1A1020;
  border-radius: 36px;
  padding-bottom: 24px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.35),
    0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
}

/* glow behind phone */
.demo-phone::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 220px;
  background: radial-gradient(ellipse, rgba(201,54,93,0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.demo-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  position: relative; z-index: 1;
}

.demo-phone-icons { font-size: 7px; letter-spacing: 2px; }

.demo-phone-app-header {
  background: linear-gradient(135deg, #C9365D 0%, #A3244A 100%);
  padding: 10px 16px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; z-index: 1;
}

.demo-phone-badge {
  font-size: 9px;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ── Demo steps (screens) ── */
.demo-step {
  position: absolute;
  top: 74px; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.demo-step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Section label ── */
.da-section-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* ── Phase 1: input fields ── */
.da-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.da-field {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 9px 12px;
}

.da-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.da-input-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.da-batch-val,
.da-pieces-val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  min-width: 4px;
}

.da-peso-sign {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-right: 1px;
}

.da-caret {
  font-size: 20px;
  font-weight: 300;
  color: #C9365D;
  animation: daBlink 1s step-end infinite;
  margin-left: 1px;
  line-height: 1;
}

@keyframes daBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.da-unit {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  margin-left: 4px;
}

/* slider */
.da-slider-field { padding: 2px 0; }

.da-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.da-slider-pct { color: #C9365D; font-weight: 700; }

.da-slider-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.da-slider-fill {
  height: 100%;
  background: linear-gradient(90deg, #C9365D, #FF7A5C);
  border-radius: 3px;
  width: 20%;
}

/* ── Phase 2: platform cards ── */
.da-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 12px;
}

.da-platform-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.da-plat-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.da-platform-card.da-tapping {
  transform: scale(0.93);
  background: rgba(255,255,255,0.12);
}

.da-platform-card.da-selected {
  background: rgba(201,54,93,0.2);
  border-color: #C9365D;
  color: #fff;
}

.da-fee-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 9px 12px;
}

.da-fee-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.da-fee-total-val {
  font-size: 20px;
  font-weight: 800;
  color: #C9365D;
}

.da-fee-total-val.da-updated {
  animation: daPopVal 0.3s ease;
}

@keyframes daPopVal {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ── Phase 3: results ── */
.da-result-hero {
  text-align: center;
  margin-bottom: 12px;
}

.da-result-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.da-result-price {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.da-result-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

.da-ladder {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.da-ladder-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.da-ladder-row.da-visible {
  opacity: 1;
  transform: translateX(0);
}

.da-ladder-row strong { font-size: 12px; font-weight: 700; }

.da-row-floor  strong { color: #F87171; }
.da-row-target strong { color: #34D399; }
.da-row-growth strong { color: #60A5FA; }

.da-profit-bar {
  background: linear-gradient(90deg,
    rgba(201,54,93,0.22),
    rgba(255,122,92,0.12));
  border: 1px solid rgba(201,54,93,0.28);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.da-profit-bar.da-visible { opacity: 1; }
.da-profit-bar strong { color: #fff; font-weight: 700; }
