:root {
    --navy: #07111f;
    --navy-2: #0d1b2f;
    --navy-3: #102442;
    --blue: #1e88ff;
    --blue-2: #56a8ff;
    --green: #00c896;
    --cyan: #eaf7ff;
    --white: #ffffff;
    --muted: #8fa8c4;
    --text: #ecf6ff;
    --dark-text: #132236;
    --line: rgba(255, 255, 255, 0.12);
    --card: rgba(13, 27, 47, 0.78);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: var(--navy);
    color: var(--text);
}

img {
    max-width: 100%;
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-body {
    background:
        radial-gradient(circle at top left, rgba(30, 136, 255, 0.24), transparent 34rem),
        radial-gradient(circle at top right, rgba(0, 200, 150, 0.18), transparent 32rem),
        linear-gradient(180deg, #07111f 0%, #081627 54%, #07111f 100%);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(880px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px min(5vw, 56px);
    background: rgba(7, 17, 31, 0.8);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo,
.admin-brand img {
    width: 46px;
    height: 46px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong,
.admin-brand strong {
    letter-spacing: 0.08em;
    font-size: 1rem;
}

.brand-text span,
.admin-brand small {
    color: var(--muted);
    font-size: 0.76rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a,
.small-link {
    color: #d7e9ff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.92rem;
}

.site-nav a:hover,
.small-link:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.lang-link,
.small-button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.nav-toggle,
.admin-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.nav-toggle span,
.admin-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
    border-radius: 99px;
}

.hero-section {
    padding: 72px 0 56px;
}

.hero-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 42px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    margin: 18px 0 24px;
}

.hero-copy p,
.page-hero p,
.split-grid p,
.security-card p {
    color: #bfd2e7;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.8;
    max-width: 760px;
}

.hero-badge,
.eyebrow,
.department {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.22);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    border: 0;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 18px 42px rgba(30, 136, 255, 0.24);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.08);
}

.button.subtle {
    color: #cfe8ff;
    background: transparent;
}

.button.danger {
    background: rgba(255, 76, 96, 0.1);
    color: #ffb4bd;
    border-color: rgba(255, 76, 96, 0.3);
}

.button.block,
.button.wide {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span {
    color: #d2e5fa;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 800;
}

.hero-panel,
.admin-panel,
.feature-card,
.job-card,
.security-card,
.success-card,
.login-card,
.login-showcase,
.job-admin-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 24px;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -30%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(30, 136, 255, 0.36), transparent 62%);
    pointer-events: none;
}

.panel-topline {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.panel-topline span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.dashboard-preview-card,
.mini-card,
.candidate-line {
    position: relative;
    background: rgba(7, 17, 31, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
}

.dashboard-preview-card.big {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
}

.dashboard-preview-card strong {
    display: block;
    margin-top: 8px;
    font-size: 4rem;
    line-height: 1;
}

.pulse-orb {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--green), rgba(30, 136, 255, 0.2) 65%, transparent 66%);
    box-shadow: 0 0 60px rgba(0, 200, 150, 0.42);
}

.mini-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0;
}

.mini-card {
    padding: 18px;
}

.mini-card span,
.candidate-line em,
.job-meta,
small {
    color: var(--muted);
}

.mini-card strong {
    display: block;
    margin-top: 6px;
    font-size: 2rem;
}

.candidate-stack {
    display: grid;
    gap: 12px;
}

.candidate-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--green));
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 900;
}

.avatar.small {
    width: 34px;
    height: 34px;
    border-radius: 12px;
}

.avatar.large {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    font-size: 1.2rem;
}

.section {
    padding: 58px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2,
.split-grid h2,
.security-card h2,
.admin-panel h2,
.success-card h1 {
    margin: 14px 0 0;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    letter-spacing: -0.035em;
}

.feature-grid,
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.job-card,
.security-card,
.success-card,
.job-admin-card {
    border-radius: var(--radius-lg);
    padding: 26px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(30, 136, 255, 0.13);
    color: var(--blue-2);
    font-weight: 1000;
}

.feature-card h3,
.job-card h2,
.content-box h3 {
    margin: 0 0 10px;
}

.feature-card p,
.job-card p,
.content-box p,
.login-card p {
    color: #b8cee6;
    line-height: 1.75;
}

.split-section {
    background: rgba(255, 255, 255, 0.03);
    border-block: 1px solid var(--line);
}

.split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
    align-items: center;
}

.workflow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.workflow-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.workflow-list span {
    color: var(--green);
    font-weight: 1000;
}

.security-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.page-hero {
    padding: 82px 0 50px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 60% 0%, rgba(30, 136, 255, 0.22), transparent 34rem);
}

.page-hero.compact h1 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
}

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

.job-card-head,
.job-meta,
.panel-heading,
.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.job-status {
    color: var(--green);
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.22);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 900;
}

.job-meta {
    justify-content: flex-start;
    margin: 20px 0;
    font-size: 0.9rem;
}

.job-meta span {
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.card-form {
    display: grid;
    gap: 18px;
}

.card-form label {
    display: grid;
    gap: 8px;
    color: #d5e8fb;
    font-weight: 800;
}

.form-grid {
    display: grid;
    gap: 16px;
}

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

input,
select,
textarea {
    width: 100%;
    color: var(--text);
    background: rgba(7, 17, 31, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 15px;
    outline: 0;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(30, 136, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(30, 136, 255, 0.12);
}

textarea {
    resize: vertical;
}

.checkbox-line {
    display: flex !important;
    grid-template-columns: auto 1fr;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px !important;
}

.checkbox-line input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.notice,
.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(30, 136, 255, 0.18);
    background: rgba(30, 136, 255, 0.08);
    color: #cfe8ff;
}

.alert.error {
    border-color: rgba(255, 76, 96, 0.28);
    background: rgba(255, 76, 96, 0.08);
    color: #ffd0d6;
}

.alert p {
    margin: 0;
}

.alert p + p {
    margin-top: 8px;
}

.center-page {
    min-height: calc(100vh - 170px);
    display: grid;
    place-items: center;
    padding: 46px 20px;
}

.success-card {
    width: min(620px, 100%);
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    font-size: 2.4rem;
    font-weight: 1000;
}

.application-id-box {
    display: grid;
    gap: 8px;
    margin: 22px 0;
    padding: 20px;
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.58);
    border: 1px solid var(--line);
}

.application-id-box span {
    color: var(--muted);
}

.application-id-box strong,
.error-number {
    color: var(--green);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px min(5vw, 56px);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer div {
    display: grid;
    gap: 4px;
}

.site-footer strong {
    color: var(--white);
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .feature-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-panel {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 76px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(7, 17, 31, 0.96);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .brand-text span {
        display: none;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-copy h1,
    .page-hero h1 {
        letter-spacing: -0.035em;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .candidate-line {
        grid-template-columns: auto 1fr;
    }

    .candidate-line em {
        grid-column: 2;
    }

    .site-footer {
        flex-direction: column;
    }
}
