/* Offshore Management Landing — 魔簧智脑出海企业管理层方案 */

.offshore-page {
    padding-bottom: 64px;
    color: var(--brand-ink);
}

/* ── Hero ── */
.offshore-hero {
    padding: 56px 0 32px;
}

.offshore-hero-shell {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(19, 36, 58, 0.12);
    padding: 52px 52px 44px;
    background:
        radial-gradient(circle at 15% 18%, rgba(41, 184, 157, 0.22), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 138, 61, 0.18), transparent 42%),
        linear-gradient(140deg, #fffdf8 0%, #f6fbff 52%, #eef9f6 100%);
    box-shadow: 0 30px 70px rgba(19, 36, 58, 0.12);
}

.offshore-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(19, 36, 58, 0.08);
    color: #31445b;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.offshore-hero h1 {
    margin-top: 18px;
    font-size: clamp(30px, 4.6vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0d1d30;
}

.offshore-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6a52 55%, #29b89d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offshore-lead {
    margin-top: 18px;
    max-width: 860px;
    font-size: 18px;
    line-height: 1.8;
    color: #334963;
}

.offshore-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Section ── */
.offshore-section {
    padding: 42px 0 0;
}

.offshore-section-alt {
    margin-top: 24px;
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(19, 36, 58, 0.03), rgba(19, 36, 58, 0.01));
    border-top: 1px solid rgba(19, 36, 58, 0.08);
    border-bottom: 1px solid rgba(19, 36, 58, 0.08);
}

.offshore-section-head {
    max-width: 880px;
}

.offshore-section-head > span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #5c6f84;
}

.offshore-section-head h2 {
    margin-top: 10px;
    font-size: clamp(26px, 3.8vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0d1d30;
}

.offshore-section-head p {
    margin-top: 14px;
    color: #4f6278;
    font-size: 16px;
    line-height: 1.76;
}

/* ── Grid & Cards ── */
.offshore-grid {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.offshore-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offshore-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offshore-card {
    border-radius: 22px;
    border: 1px solid rgba(19, 36, 58, 0.1);
    background: #ffffff;
    padding: 24px 22px;
    box-shadow: 0 18px 36px rgba(14, 32, 52, 0.07);
}

.offshore-card h3 {
    font-size: 22px;
    line-height: 1.3;
    color: #122940;
}

.offshore-card p {
    margin-top: 10px;
    color: #4c6077;
    font-size: 15px;
    line-height: 1.75;
}

.offshore-card ul {
    margin-top: 12px;
    padding-left: 20px;
    display: grid;
    gap: 10px;
}

.offshore-card li {
    color: #3e5369;
    line-height: 1.68;
}

/* ── Workflow ── */
.offshore-workflow {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.offshore-workflow-step {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(19, 36, 58, 0.12);
    background: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 700;
    color: #19334f;
    box-shadow: 0 10px 22px rgba(14, 32, 52, 0.06);
    white-space: nowrap;
}

.offshore-workflow-step.active {
    border-color: transparent;
    color: #fffaf3;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6a52 55%, #29b89d 100%);
    box-shadow: 0 14px 28px rgba(255, 106, 82, 0.2);
}

.offshore-workflow-arrow {
    font-size: 22px;
    color: #b0bfcf;
    flex-shrink: 0;
}

/* ── Poster (image block) ── */
.offshore-poster-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    border-radius: 28px;
    border: 1px solid rgba(19, 36, 58, 0.12);
    background:
        radial-gradient(circle at 18% 20%, rgba(41, 184, 157, 0.16), transparent 44%),
        radial-gradient(circle at 90% 88%, rgba(255, 106, 82, 0.14), transparent 48%),
        linear-gradient(145deg, #ffffff 0%, #f5faff 52%, #eef9ff 100%);
    box-shadow: 0 28px 56px rgba(14, 32, 52, 0.1);
    padding: 32px;
    align-items: center;
}

.offshore-poster-copy h2 {
    margin-top: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #102640;
}

.offshore-poster-copy p {
    margin-top: 14px;
    color: #3f546c;
    font-size: 16px;
    line-height: 1.8;
}

.offshore-poster-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.offshore-poster-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(19, 36, 58, 0.16);
    background: rgba(255, 255, 255, 0.8);
    color: #19334f;
    font-size: 13px;
    font-weight: 700;
}

/* ── CTA ── */
.offshore-section-cta {
    padding-top: 28px;
    padding-bottom: 8px;
}

.offshore-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 12px;
}

.offshore-bottom-actions .meeting-btn {
    min-width: 168px;
}

/* ── Language Table ── */
.offshore-lang-section {
    margin-top: 24px;
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(19, 36, 58, 0.03), rgba(19, 36, 58, 0.01));
    border-top: 1px solid rgba(19, 36, 58, 0.08);
    border-bottom: 1px solid rgba(19, 36, 58, 0.08);
}

