﻿/* =========================================================
   MASTERMIND LANDING PAGE
   ========================================================= */

/* HERO */

.hero {
    position: relative;
    min-height: calc(100vh - 58px);
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(390px, 0.85fr);
    overflow: hidden;
    background: #030303;
    border-bottom: 1px solid var(--border);
}

.hero-background {
    min-height: 720px;
    background-image: linear-gradient( 90deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 66%, rgba(0, 0, 0, 0.72) 100% ), linear-gradient( 180deg, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0.25) 100% ), url("/images/mastermind-hero.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-form-side {
    display: flex;
    align-items: center;
    padding: 36px 36px 36px 22px;
    background: linear-gradient( 90deg, rgba(3, 3, 3, 0.72), #050505 24% );
}

.application-card {
    width: 100%;
    max-width: 470px;
    margin-inline: auto;
    padding: 30px;
    background: linear-gradient( 145deg, rgba(214, 179, 74, 0.055), rgba(255, 255, 255, 0.012) ), rgba(16, 16, 16, 0.97);
    border: 1px solid rgba(214, 179, 74, 0.34);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(214, 179, 74, 0.04);
}
.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #d6b34a;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: none;
}
    .section-label::before {
        content: "";
        display: inline-block;
        width: 36px;
        height: 2px;
        background: var(--gold);
        margin-right: 10px;
        vertical-align: middle;
    }

.application-card h1 {
    margin-bottom: 16px;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 0.98;
}

    .application-card h1 span {
        display: block;
        color: var(--gold);
    }

.hero-description {
    margin-bottom: 20px;
    color: #b6b6b6;
    font-size: 0.93rem;
    line-height: 1.72;
}

.hero-benefits {
    display: grid;
    gap: 7px;
    margin-bottom: 22px;
}

    .hero-benefits span {
        color: #e0e0e0;
        font-size: 0.88rem;
    }

.application-form {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-note {
    max-width: 360px;
    margin: 13px auto 0;
    color: #858585;
    font-size: 0.77rem;
    line-height: 1.55;
    text-align: center;
}

/* CONTENT SECTIONS */

.content-section {
    padding: 88px 0;
    background: var(--bg);
}

.alternate-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

    .section-heading h2 {
        margin-bottom: 16px;
        font-size: clamp(2.1rem, 5vw, 3.5rem);
    }

    .section-heading p {
        margin-bottom: 0;
        color: var(--muted);
        font-size: 1.04rem;
    }

/* FEATURES */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    min-height: 250px;
    padding: 28px;
    background: #0c0c0c;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(214, 179, 74, 0.62);
        box-shadow: var(--shadow);
    }

    .feature-card > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-bottom: 22px;
        color: #080808;
        background: var(--gold);
        border-radius: 13px;
        font-weight: 900;
    }

    .feature-card h3 {
        margin-bottom: 12px;
        font-size: 1.28rem;
    }

    .feature-card p {
        margin: 0;
        color: var(--muted);
    }

