/**
 * Asset Allocation Calculator Styles
 * Blue color scheme: #2563eb primary, #1e40af dark
 */

/* =================================================================
   CSS VARIABLES
   ================================================================= */
:root {
    --aac-primary: #2563eb;
    --aac-primary-dark: #1e40af;
    --aac-primary-light: #3b82f6;
    --aac-primary-bg: rgba(37, 99, 235, 0.1);
    --aac-success: #059669;
    --aac-warning: #d97706;
    --aac-danger: #dc2626;
    --aac-gray-50: #f9fafb;
    --aac-gray-100: #f3f4f6;
    --aac-gray-200: #e5e7eb;
    --aac-gray-300: #d1d5db;
    --aac-gray-400: #9ca3af;
    --aac-gray-500: #6b7280;
    --aac-gray-600: #4b5563;
    --aac-gray-700: #374151;
    --aac-gray-800: #1f2937;
    --aac-gray-900: #111827;
    --aac-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --aac-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --aac-radius: 8px;
    --aac-radius-lg: 12px;
}

/* =================================================================
   BASE STYLES
   ================================================================= */
.aac-page {
    background: var(--aac-gray-50);
    min-height: 100vh;
}

.aac-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.aac-hero {
    background: linear-gradient(135deg, var(--aac-primary) 0%, var(--aac-primary-dark) 100%);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
}

.aac-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.9;
    color: white;
}

.aac-breadcrumbs a {
    color: white;
    text-decoration: none;
}

.aac-breadcrumbs a:hover {
    text-decoration: underline;
}

.aac-breadcrumbs .separator {
    margin: 0 8px;
    opacity: 0.6;
}

.aac-breadcrumbs .current {
    opacity: 0.8;
}

.aac-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: white;
}

.aac-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.aac-hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.aac-hero-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.aac-hero-features svg {
    opacity: 0.9;
}

/* Hero overrides to beat Elementor/global styles */
.page-asset-allocation-calculator #primary .aac-hero,
.page-asset-allocation-calculator #primary .aac-hero .container {
    text-align: center;
    color: #fff;
}

.page-asset-allocation-calculator #primary .aac-title {
    color: #fff !important;
}

.page-asset-allocation-calculator #primary .aac-subtitle {
    text-align: center;
    margin: 0 auto 48px;
}

.page-asset-allocation-calculator #primary .aac-breadcrumbs,
.page-asset-allocation-calculator #primary .aac-breadcrumbs a,
.page-asset-allocation-calculator #primary .aac-breadcrumbs a:visited,
.page-asset-allocation-calculator #primary .aac-breadcrumbs a:hover,
.page-asset-allocation-calculator #primary .aac-breadcrumbs a:focus,
.page-asset-allocation-calculator #primary .aac-breadcrumbs .separator,
.page-asset-allocation-calculator #primary .aac-breadcrumbs .current {
    color: #fff !important;
}

/* =================================================================
   DISCLAIMER BOXES
   ================================================================= */
.aac-disclaimer-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.disclaimer-box {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--aac-shadow);
}

.disclaimer-box h4,
.disclaimer-box h5 {
    margin: 0 0 12px;
    color: var(--aac-gray-800);
}

.disclaimer-box p {
    margin: 0 0 12px;
    color: var(--aac-gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-box ul {
    margin: 0;
    padding-left: 20px;
}

.disclaimer-box li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--aac-gray-600);
    line-height: 1.5;
}

.disclaimer-primary {
    border-left: 4px solid var(--aac-danger);
}

.disclaimer-secondary {
    border-left: 4px solid var(--aac-warning);
    background: #fffbeb;
}

.disclaimer-cta {
    border-left: 4px solid var(--aac-primary);
    background: var(--aac-primary-bg);
    text-align: center;
}

/* =================================================================
   QUESTIONNAIRE SECTION
   ================================================================= */
.aac-questionnaire-section {
    padding: 40px 0;
}

/* Progress Indicator */
.aac-progress {
    margin-bottom: 32px;
}

.aac-progress-bar {
    height: 4px;
    background: var(--aac-gray-200);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}

.aac-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--aac-primary), var(--aac-primary-light));
    width: 0%;
    transition: width 0.3s ease;
}

.aac-progress-dots {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.aac-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--aac-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--aac-gray-500);
    transition: all 0.3s ease;
}

