:root {
  /* Premium Corporate Palette */
  --blue: #2457ff; --blue-dark: #1838b8; --blue-light: #edf2ff;
  --navy: #07111f; --navy-2: #0f172a; --ink: #0f172a; --ink-mid: #334155;
  --ink-soft: #64748b; --ink-dim: #94a3b8; --bg: #f5f7fb;
  
  /* Surfaces & Borders */
  --surface: rgba(255, 255, 255, 0.84); 
  --border: rgba(226, 232, 240, 0.92);
  
  /* Semantic & Accent Colors */
  --success: #16a34a; --danger: #dc2626; --gold: #c89b3c; --cu-orange: #ea6c2a;
  
  /* Radii */
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 9999px;
  
  /* Shadows */
  --sh-sm: 0 6px 18px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 14px 34px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06);
  --sh-lg: 0 24px 60px rgba(15, 23, 42, 0.16), 0 8px 24px rgba(15, 23, 42, 0.08);
  
  /* Animations */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1); --fast: 140ms; --mid: 280ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; color: var(--ink); background: var(--bg); }

/* SVG Sprite Defaults */
.svg-icon { width: 24px; height: 24px; stroke-width: 2; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.biz-header { position: sticky; top: 0; z-index: 200; height: 72px; display: flex; align-items: center; padding: 0 24px; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); backdrop-filter: blur(12px); }
.header-inner { max-width: 1180px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.biz-logo { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo-brand { display: flex; align-items: baseline; gap: 2px; }
.logo-2cu { color: var(--cu-orange); font-weight: 900; font-family: 'Manrope', sans-serif; letter-spacing: -0.03em; }
.logo-hub { color: var(--blue); font-weight: 800; font-family: 'Manrope', sans-serif; }
.header-nav { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border-radius: var(--r-pill); font-size: 0.95rem; font-weight: 800; border: none; transition: all var(--mid) var(--ease); text-decoration: none; }
.btn-primary { padding: 14px 28px; color: #fff; background: linear-gradient(135deg, #2457ff 0%, #4f7cff 48%, #7aa2ff 100%); box-shadow: 0 16px 38px rgba(36, 87, 255, 0.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(36, 87, 255, 0.30); }
.btn-secondary { padding: 13px 24px; color: var(--ink-mid); border: 1.5px solid var(--border); background: #fff; box-shadow: var(--sh-sm); }
.btn-secondary:hover { border-color: rgba(36, 87, 255, 0.35); color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08); }
.btn-ghost { background: transparent; color: var(--blue); padding: 10px 20px; }
.btn-ghost:hover { background: var(--blue-light); }
.btn-full { width: 100%; margin-top: 12px; }

/* Layout */
.app-container { max-width: 1240px; margin: 40px auto; padding: 0 24px; }
.guided-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; margin-bottom: 60px; }

/* Stepper Sidebar */
.stepper { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.step { display: flex; gap: 14px; padding: 12px; border-radius: var(--r-md); color: var(--ink-dim); transition: all var(--mid) var(--ease); border: 1px solid transparent; }
.step.active { background: var(--blue-light); color: var(--blue); border-color: rgba(36, 87, 255, 0.15); }
.step.done { color: var(--ink); }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(15, 23, 42, 0.05); font-weight: 800; font-size: 0.85rem; flex-shrink: 0; transition: all var(--mid) var(--ease); }
.step.active .step-num { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(36, 87, 255, 0.3); }
.step.done .step-num { background: var(--success); color: #fff; }
.step-details h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.step-details p { font-size: 0.75rem; line-height: 1.4; opacity: 0.8; }

/* Flow Container */
.flow-container { min-width: 0; }
.section-header { margin-bottom: 24px; }
.section-header h2 { font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.section-header p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* CV Dropzone */
.cv-dropzone { border: 2px dashed rgba(36, 87, 255, 0.3); border-radius: var(--r-xl); background: var(--blue-light); padding: 60px 24px; text-align: center; transition: all var(--mid) var(--ease); cursor: pointer; position: relative; overflow: hidden; margin-bottom: 24px; }
.cv-dropzone:hover, .cv-dropzone.dragover { border-color: var(--blue); background: #e0e8ff; transform: translateY(-2px); }
.cv-icon { width: 64px; height: 64px; color: var(--blue); margin: 0 auto 16px; display: block; }
.cv-title { font-size: 1.25rem; font-weight: 800; color: var(--blue-dark); margin-bottom: 8px; }
.cv-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 24px; }
.or-divider { display: flex; align-items: center; gap: 10px; margin: 24px 0; color: var(--ink-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Form Fields */
.step-pane { display: none; animation: slideUp 0.4s var(--ease); }
.step-pane.active { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--ink-mid); margin-bottom: 8px; }
.field input, .field select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--r-md); font-size: 0.95rem; color: var(--ink); outline: none; transition: all var(--fast) var(--ease); }
.field input:focus, .field select:focus { border-color: rgba(36, 87, 255, 0.55); box-shadow: 0 0 0 4px rgba(36, 87, 255, 0.10); transform: translateY(-1px); }

/* ATS Scorecard */
.ats-scorecard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; display: flex; gap: 32px; align-items: center; box-shadow: var(--sh-sm); margin-bottom: 32px; }
.ats-meter { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.ats-circle { width: 100%; height: 100%; border-radius: 50%; border: 8px solid var(--border); border-top-color: var(--success); border-right-color: var(--success); display: flex; align-items: center; justify-content: center; font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 900; color: var(--ink); transform: rotate(-45deg); transition: border-color var(--mid) var(--ease); }
.ats-circle span { transform: rotate(45deg); }
.ats-details h3 { font-family: 'Manrope', sans-serif; font-size: 1.25rem; margin-bottom: 8px; }
.ats-details p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
.ats-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ats-tag { background: #fee2e2; color: var(--danger); padding: 6px 12px; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; }
.ats-tag.good { background: #dcfce7; color: var(--success); }

/* Pricing Grid */
.pricing-section { padding: 60px 0; border-top: 1px solid var(--border); margin-top: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1120px; margin: 40px auto 0; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 28px; box-shadow: var(--sh-sm); position: relative; }
.pricing-card.featured { border-color: rgba(36, 87, 255, 0.3); box-shadow: 0 22px 52px rgba(36, 87, 255, 0.14); transform: translateY(-8px); background: linear-gradient(180deg, #fff, var(--blue-light)); }
.pricing-tag { display: inline-flex; padding: 6px 12px; border-radius: var(--r-pill); background: var(--blue-light); color: var(--blue); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.pricing-title { font-family: 'Manrope', sans-serif; font-size: 2.5rem; font-weight: 900; margin-bottom: 8px; }
.pricing-title span { font-size: 1rem; color: var(--ink-soft); font-weight: 700; }
.pricing-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-mid); font-size: 0.9rem; font-weight: 500; }
.pricing-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }

/* AI Loader Overlay */
.ai-loader { display: none; text-align: center; padding: 60px 0; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast Notifications */
.toast-bar { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(100px); z-index: 900; background: var(--navy-2); color: #fff; padding: 14px 24px; border-radius: var(--r-pill); font-size: 0.9rem; font-weight: 600; box-shadow: var(--sh-lg); opacity: 0; transition: all 0.4s var(--ease); display: flex; align-items: center; gap: 10px; }
.toast-bar.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .guided-grid { grid-template-columns: 1fr; }
  .stepper { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .ats-scorecard { flex-direction: column; text-align: center; }
  .ats-tags { justify-content: center; }
}