.offshore-lang-intro {
    margin-top: 14px;
    color: #3f546c;
    font-size: 16px;
    line-height: 1.8;
}

.offshore-lang-intro strong {
    color: #102640;
}

.offshore-lang-table-wrap {
    margin-top: 24px;
    border-radius: 22px;
    border: 1px solid rgba(19, 36, 58, 0.1);
    background: #fff;
    box-shadow: 0 18px 36px rgba(14, 32, 52, 0.07);
    overflow: hidden;
    max-height: 680px;
    overflow-y: auto;
}

.offshore-lang-table-wrap::-webkit-scrollbar {
    width: 6px;
}

.offshore-lang-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(19, 36, 58, 0.18);
    border-radius: 999px;
}

.offshore-lang-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.offshore-lang-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.offshore-lang-table thead th {
    background: linear-gradient(180deg, #f0f5fa 0%, #e8eef5 100%);
    color: #122940;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(19, 36, 58, 0.12);
}

.offshore-lang-table tbody td {
    padding: 10px 16px;
    color: #3e5369;
    border-bottom: 1px solid rgba(19, 36, 58, 0.06);
}

.offshore-lang-table tbody tr:hover {
    background: rgba(41, 184, 157, 0.06);
}

.offshore-lang-table tbody td:first-child {
    font-weight: 700;
    color: #5c6f84;
    width: 56px;
    text-align: center;
}

.offshore-lang-table tbody td:last-child {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: #29b89d;
    font-weight: 600;
}

/* ── Language Filter ── */
.offshore-lang-search {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.offshore-lang-search input {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(19, 36, 58, 0.16);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 20px;
    font-size: 14px;
    color: #19334f;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offshore-lang-search input:focus {
    border-color: #29b89d;
    box-shadow: 0 0 0 3px rgba(41, 184, 157, 0.15);
}

.offshore-lang-search input::placeholder {
    color: #94a3b8;
}

.offshore-lang-count {
    font-size: 13px;
    font-weight: 700;
    color: #5c6f84;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 1140px) {
    .offshore-hero-shell {
        padding: 42px 34px 36px;
    }

    .offshore-poster-shell {
        grid-template-columns: 1fr;
    }

    .offshore-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .offshore-page {
        padding-bottom: 40px;
    }

    .offshore-hero {
        padding-top: 30px;
    }

    .offshore-hero-shell {
        border-radius: 24px;
        padding: 30px 20px 24px;
    }

    .offshore-lead {
        font-size: 16px;
        line-height: 1.74;
    }

    .offshore-grid-3,
    .offshore-grid-2 {
        grid-template-columns: 1fr;
    }

    .offshore-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .offshore-card h3 {
        font-size: 19px;
    }

    .offshore-workflow {
        gap: 8px;
    }

    .offshore-workflow-step {
        font-size: 13px;
        padding: 10px 16px;
    }

    .offshore-workflow-arrow {
        font-size: 18px;
    }

    .offshore-poster-shell {
        border-radius: 24px;
        padding: 20px 18px;
    }

    .offshore-poster-copy h2 {
        font-size: 26px;
    }

    .offshore-lang-section {
        padding: 32px 0;
    }

    .offshore-lang-table-wrap {
        border-radius: 16px;
        max-height: 520px;
    }

    .offshore-lang-table thead th,
    .offshore-lang-table tbody td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .offshore-section {
        padding-top: 30px;
    }

    .offshore-section-alt,
    .offshore-lang-section {
        margin-top: 18px;
        padding: 34px 0;
    }

    .meeting-btn {
        width: 100%;
    }

    .offshore-bottom-actions .meeting-btn {
        width: auto;
    }

    .offshore-lang-search {
        flex-direction: column;
        align-items: stretch;
    }

    .offshore-lang-count {
        text-align: center;
    }
}
