body {
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
}
.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    z-index: 50;
    border-bottom: 1px solid rgba(11,43,45,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.brand {
    font-weight: 700;
    color: var(--text);
}

.nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

    .nav a {
        color: rgba(11,43,45,0.85);
        text-decoration: none;
        padding: .4rem .6rem;
        border-radius: 8px;
    }

    .nav .btn-ghost {
        background: var(--accent);
        color: #fff;
        padding: .4rem .8rem;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
    }

    .nav .profile {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        gap: 8px;
        background-color: #ffffff;
        padding: 6px 10px;
        border-radius: 20px;
        cursor: pointer;
        position: relative;
        min-width: 125px;
        box-shadow: var(--shadow);
    }

        .nav .profile img {
            width: 37px;
            border-radius: 50%;
        }

/* Hero */
.hero {
    padding: 4rem 0 6rem;
    position: relative;
}

.hero-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-wrap {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
}

.logo-card {
    width: 320px;
    height: 320px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-card img {
        max-width: 80%;
        max-height: 80%;
        display: block;
        border-radius: 8px;
    }

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 560px;
    text-align: center;
}

    .hero-text h1 {
        font-size: 2.1rem;
        margin: 0 0 .5rem;
        color: var(--text);
    }

.lead {
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    padding: .7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.btn-light {
    background: rgba(11,43,45,0.04);
    padding: .6rem 1rem;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
}

/* section */
.secSpec {
    background: linear-gradient(131deg, rgba(255, 236, 204, 1) 0%, rgb(235 249 255) 48%, rgba(255, 236, 204, 1) 100%);
}

.secOdd {
    background-color: #f8fbfc;
}

/* stats */
.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 4rem 0;
    list-style: none;
    padding: 0;
}

    .stats li {
        background: var(--card);
        padding: 1.5rem 1rem;
        border-radius: 12px;
        text-align: center;
        min-width: 140px;
        width: 20%;
        box-shadow: var(--shadow);
    }

    .stats strong {
        display: block;
        font-size: 1.5rem;
        color: var(--accent);
    }

/* Sections */
.section-title {
    font-size: 1.6rem;
    text-align: center;
    margin: 2rem 0 .5rem;
    color: var(--text);
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem;
}

    .card-body h3 {
        margin: 0 0 .4rem;
        color: var(--text);
    }

    .card-body p {
        margin: 0;
        color: var(--muted);
        font-size: .9rem;
    }

/* special box */
.special {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
}

.special-box {
    background: var(--accent-gradient);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

/* wallet */
.wallet-card {
    max-width: 620px;
    margin: 1rem auto;
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.wallet-header {
    background: var(--accent-gradient);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 1.5rem;
}

    .wallet-header .title {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 15px;
    }

        .wallet-header .title .icon {
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            background: rgba(255,255,255,0.6);
            box-shadow: 0 4px 20px rgba(11,43,45,0.06);
            backdrop-filter: blur(4px);
        }

        .wallet-header .title span {
            font-size: 1.2rem;
            font-weight: 600;
            line-height: normal;
        }

    .wallet-header .text {
        font-size: 1rem;
        font-weight: 500;
        line-height: normal;
        text-align: justify;
        color: #ffffffbf;
    }

.wallet-body .title {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.wallet-body .offers {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

    .wallet-body .offers .item {
        background-color: color-mix(in oklab, #ffffff 95%, transparent);
        padding: 10px 20px;
        border: 1px solid #c9a87033;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 400;
        width: calc(50% - 8px);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .wallet-body .offers .item:before {
            content: '';
            display: block;
            padding: 5px;
            border-radius: 50%;
            background-color: var(--accent);
        }

.wallet-footer {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(11,43,45,0.04);
}

    .wallet-footer .title {
        color: var(--accent);
        font-weight: 500;
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .wallet-footer .pay {
        text-decoration: none;
        color: #fff;
        background: var(--accent-gradient);
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 15px;
        border-radius: 10px;
        justify-content: center;
        box-shadow: 0 0 30px 0 rgba(199,138,74,0.18);
        font-size: 1rem;
        font-weight: 800;
    }

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.contact-box {
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--accent);
}

    .contact-box a,
    .contact-box p {
        text-decoration: none;
        color: var(--muted);
    }

/* footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: #ffffff !important;
    margin-top: 2rem;
    background: #0c3748;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: all .6s cubic-bezier(.2,.9,.2,1);
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive */
@media (max-width:1024px) {
    .cards-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .logo-card {
        width: 260px;
        height: 260px;
    }
}

@media (max-width:700px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        gap: .5rem;
    }

    .nav > a {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .logo-card {
        width: 220px;
        height: 220px;
    }

    .wallet-body .offers .item {
        width: 100%;
    }
}

/* compact hero variant */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 20px;
}

    .hero .logo {
        width: 150px;
        border-radius: 50%;
    }

    .hero h1 {
        color: var(--accent);
        margin: 0;
        font-size: 1.7rem;
        font-weight: 700;
    }

    .hero h3 {
        color: var(--muted);
        margin: 0;
        font-size: 1.2rem;
    }

.frm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formItem {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .formItem label {
        color: var(--muted);
        font-size: 0.95rem;
        font-weight: 500;
    }

    .formItem.invalid {
        color: #d45b5b;
    }

        .formItem.invalid input,
        .formItem.invalid select,
        .formItem.invalid textarea {
            border-color: #fb5555a8;
        }

        .formItem.invalid .validError {
            font-size: 0.7rem;
            line-height: 0.7rem;
        }

/* Dashboard user card (light variant) */
.dashboard-card {
    padding: 1rem;
    border-radius: 12px;
    background: var(--card);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    direction: rtl;
}

.dashboard-card-inner {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.avatar-wrap {
    position: relative;
    flex: 0 0 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(11,43,45,0.04);
    box-shadow: 0 6px 18px rgba(11,43,45,0.06);
    background: linear-gradient(180deg,#fff8f0,#fff7f0);
}

.status-dot {
    position: absolute;
    left: 10px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--card);
    box-shadow: 0 2px 8px rgba(11,43,45,0.06);
}

    .status-dot.status-active {
        background: #2ea86a;
    }

    .status-dot.status-inactive {
        background: #e05b5b;
    }

.user-meta {
    flex: 1;
    min-width: 0;
}

.user-name {
    margin: 0;
    font-size: 1.05rem;
    color: var(--accent);
}

.user-sub {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.user-stats {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

    .user-stats .stat {
        background: rgba(11,43,45,0.02);
        padding: 0.45rem 0.75rem;
        border-radius: 8px;
        min-width: 160px;
    }

.stat-title {
    color: var(--muted);
    font-size: 0.75rem;
}

.stat-value {
    color: var(--text);
    font-weight: 600;
    margin-top: 4px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

    .status-badge.status-active {
        background: rgba(46,168,106,0.08);
        color: #2ea86a;
    }

    .status-badge.status-inactive {
        background: rgba(224,91,91,0.06);
        color: #e05b5b;
    }

.card-actions {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.inline-form {
    display: inline-block;
    margin: 0;
}
