/* ===================================
   WORKFREE.ME - SABBATICAL VS QUITTING
   Complete stylesheet for sabbatical guide blog post
   Theme: Orange/Amber - Representing balance and decision-making
   =================================== */

/* 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, #f59e0b, #d97706);
    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;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: #d97706;
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 20px;
}

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

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d97706;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d97706;
    transition: width 0.3s ease;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-nav-content {
    padding: 24px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

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

/* Typography */
h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.4;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    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;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 50%, #fdba74 100%);
    padding: 64px 0;
    text-align: center;
}

.hero-content h1 {
    color: #92400e;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 22px;
    color: #b45309;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #d97706;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #92400e;
    font-weight: 500;
}

/* Quick Answer Box */
.quick-answer-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 32px 0;
}

.answer-icon {
    width: 60px;
    height: 60px;
    background: #d97706;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 24px;
}

.quick-answer-box h2 {
    color: #92400e;
    margin-bottom: 16px;
}

.quick-answer-box p {
    color: #b45309;
    margin-bottom: 24px;
    font-size: 18px;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 16px;
    border-radius: 8px;
    text-align: left;
}

.highlight-item i {
    color: #d97706;
    font-size: 20px;
    margin-right: 12px;
    min-width: 24px;
}

.highlight-item span {
    font-size: 16px;
    color: #92400e;
}

/* Sabbatical Types Section */
.sabbatical-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.type-card {
    background: white;
    border: 2px solid #fde68a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.type-card h3 {
    color: #92400e;
    margin-bottom: 16px;
}

.type-card ul {
    margin-bottom: 20px;
}

.type-card li {
    font-size: 16px;
    color: #374151;
    margin-bottom: 8px;
}

.availability {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* Comparison Matrix */
.comparison-matrix {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 32px 0;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.comparison-header > div {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.factor-column {
    text-align: left !important;
    justify-content: flex-start !important;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row > div {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
}

.factor {
    font-weight: 600;
    color: #1f2937;
    text-align: left !important;
    justify-content: flex-start !important;
    background: #f9fafb;
}

.advantage {
    background: #dcfce7;
    color: #166534;
    font-weight: 500;
}

.neutral {
    background: #fef3c7;
    color: #92400e;
    font-weight: 500;
}

.disadvantage {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 500;
}

.sabbatical {
    background: #dcfce7;
    color: #166534;
}

.quitting {
    background: #fee2e2;
    color: #991b1b;
}

/* Comparison Summary */
.comparison-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.summary-card {
    padding: 24px;
    border-radius: 12px;
    border: 2px solid;
}

.sabbatical-summary {
    background: #f0fdf4;
    border-color: #22c55e;
}

.quitting-summary {
    background: #fef2f2;
    border-color: #ef4444;
}

.summary-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sabbatical-summary h3 {
    color: #15803d;
}

.quitting-summary h3 {
    color: #dc2626;
}

.summary-card ul {
    margin: 0;
    padding-left: 20px;
}

.summary-card li {
    font-size: 16px;
    margin-bottom: 8px;
}

/* Calculator Section */
.calculator-section {
    background: white;
    border-radius: 16px;
    border: 2px solid #fde68a;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    padding: 32px;
    text-align: center;
}

.calculator-header h2 {
    color: #92400e;
    margin-bottom: 12px;
}

.calculator-header p {
    color: #b45309;
    margin: 0;
}

.calculator-form {
    padding: 32px;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

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

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

.input-group select {
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: #374151;
    transition: border-color 0.3s ease;
}

.input-group select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

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

.results-header h3 {
    color: #065f46;
    margin: 0;
}

.assessment-card {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.assessment-score {
    text-align: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#f59e0b 0deg, #d97706 180deg, #e5e7eb 180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
}

.score-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    z-index: 1;
}

.score-label {
    font-size: 14px;
    color: #6b7280;
    z-index: 1;
}

.score-interpretation {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
}

.assessment-breakdown h4,
.recommendations-section h4,
.next-steps-section h4 {
    color: #374151;
    margin-bottom: 16px;
    border-bottom: 2px solid #fde68a;
    padding-bottom: 8px;
}

.breakdown-factors,
.recommendation-content,
.next-steps-content {
    color: #4b5563;
    line-height: 1.6;
}

.recommendations-section,
.next-steps-section {
    padding: 0 32px 24px 32px;
}

/* Negotiation Steps */
.negotiation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.step-card {
    background: white;
    border: 2px solid #fde68a;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-content {
    margin-top: 16px;
}

.step-content h3 {
    color: #92400e;
    margin-bottom: 16px;
}

.step-content ul {
    margin: 0;
    padding-left: 20px;
}

.step-content li {
    font-size: 16px;
    color: #374151;
    margin-bottom: 8px;
}

/* Proposal Template */
.proposal-template {
    background: #fefbf3;
    border: 2px solid #fde68a;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
}

.proposal-template h3 {
    color: #92400e;
    text-align: center;
    margin-bottom: 24px;
}

.template-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
}

.template-content h4 {
    color: #1f2937;
    margin-bottom: 16px;
    font-size: 18px;
}

.template-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.template-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.template-section strong {
    color: #92400e;
    font-size: 16px;
}

.template-section p {
    margin: 8px 0 16px 0;
    font-size: 16px;
    color: #4b5563;
    font-style: italic;
}

.template-section ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.template-section li {
    font-size: 16px;
    color: #374151;
    margin-bottom: 6px;
}

/* Checklist Styles */
.checklist-sections {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

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

.checklist-section h3 {
    color: #92400e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #fefbf3;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checklist-text {
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}

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

/* Checklist Progress Tracker */
.checklist-progress {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid #f59e0b;
    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: #92400e;
    margin: 0;
    font-size: 20px;
}

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

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

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    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: #92400e;
}

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

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

.conclusion-section h2 {
    color: #92400e;
    margin-bottom: 20px;
}

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

.final-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.insight-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-icon {
    width: 50px;
    height: 50px;
    background: #d97706;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 20px;
}

.insight-card h4 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 18px;
}

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

.key-takeaways {
    margin: 32px 0;
    padding: 24px;
    background: rgba(254, 215, 170, 0.3);
    border-radius: 12px;
    border: 2px solid #f59e0b;
    text-align: left;
}

.key-takeaways h4 {
    color: #92400e;
    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: #b45309;
}

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

.takeaway-list strong {
    color: #92400e;
}

.next-steps-cta {
    margin-top: 32px;
    padding: 32px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    border: 2px solid #f59e0b;
}

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

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

.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;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

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

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

.footer p {
    color: #9ca3af;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-mobile.active {
        display: block;
    }
    
    .main-content {
        padding: 24px 0 12px 0;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .answer-highlights {
        grid-template-columns: 1fr;
    }
    
    .comparison-matrix {
        font-size: 14px;
    }
    
    .comparison-header {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 16px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .comparison-row > div {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .comparison-summary {
        grid-template-columns: 1fr;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .assessment-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .negotiation-steps {
        grid-template-columns: 1fr;
    }
    
    .final-insights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 48px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .quick-answer-box,
    .conclusion-section {
        padding: 24px;
    }
    
    .calculator-form,
    .proposal-template {
        padding: 24px;
    }
    
    .comparison-header > div,
    .comparison-row > div {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-circle::before {
        width: 70px;
        height: 70px;
    }
    
    .score-number {
        font-size: 24px;
    }
}