﻿
:root {
    --bg: #060606;
    --gold-1: #d4af37;
    --gold-2: #f0d27a;
    --muted: #c7c0a2;
    --glass: rgba(255, 255, 255, 0.05);
    --pulse-glow: rgba(212, 175, 55, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.45;
}

.bg-wrap {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.9;
    mix-blend-mode: screen
}

.g1 {
    width: 70vmax;
    height: 70vmax;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.18), transparent 40%);
    top: -25%;
    right: -30%;
    animation: mv1 20s linear infinite;
}

.g2 {
    width: 50vmax;
    height: 50vmax;
    background: radial-gradient(circle at 70% 70%, rgba(240, 210, 122, 0.1), transparent 40%);
    bottom: -25%;
    left: -25%;
    animation: mv2 26s linear infinite;
}

@keyframes mv1 {
    0%, 100% {
        transform: none
    }

    50% {
        transform: translate(-4%, -2%)
    }
}

@keyframes mv2 {
    0%, 100% {
        transform: none
    }

    50% {
        transform: translate(4%, 3%)
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 40;
}

    header.scrolled {
        background: rgba(0, 0, 0, 0.7)
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--gold-2)
}

    .logo .icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        font-size: 26px;
        font-weight: 900;
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25), inset 0 -5px 10px rgba(0, 0, 0, 0.3);
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

    .header-actions a {
        text-decoration: none;
        color: var(--muted);
        padding: 8px 16px;
        border: 1px solid var(--glass);
        border-radius: 10px;
        font-weight: 600;
        transition: 0.18s;
    }

        .header-actions a:hover {
            color: var(--gold-2);
            border-color: rgba(212, 175, 55, 0.2)
        }

.hero {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6vh 20px 10px 20px;
}

    .hero h1 {
        font-size: 56px;
        background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 900;
        letter-spacing: 1px;
        margin-bottom: 8px;
        text-shadow: 0 0 60px rgba(212, 175, 55, 0.06);
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 1s ease, transform 1s ease;
    }

.title-pulse {
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.2), 0 0 40px rgba(212, 175, 55, 0.08);
}

.hero p {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 20px auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease 0.15s, transform 1s ease 0.15s;
}

.hero .actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0
}

.btn {
    padding: 11px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(240, 210, 122, 0.04));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .22s ease;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
        border-color: rgba(212, 175, 55, 0.28);
        color: var(--gold-2)
    }

.plans-section {
    padding: 28px 16px 64px 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s ease;
}

    .plans-section.show {
        opacity: 1;
        transform: translateY(0)
    }

    .plans-section h2 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 20px;
        background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan {
    flex: 1 1 180px;
    min-width: 170px;
    border-radius: 14px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.28s ease;
    text-align: center;
}

    .plan:hover {
        border-color: rgba(212, 175, 55, 0.28);
        transform: translateY(-6px);
        box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6);
    }

    .plan h3 {
        font-weight: 800;
        margin-bottom: 8px;
        color: var(--gold-2);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 18px;
    }

    .plan p {
        color: var(--muted);
        font-size: 14px;
        margin-bottom: 6px;
    }

    .plan span {
        display: block;
        color: var(--gold-1);
        font-weight: 700;
        margin-top: 6px;
        font-size: 14px;
    }

.testimonials {
    padding: 54px 12px;
    text-align: center
}

    .testimonials h2 {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 20px;
        background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.testi-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto
}

.testi {
    flex: 1 1 260px;
    min-width: 220px;
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.28s;
}

    .testi:hover {
        border-color: rgba(212, 175, 55, 0.24);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55)
    }

    .testi img {
        width: 62px;
        height: 62px;
        border-radius: 50%;
        margin-bottom: 10px;
        border: 2px solid rgba(212, 175, 55, 0.28)
    }

    .testi p {
        color: var(--muted);
        font-style: italic;
        margin-bottom: 8px;
        font-size: 14px
    }

    .testi .name {
        font-weight: 700;
        color: var(--gold-2);
        margin-bottom: 4px
    }

.stars {
    color: var(--gold-1);
    font-size: 16px
}

section.std {
    padding: 54px 18px;
    max-width: 950px;
    margin: 0 auto;
    text-align: center
}

    section.std h2 {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 12px;
        background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

    section.std p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.8
    }

#scrollTopBtn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.22);
    border: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .36s ease, transform .36s ease;
}

    #scrollTopBtn.show {
        opacity: 1;
        transform: translateY(0)
    }

    #scrollTopBtn svg {
        width: 20px;
        height: 20px;
        fill: #000;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    }

@media(max-width:900px) {
    .hero h1 {
        font-size: 42px
    }

    .plan {
        min-width: 150px
    }

    .testi {
        min-width: 200px
    }

    header {
        padding: 12px 18px
    }
}

@media(max-width:520px) {
    .hero h1 {
        font-size: 34px
    }

    .plans {
        gap: 12px
    }

    .plans-section {
        padding-top: 18px
    }

    .testi-grid {
        gap: 12px
    }
}

/* =========================
   POPUP STYLES
   ========================= */

#popupOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

    #popupOverlay.show {
        opacity: 1;
        pointer-events: all;
    }

#popupCard {
    width: 92%;
    max-width: 720px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.55));
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
    padding: 26px;
    color: #fff;
    transform: translateY(10px) scale(0.98);
    transition: transform .45s cubic-bezier(.2, .9, .2, 1), opacity .4s ease;
    max-height: 86vh;
    overflow: auto;
}

#popupOverlay.show #popupCard {
    transform: translateY(0) scale(1);
}

#popupCloseBtn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: var(--gold-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    z-index: 4;
}

    #popupCloseBtn:hover {
        background: rgba(212, 175, 55, 0.12)
    }

.popup-heading {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-subtitle {
    color: var(--gold-2);
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 6px;
}

.popup-body {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px
}

.popup-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.06), rgba(255, 255, 255, 0.02));
    margin: 16px 0;
    border-radius: 2px
}

@media(max-width:520px) {
    #popupCard {
        padding: 18px;
        border-radius: 12px
    }

    #popupCloseBtn {
        width: 36px;
        height: 36px;
        top: 10px;
        left: 10px
    }
}



/*style@@@@@@@222222
start here*/



#splash-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9998;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
    backdrop-filter: blur(14px);
}

#splash-screen.hidden {
    opacity: 0;
    transform: translateY(-30px);
}

.splash-logo {
    font-size: 160px;
    font-weight: 900;
    color: var(--gold-1);
    text-shadow: 0 0 40px var(--gold-1), 0 0 100px rgba(212, 175, 55, 0.6);
    animation: glowPulse 2s infinite ease-in-out;
    opacity: 0;
    transform: translateY(30px);
    animation: logoIn 1s ease forwards, glowPulse 2s infinite ease-in-out 1s;
}

.splash-name {
    font-size: 48px;
    font-weight: 900;
    margin-top: 8px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

.splash-welcome {
    font-size: 26px;
    font-weight: 800;
    margin-top: 16px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
    animation-delay: 2.2s;
}

@keyframes logoIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 35px var(--gold-1), 0 0 90px rgba(212, 175, 55, 0.5);
    }

    50% {
        text-shadow: 0 0 60px var(--gold-2), 0 0 140px rgba(240, 210, 122, 0.9);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

