/* ======================= Pioneers GZ ======================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&family=Playfair+Display:wght@600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', system-ui, sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', 'Tajawal', serif;
    letter-spacing: -.01em;
}

img {
    border-radius: 0;
    border: 0;
}


/* override base */


/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 1.25rem 0;
    border: 1px solid transparent;
    transition: background-color .4s cubic-bezier(.4, 0, .2, 1), backdrop-filter .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s cubic-bezier(.4, 0, .2, 1), padding .4s cubic-bezier(.4, 0, .2, 1), top .4s cubic-bezier(.4, 0, .2, 1), width .4s cubic-bezier(.4, 0, .2, 1), left .4s cubic-bezier(.4, 0, .2, 1), right .4s cubic-bezier(.4, 0, .2, 1), border-radius .4s cubic-bezier(.4, 0, .2, 1);
}

.header.scrolled {
    background-color: rgba(253, 252, 248, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(26, 23, 51, .08), 0 1px 3px rgba(26, 23, 51, .05);
    padding: .75rem 0;
    top: 1rem;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    left: 2.5%;
    right: 2.5%;
    border-radius: 18px;
    border: 1px solid rgba(201, 169, 106, .28);
    overflow: hidden;
}

.header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    direction: rtl;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(201, 169, 106, .1);
    opacity: 0;
    transition: opacity .3s ease;
    overflow: hidden;
}

.header.scrolled .progress-bar-container {
    opacity: 1;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    box-shadow: 0 0 10px rgba(201, 169, 106, .45);
}

.logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 1.35rem;
    padding: .25rem .5rem;
    border-radius: 12px;
    transition: font-size .3s ease;
}

.header.scrolled .logo {
    font-size: 1.2rem;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--gold);
    object-fit: cover;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo .logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.logo .logo-tag {
    font-size: .68rem;
    color: var(--gold-2);
    letter-spacing: .14em;
    font-weight: 700;
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    transition: gap .3s ease;
}

.header.scrolled .nav-menu ul {
    gap: 1.4rem;
}

.nav-menu a {
    color: var(--ink);
    font-weight: 600;
    font-size: .98rem;
    position: relative;
    padding: .35rem 0;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color .25s ease, font-size .3s ease;
}

.header.scrolled .nav-menu a {
    font-size: .93rem;
}

.nav-menu a i {
    color: var(--gold-2);
    transition: transform .25s ease;
    font-size: .9em;
}

.nav-menu a:hover {
    color: var(--gold-2);
}

.nav-menu a:hover i {
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: width .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}


/* Hamburger */

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--ink);
    position: absolute;
    left: 0;
    transition: all .3s ease-in-out;
    border-radius: 3px;
}

.hamburger .bar:nth-child(1) {
    top: 0;
}

.hamburger .bar:nth-child(2) {
    top: 10.5px;
}

.hamburger .bar:nth-child(3) {
    top: 21px;
}

.hamburger.active .bar:nth-child(1) {
    top: 10.5px;
    transform: rotate(45deg);
    background: var(--gold);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    top: 10.5px;
    transform: rotate(-45deg);
    background: var(--gold);
}


/* Mobile menu */

.mobile-menu {
    display: none;
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 92%;
    margin: 0 auto;
    max-height: 70vh;
    background: rgba(253, 252, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 997;
    transition: top .35s ease, opacity .25s ease;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(26, 23, 51, .15);
    border: 1px solid rgba(201, 169, 106, .25);
    overflow-y: auto;
    opacity: 0;
    will-change: top, opacity;
}

.mobile-menu.active {
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    gap: .65rem;
    margin: 0;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem 1.15rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, .85);
    color: var(--ink);
    border: 1px solid rgba(201, 169, 106, .15);
    text-decoration: none;
    transition: all .2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--grad-ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateX(-3px);
    box-shadow: 0 6px 18px rgba(26, 23, 51, .2);
}

.mobile-menu a i {
    color: var(--gold);
    transition: transform .2s ease;
}

.mobile-menu a:hover i,
.mobile-menu a.active i {
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: block;
    }
}


/* ===== Page spacing for fixed header ===== */

.page {
    padding-top: 8rem;
}

.container-x {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-tight {
    padding: 3.5rem 0;
}


/* ===== Hero ===== */

.hero {
    padding: 11rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-2);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    border: 1px solid rgba(201, 169, 106, .35);
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.12;
    font-weight: 800;
    margin: 1.2rem 0 1.1rem;
    color: var(--ink);
}

