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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2c3543 0%, #1a1d28 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #2c3543 0%, #1a1d28 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.header-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', serif;
}

.subtitle {
    font-size: 0.95em;
    opacity: 0.9;
    color: #C87350;
    font-weight: 400;
}

.seo-intro {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 680px;
    margin: 12px auto 0;
    line-height: 1.6;
}

#wizard-form,
#results {
    padding: 40px 30px;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

h2 {
    color: #2c3543;
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', serif;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3543;
}

.step-validation-error {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-left: 4px solid #b42318;
    border-radius: 4px;
    background: #fff1f0;
    color: #8f1d14;
    font-size: 0.95em;
}

.info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #C87350;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

.info-icon:hover {
    background: #b36642;
}

.info-box {
    background: #f8f5f3;
    border-left: 4px solid #C87350;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.5;
}

.info-box strong {
    color: #2c3543;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #C87350;
}

.project-size-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.project-size-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 13px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 400;
    transition: border-color 0.2s, background-color 0.2s;
}

.project-size-option:hover {
    border-color: #C87350;
}

.project-size-option:has(input:checked) {
    border-color: #C87350;
    background: #fff7f3;
}

.project-size-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #C87350;
    flex: 0 0 auto;
}

.duration-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.btn {
    background: linear-gradient(135deg, #2c3543 0%, #1a1d28 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 115, 80, 0.3);
    background: linear-gradient(135deg, #C87350 0%, #b36642 100%);
}

.btn-prev {
    background: #95a5a6;
}

.btn-prev:hover {
    background: #7f8c8d;
    box-shadow: 0 5px 20px rgba(127, 140, 141, 0.4);
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.breakdown-table th,
.breakdown-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.breakdown-table th {
    background: linear-gradient(135deg, #2c3543 0%, #1a1d28 100%);
    color: white;
    font-weight: 600;
}

.breakdown-table tr:last-child td {
    border-bottom: none;
}

.total-section {
    background: linear-gradient(135deg, #2c3543 0%, #1a1d28 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
}

.total-section h3 {
    font-size: 1.8em;
    font-family: Georgia, 'Times New Roman', serif;
}

.total-section h3 span {
    color: #C87350;
}

.email-capture {
    background: #ecf0f1;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.email-capture h3 {
    color: #2c3543;
    margin-bottom: 10px;
    font-family: Georgia, 'Times New Roman', serif;
}

.email-capture p {
    margin-bottom: 15px;
    color: #555;
}

.email-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.email-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    height: 45px;
}

#email-confirmation {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
}

#email-confirmation.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#email-confirmation.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.9em;
}

.embed-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.embed-info h3 {
    margin-bottom: 15px;
    color: #2c3543;
    font-family: Georgia, 'Times New Roman', serif;
}

.embed-info pre {
    background: white;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    font-size: 0.85em;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 20px;
    }

    .header-logo {
        max-width: 200px;
    }

    header h1 {
        font-size: 1.5em;
    }

    #wizard-form,
    #results {
        padding: 30px 20px;
    }

    .duration-fields {
        grid-template-columns: 1fr;
    }

    .project-size-options {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input[type="email"] {
        width: 100%;
    }

    .breakdown-table {
        font-size: 0.9em;
    }

    .breakdown-table th,
    .breakdown-table td {
        padding: 10px 8px;
    }
}
