/* ── TYPOGRAPHY ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── STYLING SYSTEM VARIABLES ── */
:root {
  --white:    #FFFFFF;
  --off:      #FAFAF9;
  --warm:     #F5F3EF;
  --border:   #E8E4DC;
  --muted:    #9B9589;
  --body:     #5C5750;
  --ink:      #0D0C0A;
  
  --green:    #1A7A4A;
  --green-bg: #F0FAF4;
  --green-lt: #DCF5E7;
  
  --amber:    #92620A;
  --amber-bg: #FFFBF0;
  --amber-lt: #FDE68A;
  
  --radius:   18px;
  --radius-sm:12px;
  
  --shadow:   0 2px 16px rgba(13, 12, 10, 0.06);
  --shadow-lg: 0 8px 32px rgba(13, 12, 10, 0.12);
  
  --transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  background: var(--warm);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--warm);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

/* ── TOP BAR (STICKY HEADER) ── */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 239, 0.94);
  backdrop-filter: blur(16px);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.top-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.top-logo span {
  color: var(--muted);
  font-weight: 400;
}

.step-pills {
  display: flex;
  gap: 6px;
  align-items: center;
}

.step-pill {
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: var(--border);
  transition: all var(--transition-normal);
}

.step-pill.active {
  width: 20px;
  background: var(--ink);
}

.step-pill.done {
  background: var(--green);
}

.top-step-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── LAYOUT CONTENT CONTAINER ── */
.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

/* ── ICEBREAKER BANNER ── */
.icebreaker {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.icebreaker-emoji {
  font-size: 26px;
  flex-shrink: 0;
}

.icebreaker-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.icebreaker-text strong {
  color: var(--white);
  font-weight: 600;
}

/* ── PROGRESS SLIDER ── */
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 4px;
  transition: width 0.35s ease;
}

/* ── SCREEN SECTIONS ── */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── INTERACTIVE CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card-eye {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

/* ── STEP 1: OPTIONS SELECTION ── */
.opt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-normal);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.opt:hover,
.opt:focus-visible {
  border-color: var(--ink);
  background: var(--white);
}

.opt.selected {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.05);
}

.opt-emoji {
  font-size: 26px;
  flex-shrink: 0;
}

.opt-info {
  flex: 1;
}

.opt-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.opt-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.opt-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.opt.selected .opt-check {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ── STEP 2: PLAN CARDS ── */
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.plan {
  padding: 20px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  outline: none;
  transition: all var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.plan:hover,
.plan:focus-visible {
  border-color: var(--ink);
  background: var(--white);
}

.plan.selected {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.05);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.plan-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.plan-price {
  text-align: right;
}

.plan-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-period {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.plan-perks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.plan-perk {
  font-size: 12px;
  color: var(--body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan-perk::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── ROI STRIP ── */
.roi-strip {
  background: var(--amber-bg);
  border: 1px solid var(--amber-lt);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.roi-emoji {
  font-size: 22px;
  flex-shrink: 0;
}

.roi-text {
  font-size: 13px;
  color: var(--amber);
  line-height: 1.5;
}

.roi-text strong {
  font-weight: 700;
}

/* ── STEP 3: FORM FIELDS ── */
.fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.field-inp {
  width: 100%;
  padding: 14px 16px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all var(--transition-normal);
  -webkit-appearance: none;
}

.field-inp:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 12, 10, 0.04);
}

.field-inp::placeholder {
  color: var(--muted);
}

/* Call Time Slots */
.call-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.call-slot {
  padding: 14px 12px;
  text-align: center;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.call-slot:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.call-slot.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.call-slot .slot-time {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.call-slot .slot-label {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

.call-slot.selected .slot-label {
  opacity: 0.9;
}

/* Booking Receipt Summary Card */
.sum-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 18px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.sum-row:last-child {
  border-bottom: none;
}

.sum-lbl {
  color: var(--body);
}

.sum-val {
  font-weight: 700;
  color: var(--ink);
}

.sum-total {
  background: var(--white);
}

.sum-total .sum-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

/* ── STEP 4: CONFIRMATION ── */
.conf-top {
  text-align: center;
  padding: 40px 24px 28px;
}

.conf-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--green-bg);
  border: 1px solid var(--green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  animation: popScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popScale {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.conf-hl {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.conf-sub {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}

/* What Just Happened Card */
.meta-box {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.meta-box-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.meta-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.meta-step:last-child {
  margin-bottom: 0;
}

.meta-step-emoji {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.meta-step-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.meta-step-text strong {
  color: var(--white);
  font-weight: 600;
}

/* AI Message Box Card */
.ai-msg-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.ai-msg-eye {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ai-msg-text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.7;
  font-style: italic;
}

.ai-msg-sig {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
  margin-top: 10px;
  font-weight: 600;
}

/* Next Steps Cards */
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.next-step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.next-step-emoji {
  font-size: 22px;
  flex-shrink: 0;
}

.next-step-text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.4;
}

.next-step-text strong {
  color: var(--ink);
  font-weight: 650;
}

/* ── STICKY CALL TO ACTION FOOTER ── */
.sticky-cta {
  position: sticky;
  bottom: 0;
  background: rgba(245, 243, 239, 0.96);
  backdrop-filter: blur(16px);
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity var(--transition-normal);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  opacity: 0.88;
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-sec {
  background: var(--off);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-sec:hover {
  background: var(--white);
}

.btn-back-link {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  font-family: 'Inter', sans-serif;
  align-self: center;
  transition: color var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.btn-back-link:hover {
  color: var(--ink);
}

.fwd-credit {
  text-align: center;
  padding: 24px 16px 8px;
  font-size: 11px;
  color: var(--muted);
}

.fwd-credit a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.fwd-credit a:hover {
  text-decoration: underline;
}

/* Hide scrollbars on mobile viewports */
@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  ::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
}
