/* Couture Body Type Quiz - Elegant Black & White Styling */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.8s ease-out;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.brand-logo {
    margin-bottom: 2rem;
}

.brand-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #000000;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.8em;
    color: #666666;
}

.loading-spinner {
    margin: 2rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

/* Quiz Container */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

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

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background-color: #000000;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666666;
}

/* Screens */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.screen.active {
    display: block;
}

.screen-content {
    padding: 2rem 0;
}

.screen-header {
    text-align: center;
    margin-bottom: 3rem;
}

.screen-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.screen-description {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* Welcome Screen Specific */
.welcome-header {
    text-align: center;
    margin-bottom: 3rem;
}

.geometric-accent {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000000;
}

.main-title .highlight {
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    color: #666666;
    font-style: italic;
    margin-bottom: 2rem;
}

.welcome-description {
    max-width: 650px;
    margin: 0 auto 3rem;
}

.description-text {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.features-preview {
    margin-bottom: 3rem;
    text-align: center;
}

.features-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #000000;
}

.features-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-size: 1rem;
}

.features-list .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    min-width: 2rem;
}

.welcome-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

.welcome-footer {
    text-align: center;
    margin-top: 3rem;
}

.tagline {
    font-size: 0.95rem;
    color: #666666;
    font-style: italic;
    letter-spacing: 0.05em;
}

/* Forms */
.assessment-form {
    max-width: 500px;
    margin: 0 auto 3rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #000000;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #000000;
}

.form-input.error,
.form-select.error {
    border-color: #e74c3c;
}

.form-input.valid,
.form-select.valid {
    border-color: #27ae60;
}

.error-message {
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

/* BMI Display */
.bmi-display {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
}

.bmi-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bmi-label {
    font-weight: 500;
}

.bmi-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.bmi-category {
    font-size: 0.9rem;
    color: #666666;
}

/* Body Shapes Grid */
.body-shapes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.body-shape-option {
    padding: 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.body-shape-option:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.body-shape-option.selected {
    border-color: #000000;
    background-color: #f8f8f8;
}

.shape-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000000;
}

.shape-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.shape-description {
    font-size: 0.9rem;
    color: #666666;
}

/* Somatotype Options */
.somatotype-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.somatotype-option {
    padding: 2rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.somatotype-option:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.somatotype-option.selected {
    border-color: #000000;
    background-color: #f8f8f8;
}

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

.somatotype-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #000000;
}

.somatotype-description {
    font-size: 1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 1rem;
}

.somatotype-traits {
    list-style: none;
    font-size: 0.9rem;
    color: #333333;
}

.somatotype-traits li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.somatotype-traits li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
}

/* Hormonal Questions */
.hormonal-questions {
    margin-bottom: 2rem;
}

.hormone-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 12px;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.question-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.question-option {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.question-option:hover {
    border-color: #cccccc;
    background-color: #f8f8f8;
}

.question-option.selected {
    border-color: #000000;
    background-color: #000000;
    color: #ffffff;
}

.question-option input[type="radio"] {
    display: none;
}

.question-option label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: inherit;
}

.question-option.selected label {
    color: #ffffff;
}

/* Lifestyle Sections */
.lifestyle-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000000;
}

.activity-options,
.diet-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.activity-option,
.diet-option {
    padding: 1rem 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.activity-option:hover,
.diet-option:hover {
    border-color: #cccccc;
    background-color: #f8f8f8;
}

.activity-option.selected,
.diet-option.selected {
    border-color: #000000;
    background-color: #f8f8f8;
}

.activity-name,
.diet-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #000000;
}

.activity-description,
.diet-description {
    font-size: 0.9rem;
    color: #666666;
}

/* Goals Selection */
.goals-selection {
    margin-bottom: 2rem;
}

.goals-counter {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #666666;
}

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

.goal-option {
    padding: 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.goal-option:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goal-option.selected {
    border-color: #000000;
    background-color: #f8f8f8;
}

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

.goal-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.goal-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.goal-description {
    font-size: 0.9rem;
    color: #666666;
}

/* Results */
.results-container {
    margin-bottom: 3rem;
}

.results-summary {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 12px;
}

.couture-classification {
    text-align: center;
}

.classification-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #000000;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
}

.detail-label {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
}

/* Tabs */
.recommendations-tabs {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-headers {
    display: flex;
    background-color: #f8f8f8;
}

.tab-header {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666666;
}

.tab-header:hover {
    background-color: #e5e5e5;
    color: #000000;
}

.tab-header.active {
    background-color: #000000;
    color: #ffffff;
}

.tab-contents {
    padding: 2rem;
}

.tab-content {
    display: none;
}

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

.tab-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000000;
}

/* Discovery Screens */
.discovery-screen {
    min-height: 100vh;
}

.discovery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.discovery-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.discovery-progress {
    margin-bottom: 2rem;
}

.discovery-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.discovery-progress-fill {
    height: 100%;
    background-color: #000000;
    transition: width 0.3s ease;
}

.discovery-progress-text {
    font-size: 0.9rem;
    color: #666666;
}

.discovery-question {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.question-description {
    font-size: 1.1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
}

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

.discovery-option {
    padding: 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    text-align: center;
}

.discovery-option:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.discovery-option.selected {
    border-color: #000000;
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.discovery-option h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.discovery-option p {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

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

.silhouette {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.discovery-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.discovery-actions .btn {
    min-width: 180px;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: 2px solid;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover:not(:disabled) {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-2px);
}

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

.btn-secondary {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

.btn-secondary:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: #ffffff;
    color: #666666;
    border-color: #e5e5e5;
}

.btn-outline:hover {
    background-color: #f8f8f8;
    border-color: #cccccc;
    color: #000000;
}

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

.screen-actions .btn {
    min-width: 150px;
}

/* Email Form */
.email-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.email-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.email-benefits h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.email-benefits ul {
    list-style: none;
    font-size: 0.9rem;
    color: #333333;
}

.email-benefits li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.email-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 600;
}

/* Completion Message */
.completion-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.completion-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.completion-text {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.next-steps {
    text-align: left;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 12px;
}

.next-steps h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.next-steps ol {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.completion-actions {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.brand-closing {
    font-size: 0.95rem;
    color: #666666;
    font-style: italic;
    margin-bottom: 1rem;
}

.couture-lab-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #000000;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: #666666;
}

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

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-container {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .screen-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .screen-actions {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    
    .screen-actions .btn {
        width: 100%;
    }
    
    .body-shapes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .somatotype-options {
        grid-template-columns: 1fr;
    }
    
    .goals-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .tab-headers {
        flex-wrap: wrap;
    }
    
    .tab-header {
        flex: 1 1 50%;
    }
    
    .completion-actions {
        flex-direction: column;
    }
}