:root {
    --primary-color: #1a1f1e;
    /* Dark background */
    --secondary-color: #0f1312;
    /* Darker background */
    --accent-color: #C8B568;
    /* Laser 1 - Gold */
    --text-color: #DBDBDB;
    /* Alto 1 - Light Gray */
    --text-secondary: #A2AEAB;
    /* Edward 5 - Sage */
    --card-bg: rgba(15, 19, 18, 0.85);
    /* Dark Transparent */
    --success-color: #4caf50;
    --error-color: #f44336;
}

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

body {
    font-family: 'Adobe Caslon Pro', 'Caslon', 'Georgia', 'Times New Roman', serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: #0a0d0c;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #2a3230 0%, #0a0d0c 100%);
    z-index: -1;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 3rem;
    width: 100%;
}

.app-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #DBDBDB 0%, #A2AEAB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Layout */
.layout-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
    padding: 0 2rem 4rem 2rem;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
}

.app-container {
    flex: 1;
    max-width: 500px;
    padding: 0;
    transition: max-width 0.3s ease;
}

.app-container.full-width {
    max-width: 950px;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Options */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 1.2rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.option-btn.selected {
    background: rgba(200, 181, 104, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(200, 181, 104, 0.1);
}

.option-btn.selected::after {
    content: ' ✓';
    color: var(--accent-color);
    float: right;
}

/* Info Panel */
.info-panel {
    flex: 1;
    max-width: 400px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    display: none;
}

.info-panel.visible {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.info-panel.hidden {
    display: none;
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.info-block p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(200, 181, 104, 0.5);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(200, 181, 104, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .layout-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .app-header h1 {
        font-size: 2.5rem;
    }

    .info-panel {
        width: 100%;
        max-width: 500px;
        margin-top: 0;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

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

.hidden {
    display: none !important;
}

/* Result Page Styles */
.result-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(200, 181, 104, 0.3);
}

.result-intro h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.result-intro p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.05rem;
}

.result-intro p:last-child {
    margin-bottom: 0;
}

/* Evaluation Blocks */
.evaluation-block {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.2s ease;
}

.evaluation-block:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.evaluation-block h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.evaluation-block p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 1rem;
}

.evaluation-block strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Recommendations Section */
.recommendations-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(200, 181, 104, 0.08);
    border-radius: 1.5rem;
    border: 2px solid rgba(200, 181, 104, 0.3);
}

.recommendations-section h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.recommendations-section ul {
    list-style: none;
    padding: 0;
}

.recommendations-section li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    color: #e0e0e0;
    font-size: 1.05rem;
}

.recommendations-section li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

.recommendations-section strong {
    color: #fff;
    font-weight: 600;
}

/* Why MLYK Section */
.why-mlyk-section {
    margin-top: 3rem;
    text-align: center;
    padding: 2.5rem;
    background: rgba(15, 38, 15, 0.5);
    border-radius: 1.5rem;
}

.why-mlyk-section h3 {
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
}

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

.usp-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(200, 181, 104, 0.2);
    transition: all 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(200, 181, 104, 0.2);
}

.usp-item h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.usp-item p {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal.hidden .modal-content {
    transform: scale(0.9);
}

.modal-content h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

#email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.2s ease;
}

#email-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

#email-input::placeholder {
    color: rgba(219, 219, 219, 0.4);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Loading Spinner */
.loading {
    text-align: center;
    margin-top: 2rem;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}