/* WEEKS */

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.week-card {
    padding: 26px;
    background: #0b0b0b;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .week-card:hover {
        transform: translateY(-5px);
        border-color: rgba(214, 179, 74, 0.62);
        box-shadow: var(--shadow);
    }

    .week-card > span {
        display: inline-block;
        margin-bottom: 14px;
        color: var(--gold);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .week-card h3 {
        margin-bottom: 12px;
        font-size: 1.25rem;
    }

    .week-card p {
        margin: 0;
        color: var(--muted);
    }

/* FAQ */

.faq-list {
    max-width: 900px;
    margin-inline: auto;
}

.faq-item {
    margin-bottom: 16px;
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform var(--transition), border-color var(--transition);
}

    .faq-item:hover {
        transform: translateY(-3px);
        border-color: var(--gold);
    }

    .faq-item h3 {
        margin-bottom: 10px;
        color: var(--gold);
        font-size: 1.18rem;
    }

    .faq-item p {
        margin: 0;
        color: var(--muted);
    }

/* FINAL CTA */

.final-cta {
    max-width: 820px;
    margin: 58px auto 0;
    padding: 42px;
    text-align: center;
    background: linear-gradient( 145deg, rgba(214, 179, 74, 0.075), rgba(255, 255, 255, 0.012) ), var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

    .final-cta h2 {
        margin-bottom: 14px;
        font-size: clamp(2rem, 4vw, 3.1rem);
    }

    .final-cta p {
        max-width: 620px;
        margin: 0 auto 24px;
        color: var(--muted);
    }


/* =========================================================
   FOUR-WEEK JOURNEY TIMELINE
   ========================================================= */

.journey-section {
    padding: 100px 0;
    background: radial-gradient( circle at 50% 0%, rgba(214, 179, 74, 0.07), transparent 32% ), var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.journey-timeline {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
}

    .journey-timeline::before {
        content: "";
        position: absolute;
        top: 28px;
        bottom: 28px;
        left: 35px;
        width: 1px;
        background: linear-gradient( 180deg, transparent, var(--gold), transparent );
    }

.journey-step {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 28px;
    margin-bottom: 22px;
}

    .journey-step:last-child {
        margin-bottom: 0;
    }

.journey-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: #080808;
    background: var(--gold);
    border: 7px solid var(--surface);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 0 0 1px var(--border);
}

.journey-content {
    padding: 28px 30px;
    background: linear-gradient( 145deg, rgba(214, 179, 74, 0.045), rgba(255, 255, 255, 0.01) ), #0b0b0b;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .journey-content:hover {
        transform: translateX(6px);
        border-color: rgba(214, 179, 74, 0.65);
        box-shadow: var(--shadow);
    }

    .journey-content > span {
        display: inline-block;
        margin-bottom: 8px;
        color: var(--gold);
        font-size: 0.8rem;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .journey-content h3 {
        margin-bottom: 10px;
        font-size: 1.35rem;
    }

    .journey-content p {
        margin: 0;
        color: var(--muted);
    }

/* =========================================================
   PRIVACY PAGE
   ========================================================= */

.privacy-section {
    padding: 110px 0 90px;
    background: radial-gradient( circle at 50% 0%, rgba(214, 179, 74, 0.08), transparent 32% ), #060606;
}

.privacy-card {
    max-width: 920px;
    margin-inline: auto;
    padding: 50px;
    background: #101010;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

    .privacy-card h1 {
        margin-bottom: 20px;
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

.privacy-intro {
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.privacy-block {
    margin-bottom: 38px;
}

    .privacy-block h2 {
        margin-bottom: 14px;
        color: var(--gold);
        font-size: 1.4rem;
    }

    .privacy-block p,
    .privacy-block li {
        color: var(--muted);
        line-height: 1.9;
    }

    .privacy-block ul {
        margin: 15px 0 0;
    }

.privacy-email {
    color: var(--gold);
    font-weight: 700;
}

    .privacy-email:hover {
        color: var(--gold-light);
    }

.privacy-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

html[dir="rtl"] .privacy-card {
    text-align: right;
}

@media (max-width: 575.98px) {
    .privacy-section {
        padding: 80px 0 60px;
    }

    .privacy-card {
        padding: 30px 20px;
    }

    .privacy-footer {
        flex-direction: column;
    }
}

/* =========================================================
   PREMIUM THANK-YOU PAGE
   ========================================================= */

.thank-you-section {
    min-height: calc(100vh - 58px);
    display: flex;
    align-items: center;
    padding: 110px 0 80px;
    background: radial-gradient( circle at 50% 10%, rgba(214, 179, 74, 0.13), transparent 34% ), linear-gradient(180deg, #050505, #0a0a0a);
}

.thank-you-card {
    max-width: 900px;
    margin-inline: auto;
    padding: 58px;
    text-align: center;
    background: linear-gradient( 145deg, rgba(214, 179, 74, 0.07), rgba(255, 255, 255, 0.012) ), #101010;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.thank-you-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 26px;
    color: #080808;
    background: var(--gold);
    border-radius: 50%;
    font-size: 2.2rem;
    font-weight: 900;
    box-shadow: 0 18px 55px rgba(214, 179, 74, 0.2);
}

.thank-you-card h1 {
    max-width: 720px;
    margin: 0 auto 18px;
    font-size: clamp(2.5rem, 6vw, 4.3rem);
}

.thank-you-description {
    max-width: 690px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.thank-you-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.thank-you-step {
    padding: 24px 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 17px;
}

    .thank-you-step > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin-bottom: 18px;
        color: #080808;
        background: var(--gold);
        border-radius: 50%;
        font-size: 0.82rem;
        font-weight: 900;
    }

    .thank-you-step h2 {
        margin-bottom: 9px;
        font-size: 1.05rem;
    }

    .thank-you-step p {
        margin: 0;
        color: var(--muted);
        font-size: 0.88rem;
        line-height: 1.7;
    }

.thank-you-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.thank-you-note {
    margin: 22px 0 0;
    color: #7f7f7f;
    font-size: 0.82rem;
}

html[dir="rtl"] .thank-you-step {
    text-align: right;
}

@media (max-width: 767.98px) {
    .thank-you-card {
        padding: 40px 24px;
    }

    .thank-you-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .thank-you-section {
        padding: 82px 0 58px;
    }

    .thank-you-card {
        padding: 34px 18px;
        border-radius: 20px;
    }

    .thank-you-actions {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .journey-section {
        padding: 72px 0;
    }

    .journey-timeline::before {
        left: 25px;
    }

    .journey-step {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }

    .journey-number {
        width: 52px;
        height: 52px;
        border-width: 5px;
        font-size: 0.82rem;
    }

    .journey-content {
        padding: 22px 18px;
    }
}

/* ===========================================================
   WHY MASTERMIND
=========================================================== */

.why-section {
    padding: 100px 0;
    background: #050505;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.why-card {
    padding: 35px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: .30s;
}

    .why-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: var(--shadow);
    }

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    border-radius: 16px;
    background: rgba(214,179,74,.12);
}

.why-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.why-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

@media(max-width:992px) {

    .why-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:576px) {

    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.faq-section {
    padding: 100px 0;
    background: #060606;
}

.faq-accordion {
    max-width: 900px;
    margin-inline: auto;
}

    .faq-accordion .accordion-item {
        margin-bottom: 14px;
        overflow: hidden;
        background: #0f0f0f;
        border: 1px solid var(--border);
        border-radius: 16px;
    }

    .faq-accordion .accordion-button {
        padding: 22px 24px;
        color: var(--text);
        background: #0f0f0f;
        font-size: 1.05rem;
        font-weight: 800;
        box-shadow: none;
    }

        .faq-accordion .accordion-button:not(.collapsed) {
            color: var(--gold);
            background: rgba(214, 179, 74, 0.06);
        }

        .faq-accordion .accordion-button::after {
            filter: brightness(0) saturate(100%) invert(77%) sepia(58%) saturate(514%) hue-rotate(4deg) brightness(93%) contrast(89%);
        }

    .faq-accordion .accordion-body {
        padding: 0 24px 24px;
        color: var(--muted);
        line-height: 1.8;
    }

/* =========================================================
   FINAL CTA
   ========================================================= */

.closing-cta {
    padding: 0 0 100px;
    background: #060606;
}

.closing-cta-card {
    max-width: 900px;
    margin-inline: auto;
    padding: 56px 40px;
    text-align: center;
    background: radial-gradient( circle at 50% 0%, rgba(214, 179, 74, 0.13), transparent 40% ), #101010;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

    .closing-cta-card h2 {
        max-width: 720px;
        margin: 0 auto 16px;
        font-size: clamp(2.1rem, 5vw, 3.6rem);
    }

    .closing-cta-card p {
        max-width: 620px;
        margin: 0 auto 28px;
        color: var(--muted);
        font-size: 1.05rem;
    }

    .closing-cta-card .btn {
        min-width: 240px;
    }


/* =========================================================
   APPLICATION FORM LOADING BUTTON
   ========================================================= */

#submitApplicationButton {
    position: relative;
    overflow: hidden;
}

    #submitApplicationButton:disabled {
        cursor: wait;
        opacity: 0.85;
        transform: none;
    }

.submit-button-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(8, 8, 8, 0.28);
    border-top-color: #080808;
    border-radius: 50%;
    animation: submitSpinner 0.75s linear infinite;
}

@keyframes submitSpinner {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .submit-spinner {
        animation-duration: 1.5s;
    }
}

@media (max-width: 575.98px) {
    .faq-section {
        padding: 72px 0;
    }

    .faq-accordion .accordion-button {
        padding: 19px 18px;
        font-size: 0.98rem;
    }

    .faq-accordion .accordion-body {
        padding: 0 18px 20px;
    }

    .closing-cta {
        padding-bottom: 72px;
    }

    .closing-cta-card {
        padding: 38px 20px;
    }
}

/* =========================================================
   PREMIUM HERO POLISH
   ========================================================= */

.hero-status {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 11px;
    color: var(--gold-light);
    background: rgba(214, 179, 74, 0.1);
    border: 1px solid rgba(214, 179, 74, 0.3);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-background {
    position: relative;
}

    .hero-background::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient( circle at 58% 42%, rgba(214, 179, 74, 0.09), transparent 30% ), linear-gradient( 90deg, transparent 58%, rgba(0, 0, 0, 0.34) 100% );
    }

.application-card {
    backdrop-filter: blur(10px);
}

    .application-card h1 {
        max-width: 430px;
    }

.hero-benefits span {
    position: relative;
    padding-left: 2px;
}

.application-form .btn-primary {
    min-height: 50px;
    letter-spacing: 0.01em;
}

/* Premium Typography */

.hero h1,
.section-heading h2,
.mentor-content h2,
.why-card h3,
.journey-content h3,
.accordion-button,
.closing-cta h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: -.03em;
}

.hero h1 {
    line-height: 1.05;
    font-size: clamp(3rem,6vw,4.8rem);
}

.section-heading h2 {
    font-size: clamp(2.4rem,5vw,3.6rem);
}

.mentor-content h2 {
    font-size: 3.6rem;
}

.why-card h3 {
    font-size: 1.45rem;
}

.journey-content h3 {
    font-size: 1.55rem;
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .hero {
        grid-template-columns: minmax(0, 1.45fr) minmax(380px, 0.85fr);
    }

    .hero-background {
        background-position: 43% center;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-background {
        min-height: 600px;
        background-position: center;
    }

    .hero-form-side {
        padding: 38px 20px 54px;
        background: #050505;
    }

    .application-card {
        max-width: 680px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .weeks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .content-section {
        padding: 70px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .weeks-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .final-cta {
        padding: 32px 22px;
    }
}

@media (max-width: 575.98px) {
    .hero-background {
        min-height: 430px;
        background-position: center;
    }

    .hero-form-side {
        padding: 26px 14px 42px;
    }

    .application-card {
        padding: 24px 18px;
        border-radius: 17px;
    }

        .application-card h1 {
            font-size: 2.45rem;
        }
}