.hero h1 .acc {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 480px) {
    .hero-cta {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .hero-cta .btn {
        flex: 1;
        font-size: .82rem;
        padding: 10px 10px;
        text-align: center;
        justify-content: center;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-cta .student-login-btn {
        flex: 0 0 100%;
    }
}

.hero-stats {
    display: flex;
    gap: 2.2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats .stat strong {
    display: block;
    font-size: 1.9rem;
    font-family: 'Playfair Display';
    color: var(--ink);
}

.hero-stats .stat span {
    font-size: .9rem;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 460px;
    margin: 0 auto;
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-visual::before {
    width: 70%;
    height: 70%;
    background: rgba(201, 169, 106, .35);
    top: 0;
    right: 0;
}

.hero-visual::after {
    width: 60%;
    height: 60%;
    background: rgba(107, 95, 207, .25);
    bottom: 0;
    left: 0;
}

.hero-card {
    position: absolute;
    inset: 0;
    margin: auto;
    background: linear-gradient(135deg, #fff 0%, #faf5e8 100%);
    border: 1px solid rgba(201, 169, 106, .4);
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px rgba(26, 23, 51, .25);
    padding: 0;
    overflow: hidden;
    animation: floatY 6s ease-in-out infinite;
}

.hero-card .pill {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--grad-ink);
    color: #fff;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    z-index: 2;
}

.hero-card .crown {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
}

.hero-card .crown img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 28px;
}

.hero-card .crown i {
    filter: drop-shadow(0 8px 20px rgba(201, 169, 106, .4));
}

.hero-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}


/* ===== Headings ===== */

.sec-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.sec-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
    margin: .8rem 0;
}

.sec-head p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.divider-gold {
    display: inline-block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-gold);
}


/* ===== Features ===== */

.features {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: var(--grad-soft);
    transition: opacity .3s ease;
    z-index: 0;
}

.feature>* {
    position: relative;
    z-index: 1;
}

.feature:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px -20px rgba(201, 169, 106, .4);
}

.feature:hover::before {
    opacity: 1;
}

.feature .ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-gold);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow-gold);
}

.feature h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: .5rem;
}

.feature p {
    color: var(--ink-soft);
    font-size: .96rem;
    line-height: 1.7;
}


/* ===== Programs ===== */

.programs-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.program-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 24px 50px -20px rgba(26, 23, 51, .18);
}

.program-card.featured {
    background: var(--grad-ink);
    color: #fff;
    border-color: var(--gold);
}

.program-card.featured h3,
.program-card.featured .price strong,
.program-card.featured li {
    color: #fff;
}

.program-card.featured .price small {
    color: rgba(255, 255, 255, .7);
}

.program-card.featured .price .old {
    color: rgba(255, 255, 255, .55);
}

.program-card.featured .meta {
    color: rgba(255, 255, 255, .75);
    border-color: rgba(255, 255, 255, .15);
}

.program-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--grad-gold);
    color: #1a1733;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 6px 14px rgba(201, 169, 106, .4);
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: .25rem;
}

.program-card .sub {
    color: var(--gold-2);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
}

.program-card .meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: .85rem;
    color: var(--ink-soft);
    padding: .75rem 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
}

.program-card .meta i {
    color: var(--gold);
    margin-left: .35rem;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: .9rem 0;
}

.program-card ul li {
    padding: .35rem 0 .35rem 1.4rem;
    position: relative;
    font-size: .95rem;
}

.program-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--gold);
    font-size: .8rem;
    top: .55rem;
}

.program-card .price {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.25rem;
}

.program-card .price strong {
    font-size: 2rem;
    font-family: 'Playfair Display';
    color: var(--ink);
}

.program-card .price small {
    color: var(--ink-soft);
    font-size: .9rem;
}

.program-card .price .old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 1rem;
}

.program-card .actions {
    margin-top: auto;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.program-card .actions .btn {
    flex: 1;
}


/* ===== Quiz CTA Card ===== */

.quiz-cta {
    background: var(--grad-ink);
    color: #fff;
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.quiz-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 106, .4), transparent 70%);
    top: -100px;
    left: -80px;
}

.quiz-cta::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 95, 207, .35), transparent 70%);
    bottom: -80px;
    right: -60px;
}

.quiz-cta>* {
    position: relative;
    z-index: 1;
}

