/* =========================================================
   AI FREEDOM ACADEMY
   ADCLICKPAYS-INSPIRED PREMIUM DESIGN SYSTEM
========================================================= */

:root {
    --black: #111111;
    --black-soft: #1f1813;
    --brown-dark: #24150d;
    --brown: #7c2d12;

    --orange-dark: #c2410c;
    --orange: #f97316;
    --orange-light: #fb923c;

    --gold: #fbbf24;
    --gold-light: #fde68a;

    --cream: #f8f2ec;
    --cream-light: #fffaf4;
    --cream-deep: #f2e9e0;

    --white: #ffffff;

    --text: #2b241f;
    --muted: #75675d;

    --border: #dec3ad;
    --border-soft: #ead8c7;

    --shadow:
        0 18px 38px rgba(74, 38, 8, .13);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        radial-gradient(
            circle at 85% 0,
            rgba(249, 115, 22, .18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #111111,
            #24150d
        );

    border-bottom: 5px solid var(--orange);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, .18);
}

.nav-wrap {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #fff;
    white-space: nowrap;
}

.brand-mark {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--brown),
            var(--orange-dark) 55%,
            var(--orange)
        );

    border-left: 6px solid var(--gold);

    font-size: 17px;
    font-weight: 900;
}

.brand strong {
    display: block;

    font-size: 18px;
    line-height: 1.1;

    font-weight: 900;
}

.brand small {
    display: block;

    margin-top: 3px;

    color: #ffc987;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 17px;

    font-size: 13px;
    font-weight: 800;
}

.main-nav a {
    color: #f5e8dc;

    transition:
        color .2s ease,
        transform .2s ease;
}

.main-nav a:hover {
    color: var(--gold);

    transform: translateY(-1px);
}

.nav-cta {
    padding: 11px 17px;

    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            #7c2d12,
            #c2410c 55%,
            #f97316
        );

    border: 1px solid #7c2d12;
    border-left: 5px solid var(--gold);

    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(194, 65, 12, .22);
}

.mobile-menu-button {
    display: none;

    color: #fff;
    background: transparent;

    border: 0;

    font-size: 26px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding: 105px 0 95px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(249,115,22,.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(249,115,22,.03) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(249,115,22,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf4,
            #f8eee5
        );

    background-size:
        34px 34px,
        34px 34px,
        auto,
        auto;

    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, .85fr);

    gap: 70px;

    align-items: center;
}


/* EYEBROW */

.eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--orange-dark);

    font-size: 11px;
    line-height: 1.2;

    font-weight: 900;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/* HERO HEADLINE */

.hero h1 {
    max-width: 760px;

    margin: 0;

    color: var(--black);

    font-size:
        clamp(48px, 6vw, 78px);

    line-height: .99;

    font-weight: 900;

    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;

    color: var(--orange-dark);
}

.hero-lead {
    max-width: 760px;

    margin: 28px 0 10px;

    color: var(--black-soft);

    font-size: 23px;
    line-height: 1.4;

    font-weight: 900;
}

.hero-copy {
    max-width: 720px;

    margin: 0;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 32px;
}

.btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 23px;

    border: 0;
    border-radius: 0;

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .03em;

    text-transform: uppercase;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #7c2d12,
            #c2410c 55%,
            #f97316
        );

    border: 1px solid #7c2d12;
    border-left: 6px solid var(--gold);

    box-shadow:
        0 13px 25px
        rgba(194, 65, 12, .23);
}

.btn.primary:hover {
    box-shadow:
        0 18px 34px
        rgba(194, 65, 12, .30);
}

.btn.secondary {
    color: var(--black);

    background: #fff;

    border: 1px solid var(--border);
    border-left: 6px solid var(--orange);

    box-shadow:
        0 10px 22px
        rgba(74,38,8,.09);
}

.btn.large {
    min-height: 58px;

    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   HERO BUSINESS JOURNEY CARD
========================================================= */

.hero-card {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--border);
    border-top: 7px solid var(--orange);
    border-bottom: 5px solid var(--gold);

    border-radius: 0;

    box-shadow: var(--shadow);
}

