/* ===================================
   WORKFREE.ME - ANXIETY AFTER QUITTING BLOG
   Clean, supportive 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;
}

/* 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;
}

/* Anxiety-Specific Styles */
.anxiety-alert {
    background: linear-gradient(135deger, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.anxiety-alert h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.anxiety-alert p {
    color: #451a03;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Understanding Section */
.understanding-section {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.understanding-section h3 {
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.understanding-section p {
    color: #374151;
    margin-bottom: 1rem;
}

/* Symptoms Grid */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

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

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

/* Coping Strategies */
.coping-strategy {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.coping-strategy h3 {
    color: #166534;
    margin-bottom: 1rem;
}

.coping-strategy h4 {
    color: #15803d;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.coping-strategy h4:first-of-type {
    margin-top: 0;
}

.coping-strategy ul {
    margin-bottom: 1rem;
    color: #374151;
}

.coping-strategy p {
    color: #374151;
    margin-bottom: 1rem;
}

/* Action Steps */
.action-steps {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.action-steps h3 {
    color: #d97706;
    margin-bottom: 1rem;
}

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

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    align-items: flex-start;
}

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

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

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

/* Professional Help Section */
.professional-help {
    background: #fdf4ff;
    border-left: 4px solid #a855f7;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.professional-help h3 {
    color: #7c3aed;
    margin-bottom: 1rem;
}

.professional-help p {
    color: #374151;
    margin-bottom: 1rem;
}

.warning-signs {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.warning-signs h4 {
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.warning-signs ul {
    margin: 0;
    color: #374151;
}

/* Practical Tips */
.practical-tips {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.practical-tips h3 {
    color: #047857;
    margin-bottom: 1rem;
}

.tip-category {
    margin-bottom: 2rem;
}

.tip-category:last-child {
    margin-bottom: 0;
}

.tip-category h4 {
    color: #059669;
    margin-bottom: 1rem;
}

.tip-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    list-style: none;
    padding: 0;
}

.tip-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.tip-item strong {
    color: #065f46;
    font-weight: 600;
}

/* Success Stories */
.success-story {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.success-story h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.success-story p {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-style: italic;
}

.success-story p:last-child {
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
}

/* 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;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* 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;
    }
    
    /* Content adjustments */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    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;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}