/* =========================================================
   NOVAFRAME STUDIOS
   PREMIUM GLOBAL STYLES
========================================================= */

:root {
    --bg: #07070a;
    --bg-soft: #0d0d12;
    --card: #111118;
    --card-hover: #171720;

    --text: #f5f5f7;
    --muted: #a3a3ad;
    --muted-light: #c7c7ce;

    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);

    --accent: #ffffff;
    --accent-dark: #0a0a0c;

    --max-width: 1240px;

    --radius: 24px;
    --radius-small: 14px;

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);

    --transition:
        0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 255, 255, 0.08),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: #ffffff;
    color: #000000;
}


/* =========================================================
   CONTAINER
========================================================= */

.nav-container,
.hero-content,
.home-intro,
.create-section,
.why-section,
.careers-section,
.home-cta,
.site-footer {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background:
        rgba(7, 7, 10, 0.88);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--line);
}

.nav-container {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND / REAL LOGO
========================================================= */

.brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    font-weight: 800;

    letter-spacing: -0.03em;
}


/*
   IMPORTANT:
   Uses favicon.png instead of the old white N box.
*/

.brand-mark {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: block;

    border-radius: 50%;

    background-image:
        url("favicon.png");

    background-position:
        center;

    background-repeat:
        no-repeat;

    background-size:
        cover;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);

    /*
       Hide the old "N" text.
    */
    color: transparent;

    font-size: 0;

    overflow: hidden;
}


.brand-name {
    font-size: 18px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;

    align-items: center;

    gap: 8px;
}

.nav-link,
.nav-cta {
    padding:
        10px 14px;

    border-radius:
        10px;

    font-size:
        14px;

    font-weight:
        600;

    color:
        var(--muted-light);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.nav-link:hover {
    color: var(--text);

    background:
        rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--text);

    background:
        rgba(255, 255, 255, 0.08);
}

.nav-cta {
    margin-left: 8px;

    background:
        var(--accent);

    color:
        var(--accent-dark);

    padding-inline:
        18px;
}

.nav-cta:hover {
    transform:
        translateY(-2px);

    background:
        #e8e8eb;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.18em;

    color:
        var(--muted);

    text-transform:
        uppercase;
}

.hero h1 {
    max-width: 1000px;

    font-size:
        clamp(52px, 8vw, 112px);

    line-height:
        0.94;

    letter-spacing:
        -0.075em;

    font-weight:
        800;
}

.hero h1 span,
.home-intro h2 span,
.create-heading h2 span,
.why-grid h2 span,
.careers-box h2 span,
.cta-box h2 span {
    color:
        #8f8f99;
}

h2 {
    font-size:
        clamp(40px, 5.5vw, 76px);

    line-height:
        0.98;

    letter-spacing:
        -0.06em;

    font-weight:
        800;
}

h3 {
    letter-spacing:
        -0.025em;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height:
        52px;

    padding:
        0 22px;

    border-radius:
        14px;

    font-size:
        14px;

    font-weight:
        700;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.primary-button {
    background:
        #ffffff;

    color:
        #08080a;

    box-shadow:
        0 12px 35px rgba(255, 255, 255, 0.08);
}

.primary-button:hover {
    transform:
        translateY(-3px);

    background:
        #e8e8eb;
}

.secondary-button {
    border:
        1px solid var(--line-strong);

    color:
        var(--text);

    background:
        rgba(255, 255, 255, 0.03);
}

.secondary-button:hover {
    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height:
        calc(100vh - 82px);

    display:
        flex;

    align-items:
        center;

    position:
        relative;

    overflow:
        hidden;

    padding:
        110px 0 100px;
}

.hero::before {
    content:
        "";

    position:
        absolute;

    width:
        600px;

    height:
        600px;

    top:
        -220px;

    right:
        -180px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.10),
            transparent 65%
        );

    pointer-events:
        none;
}

.hero::after {
    content:
        "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    bottom:
        -280px;

    left:
        -220px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.055),
            transparent 70%
        );

    pointer-events:
        none;
}

.hero-content {
    position:
        relative;

    z-index:
        2;
}