.card-label {
    margin: 0;

    padding: 20px 22px;

    color: #fff;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(249,115,22,.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #111,
            #24150d
        );

    border-bottom: 5px solid var(--orange);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .13em;
    text-transform: uppercase;
}

.journey-item {
    display: flex;

    gap: 18px;

    padding: 20px 22px;

    background: #fff;

    border-bottom:
        1px solid var(--border-soft);
}

.journey-item:last-child {
    border-bottom: 0;
}

.journey-item > strong {
    min-width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #7c2d12,
            #c2410c,
            #f97316
        );

    border-left: 5px solid var(--gold);

    font-size: 13px;
    font-weight: 900;
}

.journey-item h3 {
    margin: 0 0 3px;

    color: var(--black);

    font-size: 18px;
    font-weight: 900;
}

.journey-item p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 82px 0;

    background: var(--cream);
}

.section-alt {
    background:
        linear-gradient(
            90deg,
            rgba(249,115,22,.028) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(249,115,22,.028) 1px,
            transparent 1px
        ),
        linear-gradient(
            180deg,
            #f8f2ec,
            #f2e9e0
        );

    background-size:
        34px 34px,
        34px 34px,
        auto;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* SECTION HEADING */

.section-heading {
    max-width: 900px;

    margin: 0 0 35px;

    padding: 24px 26px;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(249,115,22,.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf4,
            #ffead3
        );

    border: 1px solid var(--border);
    border-left: 9px solid var(--orange);
    border-bottom: 5px solid var(--gold);

    box-shadow:
        0 14px 30px
        rgba(74,38,8,.10);
}

.section-heading h2 {
    margin: 0 0 8px;

    color: #111;

    font-size:
        clamp(32px, 4vw, 50px);

    line-height: 1.06;

    font-weight: 900;

    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 820px;

    margin: 8px 0 0;

    color: var(--muted);
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.feature-card {
    position: relative;

    min-width: 0;

    padding: 27px 22px;

    color: var(--text);

    background: #fff;

    border: 1px solid var(--border);
    border-top: 7px solid var(--orange);
    border-bottom: 5px solid var(--gold);

    border-radius: 0;

    box-shadow:
        0 18px 38px
        rgba(74,38,8,.13);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.feature-card:nth-child(even) {
    border-top-color: var(--gold);
    border-bottom-color: var(--orange);
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 24px 48px
        rgba(74,38,8,.18);
}

.feature-icon {
    width: max-content;
    min-width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;
    padding: 0 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #7c2d12,
            #c2410c 55%,
            #f97316
        );

    border-left: 5px solid var(--gold);

    font-size: 13px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 9px;

    color: #1f1813;

    font-size: 20px;
    line-height: 1.25;

    font-weight: 900;
}

.feature-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.text-link {
    display: inline-block;

    margin-top: 18px;

    color: var(--orange-dark);

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;
}

.text-link:hover {
    color: var(--brown);
}

.center-action {
    margin-top: 35px;

    text-align: center;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 65px 0;

    background:
        linear-gradient(
            90deg,
            rgba(249,115,22,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(249,115,22,.04) 1px,
            transparent 1px
        ),
        #f2e9e0;

    background-size: 32px 32px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    padding: 45px;

    background:
        radial-gradient(
            circle at 92% 0,
            rgba(249,115,22,.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #111,
            #24150d
        );

    border: 1px solid #111;
    border-left: 9px solid var(--orange);
    border-bottom: 6px solid var(--gold);

    box-shadow:
        0 22px 45px
        rgba(74,38,8,.20);
}

.cta-box .eyebrow {
    color: #ffc987;
}

.cta-box h2 {
    margin: 0 0 10px;

    color: #fff;

    font-size:
        clamp(31px, 4vw, 48px);

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -.04em;
}

.cta-box p {
    margin: 0;

    color: #dbc8b8;
}


/* =========================================================
   PUBLIC PAGE HERO
========================================================= */

.page-hero {
    padding: 75px 0;

    background:
        radial-gradient(
            circle at 90% 0,
            rgba(249,115,22,.17),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #111,
            #24150d
        );

    border-bottom: 6px solid var(--orange);
}

.page-hero .eyebrow {
    color: #ffc987;
}

.page-hero h1 {
    max-width: 850px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(40px, 5vw, 62px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -.045em;
}

.page-hero p {
    max-width: 800px;

    margin: 15px 0 0;

    color: #dbc8b8;

    font-size: 17px;
}


/* =========================================================
   PREMIUM FORMS
   LOGIN / REGISTER / POST JOB / PROFILE / CONTACT
========================================================= */

.auth-wrap,
.form-wrap {
    padding: 75px 0;

    background:
        linear-gradient(
            90deg,
            rgba(249,115,22,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(249,115,22,.025) 1px,
            transparent 1px
        ),
        #f7f1eb;

    background-size: 32px 32px;
}

.auth-card,
.form-card,
.panel {
    width: min(760px, 92%);

    margin: 0 auto;

    padding: 34px;

    background: #fff;

    border: 1px solid var(--border);
    border-top: 7px solid var(--orange);
    border-bottom: 5px solid var(--gold);

    border-radius: 0;

    box-shadow: var(--shadow);
}

.auth-card.wide,
.form-card.wide {
    width: min(980px, 92%);
}

.auth-card h1,
.form-card h1,
.panel h1,
.panel h2 {
    margin: 0 0 8px;

    color: var(--black);

    font-weight: 900;

    letter-spacing: -.035em;
}

.muted {
    color: var(--muted);
}


/* FORM GRID */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.form-group,
.auth-card label,
.form-card label {
    display: block;

    margin-bottom: 17px;

    color: var(--black-soft);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .03em;

    text-transform: uppercase;
}


/* INPUTS */

input,
select,
textarea {
    width: 100%;

    min-height: 50px;

    margin-top: 7px;

    padding: 12px 14px;

    color: var(--text);

    background: #fffaf4;

    border: 1px solid var(--border);
    border-left: 5px solid var(--orange);

    border-radius: 0;

    outline: none;

    font-family: inherit;

    font-size: 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

textarea {
    min-height: 140px;

    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    background: #fff;

    border-color: var(--orange);
    border-left-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(249,115,22,.11);
}

input::placeholder,
textarea::placeholder {
    color: #a49182;
}


/* CHECKBOX */

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-height: auto;

    margin-right: 7px;

    accent-color: var(--orange-dark);
}


/* FORM BUTTON */

button,
button.btn {
    font-family: inherit;
}

.auth-card button,
.form-card button {
    width: 100%;

    margin-top: 8px;
}


/* ALERTS */

.alert,
.error,
.success {
    margin: 0 0 20px;

    padding: 14px 16px;

    border-radius: 0;

    font-size: 14px;
    font-weight: 700;
}

.error,
.alert-danger {
    color: #7f1d1d;

    background: #fff1f1;

    border: 1px solid #fecaca;
    border-left: 6px solid #dc2626;
}

.success,
.alert-success {
    color: #14532d;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
    border-left: 6px solid #16a34a;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 65px 0 25px;

    color: #dbc8b8;

    background:
        radial-gradient(
            circle at 90% 0,
            rgba(249,115,22,.12),
            transparent 25%
        ),
        #111;

    border-top: 6px solid var(--orange);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand {
    color: #fff;

    font-size: 22px;
    font-weight: 900;
}

.footer-grid p {
    max-width: 400px;

    color: #aa9585;
}

.footer-grid h4 {
    margin: 0 0 14px;

    color: #ffc987;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;

    margin: 8px 0;

    color: #aa9585;

    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 45px;
    padding-top: 23px;

    color: #826f61;

    border-top:
        1px solid rgba(255,255,255,.08);

    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 82px;
        left: 4%;
        right: 4%;

        padding: 22px;

        flex-direction: column;
        align-items: stretch;

        background:
            linear-gradient(
                135deg,
                #111,
                #24150d
            );

        border: 1px solid #5c321f;
        border-bottom: 5px solid var(--orange);

        box-shadow:
            0 18px 35px
            rgba(0,0,0,.28);
    }

    .menu-open .main-nav {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(92%, 1240px);
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero-lead {
        font-size: 19px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        padding: 20px 18px;
    }

    .feature-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 30px 24px;
    }

    .auth-card,
    .form-card,
    .panel {
        width: 92%;

        padding: 24px 19px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}