.quiz-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: .85rem;
}

.quiz-cta p {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 1.5rem;
}

.quiz-cta .badge-gold {
    display: inline-block;
    background: var(--grad-gold);
    color: #1a1733;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.quiz-cta .quiz-illust {
    aspect-ratio: 1/1;
    max-width: 260px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .08);
    border-radius: 28px;
    border: 1px solid rgba(201, 169, 106, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 6rem;
    backdrop-filter: blur(6px);
}

@media (max-width: 800px) {
    .quiz-cta {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    .quiz-cta .quiz-illust {
        display: none;
    }
}


/* ===== Steps ===== */

.steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 2rem;
}

.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem;
    position: relative;
    transition: all .3s ease;
}

.step:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.step .n {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-gold);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display';
    font-size: 1.1rem;
    margin-bottom: .85rem;
}

.step h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: .35rem;
    color: var(--ink);
}

.step p {
    font-size: .92rem;
    color: var(--ink-soft);
}


/* ===== Forms ===== */

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    max-width: 760px;
}

.form-card:not(#contactForm) {
    margin-inline: auto;
}

.form-row {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

.form-field label {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .5rem;
    font-size: .92rem;
}

.form-field label .req {
    color: var(--danger);
    margin-right: 3px;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: .9rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink);
    font-size: 1rem;
    font-family: inherit;
    transition: all .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 106, .15);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-hint {
    font-size: .82rem;
    color: var(--muted);
    margin-top: .35rem;
}

.form-error {
    color: var(--danger);
    font-size: .85rem;
    margin-top: .3rem;
}


/* ===== Quiz page ===== */

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.quiz-bar {
    height: 8px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
}

.quiz-bar>div {
    height: 100%;
    background: var(--grad-gold);
    width: 0%;
    transition: width .4s ease;
    border-radius: 999px;
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 2px solid var(--line);
    cursor: pointer;
    transition: all .2s ease;
    font-weight: 600;
    color: var(--ink-soft);
}

.quiz-option:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--ink);
}

.quiz-option .dot {
    width: 22px;
    height: 22px;
    border: 2px solid var(--line);
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.quiz-option.selected {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--ink);
}

.quiz-option.selected .dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: inset 0 0 0 3px #fff;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 2rem;
}

.quiz-result {
    text-align: center;
    padding: 2rem 1rem;
}

.quiz-result .score-ring {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: conic-gradient(var(--gold) var(--p, 0%), var(--surface-2) 0);
}

.quiz-result .score-ring::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: #fff;
}

.quiz-result .score-ring span {
    position: relative;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: 'Playfair Display';
    color: var(--ink);
}

.quiz-result h2 {
    font-size: 1.8rem;
    margin-bottom: .5rem;
}

.quiz-result .verdict {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    margin: .75rem 0;
}

.quiz-result .verdict.excellent {
    background: var(--success-soft);
    color: var(--success);
}

.quiz-result .verdict.good {
    background: var(--info-soft);
    color: var(--info);
}

.quiz-result .verdict.weak {
    background: var(--warning-soft);
    color: var(--warning);
}

.quiz-result .motivation {
    background: var(--grad-soft);
    border: 1px solid var(--gold);
    border-radius: 18px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 560px;
    text-align: right;
}

.quiz-result .motivation h4 {
    color: var(--gold-2);
    margin-bottom: .5rem;
}

.quiz-result .actions {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}


/* ===== Bank info / subscribe ===== */

.bank-card {
    background: linear-gradient(135deg, #1a1733 0%, #2d2856 100%);
    color: #fff;
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(201, 169, 106, .4);
    box-shadow: 0 20px 40px -20px rgba(26, 23, 51, .4);
}

.bank-card h3 {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .15);
    align-items: center;
}

.bank-row:last-child {
    border-bottom: 0;
}

.bank-row .k {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
}

.bank-row .v {
    font-weight: 700;
    font-family: monospace;
    direction: ltr;
    text-align: left;
}

.bank-row button.copy {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(201, 169, 106, .3);
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: .8rem;
    transition: all .2s ease;
}

.bank-row button.copy:hover {
    background: var(--gold);
    color: #1a1733;
    border-color: var(--gold);
}

.upload-zone {
    border: 2px dashed var(--line);
    border-radius: 14px;
    padding: 1.6rem;
    text-align: center;
    background: var(--bg-soft);
    cursor: pointer;
    transition: all .25s ease;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--gold);
    background: var(--gold-soft);
}

