
:root {
  --bg:              #ffffff;
  --bg-alt:          #f8fafc;
  --bg-subtle:       #f1f5f9;
  --card:            #ffffff;
  --border:          rgba(15, 23, 42, 0.08);
  --brand-blue:      #2073B7;
  --brand-blue-glow: rgba(32, 115, 183, 0.3);
  --brand-gold:      #F4AF36;
  --brand-gold-glow: rgba(244, 175, 54, 0.4);
  --text-main:       #0f172a;
  --text-muted:      #475569;
  --text-light:      #64748b;
  --glass-bg:        rgba(255, 255, 255, 0.85);
  --glass-border:    rgba(255, 255, 255, 0.5);
  --max:             1320px;
  --r-sm:            12px;
  --r-md:            16px;
  --r-lg:            24px;
  --r-xl:            32px;
}
.sticky-widget { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.changing-cta-btn {
  background: linear-gradient(135deg, #1e40af, var(--brand-blue));
  color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 800;
  padding: 16px 28px; border-radius: 100px; border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(32,115,183,0.4); animation: attentionPulse 2.5s infinite;
  display: flex; align-items: center; justify-content: center; min-width: 260px;
  cursor: pointer; transition: transform 0.3s;
}
.changing-cta-btn:hover { transform: scale(1.05); animation: none; }
#changingCtaText { transition: opacity 0.4s ease-in-out; }

@keyframes popIn { 0%{transform:scale(0.5);opacity:0} 70%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }
@keyframes checkDraw { 0%{stroke-dashoffset:100} 100%{stroke-dashoffset:0} }

.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5, 15, 35, 0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; padding: 16px;
}
.modal-overlay.show { opacity: 1; visibility: visible; }

.modal-content {
  background: #fff; border-radius: 28px; width: 100%; max-width: 500px;
  position: relative; transform: translateY(32px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.modal-overlay.show .modal-content { transform: translateY(0) scale(1); }

.modal-header-strip {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1e40af 50%, #0f172a 100%);
  padding: 32px 32px 28px; position: relative; overflow: hidden;
}
.modal-header-strip::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 24px; background: #fff; border-radius: 24px 24px 0 0;
}

.modal-step-dots { display: flex; gap: 6px; margin-bottom: 20px; position: relative; z-index: 1; }
.ms-dot { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); transition: all 0.4s ease; flex: 1; }
.ms-dot.active { background: var(--brand-gold); flex: 2; }

.modal-headline { font-family: 'Fraunces', serif; font-size: clamp(22px, 5vw, 28px); font-weight: 900; color: #fff; line-height: 1.2; position: relative; z-index: 1; margin-bottom: 0; }
.modal-subtext { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 8px; position: relative; z-index: 1; font-weight: 500; }
.modal-body { padding: 28px 32px 32px; }

.close-modal {
  position: absolute; top: 16px; right: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(255,255,255,0.8);
  cursor: pointer; z-index: 10; transition: background 0.2s, transform 0.2s; line-height: 1;
}
.close-modal:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }

.form-step { display: none; animation: slideUpFade 0.35s forwards; }
.form-step.active { display: block; }

.field-group { position: relative; margin-bottom: 16px; width: 100%; }
.field-group input {
  width: 100%; background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 20px 16px 8px;
  font-size: 15px; outline: none; font-family: inherit; color: var(--text-main);
  transition: border-color 0.2s, background 0.2s; -webkit-appearance: none; appearance: none;
}
.field-group label { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); font-size: 14px; color: #94a3b8; transition: all 0.2s ease; pointer-events: none; font-weight: 500; }
.field-group input:focus, .field-group input:not(:placeholder-shown) { border-color: var(--brand-blue); background: #fff; box-shadow: 0 0 0 4px rgba(32,115,183,0.08); }
.field-group input:focus ~ label, .field-group input:not(:placeholder-shown) ~ label { top: 10px; transform: translateY(0); font-size: 10px; font-weight: 700; color: var(--brand-blue); letter-spacing: 0.5px; }

.profile-options, .timeline-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.profile-opt, .timeline-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #e2e8f0; border-radius: 14px; cursor: pointer; transition: all 0.2s; background: #f8fafc; }
.profile-opt:hover, .timeline-opt:hover { border-color: var(--brand-blue); background: rgba(32,115,183,0.04); }
.profile-opt.selected, .timeline-opt.selected { border-color: var(--brand-blue); background: rgba(32,115,183,0.06); box-shadow: 0 0 0 3px rgba(32,115,183,0.1); }
.profile-opt-icon, .timeline-opt-icon { font-size: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.profile-opt-text strong, .timeline-opt-text strong { font-size: 14px; font-weight: 700; color: var(--text-main); display: block; }
.profile-opt-text span, .timeline-opt-text span { font-size: 12px; color: var(--text-muted); }
.profile-opt-check, .timeline-opt-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; margin-left: auto; flex-shrink: 0; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.profile-opt.selected .profile-opt-check, .timeline-opt.selected .timeline-opt-check { background: var(--brand-blue); border-color: var(--brand-blue); }
.profile-opt.selected .profile-opt-check::after, .timeline-opt.selected .timeline-opt-check::after { content: '✓'; font-size: 10px; font-weight: 900; color: #fff; }

.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn-next { background: linear-gradient(135deg, var(--brand-blue), #1e40af); color: #fff; border: none; padding: 16px 20px; border-radius: 14px; font-weight: 700; flex: 2; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 16px rgba(32,115,183,0.3); display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-next:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(32,115,183,0.4); }
.btn-prev { background: #f1f5f9; color: var(--text-muted); border: none; padding: 16px; border-radius: 14px; font-weight: 700; flex: 1; font-size: 14px; transition: background 0.2s; }
.btn-prev:hover { background: #e2e8f0; }
.trust-note { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; color: #94a3b8; justify-content: center; }
.trust-note svg { width: 12px; height: 12px; flex-shrink: 0; }

.success-state { text-align: center; display: none; padding: 40px 20px; }
.success-state.active { display: block; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.success-icon-wrap { animation: blobAnim 4s infinite alternate; display: inline-block; margin-bottom: 10px; }
.success-check { width: 80px; height: 80px; background: linear-gradient(135deg, #25D366, #128C7E); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 35px rgba(37,211,102,0.4); }
.success-check svg { width: 40px; height: 40px; }
.success-check svg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: checkDraw 0.5s 0.3s ease forwards; }

.toast-container { position: fixed; bottom: 20px; left: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.proof-toast { background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px; transform: translateX(-120%); opacity: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.proof-toast.show { transform: translateX(0); opacity: 1; }
.pt-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-blue), var(--brand-gold)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0; }
.pt-text { display: flex; flex-direction: column; }
.pt-text strong { color: var(--text-main); font-size: 13px; line-height: 1.2; }
.pt-text p { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.2; }

@media(max-width: 960px) {
  .hero-inner, .instructor-grid { grid-template-columns: 1fr; gap: 24px; }
  .bento-grid, .outcomes-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: 1; }
  .p-card.featured { transform: scale(1); }
  .nav-links, .nav-cta-btn { display: none; }
  .nav-cta-mobile { display: inline-flex; }
  .container { padding: 0 24px; }
  .reels-wrapper { padding: 0 10px; }
  .reels-track { justify-content: flex-start; padding: 16px 20px; }
  .scroll-arrow { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-body { padding: 20px 24px 28px; }
  .modal-header-strip { padding: 24px 24px 28px; }
  .changing-cta-btn { min-width: 220px; padding: 14px 20px; font-size: 13px; }
}

@media(max-width: 640px) {
  .section, .hero, .reels-section, .outcomes-section, .cta-banner { padding: 56px 0; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 16px; }
  .hero { padding: 80px 0 48px; min-height: auto; }
  .hero-h1 { font-size: clamp(28px, 8vw, 38px); letter-spacing: -1px; }
  .sec-h { font-size: clamp(24px, 6vw, 32px); }
  .btn-primary, .btn-outline, .btn-cta-gold { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reels-track { padding: 10px 16px; }
  .reel-card { width: 230px; height: 410px; }
  .footer-inner { grid-template-columns: 1fr; }
  .c-block { min-width: 38px; padding: 3px 6px; }
  .c-val { font-size: 14px; }
  .pricing-grid { gap: 16px; }
  .bento-grid, .testimonials-grid { gap: 12px; }
  .modal-content { border-radius: 24px; max-width: 100%; margin: 0; }
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-content { border-radius: 28px 28px 0 0; }
  .modal-body { padding: 20px 20px 36px; }
  .modal-header-strip { padding: 22px 20px 28px; }
  .modal-headline { font-size: 22px; }
  .profile-opt, .timeline-opt { padding: 12px 14px; }
  .profile-opt-icon, .timeline-opt-icon { width: 38px; height: 38px; font-size: 20px; }
  .section { padding: 48px 0; }
  .nav { height: 64px; }
  .nav-logo img { height: 28px; }
  .urgency-banner { padding: 10px; font-size: 11px; }
  .changing-cta-btn { min-width: 100%; padding: 16px; font-size: 14px; }
}
