:root {
    --dsf-black: #070707;
    --dsf-black-2: #101010;
    --dsf-black-3: #181818;
    --dsf-white: #ffffff;
    --dsf-text: #111111;
    --dsf-text-soft: #6b7280;
    --dsf-border: #d9dde3;
    --dsf-bg: #f3f4f6;
    --dsf-bg-2: #eceef1;
    --dsf-card: #f7f7f8;
    --dsf-card-2: #ffffff;
    --dsf-success-bg: #ecfdf3;
    --dsf-success-border: #b7ebc6;
    --dsf-success-text: #17603a;
    --dsf-danger-bg: #fff1f2;
    --dsf-danger-border: #fecdd3;
    --dsf-danger-text: #9f1239;
    --dsf-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --dsf-shadow-md: 0 10px 24px rgba(0, 0, 0, 0.12);
    --dsf-radius-xl: 28px;
    --dsf-radius-lg: 20px;
    --dsf-radius-md: 16px;
    --dsf-radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Archivo', sans-serif;
    color: var(--dsf-text);
    background: #f3f4f6;
}

/* =========================
   FROSTED BLACK HEADER
========================= */

.site-header {
    background: rgba(8, 8, 8, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition:
        background .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        backdrop-filter .28s ease;
}

.site-header.header-scrolled {
    background: rgba(6, 6, 6, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 14px 42px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

/* =========================
   DESKTOP HEADER NAV
========================= */

.desktop-header-right {
    display: none;
}

@media (min-width: 768px) {
    .desktop-header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

.desktop-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.desktop-header-nav a {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    transition: all .24s ease;
}

.desktop-header-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.desktop-header-nav a.active {
    background: rgba(255, 255, 255, 0.96);
    color: #000;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.desktop-header-nav a.cta-link {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.desktop-header-nav a.cta-link:hover {
    background: #fff;
    color: #000;
}

/* =========================
   ACCOUNT DROPDOWN
========================= */

.account-box {
    position: relative;
}

.account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .22s ease;
    cursor: pointer;
}

.account-trigger:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    transform: translateY(-1px);
}

.account-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-label {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #ececf3;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s ease;
    z-index: 1200;
}

.account-box:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 14px;
    transition: all .2s ease;
}

.account-dropdown-item:hover {
    background: #f3f4f6;
    color: #000;
}

.account-dropdown-item.logout-item:hover {
    background: #fff1f2;
    color: #e11d48;
}

.account-divider {
    height: 1px;
    background: #ececf3;
    margin: 6px 0;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
    background: transparent;
}

.hero-box {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-box h1 {
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-box p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* =========================
   MAIN CARD
========================= */

.main-card {
    border: 0;
    border-radius: var(--dsf-radius-xl);
    background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
    box-shadow: var(--dsf-shadow-lg);
    overflow: hidden;
}

.main-card .card-body {
    padding: 1.5rem;
}

@media (min-width: 992px) {
    .main-card .card-body {
        padding: 2.5rem;
    }
}

.section-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #dddddf;
    color: #111;
}

/* =========================
   REGISTER TABS
========================= */

.register-tabs-wrap {
    margin-bottom: 1.5rem;
}

.register-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.register-tab {
    min-height: 58px;
    border: 1px solid #d8dbe1;
    border-radius: 18px;
    padding: 0 16px;
    font-weight: 800;
    font-size: 16px;
    background: #e7e7ea;
    color: #111;
    width: 100%;
    transition: all .22s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.register-tab:hover {
    background: #dcdde1;
    transform: translateY(-1px);
}

.register-tab.active {
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    color: #fff;
    border-color: #000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

@media (max-width: 991.98px) {
    .register-tabs {
        gap: 10px;
    }

    .register-tab {
        min-height: 52px;
        border-radius: 14px;
        padding: 0 10px;
        font-size: 14px;
        line-height: 1.1;
    }
}

/* =========================
   FORM ELEMENTS
========================= */

.form-control,
.form-select {
    border-radius: 16px;
    min-height: 52px;
    border: 1px solid #d8dbe1;
    background: #fff;
    color: #111;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: none;
}

textarea.form-control {
    min-height: 120px;
    padding-top: .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 .18rem rgba(0, 0, 0, 0.08);
}

.option-pill {
    border: 1px solid #d8dbe1;
    background: #fff;
    border-radius: 999px;
    padding: .75rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-card {
    border: 1px solid #d8dbe1;
    background: #fff;
    border-radius: 16px;
    padding: .95rem 1rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 600;
    height: 100%;
}

/* =========================
   ALERTS
========================= */

.alert-soft-success {
    background: var(--dsf-success-bg);
    border: 1px solid var(--dsf-success-border);
    color: var(--dsf-success-text);
    border-radius: 1rem;
}

.alert-soft-danger {
    background: var(--dsf-danger-bg);
    border: 1px solid var(--dsf-danger-border);
    color: var(--dsf-danger-text);
    border-radius: 1rem;
}

/* =========================
   BUTTONS
========================= */

.submit-btn {
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 1rem 1.5rem;
    font-weight: 800;
    width: 100%;
    transition: all .2s ease;
    box-shadow: var(--dsf-shadow-md);
}

.submit-btn:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-1px);
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100vh;
    z-index: 1101;
    background: linear-gradient(180deg, #101010 0%, #050505 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1);
    padding: 88px 18px 28px;
    overflow-y: auto;
}

.mobile-menu-panel.show {
    transform: translateX(0);
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-logo {
    height: 36px;
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.mobile-menu-title {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
    padding-left: 6px;
    font-weight: 800;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 18px;
    font-weight: 700;
    transform: translateY(16px);
    opacity: 0;
    transition: transform .45s ease, opacity .45s ease, background .2s ease;
}

.mobile-menu-panel.show .mobile-nav-item {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-panel.show .mobile-nav-item:nth-child(1) { transition-delay: .06s; }
.mobile-menu-panel.show .mobile-nav-item:nth-child(2) { transition-delay: .11s; }
.mobile-menu-panel.show .mobile-nav-item:nth-child(3) { transition-delay: .16s; }
.mobile-menu-panel.show .mobile-nav-item:nth-child(4) { transition-delay: .21s; }
.mobile-menu-panel.show .mobile-nav-item:nth-child(5) { transition-delay: .26s; }

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: #fff;
    color: #000;
}

.mobile-nav-arrow {
    font-size: 18px;
    line-height: 1;
    opacity: .75;
}

.mobile-menu-cta {
    margin-top: 18px;
    display: block;
    text-decoration: none;
    background: #fff;
    color: #000;
    border-radius: 18px;
    padding: 16px 18px;
    font-weight: 800;
    text-align: center;
    transform: translateY(16px);
    opacity: 0;
    transition: transform .45s ease, opacity .45s ease, background .2s ease;
}

.mobile-menu-panel.show .mobile-menu-cta {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .36s;
}

.mobile-menu-cta:hover {
    background: #ededed;
    color: #000;
}

body.menu-lock {
    overflow: hidden;
}

.mobile-menu-modern-btn {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .28s ease;
}

.mobile-menu-modern-btn:hover {
    transform: translateY(-1px) scale(1.02);
    background: rgba(255, 255, 255, 0.10);
}

.mobile-menu-modern-btn:focus {
    outline: none;
}

.menu-lines {
    position: relative;
    width: 24px;
    height: 18px;
    display: inline-block;
}

.menu-lines span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: #fff;
    transition: all .32s cubic-bezier(.4, 0, .2, 1);
    transform-origin: center;
}

.menu-lines span:nth-child(1) { top: 0; }
.menu-lines span:nth-child(2) { top: 7px; width: 18px; left: 3px; }
.menu-lines span:nth-child(3) { top: 14px; }

.menu-opened .menu-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.menu-opened .menu-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-opened .menu-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    .mobile-menu-modern-btn {
        display: none !important;
    }
}

/* =========================
   MOBILE ACCOUNT
========================= */

.mobile-account-box {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.mobile-account-trigger {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-weight: 800;
    color: #fff;
}

.mobile-account-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mobile-account-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-account-menu {
    display: none;
    padding: 0 12px 12px;
}

.mobile-account-box.open .mobile-account-menu {
    display: block;
}

.mobile-account-item {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 10px;
    transition: all .2s ease;
}

.mobile-account-item:hover {
    background: #fff;
    color: #000;
}

.mobile-account-item.logout-item:hover {
    background: #fff1f2;
    color: #e11d48;
}


/* =========================
   CLEAN PREMIUM FOOTER
========================= */

.site-footer {
    margin-top: 72px;
    padding: 56px 0 24px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 22%),
        linear-gradient(180deg, #060606 0%, #0b0b0b 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.site-footer-brand {
    max-width: 520px;
}

.site-footer-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.site-footer-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.site-footer-text {
    margin: 0 0 22px;
    color: rgba(255,255,255,0.68);
    font-size: 15px;
    line-height: 1.8;
}

.site-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer-social {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    transition: all .22s ease;
}

.site-footer-social svg {
    width: 20px;
    height: 20px;
}

.site-footer-social:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.site-footer-nav-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.site-footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer-title {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.site-footer-nav-col a {
    color: rgba(255,255,255,0.66);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all .2s ease;
}

.site-footer-nav-col a:hover {
    color: #fff;
    transform: translateX(2px);
}

.site-footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.44);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer-nav-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 42px 0 20px;
    }

    .site-footer-top {
        gap: 24px;
    }

    .site-footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .site-footer-socials {
        justify-content: center;
    }

    .site-footer-nav-wrap {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .site-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}