/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.75rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-call {
    background: var(--success-color);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-call:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Wizard Container */
.wizard-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin: 2rem 0 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border);
    margin: 0 1rem;
    position: relative;
    top: -20px;
}

/* Step Content */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-description {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

/* Task Grid */
.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.task-card {
    background: var(--light);
    border: 3px solid transparent;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.task-card.selected {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.task-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.task-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.task-card p {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Budget Grid */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.budget-card {
    background: var(--light);
    border: 3px solid transparent;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.budget-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.budget-card.selected {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.budget-icon {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.budget-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.budget-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.budget-desc {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Details Form */
.details-form {
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.form-label i {
    color: var(--primary-color);
}

.radio-group,
.checkbox-group {
    display: grid;
    gap: 1rem;
}

.radio-card,
.checkbox-card {
    cursor: pointer;
}

.radio-card input,
.checkbox-card input {
    display: none;
}

.radio-content,
.checkbox-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.radio-content i,
.checkbox-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.radio-card input:checked ~ .radio-content,
.checkbox-card input:checked ~ .checkbox-content {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.radio-content:hover,
.checkbox-content:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.radio-content strong,
.checkbox-content strong {
    display: block;
    font-weight: 600;
    color: var(--dark);
}

.radio-content small,
.checkbox-content small {
    display: block;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

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

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

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}

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

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Result Container */
.result-container {
    max-width: 900px;
    margin: 0 auto;
}

.result-card {
    background: var(--light);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.result-name {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.result-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

.result-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success-color);
}

.result-specs {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.spec-details {
    flex: 1;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.result-performance {
    margin-bottom: 2rem;
}

.result-performance h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.result-performance h4 i {
    color: var(--primary-color);
}

.performance-bars {
    display: grid;
    gap: 1rem;
}

.performance-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.performance-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.performance-bar-container {
    width: 100%;
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.performance-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 6px;
    transition: width 1s ease-out;
}

.result-description {
    margin-bottom: 1.5rem;
}

.result-description h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.result-description h4 i {
    color: var(--primary-color);
}

.result-description p {
    line-height: 1.7;
    color: var(--secondary-color);
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        display: none;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .wizard-container {
        padding: 1.5rem;
    }

    .progress-bar {
        overflow-x: auto;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

    .task-grid,
    .budget-grid {
        grid-template-columns: 1fr;
    }

    .result-header {
        flex-direction: column;
        gap: 1rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media print {
    .header,
    .footer,
    .result-actions,
    .step-actions,
    .progress-bar {
        display: none !important;
    }

    body {
        background: white;
    }

    .wizard-container {
        box-shadow: none;
    }
}