/**
 * Jobriver - SEO Landing Pages Styles
 * Modern layout for remote-it-jobs & quereinsteiger-it-jobs
 */

/* ==========================================================================
   Hero – Photo background with gradient overlay
   ========================================================================== */

.landing-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.45) 55%, rgba(11, 18, 32, 0.1) 100%);
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: var(--space-16) 0;
}

.landing-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-4);
}

.landing-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    padding: var(--space-2) var(--space-4);
    border-radius: 2rem;
    margin-bottom: var(--space-4);
}

.landing-hero-stats strong {
    color: var(--color-white);
    font-variant-numeric: tabular-nums;
}

.landing-hero-intro {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.landing-hero .btn-search-cta {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    border: none;
}

.landing-hero .btn-search-cta:hover {
    background: #5A3ADA;
    transform: translateY(-1px);
}


/* ==========================================================================
   Jobs Section
   ========================================================================== */

.landing-jobs-section {
    padding: var(--space-12) 0 var(--space-12);
}

.landing-jobs-section .alle-jobs-list {
    max-width: 900px;
    margin: 0 auto;
}

.landing-section-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--color-text);
}


/* ==========================================================================
   Zigzag Content Blocks (text + illustration)
   ========================================================================== */

.landing-zigzag {
    padding: var(--space-12) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.landing-zigzag-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--color-text);
}

.landing-zigzag-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: 960px;
    margin: 0 auto var(--space-12);
}

.landing-zigzag-block:last-child {
    margin-bottom: 0;
}

.landing-zigzag-block--reverse .landing-zigzag-visual {
    order: -1;
}

.landing-zigzag-text h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.landing-zigzag-text p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.landing-zigzag-text p:last-child {
    margin-bottom: 0;
}

.landing-zigzag-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   Landing Demos – macOS-style window mockups (like tech-chips demos)
   ========================================================================== */

.landing-demo {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--color-border);
    width: 100%;
    max-width: 420px;
}