.hero-content > p {
    max-width:
        650px;

    margin-top:
        34px;

    color:
        var(--muted);

    font-size:
        clamp(16px, 2vw, 20px);

    line-height:
        1.7;
}

.hero-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        38px;
}

.hero-meta {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        42px;

    margin-top:
        70px;

    padding-top:
        28px;

    border-top:
        1px solid var(--line);

    max-width:
        720px;
}

.hero-meta div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;
}

.hero-meta strong {
    font-size:
        15px;
}

.hero-meta span {
    font-size:
        12px;

    color:
        var(--muted);
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin-bottom:
        60px;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        0.16em;

    color:
        var(--muted);
}

.section-label span {
    color:
        #ffffff;

    font-variant-numeric:
        tabular-nums;
}


/* =========================================================
   HOME INTRO
========================================================= */

.home-intro {
    padding:
        130px 0;
}

.intro-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.8fr);

    gap:
        80px;
}

.intro-grid p {
    color:
        var(--muted);

    font-size:
        17px;

    line-height:
        1.8;

    margin-bottom:
        22px;
}

.text-link {
    display:
        inline-flex;

    margin-top:
        12px;

    font-size:
        14px;

    font-weight:
        700;

    border-bottom:
        1px solid var(--line-strong);

    padding-bottom:
        5px;
}

.text-link:hover {
    border-color:
        #ffffff;
}


/* =========================================================
   CREATE SECTION
========================================================= */

.create-section {
    padding:
        120px 0;
}

.create-heading {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 0.55fr);

    gap:
        70px;

    align-items:
        end;

    margin-bottom:
        65px;
}

.create-heading p {
    color:
        var(--muted);

    font-size:
        16px;
}

.create-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        16px;
}

.create-card {
    position:
        relative;

    min-height:
        360px;

    padding:
        32px;

    border:
        1px solid var(--line);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.015)
        );

    overflow:
        hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.create-card:hover {
    transform:
        translateY(-7px);

    border-color:
        var(--line-strong);

    background:
        var(--card-hover);
}

.featured-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.025)
        );
}

.card-number {
    position:
        absolute;

    top:
        28px;

    right:
        30px;

    color:
        #666670;

    font-size:
        12px;
}

.card-icon {
    width:
        54px;

    height:
        54px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        16px;

    border:
        1px solid var(--line-strong);

    background:
        rgba(255,255,255,0.05);

    font-size:
        22px;

    margin-bottom:
        100px;
}

.create-card h3 {
    font-size:
        25px;

    margin-bottom:
        12px;
}

.create-card p {
    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.7;
}


/* =========================================================
   WHY SECTION
========================================================= */

.why-section {
    padding:
        130px 0;
}

.why-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1fr);

    gap:
        100px;
}

.why-content {
    border-top:
        1px solid var(--line);
}

.why-item {
    display:
        grid;

    grid-template-columns:
        55px 1fr;

    gap:
        20px;

    padding:
        28px 0;

    border-bottom:
        1px solid var(--line);
}

.why-item > span {
    color:
        #666670;

    font-size:
        12px;
}

.why-item h3 {
    font-size:
        19px;

    margin-bottom:
        7px;
}

.why-item p {
    color:
        var(--muted);

    font-size:
        14px;
}


/* =========================================================
   CAREERS
========================================================= */

.careers-section {
    padding:
        80px 0 130px;
}

.careers-box {
    position:
        relative;

    padding:
        clamp(40px, 7vw, 90px);

    border-radius:
        30px;

    border:
        1px solid var(--line);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255,255,255,0.10),
            transparent 35%
        ),
        #0d0d12;

    overflow:
        hidden;
}

.careers-box h2 {
    max-width:
        850px;
}

