/* ===================================
   WORKFREE.ME - LIVING OFF SAVINGS BLOG
   Clean, readable blog post styling
   =================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

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

.nav-logo .logo-link:hover {
    color: #3b82f6;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #3b82f6;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: #f8fafc;
    color: #3b82f6;
    padding-left: 1.25rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .bar {
    width: 24px;
    height: 3px;
    background: #1e293b;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #64748b;
    align-items: center;
}

.hero-meta .author {
    color: #1e293b;
}

.hero-meta .publish-date {
    color: #64748b;
}

.hero-meta .read-time {
    color: #64748b;
}

/* Main Content */
.main-content {
    padding: 3rem 0 2rem;
    min-height: calc(100vh - 200px);
}

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

.content-section:last-of-type {
    margin-bottom: 2rem;
}

/* Typography */
h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.6;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Calculator Section */
.calculator-section {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.calculator-section p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.calculator-tool {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-inputs {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.input-group input {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.calculator-results {
    display: grid;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
}

.result-label {
    font-weight: 500;
    color: #374151;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* Budget Breakdown */
.budget-breakdown {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.budget-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.budget-item.emergency {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.budget-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.budget-item.emergency .budget-percentage {
    color: #dc2626;
}

.budget-content h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.budget-content ul {
    margin: 0;
}

.budget-content li {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Expense Categories */
.expense-categories {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.expense-category h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.expense-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.expense-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.expense-list strong {
    color: #1e293b;
    font-weight: 600;
}

/* Income Ideas */
.income-ideas {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.income-category {
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.income-category h4 {
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.income-category ul {
    margin: 0;
}

.income-category li {
    color: #374151;
}

/* Timeline Options */
.timeline-options {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.timeline-option {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.timeline-option.conservative {
    background: #f0fdf4;
    border-left-color: #10b981;
}

.timeline-option.moderate {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.timeline-option.aggressive {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.timeline-option h4 {
    margin-bottom: 0.5rem;
}

.timeline-option p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.timeline-option ul {
    margin: 0;
}

/* Monitoring Checklist */
.monitoring-checklist {
    margin: 2rem 0;
}

.checklist {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
    position: relative;
    padding-left: 3rem;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: #10b981;
    font-weight: bold;
}

/* Warning Box */
.warning-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.warning-box p {
    color: #374151;
    margin-bottom: 1rem;
}

.warning-box ul {
    margin: 0;
}

.warning-box li {
    color: #374151;
}

/* Key Takeaways */
.key-takeaways {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.key-takeaways h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.key-takeaways ul {
    margin: 0;
}

.key-takeaways li {
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e2e8f0;
        border-radius: 0;
        background: #f8fafc;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-link {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        color: #64748b;
    }
    
    .dropdown-link:hover {
        background: #e2e8f0;
        padding-left: 2.75rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Content adjustments */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .budget-item {
        flex-direction: column;
        text-align: center;
    }
    
    .budget-percentage {
        min-width: auto;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .calculator-section,
    .stats-section {
        padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}

/* ===================================
   ADDITIONAL STYLES FOR SIGNS BLOG POST
   =================================== */

/* Assessment Box */
.assessment-section {
    margin: 2rem 0;
}

.assessment-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.assessment-box h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.assessment-box p {
    color: #1e3a8a;
    margin: 0;
    font-weight: 500;
}

/* Sign Details */
.sign-details {
    margin: 2rem 0;
}

.checklist {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.checklist h4 {
    color: #166534;
    margin-bottom: 1rem;
}

.check-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.1rem;
}

.pro-tip {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 1rem;
    color: #92400e;
    font-size: 0.95rem;
}

.pro-tip a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.pro-tip a:hover {
    text-decoration: underline;
}

/* Burnout Indicators */
.burnout-indicators {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.indicator-category {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 8px;
}

.indicator-category h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.indicator-category ul {
    margin: 0;
    color: #374151;
}

/* Growth Assessment */
.growth-assessment {
    margin: 2rem 0;
}

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

.red-flags h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.red-flags ul {
    margin: 0;
    color: #374151;
}

/* Toxicity Indicators */
.toxicity-indicators {
    margin: 2rem 0;
}

.toxic-behaviors {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1.5rem;
}

.toxic-behaviors h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.toxic-behaviors strong {
    color: #dc2626;
    font-weight: 600;
}

/* Skills Assessment */
.skills-assessment {
    margin: 2rem 0;
}

.obsolescence-signs {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
}

.obsolescence-signs h4 {
    color: #d97706;
    margin-bottom: 1rem;
}

/* Opportunity Comparison */
.opportunity-comparison {
    margin: 2rem 0;
}

.opportunity-indicators {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    border-radius: 8px;
}

.opportunity-indicators h4 {
    color: #059669;
    margin-bottom: 1rem;
}

.opportunity-indicators strong {
    color: #047857;
    font-weight: 600;
}

/* Values and other sections */
.values-misalignment,
.entrepreneurial-readiness,
.health-impact,
.life-changes {
    margin: 2rem 0;
}

.misalignment-examples,
.readiness-indicators,
.health-warning-signs,
.circumstance-examples {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.misalignment-examples h4,
.readiness-indicators h4,
.health-warning-signs h4,
.circumstance-examples h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.misalignment-examples strong,
.readiness-indicators strong,
.health-warning-signs strong,
.circumstance-examples strong {
    color: #1e293b;
    font-weight: 600;
}

.health-reminder {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #1e40af;
    font-size: 0.95rem;
}

/* Decision Framework */
.decision-framework {
    margin: 2rem 0;
}

.framework-steps {
    display: grid;
    gap: 1.5rem;
}

.framework-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    margin: 0;
    color: #374151;
    font-size: 0.95rem;
}

/* Final thoughts */
.final-thoughts {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.final-thoughts h4 {
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.final-thoughts ul {
    margin: 0;
    color: #374151;
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
    .burnout-indicators {
        grid-template-columns: 1fr;
    }
    
    .framework-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}
}