/* ==========================================
   ASSESSMENT PAGE STYLES
   Matching Graf Wealth Advisory design system
   ========================================== */

/* CSS Variables */
:root {
    --navy: #0A2540;
    --navy-light: #1a3a5f;
    --charcoal: #2C3E50;
    --dark-grey: #4A5568;
    --medium-grey: #CBD5E0;
    --light-grey: #E2E8F0;
    --off-white: #F7FAFC;
    --white: #FFFFFF;
    --gold: #D4AF37;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

/* ==========================================
   LANDING PAGE
   ========================================== */

.landing-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--space-xl) 0;
}

.logo-container {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.logo {
    height: 60px;
    width: auto;
}

.landing-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.landing-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--dark-grey);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Value Proposition */
.value-prop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.value-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--light-grey);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.1);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.value-item p {
    font-size: 0.9375rem;
    color: var(--dark-grey);
}

/* Credibility Section */
.credibility {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(10, 37, 64, 0.03);
    border-radius: 8px;
}

.credibility-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.credibility-item p {
    font-size: 0.875rem;
    color: var(--dark-grey);
}

/* Landing CTA */
.landing-cta {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 2px solid var(--navy);
}

.landing-cta h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.875rem;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.benefits-list li {
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--navy);
    font-weight: bold;
    font-size: 1.25rem;
}

.benefits-list strong {
    color: var(--navy);
}

.cta-box {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-grey);
}

.cta-subtext {
    font-size: 0.9375rem;
    color: var(--dark-grey);
    margin-bottom: var(--space-md);
}

/* Buttons */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

.btn-primary:disabled {
    background: var(--medium-grey);
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==========================================
   ASSESSMENT CONTAINER
   ========================================== */

.assessment-container {
    min-height: 100vh;
    background: var(--white);
    padding: var(--space-xl) var(--space-md);
}

/* Progress Bar */
.progress-container {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.progress-bar {
    height: 8px;
    background: var(--light-grey);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--navy);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--dark-grey);
    font-weight: 500;
}

/* Question Wrapper */
.question-wrapper {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    min-height: 400px;
}

.question {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--light-grey);
}

.question-number {
    font-size: 0.875rem;
    color: var(--dark-grey);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.question-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    line-height: 1.4;
}

.question-helper {
    font-size: 0.9375rem;
    color: var(--dark-grey);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.answer-option {
    background: var(--off-white);
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.answer-option:hover {
    border-color: var(--navy);
    background: var(--white);
}

.answer-option.selected {
    border-color: var(--navy);
    background: rgba(10, 37, 64, 0.05);
}

.answer-option input[type="radio"] {
    margin-right: var(--space-sm);
}

.answer-option label {
    cursor: pointer;
    font-size: 1rem;
    color: var(--charcoal);
}

/* Text Input */
.text-input,
.textarea-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

.text-input:focus,
.textarea-input:focus {
    outline: none;
    border-color: var(--navy);
}

.textarea-input {
    min-height: 120px;
    resize: vertical;
}

.input-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: var(--space-md);
}

.optional-text {
    font-size: 0.875rem;
    color: var(--dark-grey);
    font-style: italic;
}

/* Navigation Buttons */
.nav-buttons {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

/* ==========================================
   THANK YOU PAGE
   ========================================== */

.thank-you-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--space-2xl) var(--space-md);
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.checkmark-icon {
    width: 80px;
    height: 80px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--space-lg);
}

.thank-you-content h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.thank-you-message {
    font-size: 1.25rem;
    color: var(--dark-grey);
    margin-bottom: var(--space-2xl);
}

/* Next Steps */
.next-steps {
    text-align: left;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    margin-bottom: var(--space-xl);
}

.next-steps h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.875rem;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.step {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.step-content h3 {
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--dark-grey);
}

.thank-you-footer {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-grey);
}

.thank-you-footer p {
    font-size: 0.875rem;
    color: var(--dark-grey);
}

.thank-you-footer a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
}

.thank-you-footer a:hover {
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Priority Ranking Styles */
.priority-ranking {
    width: 100%;
}

.priority-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.priority-option {
    background: var(--off-white);
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.priority-option:hover {
    border-color: var(--navy);
    background: var(--white);
}

.priority-option.selected {
    border-color: var(--navy);
    background: rgba(10, 37, 64, 0.05);
}

.priority-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.priority-option label {
    cursor: pointer;
    font-size: 1rem;
    color: var(--charcoal);
    flex: 1;
}

.selected-priorities {
    background: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    padding: var(--space-md);
    min-height: 100px;
}

.priority-rank-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--off-white);
    border-radius: 6px;
    margin-bottom: var(--space-sm);
}

.priority-rank-item:last-child {
    margin-bottom: 0;
}

.rank-number {
    width: 32px;
    height: 32px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Contact Form Fields */
.contact-form-fields {
    width: 100%;
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-subtitle {
        font-size: 1.125rem;
    }
    
    .value-prop {
        grid-template-columns: 1fr;
    }
    
    .credibility {
        grid-template-columns: 1fr;
    }
    
    .question-text {
        font-size: 1.25rem;
    }
    
    .nav-buttons {
        flex-direction: column-reverse;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