.aac-dot.active {
    background: var(--aac-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: pulse 2s infinite;
}

.aac-dot.completed {
    background: var(--aac-success);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
    }
}

.aac-progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--aac-gray-500);
}

/* Step Content */
.aac-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.aac-step.active {
    display: block;
}

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

.aac-step-content {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 40px;
    box-shadow: var(--aac-shadow);
    text-align: center;
}

.aac-category-badge {
    display: inline-block;
    background: var(--aac-primary-bg);
    color: var(--aac-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.aac-step-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 24px;
    line-height: 1.4;
}

/* Start Screen */
.aac-start-screen .aac-step-content {
    padding: 60px 40px;
}

.aac-dimensions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.aac-dimensions-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--aac-gray-200);
    color: var(--aac-gray-700);
}

.aac-dimensions-list li:last-child {
    border-bottom: none;
}

.methodology-note {
    font-size: 13px;
    color: var(--aac-gray-500);
    margin-bottom: 24px;
}

/* Answer Options */
.aac-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.page-asset-allocation-calculator #primary .aac-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--aac-gray-50) !important;
    border: 2px solid var(--aac-gray-200) !important;
    border-radius: var(--aac-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 15px;
    color: var(--aac-gray-700) !important;
    box-shadow: none !important;
}

.page-asset-allocation-calculator #primary .aac-option:hover {
    border-color: var(--aac-primary) !important;
    background: white !important;
}

.page-asset-allocation-calculator #primary .aac-option:focus {
    outline: none;
    box-shadow: none !important;
    border-color: var(--aac-gray-200) !important;
    background: var(--aac-gray-50) !important;
    color: var(--aac-gray-700) !important;
}

.page-asset-allocation-calculator #primary .aac-option:focus-visible {
    border-color: var(--aac-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
    background: var(--aac-gray-50) !important;
}

.page-asset-allocation-calculator #primary .aac-option.selected {
    background: var(--aac-primary-bg) !important;
    border-color: var(--aac-primary) !important;
    color: var(--aac-primary-dark) !important;
}

.page-asset-allocation-calculator #primary .aac-option.selected::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--aac-primary);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Navigation Buttons */
.aac-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.aac-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--aac-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.aac-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aac-btn-primary {
    background: linear-gradient(135deg, var(--aac-primary), var(--aac-primary-dark));
    color: white;
}

.aac-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.aac-btn-secondary {
    background: white;
    color: var(--aac-gray-700);
    border: 2px solid var(--aac-gray-300);
}

.aac-btn-secondary:hover:not(:disabled) {
    border-color: var(--aac-gray-400);
    background: var(--aac-gray-50);
}

/* =================================================================
   RESULTS SECTION
   ================================================================= */
.aac-results-section {
    padding: 40px 0 60px;
}

.aac-results-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--aac-gray-800);
    margin: 0 0 32px;
}

/* Guardrail Notice */
.aac-guardrail-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: var(--aac-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.aac-guardrail-notice svg {
    flex-shrink: 0;
    color: var(--aac-warning);
}

.aac-guardrail-notice p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
    line-height: 1.5;
}

/* Results Grid */
.aac-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.aac-profile-card,
.aac-chart-card {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 32px;
    box-shadow: var(--aac-shadow);
}

.aac-profile-card h3,
.aac-chart-card h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--aac-gray-500);
    margin: 0 0 16px;
}

.aac-profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--aac-primary);
    margin-bottom: 16px;
}

.aac-risk-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.score-label {
    color: var(--aac-gray-500);
    font-size: 14px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aac-gray-800);
}

.score-max {
    color: var(--aac-gray-400);
    font-size: 1.25rem;
}

.aac-score-bar {
    position: relative;
    height: 8px;
    background: var(--aac-gray-200);
    border-radius: 4px;
    margin-bottom: 8px;
}

.aac-score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--aac-success), var(--aac-primary), var(--aac-danger));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.aac-score-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--aac-gray-500);
}

/* Chart */
.aac-chart-container {
    max-width: 280px;
    margin: 0 auto;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Allocation Details */
.aac-allocation-details {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 32px;
    box-shadow: var(--aac-shadow);
    margin-bottom: 24px;
}

.aac-allocation-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 20px;
}

.aac-allocation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.aac-allocation-item {
    text-align: center;
    padding: 20px;
    background: var(--aac-gray-50);
    border-radius: var(--aac-radius);
}

