/* ALIGN - The Resilience Code DISC Professional Assessment Styles */

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.hidden {
    display: none !important;
}

/* Landing Section */
.landing-section {
    background: linear-gradient(135deg, #333333 0%, #333333 50%, #333333 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.align-header {
    text-align: center;
    margin-bottom: 40px;
}

.align-logo {
    margin-bottom: 30px;
}

/* Main Logo Image Styling */
.logo-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.assessment-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFF8DC;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.assessment-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.principles-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 3px solid #B8860B;
}

.principles-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #4a5568;
    border-bottom: 3px solid #B8860B;
    padding-bottom: 10px;
    text-align: center;
}

.principles-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #fffef7;
    border-radius: 8px;
    border-left: 4px solid #B8860B;
}

.bullet {
    color: #B8860B;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2px;
}

.assessment-info {
    background: #FFF8DC;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-left: 5px solid #B8860B;
}

.assessment-info p {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.assessment-info ul {
    list-style: none;
    padding-left: 0;
}

.assessment-info li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.assessment-info li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #B8860B;
    font-weight: bold;
}

.align-button {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #996515 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184,134,11,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.align-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,134,11,0.4);
    filter: brightness(1.1);
}

.align-button.secondary {
    background: #718096;
    box-shadow: 0 4px 15px rgba(113,128,150,0.3);
}

.align-button.primary {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #996515 100%);
}

/* Assessment Section */
.assessment-section {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.assessment-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Header Logo Image Styling */
.header-logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.2));
}

.header-text {
    font-size: 1.5rem;
    color: #4a5568;
    font-weight: 600;
}

.progress-container {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(90deg, #B8860B, #DAA520);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    display: block;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.question-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #B8860B;
}

.question-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #B8860B;
}

.column-header {
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
}

.most-header {
    color: #38a169;
}

.least-header {
    color: #e53e3e;
}

.question-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.question-row:hover {
    background-color: #fffef7;
}

.radio-option {
    text-align: center;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #B8860B;
}

.word-option {
    text-align: center;
    font-weight: 500;
    color: #2d3748;
    padding: 10px;
    border-radius: 5px;
    background: #fffef7;
    border: 1px solid #F4E4B8;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.nav-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-weight: 600;
}

.nav-button.primary {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #996515 100%);
    color: white;
}

.nav-button.secondary {
    background: #e2e8f0;
    color: #4a5568;
}

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

.nav-button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Results Section */
.results-section {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Results Logo Image Styling */
.results-logo-image {
    height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.2));
}

.results-title-group {
    text-align: left;
}

.profile-title {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 5px;
    font-weight: bold;
}

.profile-context {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 5px;
}

.profile-tagline {
    font-size: 1rem;
    color: #B8860B;
    font-style: italic;
    font-weight: 500;
}

/* Personas Section */
.personas-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #B8860B;
}

.personas-section h2 {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 15px;
    text-align: center;
}

.personas-intro {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.persona-card {
    background: #fffef7;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 2px solid #F4E4B8;
}

.persona-card h3 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.persona-card p {
    color: #718096;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.persona-chart {
    height: 150px;
    background: white;
    border-radius: 8px;
    border: 1px solid #F4E4B8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style Analysis */
.style-analysis {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #B8860B;
}

.style-title {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 20px;
    text-align: center;
}

.style-blend {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #996515 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(184,134,11,0.3);
}

.motivating-stressful {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.motivating-section, .stressful-section {
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.motivating-section {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    border-color: #38a169;
}

.stressful-section {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-color: #e53e3e;
}

.motivating-section h3, .stressful-section h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.motivating-section h3 {
    color: #2f855a;
}

.stressful-section h3 {
    color: #c53030;
}

/* Intensity Table */
.intensity-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #B8860B;
}

.intensity-section h2 {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 20px;
    text-align: center;
}

.intensity-intro {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.intensity-table-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.intensity-table {
    background: #fffef7;
    border-radius: 10px;
    padding: 30px;
    border: 2px solid #F4E4B8;
}

.intensity-grid {
    display: grid;
    grid-template-columns: 40px repeat(4, 1fr) 1fr;
    gap: 2px;
    background: #B8860B;
    border-radius: 8px;
    overflow: hidden;
}

.intensity-header {
    background: #4a5568;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.intensity-level {
    background: #fffef7;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    color: #4a5568;
    font-size: 0.8rem;
}

.intensity-descriptor {
    background: white;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.85rem;
    color: #2d3748;
    border-right: 1px solid #F4E4B8;
}

.intensity-descriptor.high {
    background: #fed7d7;
    color: #c53030;
    font-weight: 600;
}

.intensity-descriptor.normal {
    background: #e6fffa;
    color: #2d3748;
    font-weight: 500;
}

.intensity-descriptor.low {
    background: #f0f8ff;
    color: #4a5568;
}

.intensity-descriptor.user-style {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #996515 100%);
    color: white;
    font-weight: bold;
}

/* DISC Overview */
.disc-overview {
    margin-top: 40px;
}

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

.disc-column {
    background: #fffef7;
    border-radius: 10px;
    padding: 25px;
    border-top: 5px solid;
}

.d-column {
    border-top-color: #e53e3e;
}

.i-column {
    border-top-color: #dd6b20;
}

.s-column {
    border-top-color: #38a169;
}

.c-column {
    border-top-color: #3182ce;
}

.disc-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #4a5568;
    text-align: center;
}

.disc-column .priorities,
.disc-column .motivated,
.disc-column .fears {
    margin-bottom: 20px;
}

.disc-column strong {
    color: #2d3748;
    font-size: 0.9rem;
}

.disc-column ul {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.disc-column li {
    padding: 3px 0;
    font-size: 0.85rem;
    color: #4a5568;
    position: relative;
    padding-left: 15px;
}

.disc-column li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #B8860B;
    font-weight: bold;
}

/* Results Actions */
.results-actions {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        max-width: 200px;
    }

    .header-logo-image {
        height: 35px;
    }

    .results-logo-image {
        height: 60px;
    }

    .results-logo {
        flex-direction: column;
        gap: 15px;
    }

    .results-title-group {
        text-align: center;
    }

    .question-header,
    .question-row {
        grid-template-columns: 80px 1fr 80px;
        gap: 10px;
    }

    .motivating-stressful {
        grid-template-columns: 1fr;
    }

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

    .intensity-grid {
        grid-template-columns: 30px repeat(4, 1fr) 80px;
        font-size: 0.7rem;
    }

    .disc-summary {
        grid-template-columns: 1fr;
    }

    .results-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media print {
    .navigation,
    .results-actions {
        display: none;
    }

    .results-section {
        background: white;
    }

    .personas-section,
    .style-analysis,
    .intensity-section {
        box-shadow: none;
        border: 1px solid #B8860B;
        break-inside: avoid;
        margin-bottom: 30px;
    }

    .logo-image,
    .header-logo-image,
    .results-logo-image {
        filter: none;
    }
}