/* ===================================
   WORKFREE.ME - BEST TIME TO QUIT YOUR JOB
   Complete stylesheet for timing guide blog post
   =================================== */

/* 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.7;
    color: #111827;
    background-color: #ffffff;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo-link {
    color: #1a202c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #059669;
}

.logo-link i {
    color: #059669;
}

/* Navigation Styles */
.nav-desktop {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
}

.nav-mobile.active {
    display: block;
}

.mobile-nav-content {
    padding: 0 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: #059669;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: #059669;
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 8px;
}

/* Main Content */
.main-content {
    padding: 32px 0 16px 0;
}

.content-section {
    margin-bottom: 32px;
}

.intro-text {
    font-size: 18px;
    color: #374151;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Typography */
h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.2;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 18px;
    font-weight: 400;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

li {
    font-size: 18px;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 10px;
}

/* Quick Answer Box */
.quick-answer-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.answer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.answer-header i {
    color: #3b82f6;
    font-size: 20px;
}

.answer-header h4 {
    color: #1e40af;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.answer-content {
    color: #1a202c;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.month-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.month-card.peak-month {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.month-card.high-month {
    border-color: #059669;
    background: linear-gradient(135deg, #f7fef9, #f0fdf4);
}

.month-card.medium-month {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.month-card.low-medium-month {
    border-color: #f97316;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.month-card.low-month {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.month-header h3 {
    font-size: 20px;
    margin: 0;
    color: #1a202c;
}

.hiring-level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hiring-level.peak {
    background: #10b981;
    color: white;
}

.hiring-level.high {
    background: #059669;
    color: white;
}

.hiring-level.medium {
    background: #f59e0b;
    color: white;
}

.hiring-level.low-medium {
    background: #f97316;
    color: white;
}

.hiring-level.low {
    background: #ef4444;
    color: white;
}

.month-stats {
    text-align: center;
}

.stat-item {
    margin-bottom: 8px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    display: block;
}

.month-highlight {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
    font-style: italic;
}

/* Month Modal */
.month-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 32px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1a202c;
}

/* Industry Tabs and Panels */
.industry-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
}

.industry-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 16px;
}

.industry-tab:hover {
    color: #059669;
}

