/* Positioning Lab - Modern CSS Styling */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-indicator {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.save-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.save-status.saving {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.help-button {
    background: var(--gray-100);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.help-button:hover {
    background: var(--gray-200);
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

/* ===== CONTENT PANEL ===== */
.content-panel {
    min-height: 600px;
}

.step-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    animation: slideIn 0.3s ease-out;
}

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

.step-header {
    margin-bottom: 2rem;
}

.step-number {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.step-content {
    margin-bottom: 2rem;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-100);
}

/* ===== BUSINESS GRID (STEP 0) ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.business-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.business-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.business-card.selected {
    border-color: var(--primary-color);
    background: var(--gray-50);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.business-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.business-card label {
    cursor: pointer;
    display: block;
}

.business-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.business-card h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.business-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== INPUT GROUPS ===== */
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.input-group input[type="text"],
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-group textarea {
    resize: vertical;
}

.char-count {
    position: absolute;
    right: 0.5rem;
    bottom: -1.5rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== HINTS ===== */
.hint {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.hint i {
    margin-top: 0.15rem;
}

.hint.warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 3px solid var(--warning-color);
}

.hint.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 3px solid var(--success-color);
}

.hint.info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}

/* ===== SLIDERS (STEP 2) ===== */
.rating-group {
    margin-bottom: 2rem;
}

.slider-container {
    margin: 1rem 0;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.slider-value {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ===== LANES GRID (STEP 3) ===== */
.lanes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.lane-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.lane-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.lane-card.selected {
    border-color: var(--primary-color);
    background: var(--gray-50);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.lane-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.lane-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lane-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.lane-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===== TRADE-OFF SECTION ===== */
.tradeoff-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-200);
}

.tradeoff-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.design-moves-section {
    margin-top: 2rem;
}

.design-moves-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.section-hint {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.design-moves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.design-move-checkbox {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.design-move-checkbox:hover {
    border-color: var(--primary-color);
}

.design-move-checkbox.checked {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.design-move-checkbox input {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ===== STATEMENT BUILDER (STEP 4) ===== */
.statement-builder {
    margin-top: 1.5rem;
}

.statement-template {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.statement-template p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.blank {
    color: var(--primary-color);
    font-weight: 600;
}

.hint-dropdown {
    margin-top: 0.5rem;
    cursor: pointer;
}

.hint-dropdown summary {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.hint-dropdown ul {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.hint-dropdown li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.statement-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.statement-preview h4 {
    color: white;
    margin-bottom: 1rem;
}

.final-statement {
    color: white;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
}

/* ===== VALUE PROP SECTION (STEP 5) ===== */
.value-prop-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.value-prop-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.vp-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.check-item.checked {
    color: var(--success-color);
    font-weight: 600;
}

.check-item i {
    font-size: 1.1rem;
}

.best-choice-section {
    margin-top: 2rem;
}

.best-choice-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-card {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.radio-card:hover {
    border-color: var(--primary-color);
}

.radio-card.selected {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.radio-card input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ===== PROOF POINTS (STEP 6) ===== */
.proof-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.proof-type-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.proof-type-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.proof-type-card.selected {
    border-color: var(--success-color);
    background: #ecfdf5;
}

.proof-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.proof-type-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proof-icon {
    font-size: 1.5rem;
}

.proof-type-card h4 {
    font-size: 1rem;
    color: var(--gray-900);
}

.selected-badge {
    background: var(--success-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.proof-prompt {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.selected-proofs-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.selected-proofs-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.proof-entry {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--gray-200);
    margin-bottom: 1rem;
}

.proof-entry-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.proof-number {
    background: var(--primary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-icon-small {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.btn-icon-small:hover {
    color: var(--error-color);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-300);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== PREVIEW SIDEBAR ===== */
.preview-sidebar {
    position: sticky;
    top: 100px;
}

.preview-card, .meters-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.preview-card h3, .meters-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.preview-statement {
    line-height: 1.8;
    color: var(--gray-700);
}

.preview-target, .preview-brand, .preview-category, 
.preview-benefit, .preview-reason {
    color: var(--primary-color);
    font-weight: 600;
}

.meter-group {
    margin-bottom: 1.5rem;
}

.meter-item {
    margin-bottom: 1.5rem;
}

.meter-item label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.meter-bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.clarity-meter {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.relevance-meter {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.meter-value {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
}

.score-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.score-value.score-updated {
    animation: scoreUpdate 0.5s ease;
}

@keyframes scoreUpdate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.score-max {
    font-size: 1.2rem;
    color: var(--gray-400);
}

/* ===== INVESTOR CARD (FINAL) ===== */
.investor-card .step-content {
    margin-bottom: 0;
}

.investor-card-content {
    max-width: 100%;
}

.score-banner {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.score-banner.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
}

.score-banner.good {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.score-banner.needs-work {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.score-display-large {
    color: white;
}

.score-display-large .score-number {
    font-size: 4rem;
    font-weight: 700;
}

.score-display-large .score-max {
    font-size: 2rem;
}

.score-label {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.ic-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.ic-section:last-child {
    border-bottom: none;
}

.ic-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-size: 1.3rem;
}

.section-icon {
    font-size: 1.5rem;
}

.ic-value {
    font-size: 1.1rem;
    color: var(--gray-700);
}

.ic-grid {
    display: grid;
    gap: 1rem;
}

.ic-item {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

.ic-item strong {
    display: block;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ic-item span {
    color: var(--gray-900);
    font-size: 1rem;
}

.design-moves-list {
    list-style: none;
    padding: 0;
}

.design-moves-list li {
    padding: 0.5rem 0.75rem;
    background: white;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--primary-color);
}

.ic-section.highlight {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-light);
}

.ic-statement {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.version-note {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-500);
    font-style: italic;
}

.proof-list {
    list-style: none;
    counter-reset: proof-counter;
    padding: 0;
}

.proof-list li {
    counter-increment: proof-counter;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--success-color);
}

.proof-type-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.ic-ratings {
    display: grid;
    gap: 1rem;
}

.rating-bar-display {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.rating-bar-fill {
    height: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 6px;
}

.score-breakdown {
    display: grid;
    gap: 0.75rem;
}

.score-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
}

.score-item.excellent {
    border-left: 3px solid var(--success-color);
}

.score-item.good {
    border-left: 3px solid #3b82f6;
}

.score-item.needs-work {
    border-left: 3px solid var(--warning-color);
}

.score-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: var(--transition);
    padding: 0.25rem;
}

.modal-close:hover {
    color: var(--gray-700);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h4 {
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .step-card {
        padding: 1.5rem;
    }

    .business-grid, .lanes-grid, .proof-points-grid {
        grid-template-columns: 1fr;
    }

    .step-footer {
        flex-direction: column;
    }

    .radio-group {
        flex-direction: column;
    }

    .rating-bar-display {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media print {
    body {
        background: white;
    }

    .top-bar, .preview-sidebar, .step-footer, .help-button {
        display: none;
    }

    .main-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .step-card {
        box-shadow: none;
        page-break-inside: avoid;
    }
}
