/* css/jobs.css - Glassmorphism Styling for Jobs Hub */

.jobs-page {
    --accent-color-rgb: 59, 130, 246;
    /* Default Blue */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 100vw;
    overflow-x: hidden;
}

.dark-theme .jobs-page {
    --accent-color-rgb: 96, 165, 250;
    /* Light Blue for Dark Mode */
}

.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header Section */
.jobs-header {
    text-align: center;
    margin-bottom: 40px;
}

.jobs-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.jobs-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Glassmorphism Dynamic Banner */
.wpm-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 28px;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wpm-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease;
}

.wpm-banner:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.wpm-banner:hover::before {
    transform: translate(5%, 5%);
}

.wpm-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.wpm-score-val {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.wpm-score-label {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.wpm-message h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.wpm-message p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Curated Platforms Section */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent 80%);
    border-radius: 1px;
    opacity: 0.4;
}

.premium-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.premium-icon-box:hover {
    transform: rotate(8deg) scale(1.1);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.2);
}

.premium-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    z-index: 1;
}

.trust-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.live-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.premium-icon-box svg {
    width: 24px;
    height: 24px;
    z-index: 2;
    color: white !important;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
}

.busy-pulse {
    animation: live-pulse 2s infinite ease-in-out;
}

@keyframes live-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.section-icon {
    color: inherit;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.platform-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-link-hint {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-link-hint {
    opacity: 1;
    gap: 10px;
}

.platform-link-hint svg {
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-link-hint svg {
    transform: translate(2px, -2px);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.platform-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.platform-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.platform-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    color: var(--text-tertiary);
    font-weight: 600;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 700;
}

/* Live Jobs Section */
.live-jobs-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-sm);
}

.jobs-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.location-wrapper {
    flex: 0.8;
}

@media (max-width: 768px) {
    .location-wrapper {
        flex: 1;
    }
}

/* Job List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-list-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-list-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.job-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}

/* Company Highlight */
.company-highlight {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.job-list-item:hover .company-highlight {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Skeleton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border-color) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    pointer-events: none;
}

.job-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-desc {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.job-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.apply-btn {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.apply-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Loading & Empty States */
.loading-state,
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Glassmorphism Scam Warning */
.scam-warning {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.04));
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 5px solid var(--error-color, #ef4444);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 56px;
    display: flex;
    gap: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.05);
    position: relative;
    overflow: hidden;
}

.dark-theme .scam-warning {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(239, 68, 68, 0.08));
    border-color: rgba(239, 68, 68, 0.25);
}

.scam-warning::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.03));
    pointer-events: none;
}

.warning-icon {
    color: var(--error-color, #ef4444);
    flex-shrink: 0;
}

.warning-content h4 {
    color: var(--error-color, #ef4444);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.warning-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.warning-content ul {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 20px;
    line-height: 1.6;
}

/* SEO FAQ Section */
.seo-faq-section {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.seo-faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive */
/* Responsive & Viewport Fitting */
@media (max-width: 768px) {
    .jobs-page {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .jobs-container {
        padding: 24px 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .jobs-title {
        font-size: 1.7rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.45rem;
        gap: 12px;
        align-items: center;
        word-wrap: break-word;
        margin-bottom: 24px;
        padding-bottom: 6px;
    }

    .section-title::after {
        bottom: -4px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-color), transparent);
    }

    .premium-icon-box {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .premium-icon-box svg {
        width: 18px;
        height: 18px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .platform-card {
        min-width: 0;
        width: 100%;
    }

    .wpm-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .jobs-controls {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .search-input-wrapper {
        min-width: 0;
        width: 100%;
    }

    .search-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        flex-shrink: 0;
    }

    .search-input {
        padding: 12px 16px 12px 40px;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    .country-select {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .job-list-item {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .job-title {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    .job-company {
        align-items: center;
    }

    .company-avatar {
        flex-shrink: 0;
    }

    .job-location svg {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
        flex-shrink: 0;
    }

    .job-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .apply-btn {
        width: auto;
        padding: 8px 16px;
    }

    .scam-warning {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        align-items: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .warning-icon svg {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .jobs-container {
        padding: 16px 12px;
    }

    .jobs-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .job-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .jobs-container {
        padding: 12px 8px;
    }

    .jobs-title {
        font-size: 1.3rem !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: normal !important;
    }

    .section-title {
        font-size: 1.15rem !important;
        white-space: normal !important;
        gap: 10px;
    }

    .premium-icon-box {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .premium-icon-box svg {
        width: 16px;
        height: 16px;
    }

    .jobs-subtitle {
        font-size: 0.85rem;
    }

    .scam-warning {
        padding: 12px;
    }
}

/* Premium Glassmorphism Show More Button */
.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 20px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    font-family: inherit;
    width: fit-content;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.5s;
}

.show-more-btn:hover::before {
    left: 100%;
}

.show-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    color: var(--accent-color);
}

.show-more-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.show-more-btn svg {
    transition: transform 0.3s ease;
}

.show-more-btn:hover svg {
    transform: translateY(3px);
}

/* Platforms Wrapper & Centering */
.platforms-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    justify-content: center;
    /* Center items if row is not full */
}

/* Gradient Fade for Collapsed State */
.platforms-wrapper:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.platforms-wrapper.expanded::after {
    opacity: 0;
}

/* Job Type & Category Badges */
.job-type-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(59, 130, 246, 0.15);
    letter-spacing: 0.03em;
}

.job-company {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

/* Micro-animations */
.anim-fade-in {
    animation: jobFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes jobFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode overrides for dynamic button */
.dark-theme .show-more-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .show-more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.job-source-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: rgba(156, 163, 175, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
    opacity: 0.8;
}

/* ===== FOOTER & SEO SECTION ===== */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.8rem;
    gap: 1rem;
    padding: 4rem 1rem 1.5rem;
    user-select: none;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(to bottom, transparent, rgba(var(--accent-color-rgb), 0.02));
}

.home-seo-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.seo-visible-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.seo-read-more {
    background: rgba(var(--accent-rgb), 0.05);
    border: none;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-read-more:hover {
    background: rgba(var(--accent-rgb), 0.1);
    transform: translateY(-1px);
}

.seo-read-more .arrow {
    font-size: 0.7rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-read-more.open .arrow {
    transform: rotate(180deg);
}

.seo-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
    opacity: 0;
    text-align: left;
}

.seo-body.expanded {
    max-height: 3000px;
    opacity: 1;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.seo-body h2 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 1.8rem 0 0.8rem;
    font-weight: 700;
}

.seo-body p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.footer-links,
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-links a,
.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.85rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-sep {
    color: var(--text-tertiary);
    opacity: 0.4;
    font-size: 10px;
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    opacity: 0.7;
}

@media (max-width: 600px) {

    .footer-links,
    .footer-legal {
        gap: 0.8rem;
    }

    footer {
        padding-top: 3rem;
    }
}