.upload-zone i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: .5rem;
}

.upload-zone .preview {
    max-width: 240px;
    max-height: 200px;
    margin: .8rem auto 0;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: none;
}

.upload-zone.has-file .preview {
    display: block;
}


/* ===== Footer ===== */

.site-footer {
    background: linear-gradient(180deg, #16142a 0%, #0d0b1d 100%);
    color: #e8e6f0;
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 90% 0%, rgba(201, 169, 106, .16), transparent 50%), radial-gradient(circle at 5% 100%, rgba(107, 95, 207, .12), transparent 50%);
}

.site-footer .container-x {
    position: relative;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--gold);
}

.footer-brand .ft-name {
    font-family: 'Playfair Display';
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand .ft-tag {
    font-size: .72rem;
    color: var(--gold);
    letter-spacing: .14em;
}

.site-footer p.about {
    color: #c9c6d8;
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.site-footer h4 {
    color: #fff;
    font-family: 'Playfair Display';
    margin-bottom: 1.1rem;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: .65rem;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    padding: .35rem 0;
}

.site-footer a {
    color: #c9c6d8;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .45rem 0;
    color: #c9c6d8;
}

.contact-line i {
    color: var(--gold);
    margin-top: .25rem;
}

.socials {
    display: flex;
    gap: .6rem;
    margin-top: 1.1rem;
}

.soc {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(201, 169, 106, .2);
    color: #c9c6d8;
    transition: all .25s ease;
}

.soc:hover {
    background: var(--gold);
    color: #1a1733;
    transform: translateY(-3px);
    border-color: var(--gold);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: #a09cb3;
}

.footer-bottom .right a {
    color: var(--gold);
}


/* WhatsApp floating button */

.wa-float {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 998;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
    text-decoration: none;
    transition: all .25s ease;
}

.wa-float:hover {
    transform: scale(1.08);
}

.wa-float::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(.9);
        opacity: .9;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}


/* Reveal animation */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Toast */

.toast {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--ink);
    color: #fff;
    padding: .85rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
    z-index: 9999;
    opacity: 0;
    transition: all .3s ease;
    font-weight: 600;
    border: 1px solid var(--gold);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--success);
    border-color: var(--success);
}

.toast.error {
    background: var(--danger);
    border-color: var(--danger);
}


/* About blocks */

.about-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-img-card {
    aspect-ratio: 4/5;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--gold-soft), #fff);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-2);
    font-size: 8rem;
    box-shadow: 0 30px 60px -25px rgba(26, 23, 51, .2);
}

.vm-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

.vm-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.75rem;
}

.vm-card .ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--grad-gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vm-card h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.vm-card p {
    color: var(--ink-soft);
}


/* Policies */

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h3 {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 1rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid var(--gold-soft);
}

.policy-section h3 i {
    color: var(--gold);
}

.policy-section ul {
    padding-right: 1.25rem;
}

.policy-section li {
    margin-bottom: .65rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.policy-section p {
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: .75rem;
}


/* Contact */

.contact-grid {
    display: grid;
    gap: 2rem;
    /* grid-template-columns: 1fr 1.4fr; */
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: var(--grad-ink);
    color: #fff;
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(201, 169, 106, .3);
}

.contact-info-card h3 {
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.contact-info-card .contact-line {
    color: #e8e6f0;
    padding: .85rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.contact-info-card .contact-line:last-child {
    border-bottom: 0;
}

.map-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    height: 360px;
    margin-top: 2rem;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ===== Admin ===== */

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

@media (max-width: 900px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-side {
        position: sticky;
        top: 0;
        z-index: 50;
    }
}

.admin-side {
    background: var(--grad-ink);
    color: #fff;
    padding: 2rem 1.25rem;
    border-left: 1px solid rgba(201, 169, 106, .2);
}

.admin-side .brand-mini {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 2rem;
}

.admin-side .brand-mini img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gold);
}

.admin-side .brand-mini b {
    font-family: 'Playfair Display';
    font-size: 1.15rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    color: #c9c6d8;
    text-decoration: none;
    font-weight: 600;
    transition: all .2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(201, 169, 106, .18);
    color: var(--gold);
}

.admin-nav a i {
    width: 20px;
    text-align: center;
}

.admin-main {
    padding: 2rem;
    background: var(--bg);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 1.6rem;
    font-family: 'Playfair Display';
}

.stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.stat-card .ico {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-card .label {
    color: var(--ink-soft);
    font-size: .9rem;
    font-weight: 600;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-family: 'Playfair Display';
    color: var(--ink);
    margin-top: .25rem;
}

.data-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.data-card .head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.data-card .head h2 {
    font-size: 1.15rem;
    font-family: 'Playfair Display';
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: .9rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--line-soft);
}

.data-table th {
    background: var(--surface-2);
    font-weight: 800;
    color: var(--ink);
    font-size: .9rem;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table tr:hover td {
    background: var(--bg-soft);
}

.empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--muted);
}

