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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    font-size: 16px;
}

/* Improved Readability */
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    color: #444444;
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo .logo-link:hover {
    color: #1d4ed8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background-color: #f0f7ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #666666;
    transition: 0.3s;
    border-radius: 2px;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    z-index: 999;
    transition: width 0.1s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Article Header */
.article-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.125rem;
    color: #666666;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #888888;
    font-size: 0.9rem;
    font-weight: 500;
}

.reading-time,
.article-category {
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.article-content {
    max-width: none;
}

/* Introduction Section */
.intro-section {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.125rem;
    color: #555555;
    font-weight: 500;
    line-height: 1.7;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.content-section h3 {
    font-size: 1.375rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section h4 {
    font-size: 1.125rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

/* Alert Boxes */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.alert-box.warning {
    background: #fef2f2;
    border-color: #ef4444;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.alert-content h3 {
    color: #991b1b;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.alert-content p {
    color: #7f1d1d;
    margin: 0;
}

/* Options Framework */
.options-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.framework-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.framework-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.framework-card.recommended {
    border-color: #10b981;
    background: #f0fdf4;
}

.framework-card.neutral {
    border-color: #6b7280;
}

.framework-card.danger {
    border-color: #ef4444;
    background: #fef2f2;
}

.framework-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.framework-header h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.framework-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.framework-badge.best {
    background: #dcfce7;
    color: #166534;
}

.framework-badge.good {
    background: #dbeafe;
    color: #1d4ed8;
}

.framework-badge.okay {
    background: #f3f4f6;
    color: #6b7280;
}

.framework-badge.avoid {
    background: #fee2e2;
    color: #991b1b;
}

.framework-description {
    color: #555555;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.framework-benefits h4,
.framework-considerations h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.framework-benefits ul,
.framework-considerations ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.framework-benefits li,
.framework-considerations li {
    color: #555555;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.framework-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.framework-considerations li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6b7280;
    font-weight: 600;
}

.danger-warning {
    background: #fef2f2;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.danger-warning h4 {
    color: #991b1b;
    margin-bottom: 1rem;
}

.danger-warning ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.danger-warning li {
    color: #7f1d1d;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.danger-warning li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.cost-example {
    background: #ffffff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #f3f4f6;
    margin-top: 1rem;
}

.cost-example p {
    color: #991b1b;
    font-weight: 600;
    margin: 0;
}

/* Vesting Section */
.vesting-explainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.vesting-type {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.vesting-type.immediate {
    border-color: #10b981;
    background: #f0fdf4;
}

.vesting-type.gradual {
    border-color: #f59e0b;
    background: #fffbeb;
}

.vesting-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.vesting-content h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.vesting-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vesting-type.immediate .vesting-status {
    background: #dcfce7;
    color: #166534;
}

.vesting-type.gradual .vesting-status {
    background: #fef3c7;
    color: #92400e;
}

.vesting-content p {
    color: #555555;
    margin: 0;
}

.vesting-schedules {
    margin: 3rem 0;
}

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

.schedule-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.schedule-card h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.schedule-description {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.vesting-table {
    margin-top: 1rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f9fafb;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #1a1a1a;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #e5e7eb;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #555555;
}

.table-row:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

.table-row.highlight {
    background: #f0fdf4;
    color: #1a1a1a;
    font-weight: 600;
}

.not-vested {
    color: #dc2626;
    font-weight: 600;
}

.partial-vested {
    color: #f59e0b;
    font-weight: 600;
}

.fully-vested {
    color: #10b981;
    font-weight: 600;
}

.pro-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tip-content h4 {
    color: #0c4a6e;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.tip-content p {
    color: #0f172a;
    margin: 0;
}

/* Step-by-Step Guide */
.step-by-step-guide {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.step-content > p {
    color: #555555;
    margin-bottom: 1.5rem;
}

.step-actions h4 {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.step-actions ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.step-actions li {
    color: #555555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.step-actions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-timeline {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-top: 1rem;
}

.step-timeline strong {
    color: #1e40af;
}

.provider-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.category-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.category-item h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

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

.important-note {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.important-note p {
    color: #92400e;
    font-weight: 500;
    margin: 0;
}

.rollover-methods {
    margin: 1.5rem 0;
}

.method-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.method-card.recommended {
    border-color: #10b981;
    background: #f0fdf4;
}

.method-card.warning {
    border-color: #f59e0b;
    background: #fffbeb;
}

.method-card h4 {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.method-card > p {
    color: #555555;
    margin-bottom: 1rem;
}

.method-benefits ul,
.method-risks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.method-benefits li {
    color: #166534;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.method-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.method-risks li {
    color: #92400e;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.method-risks li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.loan-example {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.loan-example h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.loan-example p {
    color: #555555;
    margin: 0;
}

.follow-up-tip {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-top: 1rem;
}

.follow-up-tip strong {
    color: #1e40af;
}

.investment-approach {
    margin: 1.5rem 0;
}

.age-guidelines {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.age-range {
    color: #555555;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid #3b82f6;
}

.age-range:last-child {
    margin-bottom: 0;
}

.simple-strategy {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.simple-strategy h4 {
    color: #166534;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.simple-strategy p {
    color: #15803d;
    margin: 0;
}

/* CTA Sections */
.cta-section {
    margin: 3rem 0;
}

.cta-section.primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #e0e7ff;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.primary-cta {
    background: #ffffff;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cta-section.secondary {
    background: #f8fafc;
    padding: 3rem 2rem;
    border-radius: 16px;
}

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

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.cta-item h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.cta-item p {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.secondary {
    background: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.secondary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Special Situations */
.special-situations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.situation-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.situation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.situation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.situation-icon {
    font-size: 1.5rem;
}

.situation-header h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin: 0;
}

.situation-content > p {
    color: #555555;
    margin-bottom: 1.5rem;
}

.situation-strategy h4,
.situation-benefits h4 {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.situation-strategy ul,
.situation-benefits ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.situation-strategy li,
.situation-benefits li {
    color: #555555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.situation-strategy li::before,
.situation-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

.situation-warning,
.situation-consideration,
.situation-action {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-top: 1rem;
}

.situation-warning p,
.situation-consideration p,
.situation-action p {
    color: #1e40af;
    margin: 0;
    font-weight: 500;
}

.balance-rules {
    margin: 1.5rem 0;
}

.balance-tier {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.balance-tier:last-child {
    margin-bottom: 0;
}

.balance-tier h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.balance-tier p {
    color: #555555;
    margin: 0;
}

.consolidation-benefits {
    margin: 1.5rem 0;
}

.consolidation-benefits h4 {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.consolidation-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.consolidation-benefits li {
    color: #555555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.consolidation-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.consolidation-strategy {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.consolidation-strategy p {
    color: #166534;
    font-weight: 500;
    margin: 0;
}

/* Cost Analysis */
.cost-analysis {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.scenario-header {
    text-align: center;
    margin-bottom: 2rem;
}

.scenario-header h3 {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.scenario-header p {
    color: #666666;
    margin: 0;
}

.scenario-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.scenario-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.scenario-card.cash-out {
    border-color: #ef4444;
    background: #fef2f2;
}

.scenario-card.rollover {
    border-color: #10b981;
    background: #f0fdf4;
}

.scenario-label {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.scenario-label.danger {
    background: #fee2e2;
    color: #991b1b;
}

.scenario-label.success {
    background: #dcfce7;
    color: #166534;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.negative .item-value {
    color: #dc2626;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
}

.breakdown-total .item-value.success {
    color: #10b981;
}

.item-label {
    color: #555555;
}

.item-value {
    color: #1a1a1a;
    font-weight: 600;
}

.long-term-cost {
    margin-top: 1.5rem;
    text-align: center;
}

.long-term-cost h4 {
    color: #991b1b;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.loss-amount {
    color: #dc2626;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.loss-explanation {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.rollover-benefit {
    margin-top: 1.5rem;
    text-align: center;
}

.rollover-benefit h4 {
    color: #166534;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.benefit-amount {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-explanation {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.key-insight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.insight-content h4 {
    color: #0c4a6e;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.insight-content p {
    color: #0f172a;
    margin: 0;
    font-size: 1.1rem;
}

/* Common Mistakes */
.mistakes-list {
    margin: 2rem 0;
}

.mistake-item {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.mistake-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #ef4444;
}

.mistake-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.mistake-content {
    flex: 1;
}

.mistake-content h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.mistake-description {
    color: #555555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mistake-consequence {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin: 1rem 0;
}

.mistake-consequence strong {
    color: #991b1b;
    display: block;
    margin-bottom: 0.5rem;
}

.mistake-solution {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
}

.mistake-solution strong {
    color: #166534;
    display: block;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    color: #1a1a1a;
    font-size: 1.875rem;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question h3 {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #3b82f6;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sidebar-tools {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-tool {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.sidebar-tool:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.tool-icon {
    font-size: 1.25rem;
    min-width: 35px;
    text-align: center;
}

.tool-content h4 {
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.tool-content p {
    color: #666666;
    font-size: 0.8rem;
    margin: 0;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: block;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.related-article:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.related-article h4 {
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.related-article p {
    color: #666666;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.375rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-widget {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .container {
        padding: 0 15px;
    }

    .article-header {
        padding: 2rem 0;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .options-framework {
        grid-template-columns: 1fr;
    }

    .schedule-comparison {
        grid-template-columns: 1fr;
    }

    .scenario-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-number {
        align-self: center;
        margin-top: 0;
    }

    .cta-section.primary {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-container {
        padding: 1rem;
    }

    .content-section {
        margin-bottom: 3rem;
    }

    .special-situations {
        grid-template-columns: 1fr;
    }

    .provider-categories {
        grid-template-columns: 1fr;
    }

    .vesting-explainer {
        grid-template-columns: 1fr;
    }

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

/* Print Styles */
@media print {
    .navbar,
    .progress-bar,
    .sidebar,
    .cta-section,
    .footer {
        display: none;
    }

    .main-content {
        margin-top: 0;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .article-header {
        background: none;
    }
}