.landing-demo-header {
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.landing-demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.landing-demo-dot:nth-child(1) { background: #EF4444; }
.landing-demo-dot:nth-child(2) { background: #F59E0B; }
.landing-demo-dot:nth-child(3) { background: #22C55E; }

.landing-demo-content {
    padding: var(--space-5);
}

/* --- Demo: Remote Team / Collaboration --- */

.landing-demo-team {
    display: flex;
    gap: var(--space-4);
}

.landing-demo-sidebar {
    width: 120px;
    flex-shrink: 0;
}

.landing-demo-sidebar-title {
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.landing-demo-member {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 0;
}

.landing-demo-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-white);
}

.landing-demo-member-info {
    flex: 1;
    min-width: 0;
}

.landing-demo-member-name {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-demo-member-role {
    font-size: 9px;
    color: var(--color-text-muted);
}

.landing-demo-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.landing-demo-status--online { background: #22C55E; }
.landing-demo-status--away { background: #F59E0B; }

.landing-demo-main {
    flex: 1;
    min-width: 0;
}

.landing-demo-main-title {
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.landing-demo-tasks {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.landing-demo-task {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
}

.landing-demo-task--active {
    border-left-color: var(--color-primary);
    background: #F4F0FF;
}

.landing-demo-task--done {
    border-left-color: #22C55E;
}

.landing-demo-task-check {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1.5px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-demo-task--done .landing-demo-task-check {
    background: #22C55E;
    border-color: #22C55E;
    color: white;
}

.landing-demo-task-check svg {
    width: 10px;
    height: 10px;
}

.landing-demo-task-text {
    font-size: 11px;
    color: var(--color-text);
    flex: 1;
}

.landing-demo-task--done .landing-demo-task-text {
    text-decoration: line-through;
    color: var(--color-text-muted);
}

.landing-demo-task-tag {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: var(--font-weight-medium);
    flex-shrink: 0;
}

.landing-demo-tag-remote {
    background: #DBEAFE;
    color: #1D4ED8;
}

.landing-demo-tag-review {
    background: #FEF3C7;
    color: #92400E;
}

.landing-demo-tag-progress {
    background: #F4F0FF;
    color: var(--color-primary);
}

/* --- Demo: Skills & Salary Chart --- */

.landing-demo-chart {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.landing-demo-chart-title {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.landing-demo-bar-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.landing-demo-bar-label {
    width: 90px;
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-align: right;
    flex-shrink: 0;
}

.landing-demo-bar-track {
    flex: 1;
    height: 18px;
    background: var(--color-bg);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.landing-demo-bar-fill {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
}

.landing-demo-bar-value {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-white);
}

.landing-demo-divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-2) 0;
}

.landing-demo-salary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
}

.landing-demo-salary-label {
    font-size: 11px;
    color: var(--color-text-muted);
}

.landing-demo-salary-value {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.landing-demo-salary-trend {
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    color: #16A34A;
}

/* --- Demo: Career Path / Learning --- */

.landing-demo-path {
    position: relative;
}

.landing-demo-step {
    display: flex;
    gap: var(--space-3);
    position: relative;
    padding-bottom: var(--space-4);
}

.landing-demo-step:last-child {
    padding-bottom: 0;
}

.landing-demo-step-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.landing-demo-step--done .landing-demo-step-marker {
    background: #22C55E;
    color: white;
}

.landing-demo-step--active .landing-demo-step-marker {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(114, 79, 255, 0.15);
}

.landing-demo-step--upcoming .landing-demo-step-marker {
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    color: var(--color-text-muted);
}

.landing-demo-step-line {
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.landing-demo-step--done .landing-demo-step-line {
    background: #22C55E;
}

.landing-demo-step--active .landing-demo-step-line {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
}

.landing-demo-step-content {
    flex: 1;
    padding-top: 3px;
}

.landing-demo-step-title {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-bottom: 2px;
}

.landing-demo-step-desc {
    font-size: 10px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.landing-demo-step-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: var(--font-weight-medium);
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 3px;
}

.landing-demo-badge-done {
    background: #DCFCE7;
    color: #166534;
}

.landing-demo-badge-active {
    background: #F4F0FF;
    color: var(--color-primary);
}

.landing-demo-badge-upcoming {
    background: var(--color-bg);
    color: var(--color-text-muted);
}

/* --- Demo: Certifications --- */

.landing-demo-certs {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.landing-demo-cert {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-bg);
    border-radius: var(--radius-md);
}

.landing-demo-cert-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    flex-shrink: 0;
}

.landing-demo-cert-info {
    flex: 1;
    min-width: 0;
}

.landing-demo-cert-name {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
}

.landing-demo-cert-provider {
    font-size: 9px;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.landing-demo-cert-progress {
    width: 100%;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.landing-demo-cert-progress-fill {
    height: 100%;
    border-radius: 2px;
}

.landing-demo-cert-status {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: var(--font-weight-medium);
    padding: 2px 8px;
    border-radius: 3px;
}

.landing-demo-cert-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22C55E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-demo-cert-check svg {
    width: 12px;
    height: 12px;
}

.landing-demo-salary-summary {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: #F4F0FF;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-demo-salary-summary-label {
    font-size: 11px;
    color: var(--color-text-muted);
}

.landing-demo-salary-summary-range {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}


/* ==========================================================================
   FAQ – spacing for landing pages
   ========================================================================== */

.landing-faq .seo-faq-list {
    max-width: 900px;
}

.landing-faq .seo-faq-item summary::after {
    transition: transform 0.3s ease;
}

.landing-faq .seo-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.landing-faq .seo-faq-item .faq-body {
    overflow: hidden;
    transition: height 0.3s ease;
}

.landing-faq .seo-faq-item summary {
    transition: color 0.2s ease;
}

.landing-faq .seo-faq-item[open] summary {
    color: var(--color-primary);
}

.landing-faq .seo-faq-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-faq .seo-faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(114, 79, 255, 0.08);
}


/* ==========================================================================
   Values / Cross-Promo (like homepage value-props)
   ========================================================================== */

.landing-values {
    padding: var(--space-12) 0 var(--space-16);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.landing-values-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.landing-values-header h2,
.landing-values-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
}

.landing-values-header p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.landing-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
}

.landing-value {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-value:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(114, 79, 255, 0.08);
}

.landing-value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F0FF;
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.landing-value-icon svg {
    width: 28px;
    height: 28px;
}

.landing-value strong {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.landing-value p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.landing-value a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-decoration: none;
}

.landing-value a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   Pagination spacing for landing pages
   ========================================================================== */

.landing-jobs-section .content-pagination {
    max-width: 900px;
    margin: var(--space-8) auto 0;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 768px) {
    .landing-hero h1 {
        font-size: var(--font-size-5xl);
    }

    .landing-hero {
        min-height: 540px;
    }
}

@media (max-width: 1024px) {
    .landing-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero {
        min-height: 420px;
    }

    .landing-hero h1 {
        font-size: var(--font-size-3xl);
    }

    .landing-hero-content {
        padding: var(--space-10) 0;
    }

    .landing-hero-intro {
        font-size: var(--font-size-base);
    }

    .landing-zigzag-block {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .landing-zigzag-block--reverse .landing-zigzag-visual {
        order: 0;
    }

    .landing-zigzag {
        padding: var(--space-8) 0;
    }

    .landing-zigzag-block {
        margin-bottom: var(--space-8);
    }

    .landing-demo {
        max-width: 100%;
    }

    .landing-demo-team {
        flex-direction: column;
        gap: var(--space-3);
    }

    .landing-demo-sidebar {
        width: 100%;
        display: flex;
        gap: var(--space-3);
        flex-wrap: wrap;
        align-items: center;
    }

    .landing-demo-sidebar-title {
        width: 100%;
        margin-bottom: 0;
    }

    .landing-values-grid {
        grid-template-columns: 1fr;
    }

    .landing-jobs-section {
        padding: var(--space-8) 0;
    }

    .landing-values {
        padding: var(--space-8) 0 var(--space-10);
    }
}