.aac-allocation-item .label {
    font-size: 14px;
    color: var(--aac-gray-600);
    margin-bottom: 8px;
}

.aac-allocation-item .value {
    font-size: 2rem;
    font-weight: 700;
}

.aac-allocation-item.stocks .value {
    color: var(--aac-primary);
}

.aac-allocation-item.bonds .value {
    color: var(--aac-success);
}

.aac-allocation-item.cash .value {
    color: var(--aac-warning);
}

/* Sub-Allocations */
.aac-sub-allocations {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 32px;
    box-shadow: var(--aac-shadow);
    margin-bottom: 24px;
}

.aac-sub-allocations h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 20px;
}

.aac-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.aac-sub-card {
    background: var(--aac-gray-50);
    border-radius: var(--aac-radius);
    padding: 20px;
}

.aac-sub-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--aac-gray-200);
}

.aac-sub-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aac-sub-card li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--aac-gray-700);
}

.aac-sub-card .pct {
    font-weight: 600;
    color: var(--aac-gray-800);
}

/* Action Buttons */
.aac-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

/* =================================================================
   EMAIL MODAL
   ================================================================= */
.aac-email-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aac-email-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.aac-email-modal-content {
    position: relative;
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--aac-shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aac-email-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--aac-gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.aac-email-modal-close:hover {
    color: var(--aac-gray-600);
}

.aac-email-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aac-gray-800);
    margin: 0 0 12px;
}

.aac-email-modal-content > p {
    color: var(--aac-gray-600);
    margin: 0 0 24px;
    font-size: 15px;
}

.aac-form-group {
    margin-bottom: 16px;
}

.aac-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--aac-gray-700);
    margin-bottom: 6px;
}

.aac-form-group input[type="text"],
.aac-form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--aac-gray-200);
    border-radius: var(--aac-radius);
    transition: border-color 0.2s ease;
}

.aac-form-group input:focus {
    outline: none;
    border-color: var(--aac-primary);
}

.aac-consent-group {
    margin-top: 20px;
}

.aac-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--aac-gray-600);
    cursor: pointer;
}

.aac-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.aac-checkbox-label a {
    color: var(--aac-primary);
}

.aac-submit-btn {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

.aac-submit-btn .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.aac-form-message {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.aac-form-message.success {
    color: var(--aac-success);
}

.aac-form-message.error {
    color: var(--aac-danger);
}

.aac-direct-download {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--aac-gray-500);
}

.aac-direct-download a {
    color: var(--aac-primary);
}

/* =================================================================
   METHODOLOGY SECTION
   ================================================================= */
.aac-methodology-section {
    padding: 40px 0;
    background: white;
}

.methodology-section {
    max-width: 700px;
    margin: 0 auto;
}

.methodology-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 16px;
}

.methodology-section p {
    color: var(--aac-gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.methodology-section ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.methodology-section li {
    color: var(--aac-gray-600);
    font-size: 15px;
    margin-bottom: 8px;
}

.methodology-section a {
    color: var(--aac-primary);
}

/* =================================================================
   FAQ SECTION
   ================================================================= */
.aac-faq-section {
    padding: 60px 0;
    background: var(--aac-gray-50);
}

.aac-faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--aac-gray-800);
    margin: 0 0 32px;
}

.aac-faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.aac-faq-item {
    background: white;
    border-radius: var(--aac-radius);
    margin-bottom: 12px;
    box-shadow: var(--aac-shadow);
    overflow: hidden;
}

.aac-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--aac-gray-800);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.aac-faq-question:hover {
    background: var(--aac-gray-50);
}

.aac-faq-question svg {
    flex-shrink: 0;
    color: var(--aac-gray-400);
    transition: transform 0.3s ease;
}

.aac-faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.aac-faq-answer {
    display: none;
    padding: 0 24px 20px;
}

.aac-faq-answer p {
    margin: 0;
    color: var(--aac-gray-600);
    font-size: 15px;
    line-height: 1.6;
}

.aac-faq-item.open .aac-faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* =================================================================
   EDUCATION SECTION
   ================================================================= */
.aac-education-section {
    padding: 60px 0;
    background: white;
}

.aac-education-card {
    background: white;
    border-radius: var(--aac-radius-lg);
    padding: 40px;
    box-shadow: var(--aac-shadow);
}

.aac-education-card > h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--aac-gray-800);
    margin: 0 0 32px;
    text-align: center;
}