.industry-tab.active {
    color: #059669;
    border-bottom-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.industry-content {
    position: relative;
}

.industry-panel {
    display: none;
}

.industry-panel.active {
    display: block;
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.tech-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.finance-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.healthcare-icon {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.education-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.retail-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.consulting-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.industry-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 4px 0 0 0;
}

.timing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.timing-card {
    background: white;
    border: 2px solid;
    border-radius: 12px;
    padding: 20px;
}

.timing-card.best-times {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.timing-card.avoid-times {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.timing-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 16px;
}

.best-times h4 {
    color: #059669;
}

.avoid-times h4 {
    color: #dc2626;
}

.timing-card ul {
    list-style: none;
    padding: 0;
}

.timing-card li {
    margin-bottom: 12px;
    padding-left: 0;
    font-size: 16px;
}

.timing-card li strong {
    color: #1a202c;
}

.industry-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.insight-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.insight-card h5 {
    color: #059669;
    margin-bottom: 8px;
}

.insight-card p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Calculator Section */
.calculator-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    margin: 48px 0;
    border: 2px solid #e5e7eb;
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-header h2 {
    color: #1a202c;
    margin-bottom: 8px;
}

.calculator-header p {
    color: #6b7280;
    font-size: 16px;
}

.calculator-form {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.input-group {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
    font-size: 16px;
}

.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: white;
}

.input-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

/* Calculation Results */
.calculation-results {
    display: none;
    margin-top: 32px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
}

.results-header {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 24px;
    text-align: center;
    border-bottom: 2px solid #e5e7eb;
}

.results-header h3 {
    color: #047857;
    margin: 0;
    font-size: 24px;
}

.recommendation-card {
    padding: 32px;
    background: white;
}

.recommended-timing {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-radius: 12px;
    border: 2px solid #10b981;
}

.recommended-timing h4 {
    color: #047857;
    margin-bottom: 16px;
}

.timing-recommendation {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.timing-rationale {
    margin-bottom: 32px;
}

.timing-rationale h4 {
    color: #1a202c;
    margin-bottom: 16px;
}

.timing-rationale ul {
    list-style: none;
    padding: 0;
}

.timing-rationale li {
    background: #f8fafc;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    font-size: 15px;
}

.timing-alternatives {
    margin-bottom: 32px;
}

.timing-alternatives h4 {
    color: #1a202c;
    margin-bottom: 16px;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.alternative-option {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.alternative-month {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.alternative-score {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.alternative-reason {
    font-size: 12px;
    color: #6b7280;
}

.action-items h4 {
    color: #1a202c;
    margin-bottom: 16px;
}

.action-timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #10b981;
}

.timeline-period {
    font-weight: 600;
    color: #059669;
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-actions {
    font-size: 16px;
    color: #374151;
}

/* Action Checklist */
.action-checklist {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 32px;
    margin: 48px 0;
}

.action-checklist h2 {
    color: #047857;
    margin-bottom: 12px;
}

.action-checklist > p {
    color: #1a202c;
    font-size: 18px;
    text-align: center;
    margin-bottom: 32px;
}

.checklist-sections {
    display: grid;
    gap: 24px;
}

.checklist-section {
    background: white;
    border: 2px solid #a7f3d0;
    border-radius: 12px;
    padding: 24px;
}

.checklist-section h3 {
    color: #047857;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d1fae5;
    font-size: 20px;
}

.checklist-items {
    display: grid;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    font-size: 16px;
    line-height: 1.5;
}

.checklist-item:hover {
    background: #ecfdf5;
}

.checklist-item input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.3);
    accent-color: #10b981;
    cursor: pointer;
}

.checklist-text {
    color: #374151;
    transition: all 0.3s ease;
}

.checklist-item.completed .checklist-text {
    text-decoration: line-through;
    color: #9ca3af;
}

/* Checklist Progress Tracker */
.checklist-progress {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.progress-header h3 {
    color: #065f46;
    margin: 0;
    font-size: 20px;
}

.progress-text {
    color: #059669;
    font-weight: 600;
    font-size: 16px;
}

.progress-bar-container {
    position: relative;
    background: #d1fae5;
    height: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669, #10b981);
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 12px;
    color: #065f46;
}

.progress-message {
    font-size: 16px;
    color: #047857;
    font-style: italic;
    margin-top: 8px;
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 40px;
    margin: 24px 0 16px 0;
    text-align: center;
}

.conclusion-section h2 {
    color: #0c4a6e;
    margin-bottom: 20px;
}

.conclusion-section p {
    font-size: 18px;
    color: #1a202c;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-insights {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.insight-card.major {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #bae6fd;
    text-align: center;
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 16px;
}

.insight-card.major h4 {
    color: #0c4a6e;
    margin-bottom: 8px;
}

.insight-card.major p {
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

.key-takeaways {
    margin: 32px 0;
    padding: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 2px solid #10b981;
    text-align: left;
}

.key-takeaways h4 {
    color: #065f46;
    margin-bottom: 16px;
    font-size: 20px;
    text-align: center;
}

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

.takeaway-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #047857;
}

.takeaway-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

.takeaway-list strong {
    color: #065f46;
}

.next-steps-cta {
    margin-top: 32px;
    padding: 32px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    border: 2px solid #0ea5e9;
}

.next-steps-cta h4 {
    color: #0c4a6e;
    margin-bottom: 12px;
    font-size: 20px;
}

.next-steps-cta p {
    margin-bottom: 24px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #0ea5e9;
    color: white;
}

.cta-button.primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: white;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
}

.cta-button.secondary:hover {
    background: #0ea5e9;
    color: white;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo i {
    color: #10b981;
}

.footer p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

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

.footer-links a:hover {
    color: #10b981;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 32px;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-tabs {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .industry-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .timing-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-insights {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
    }
    
    .final-insights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .main-content {
        padding: 32px 0;
    }
    
    .content-section {
        margin-bottom: 32px;
    }
    
    .calculator-section,
    .action-checklist,
    .conclusion-section {
        padding: 24px 16px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.month-card:hover,
.timing-card:hover,
.insight-card:hover {
    animation: fadeInUp 0.3s ease;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .month-card {
        border-width: 3px;
    }
    
    .nav-link:focus,
    .calculate-btn:focus,
    .cta-button:focus {
        outline: 3px solid #000;
        outline-offset: 2px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-btn,
    .calculate-btn,
    .cta-button {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .hero-section {
        background: none;
        padding: 20px 0;
    }
    
    .month-card,
    .timing-card,
    .insight-card {
        break-inside: avoid;
    }
}