:root {
    --bg-primary: #f3f6ff;
    --bg-secondary: #edf3ff;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-strong: rgba(255, 255, 255, 0.94);
    --border-subtle: rgba(59, 130, 246, 0.14);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --blue-400: #3b82f6;
    --blue-500: #2563eb;
    --blue-600: #1d4ed8;
    --purple-400: #8b5cf6;
    --dark-900: #0f172a;
    --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 30px 70px rgba(37, 99, 235, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.06), transparent 28%),
        linear-gradient(180deg, #f5f8ff 0%, #eef3ff 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.vacancies-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.noise-line {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
    height: 1px;
}

.line-1 {
    top: 20%;
    left: -5%;
    width: 40%;
}

.line-2 {
    top: 56%;
    right: -5%;
    width: 44%;
}

.line-3 {
    bottom: 18%;
    left: 12%;
    width: 26%;
}

.noise-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.16);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.04);
}

.dot-1 {
    top: 24%;
    right: 16%;
    width: 10px;
    height: 10px;
}

.dot-2 {
    top: 68%;
    left: 10%;
    width: 12px;
    height: 12px;
}

.dot-3 {
    bottom: 14%;
    right: 22%;
    width: 8px;
    height: 8px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue-500), var(--purple-400));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
    fill: currentColor;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-text span {
    color: var(--blue-400);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-500);
}

.btn-primary,
.btn-dark,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-light:hover {
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--dark-900);
    color: #fff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.btn-light {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--blue-500);
}

.vacancies-page {
    position: relative;
    z-index: 1;
}

.vacancies-hero {
    padding: 128px 0 72px;
}

.hero-center {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-chip,
.timeline-chip,
.board-chip,
.footer-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--blue-500);
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-status-ring {
    width: 290px;
    height: 290px;
    margin: 2rem auto 2rem;
    border-radius: 50%;
    padding: 18px;
    background:
        linear-gradient(#f5f8ff, #f5f8ff) padding-box,
        conic-gradient(from 220deg, rgba(37, 99, 235, 0.8), rgba(139, 92, 246, 0.45), rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.8)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 20px 60px rgba(37, 99, 235, 0.12),
        inset 0 0 40px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-status-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: inset 0 0 0 12px rgba(37, 99, 235, 0.03);
}

.hero-status-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 700;
}

.hero-status-core strong {
    margin-top: 0.9rem;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--text-primary);
}

.hero-status-core p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 800;
    max-width: 100%;
    margin: 0 auto;
}

.hero-subtitle {
    margin: 1.1rem auto 0;
    max-width: 46rem;
    font-size: 1.06rem;
    line-height: 1.82;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 2rem;
}

.vacancies-board,
.vacancies-timeline,
.vacancies-panels,
.vacancies-footer-block {
    padding: 0 0 96px;
}

.board-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.board-side,
.board-main,
.timeline-card,
.panel-card,
.footer-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.board-side {
    border-radius: 1.5rem;
    padding: 1.4rem;
}

.board-side h2 {
    margin-top: 0.9rem;
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text-primary);
}

.board-side p {
    margin-top: 0.8rem;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.board-main {
    border-radius: 1.5rem;
    overflow: hidden;
}

.board-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
}

.board-row:not(:last-child) {
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.board-key,
.board-value {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.board-key {
    color: var(--text-muted);
    border-right: 1px solid rgba(37, 99, 235, 0.08);
    background: rgba(37, 99, 235, 0.03);
    font-weight: 600;
}

.board-value {
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-head {
    max-width: 100%;
    margin-bottom: 2rem;
}

.timeline-head h2 {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--text-primary);
}

.timeline-list {
    position: relative;
    display: grid;
    gap: 1.1rem;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.28), rgba(139, 92, 246, 0.18));
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.timeline-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--purple-400));
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.08);
    position: relative;
    z-index: 1;
}

.timeline-card {
    border-radius: 1.5rem;
    padding: 1.35rem;
}

.timeline-step {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-card h3 {
    margin-top: 0.85rem;
    font-size: 1.12rem;
    line-height: 1.28;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-card p {
    margin-top: 0.45rem;
    font-size: 0.94rem;
    line-height: 1.72;
    color: var(--text-secondary);
}

.panels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.panel-card {
    position: relative;
    border-radius: 1.6rem;
    padding: 1.5rem;
    overflow: hidden;
}

.panel-card.accent {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.panel-card.dark {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.panel-topline {
    display: block;
    width: 74px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-500), var(--purple-400));
    margin-bottom: 1rem;
}

.panel-card strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.panel-card p {
    margin-top: 0.55rem;
    font-size: 0.94rem;
    line-height: 1.72;
    color: var(--text-secondary);
}

.panel-card.dark strong,
.panel-card.dark p {
    color: #f8fafc;
}

.footer-block {
    border-radius: 2rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.footer-block-copy h2 {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-block-copy p {
    margin-top: 0.8rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-secondary);
}

.footer-block-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 260px;
}

@media (max-width: 1200px) {
    .board-shell,
    .footer-block {
        grid-template-columns: 1fr;
    }

    .panels-grid {
        grid-template-columns: 1fr;
    }

    .footer-block-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .board-row {
        grid-template-columns: 1fr;
    }

    .board-key {
        border-right: 0;
        border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    }
}

@media (max-width: 767px) {
    .vacancies-hero {
        padding-top: 112px;
    }

    .hero-status-ring {
        width: 240px;
        height: 240px;
    }

    .hero-title {
        max-width: none;
    }

    .timeline-item {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .timeline-marker {
        width: 28px;
        height: 28px;
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.08);
    }

    .timeline-list::before {
        left: 13px;
    }

    .board-shell,
    .board-side,
    .timeline-card,
    .panel-card,
    .footer-block {
        padding: 1.2rem;
    }
}

@media (max-width: 991px) {
    .btn-primary {
        display: none;
    }
}