.empty i {
    font-size: 3rem;
    color: var(--gold);
    opacity: .5;
    display: block;
    margin-bottom: .75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.chip.pending {
    background: var(--warning-soft);
    color: var(--warning);
}

.chip.approved {
    background: var(--success-soft);
    color: var(--success);
}

.chip.rejected {
    background: var(--danger-soft);
    color: var(--danger);
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--line);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: all .2s ease;
}

.icon-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.icon-btn.danger:hover {
    background: var(--danger);
    border-color: var(--danger);
}


/* Modal */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 23, 51, .55);
    backdrop-filter: blur(4px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .25s ease;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: var(--surface);
    border-radius: 22px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .3);
    border: 1px solid var(--gold);
}

.modal-head {
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-head h3 {
    font-family: 'Playfair Display';
    font-size: 1.3rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-foot {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
}


/* Tabs (subscribe) */

.tabs {
    display: inline-flex;
    background: var(--surface-2);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.tabs button {
    padding: .55rem 1.2rem;
    border-radius: 9px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--ink-soft);
}

.tabs button.active {
    background: var(--ink);
    color: #fff;
}


/* ===== Hero Logo Fix ===== */

.hero-logo-wrap {
    visibility: hidden;
}

.hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 460px;
    margin: 0 auto;
}


/* ===== Page Hero (About / Programs) ===== */

.page-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(201, 169, 106, .18), transparent 55%), radial-gradient(circle at 10% 80%, rgba(107, 95, 207, .12), transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--ink);
    margin: 1.2rem 0 1.1rem;
}

.page-hero-content h1 .acc {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero-content .lead {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 56ch;
    line-height: 1.8;
}


/* ===== About page extras ===== */

.vm-grid-3 {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .vm-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .vm-grid-3 {
        grid-template-columns: 1fr;
    }
}

.about-stats-section {
    padding: 5rem 0;
}

.about-stats-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

.about-stat-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(201, 169, 106, .25);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s ease;
}

.about-stat-card:hover {
    background: rgba(201, 169, 106, .12);
    transform: translateY(-4px);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--grad-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-gold);
}

.about-stat-card strong {
    display: block;
    font-size: 2.4rem;
    font-family: 'Playfair Display';
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: .4rem;
}

.about-stat-card span {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
}

.about-cta-card {
    background: var(--grad-ink);
    color: #fff;
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 106, .3);
}

.about-cta-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 106, .3), transparent 70%);
    top: -100px;
    left: -80px;
}

.about-cta-card>* {
    position: relative;
    z-index: 1;
}

.about-cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: .75rem;
}

.about-cta-card p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
}

.about-cta-illust {
    aspect-ratio: 1/1;
    max-width: 200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .08);
    border-radius: 24px;
    border: 1px solid rgba(201, 169, 106, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 5rem;
}

@media (max-width: 800px) {
    .about-cta-card {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
    }
    .about-cta-illust {
        display: none;
    }
}


/* ===== subscribe page extras ===== */

.subscribe-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
}

@media (max-width: 980px) {
    .subscribe-grid {
        grid-template-columns: 1fr;
    }
}

.subscribe-note {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: var(--gold-soft);
    border: 1px solid rgba(201, 169, 106, .4);
    border-radius: 14px;
    font-size: .92rem;
    color: var(--ink);
    line-height: 1.7;
}

.subscribe-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}


/* Fix upload-zone preview visibility */

.upload-zone.has-file .preview {
    display: block;
}


/* ===== Nav links for new pages ===== */

.nav-menu a[data-nav="about"].active::after,
.nav-menu a[data-nav="programs"].active::after,
.nav-menu a[data-nav="policies"].active::after,
.nav-menu a[data-nav="contact"].active::after,
.nav-menu a[data-nav="home"].active::after {
    width: 100%;
}