.aac-education-content {
    max-width: 800px;
    margin: 0 auto;
}

.aac-education-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 40px 0 16px;
}

.aac-education-content h3:first-child {
    margin-top: 0;
}

.aac-education-content p {
    color: var(--aac-gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.aac-education-content p.lead {
    font-size: 17px;
    color: var(--aac-gray-700);
    line-height: 1.8;
}

.aac-education-content ul,
.aac-education-content ol {
    color: var(--aac-gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
    padding-left: 24px;
}

.aac-education-content li {
    margin-bottom: 8px;
}

.aac-education-content a {
    color: var(--aac-primary);
    text-decoration: none;
}

.aac-education-content a:hover {
    text-decoration: underline;
}

/* Alert Boxes */
.aac-alert {
    border-radius: var(--aac-radius);
    padding: 16px 20px;
    margin: 24px 0;
}

.aac-alert-info {
    background: var(--aac-primary-bg);
    border-left: 4px solid var(--aac-primary);
}

.aac-alert-warning {
    background: #fef3c7;
    border-left: 4px solid var(--aac-warning);
}

.aac-alert strong {
    color: var(--aac-gray-800);
    display: block;
    margin-bottom: 4px;
}

.aac-alert p {
    margin: 0;
    font-size: 14px;
}

.aac-alert ul {
    margin: 8px 0 0;
    font-size: 14px;
}

/* Risk Profile Table */
.aac-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.aac-profile-table th,
.aac-profile-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--aac-gray-200);
}

.aac-profile-table th {
    background: var(--aac-gray-50);
    font-weight: 600;
    color: var(--aac-gray-800);
}

.aac-profile-table td {
    color: var(--aac-gray-600);
}

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

@media (max-width: 768px) {
    .aac-education-card {
        padding: 24px;
    }

    .aac-education-card > h2 {
        font-size: 1.5rem;
    }

    .aac-education-content h3 {
        font-size: 1.125rem;
        margin: 32px 0 12px;
    }

    .aac-profile-table {
        font-size: 13px;
    }

    .aac-profile-table th,
    .aac-profile-table td {
        padding: 10px 12px;
    }
}

/* =================================================================
   RELATED TOOLS SECTION
   ================================================================= */
.aac-related-section {
    padding: 60px 0;
    background: white;
}

.aac-related-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--aac-gray-800);
    margin: 0 0 32px;
}

.aac-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.aac-related-card {
    background: var(--aac-gray-50);
    border: 2px solid var(--aac-gray-200);
    border-radius: var(--aac-radius-lg);
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.aac-related-card:hover {
    border-color: var(--aac-primary);
    transform: translateY(-4px);
    box-shadow: var(--aac-shadow);
}

.aac-related-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--aac-gray-800);
    margin: 0 0 8px;
}

.aac-related-card p {
    margin: 0;
    color: var(--aac-gray-600);
    font-size: 14px;
    line-height: 1.5;
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */
@media (max-width: 768px) {
    .aac-hero {
        padding: 40px 0 60px;
    }

    .aac-title {
        font-size: 1.75rem;
    }

    .aac-subtitle {
        font-size: 1rem;
    }

    .aac-hero-features {
        gap: 16px;
    }

    .aac-step-content {
        padding: 24px;
    }

    .aac-step-content h2 {
        font-size: 1.25rem;
    }

    .aac-progress-dots {
        display: none;
    }

    .aac-navigation {
        flex-direction: column;
    }

    .aac-btn {
        width: 100%;
        justify-content: center;
    }

    .aac-results-grid {
        grid-template-columns: 1fr;
    }

    .aac-allocation-grid {
        grid-template-columns: 1fr;
    }

    .aac-sub-grid {
        grid-template-columns: 1fr;
    }

    .aac-actions {
        flex-direction: column;
    }

    .aac-actions .aac-btn {
        width: 100%;
    }

    .aac-related-grid {
        grid-template-columns: 1fr;
    }

    .aac-email-modal-content {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .aac-page .container {
        padding: 0 16px;
    }

    .aac-hero {
        padding: 32px 0 50px;
    }

    .aac-hero-features {
        flex-direction: column;
        align-items: center;
    }

    .aac-option {
        padding: 14px 16px;
        font-size: 14px;
    }

    .aac-profile-name {
        font-size: 1.5rem;
    }

    .score-value {
        font-size: 2rem;
    }

    .aac-faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }
}