.careers-box p {
    max-width:
        620px;

    margin:
        30px 0;

    color:
        var(--muted);

    font-size:
        17px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.home-cta {
    padding:
        130px 0;
}

.cta-box {
    text-align:
        center;

    max-width:
        900px;

    margin-inline:
        auto;
}

.cta-box p {
    max-width:
        650px;

    margin:
        30px auto;

    color:
        var(--muted);

    font-size:
        17px;
}

.cta-buttons {
    display:
        flex;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        60px 0 30px;

    border-top:
        1px solid var(--line);
}

.footer-inner {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        40px;
}

.footer-inner p {
    margin-top:
        12px;

    color:
        var(--muted);

    font-size:
        13px;
}

.footer-links {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        22px;
}

.footer-links a {
    color:
        var(--muted);

    font-size:
        13px;

    transition:
        color var(--transition);
}

.footer-links a:hover {
    color:
        #ffffff;
}

.footer-bottom {
    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    margin-top:
        50px;

    padding-top:
        25px;

    border-top:
        1px solid var(--line);

    color:
        #666670;

    font-size:
        12px;
}


/* =========================================================
   APPLY PAGE IMAGE
========================================================= */

.apply-image {
    width:
        100%;

    margin-bottom:
        70px;

    border:
        1px solid var(--line);

    border-radius:
        var(--radius);

    overflow:
        hidden;

    background:
        var(--card);

    box-shadow:
        var(--shadow);
}

.apply-image img {
    width:
        100%;

    height:
        auto;

    display:
        block;
}


/* =========================================================
   APPLICATION FORM
========================================================= */

.application-form {
    display:
        flex;

    flex-direction:
        column;

    gap:
        22px;
}

.form-group {
    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;
}

.form-group label {
    font-size:
        13px;

    font-weight:
        700;

    color:
        var(--muted-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width:
        100%;

    border:
        1px solid var(--line-strong);

    border-radius:
        12px;

    padding:
        14px 15px;

    background:
        rgba(255,255,255,0.035);

    color:
        var(--text);

    outline:
        none;

    transition:
        border-color var(--transition),
        background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        #666670;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color:
        rgba(255,255,255,0.45);

    background:
        rgba(255,255,255,0.06);
}

.form-group textarea {
    resize:
        vertical;

    min-height:
        160px;
}

.form-group select option {
    background:
        #111118;

    color:
        #ffffff;
}

.form-note {
    color:
        #777780;

    font-size:
        12px;

    line-height:
        1.6;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity:
        0;

    transform:
        translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity:
        1;

    transform:
        translateY(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .nav-container {
        min-height:
            72px;
    }

    .main-nav {
        gap:
            3px;
    }

    .nav-link {
        padding:
            8px 7px;

        font-size:
            12px;
    }

    .nav-cta {
        padding:
            9px 11px;

        font-size:
            12px;
    }

    .hero {
        min-height:
            auto;

        padding:
            100px 0;
    }

    .intro-grid,
    .why-grid,
    .create-heading {
        grid-template-columns:
            1fr;

        gap:
            40px;
    }

    .create-grid {
        grid-template-columns:
            1fr 1fr;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 650px) {

    .nav-container,
    .hero-content,
    .home-intro,
    .create-section,
    .why-section,
    .careers-section,
    .home-cta,
    .site-footer {
        width:
            min(
                calc(100% - 30px),
                var(--max-width)
            );
    }

    .site-header {
        position:
            relative;
    }

    .nav-container {
        flex-direction:
            column;

        align-items:
            stretch;

        padding:
            15px 0;
    }

    .brand {
        justify-content:
            center;
    }

    .main-nav {
        justify-content:
            center;

        flex-wrap:
            wrap;
    }

    .nav-cta {
        margin-left:
            0;
    }

    .hero {
        padding:
            80px 0;
    }

    .hero h1 {
        font-size:
            clamp(46px, 15vw, 70px);
    }

    .hero-content > p {
        font-size:
            15px;
    }

    .hero-meta {
        gap:
            22px;

        margin-top:
            50px;
    }

    .home-intro,
    .create-section,
    .why-section,
    .home-cta {
        padding:
            85px 0;
    }

    .section-label {
        margin-bottom:
            40px;
    }

    .create-grid {
        grid-template-columns:
            1fr;
    }

    .create-card {
        min-height:
            300px;
    }

    .card-icon {
        margin-bottom:
            70px;
    }

    .footer-inner {
        flex-direction:
            column;
    }

    .footer-links {
        gap:
            14px;
    }

    .footer-bottom {
        flex-direction:
            column;

        gap:
            8px;
    }

    .brand-mark {
        width:
            40px;

        height:
            40px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        transition:
            none !important;
    }
}