@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --background: #09090f;
    --surface: #12121d;
    --purple: #9b72ff;
    --white: #f7f5ff;
    --muted: #a5a2b5;
    --border: #292638;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 8%;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 9, 15, 0.96);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    white-space: nowrap;
}

.logo span {
    color: var(--purple);
    margin-left: 5px;
}

nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

nav a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--white);
}

.header-button,
.primary-button {
    display: inline-block;
    background: var(--purple);
    color: #100b1b;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.header-button:hover,
.primary-button:hover {
    background: #b49aff;
    transform: translateY(-2px);
}

/* HOMEPAGE HERO */

.hero {
    padding: 110px 20px 100px;
    text-align: center;
    background: radial-gradient(
        ellipse at 50% 0%,
        #322052 0%,
        transparent 55%
    );
}

.eyebrow {
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    line-height: 1.02;
    letter-spacing: -5px;
    margin-bottom: 26px;
}

.hero h1 span {
    color: var(--purple);
}

.hero-text {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.secondary-button {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid #494258;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.secondary-button:hover {
    border-color: var(--purple);
}

.hero-note {
    margin-top: 35px;
    color: var(--muted);
    font-size: 0.85rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64e6a0;
    margin-right: 8px;
}

/* SECTION LAYOUT */

.jobs-section,
.services-section,
.how-section,
.contact-section,
.about-section {
    padding: 90px 8%;
}

.jobs-section h2,
.services-section h2,
.how-section h2,
.business-section h2,
.about-section h2,
.contact-section h2,
.apply-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.jobs-section > p:not(.eyebrow),
.services-section > p:not(.eyebrow),
.how-section > p:not(.eyebrow),
.business-section > p:not(.eyebrow),
.about-section > p:not(.eyebrow),
.contact-section > p:not(.eyebrow),
.apply-section > p:not(.eyebrow) {
    color: var(--muted);
}

.about-section > p:not(.eyebrow) {
    max-width: 750px;
    margin-bottom: 18px;
}

/* SERVICE, JOB AND PROCESS CARDS */

.job-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.job-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 14px;
    transition: border-color 0.2s, transform 0.2s;
    overflow-wrap: anywhere;
}

.job-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.job-category {
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.job-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 15px 0 8px;
}

.job-card > p {
    color: var(--muted);
    font-size: 0.9rem;
}

.job-details {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.job-details span {
    padding: 5px 9px;
    background: #201b2e;
    border-radius: 5px;
    font-size: 0.75rem;
    color: #d4c6ff;
}

.job-card .job-status {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
}

.apply-btn {
    display: inline-block;
    margin-top: 18px;
    color: var(--purple);
    font-weight: 700;
}

.apply-btn:hover {
    color: #c5b0ff;
}

/* BUSINESS SECTION */

.business-section {
    margin: 20px 8%;
    padding: 70px 30px;
    text-align: center;
    background: linear-gradient(135deg, #1c1630, #12121d);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.business-section > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 28px;
}

/* CONTACT LINKS */

.contact-section .job-card a:not(.apply-btn) {
    display: inline-block;
    margin-top: 8px;
    color: var(--purple);
    overflow-wrap: anywhere;
}

.contact-section .job-card a:hover {
    color: #c5b0ff;
}

/* APPLICATION FORM */

.apply-section {
    width: calc(100% - 40px);
    max-width: 700px;
    margin: 80px auto;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.apply-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.apply-section label {
    font-weight: 600;
    margin-top: 10px;
}

.apply-section input,
.apply-section textarea {
    width: 100%;
    padding: 14px;
    background: #0e0e18;
    border: 1px solid #35354f;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
}

.apply-section input:focus,
.apply-section textarea:focus {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
    border-color: var(--purple);
}

.apply-section textarea {
    min-height: 130px;
    resize: vertical;
}

.apply-section button {
    margin-top: 15px;
    padding: 14px;
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.apply-section button:hover {
    background: #7441e8;
    transform: translateY(-2px);
}

/* FOOTER */

footer {
    padding: 40px 8%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

footer p {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--purple);
}

footer p a:hover {
    color: var(--purple);
}

/* TABLETS */

@media (max-width: 1000px) {
    header {
        padding: 22px 5%;
        flex-wrap: wrap;
    }

    nav {
        gap: 16px;
    }

    .job-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-section,
    .services-section,
    .how-section,
    .contact-section,
    .about-section {
        padding: 70px 5%;
    }
}

/* MOBILE PHONES */

@media (max-width: 600px) {
    header {
        padding: 20px 5%;
        gap: 16px;
    }

    header nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px 18px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .header-button {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 85px 20px 75px;
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 4.5rem);
        letter-spacing: -2px;
    }

    .job-list {
        grid-template-columns: 1fr;
    }

    .jobs-section,
    .services-section,
    .how-section,
    .contact-section,
    .about-section {
        padding: 55px 5%;
    }

    .business-section {
        margin: 15px 5%;
        padding: 50px 20px;
    }

    .apply-section {
        width: calc(100% - 30px);
        margin: 45px auto;
        padding: 24px 18px;
    }

    .apply-section h2 {
        font-size: 26px;
    }

    footer {
        padding: 35px 5%;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 12px 18px;
    }
}