/* Find Your Home - Wizard Styles */

:root {
    --bg: #0b1220;
    --bg-card: #1a2332;
    --bg-input: #2a3441;
    --accent: #7aa2ff;
    --accent-2: #22d3ee;
    --text: #eef3ff;
    --muted: #9fb0d0;
    --border: #3a4553;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: var(--muted);
    font-size: 0.9rem;
}

.btn-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.progress-step.active .step-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.progress-step.completed .step-icon {
    background: var(--success);
    border-color: var(--success);
}

.step-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.progress-step.active .step-label {
    color: var(--accent);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Wizard Steps */
.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

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

.step-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
}

.step-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-description {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* Intro Step */
.intro-content {
    text-align: center;
    padding: 3rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--bg-input);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

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

.feature-card h3 {
    margin-bottom: 0.25rem;
    color: var(--accent);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.social-proof {
    background: var(--bg-input);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Architecture Styles Grid */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.style-card {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.style-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.style-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(122, 162, 255, 0.2);
}

.style-card-image {
    width: 100%;
    height: 150px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.style-card-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.style-card-content {
    padding: 1rem;
}

.style-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.style-card-vibe {
    color: var(--accent-2);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.style-card-description {
    color: var(--muted);
    font-size: 0.9rem;
}

.style-card-check {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 2rem;
    height: 2rem;
    background: var(--accent);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.style-card.selected .style-card-check {
    display: flex;
}

/* Questionnaire */
.questionnaire-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.question-group {
    background: var(--bg-input);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.question-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-button {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: var(--text);
    font-size: 1rem;
}

.option-button:hover {
    border-color: var(--accent);
}

.option-button.selected {
    border-color: var(--accent);
    background: rgba(122, 162, 255, 0.1);
}

/* Summary */
.summary-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-section {
    background: var(--bg-input);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.summary-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.style-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.style-chip {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-item-label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.summary-item-value {
    font-weight: 600;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-container {
    margin: 2rem 0;
}

.cta-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cta-card {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

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

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

.cta-card h4 {
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.cta-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    font-weight: 600;
}

.btn:hover:not(:disabled) {
    background: #6b91e6;
    transform: translateY(-1px);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text);
}

.btn-secondary:hover {
    background: #3a4553;
}

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

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.selection-count {
    color: var(--muted);
    font-size: 0.9rem;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border);
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .progress-steps {
        gap: 0.5rem;
    }

    .step-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .styles-grid {
        grid-template-columns: 1fr;
    }

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

    .step-actions .btn {
        width: 100%;
    }
}

