/* ====== FONTS ====== */
@font-face {
    font-family: 'FK Grotesk Trial';
    src: url('./assets/FKGroteskTrial-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* ====== GLOBAL STYLES ====== */
:root {
    --primary-bg: #040404;
    --secondary-bg: #141414;
    --card-bg: #141414;
    --card-border: #28282C;
    --text-primary: #ffffff;
    --text-secondary: #BBBBC1;
    --text-muted: #919191;
    --accent-blue: #667DFF;
    --accent-pink: #E36DE8;
    --gradient-primary: linear-gradient(90deg, #667DFF 44%, #E36DE8 100%);
    --border-gradient: linear-gradient(180deg, rgba(145, 145, 145, 1) 50%, rgba(43, 43, 43, 0) 100%);
    --main-card-bg: #388eff14;
    --main-card-border: linear-gradient(180deg, rgba(56, 142, 255, 1) 0%, rgba(34, 85, 153, 0) 100%);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--primary-bg);
    font-family: 'FK Grotesk Trial', Arial, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ====== HERO SECTION ====== */
.hero-section {
    width: 100%;
    max-width: 1440px;
    height: 837.75px;
    position: relative;
    background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.78) 100%), var(--secondary-bg);
    overflow: hidden;
    margin: 0 auto;
}

.hero-blur-bg {
    position: absolute;
    width: 510px;
    height: 510px;
    left: -273px;
    top: 561.75px;
    background: var(--accent-pink);
    box-shadow: 750px 375px var(--accent-pink);
    border-radius: 9999px;
    filter: blur(375px);
}

.hero-bg-gradient {
    width: 100%;
    height: 1018.50px;
    left: 0;
    top: 276.75px;
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 44%, black 56%);
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 1018.50px;
    left: 0;
    top: 276.75px;
    position: absolute;
    object-fit: cover;
    z-index: 1;
}

/* Header */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-bg);
    z-index: 4;
    padding: 20px 56px;
}

.header-logo img {
    width: 210px;
    height: 40px;
}

.nav-link {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    margin: 0 20px;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.wallet-btn {
    background: var(--accent-blue);
    border: none;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 150px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s;
}

.wallet-btn:hover {
    background: #4b57ca;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 12px;
    position: relative;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--text-primary);
    margin: 7px 0;
    transition: 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
    width: 23px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
    width: 24px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 402px;
    max-width: calc(100vw - 36px);
    height: 370px;
    background: var(--primary-bg);
    border-radius: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu-content {
    padding: 86px 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-item {
    width: 240px;
    height: 36px;
    padding: 6px 35px;
    background: var(--secondary-bg);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
    transition: background 0.2s;
}

.mobile-menu-item:hover {
    color: var(--text-primary);
    background: #1a1a1a;
}

.mobile-menu-item.active {
    background: var(--accent-blue);
}

.mobile-menu-item.active:hover {
    background: var(--accent-blue);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Content */
.hero-center-content {
    position: absolute;
    left: 50%;
    top: 145px;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 795px;
    max-width: 90%;
}

.hero-title {
    color: #86868B;
    font-size: 48px;
    font-weight: 400;
    line-height: 57.6px;
    margin-bottom: 0;
}

.hero-main {
    color: var(--text-primary);
    font-size: 78px;
    font-weight: 400;
    line-height: 93.6px;
    margin: 0;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 24px 0 32px 0;
}

.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-connect-btn {
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    padding: 16px 48px;
    border-radius: 150px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s;
    width: 278px;
    max-width: 100%;
}

.hero-connect-btn:hover {
    background: #4b57ca;
}

.hero-cta-btn {
    background: var(--text-primary);
    color: #0B0B0C;
    border: none;
    padding: 16px 48px;
    border-radius: 150px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s;
    width: 231px;
    max-width: 100%;
}

.hero-cta-btn:hover {
    background: #f0f0f0;
}

/* ====== SECTIONS CONTAINER ====== */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 56px;
}

/* ====== WHY SECTION ====== */
.why-section {
    padding-top: 99px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    color: var(--text-primary);
    font-size: 48px;
    font-weight: 400;
    line-height: 57.6px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.why-card {
    height: 389px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 55px 41px;
    margin-bottom: 32px;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 20px;
    background: var(--border-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.why-card.main {
    background-color: var(--main-card-bg);
}

.why-card.main::before {
    background: var(--main-card-border);
}

.why-card-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.why-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.why-card-title {
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 16px;
}

.why-card-desc {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* ====== PRIVACY SECTION ====== */
.privacy-section {
    /*padding: 80px 0;*/
    padding-top: 52px;
    padding-bottom: 102px;
}

.privacy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    min-height: 340px;
    transition: box-shadow 0.18s;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-card:hover {
    box-shadow: 0 4px 32px 0 rgba(38,61,247,0.08);
}

.privacy-icon {
    width: 75px;
    height: 75px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.privacy-card-title {
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 8px;
}

.privacy-card-desc {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* ====== SPECIAL OFFER SECTION ====== */
.special-offer-section {
    margin-top: 96px;
    width: 100%;
    max-width: 1440px;
    height: 441px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.special-offer-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: 1;
}

.special-offer-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 83.25px 112.5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.special-offer-title {
    color: var(--text-primary);
    font-size: 78px;
    font-weight: 400;
    line-height: 93.6px;
    margin: 0 0 24px 0;
}

.special-offer-desc {
    color: var(--text-primary);
    font-size: 21px;
    font-weight: 400;
    line-height: 25.2px;
    margin-bottom: 32px;
    max-width: 512px;
}

.special-offer-btn {
    background: var(--text-primary);
    color: #000;
    border: none;
    padding: 14px 32px;
    border-radius: 150px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: box-shadow 0.2s;
    width: 209px;
    height: 51px;
}

.special-offer-gift {
    width: 418px;
    height: 418px;
    position: absolute;
    right: 68px;
    top: 42.81px;
}

/* ====== STAKING SECTION ====== */
.staking-section {
    padding: 90px 0 45px 0;
}

.staking-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 32px 20px 24px 20px;
    min-height: 289px;
    text-align: center;
    margin-bottom: 24px;
}

.staking-lockup {
    color: var(--text-secondary);
    font-size: 21px;
    font-weight: 400;
    line-height: 25.2px;
    margin-bottom: 24px;
    padding-bottom: 0;
    /*position: relative;*/
}

.staking-lockup::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 340px;
    height: 1px;
    background: var(--card-border);
}

.staking-divider {
    width: 100%;
    height: 1px;
    background: #383838;
    margin-bottom: 24px;
    border-radius: 2px;
}

.staking-apr {
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 24px;
    word-wrap: break-word;
    width: 245px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.staking-progress {
    width: 320px;
    height: 8px;
    background: var(--card-border);
    border-radius: 200px;
    position: relative;
    margin: 0 auto 40px auto;
}

.staking-bar-fg {
    width: 117px;
    height: 8px;
    background: #3CB878;
    border-radius: 200px;
    position: absolute;
    top: 0;
    left: 0;
}

.staking-desc {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* ====== FOOTER ====== */
.footer-section {
    background: var(--secondary-bg);
    padding: 98px 56px 76px 56px;
    margin-top: 50px;
    height: 1046px;
}

.footer-logo {
    width: 479.33px;
    height: 91.5px;
    margin-bottom: 95px;
}

.footer-title {
    color: var(--text-primary);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 48px;
}

.footer-contact-email,
.footer-contact-address,
.footer-links a,
.footer-disclaimer,
.footer-follow-blog {
    color: var(--text-muted);
    font-size: 21px;
    font-weight: 400;
    line-height: 25.2px;
    text-decoration: none;
}

.footer-contact-address {
    margin-top: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-social-links {
    display: flex;
    gap: 74.96px;
    margin-top: 43px;
}

.footer-social-links img {
    height: 25px;
    width: auto;
}

.footer-copy {
    text-align: center;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 96px;
    margin-top: 80px;
    padding-top: 12px;
    border-top: 1px solid #232328;
}
.footer-disclaimer {
    margin-top: 18px;          /* sits just under the email */
    /*font-size: 12px;          !* small, unobtrusive *!*/
    line-height: 1.5;
    /*color: #BBBBC1;           !* readable on dark (#141414–#141418) *!*/
    max-width: 900px;         /* keep it from running too wide */
}


/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1200px) {
    .main-container {
        padding: 0 30px;
    }

    .hero-section {
        max-width: 100%;
    }

    .hero-header {
        padding: 20px 30px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 43.2px;
    }

    .hero-main {
        font-size: 58px;
        line-height: 69.6px;
    }

    .special-offer-content {
        padding: 60px 40px;
    }

    .special-offer-title {
        font-size: 58px;
        line-height: 69.6px;
    }

    .footer-section {
        padding: 60px 30px 40px 30px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .privacy-card {
        min-height: auto;
    }

    .staking-progress {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .hero-header {
        padding: 16px 18px;
    }

    .header-logo img {
        width: 113px;
        height: 22px;
    }

    .wallet-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Mobile Hero */
    .hero-section {
        height: 874px;
    }

    .hero-center-content {
        width: 90%;
        top: 159px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 31.2px;
    }

    .hero-main {
        font-size: 38.58px;
        line-height: 46.3px;
    }

    .hero-blur-bg {
        width: 167px;
        height: 240px;
        left: -286px;
        top: 395.75px;
        box-shadow: 300px 300px 300px var(--accent-pink);
        filter: blur(150px);
    }

    .hero-desc {
        font-size: 13px;
        line-height: 19.5px;
        width: 328px;
        max-width: 100%;
        margin: 16px auto 32px auto;
    }

    .hero-connect-btn,
    .hero-cta-btn {
        width: 278px;
        max-width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Mobile Container */
    .main-container {
        padding: 0 18px;
    }

    /* Mobile Why Section */
    .why-section {
        padding: 70px 0;
        padding-bottom: 62px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 26px;
        line-height: 31.2px;
    }

    .section-desc {
        font-size: 15px;
        line-height: 22.5px;
    }

    .why-card {
        height: auto;
        padding: 40px 24px;
        margin-bottom: 0;
    }

    .why-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 24px;
    }

    .why-card-icon img {
        width: 16px;
        height: 16px;
    }

    .why-card-title {
        font-size: 19px;
        line-height: 22.8px;
        margin-bottom: 8px;
    }

    .why-card-desc {
        font-size: 15px;
        line-height: 22.5px;
    }

    /* Mobile Privacy Section */
    .privacy-section {
        padding: 0 0;
        padding-bottom: 62px;
    }

    .privacy-card {
        padding: 24px;
        min-height: 220px;
        border-radius: 20px;
        margin-bottom: 7px;
    }

    .privacy-icon {
        width: 40px;
        height: 40px;
    }

    .privacy-icon img {
        width: 16px;
        height: 16px;
    }

    .privacy-card-title {
        font-size: 19px;
        line-height: 22.8px;
    }

    .privacy-card-desc {
        font-size: 15px;
        line-height: 22.5px;
    }

    /* Mobile Special Offer */
    .special-offer-section {
        height: 184px;
    }

    .special-offer-content {
        padding: 37px 24px;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .special-offer-title {
        font-size: 26px;
        line-height: 31.2px;
        margin-bottom: 8px;
    }

    .special-offer-desc {
        font-size: 13px;
        line-height: 19.5px;
        margin-bottom: 16px;
        max-width: 250px;
    }

    .special-offer-btn {
        font-size: 10px;
        width: 91px;
        height: 26px;
        padding: 2.64px;
        background: white;
        border-radius: 52.82px;
        justify-content: center;
        align-items: center;
        gap: 2.64px;
        display: inline-flex;
    }

    .special-offer-gift {
        width: 126px;
        height: 126px;
        right: 24px;
        top: 50%;
        transform: translateY(-50%) rotate(16deg);
        position: absolute;
    }

    /* Mobile Staking Section */
    .staking-section {
        padding: 60px 0 40px 0;
    }

    .staking-card {
        padding: 14px 16px;
        height: 175px;
        min-height: auto;
        border-radius: 10px;
        margin-bottom: 0;
        text-align: left;
    }

    .staking-lockup {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 10px;
        padding-bottom: 0;
    }

    .staking-apr {
        font-size: 19px;
        line-height: 22.8px;
        margin-bottom: 24px;
        text-align: left;
        width: 100%;
    }

    .staking-divider {
        width: 100%;
        height: 1px;
        background: #383838;
        margin-bottom: 16px;
        border-radius: 2px;
    }

    .staking-progress {
        width: 100%; /* or a specific px width */
        max-width: 320px;
        height: 4px;
        background: #28282C;
        border-radius: 200px;
        position: relative;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 24px;
    }
    .staking-bar-fg {
        height: 4px;
        width: 117px;  /* adjust for other plans */
        background: #3CB878;
        border-radius: 200px;
        position: absolute;
        left: 0;
        top: 0;
    }


    .staking-bar-fg:nth-child(2) {
        width: 113px;
    }

    .staking-bar-fg:nth-child(3) {
        width: 146px;
    }

    .staking-desc {
        font-size: 14px;
        line-height: 21px;
    }

    .staking-lockup,
    .staking-apr,
    .staking-desc {
        text-align: left;
        margin-left: 0;  /* Remove any auto margin */
    }

    /* Mobile Footer */
    .footer-section {
        padding: 38px 18px 32px 18px;
        margin-top: 20px;
        height: 1300px;
    }
    .footer-section .mb-4 {
        margin-bottom: 2.5rem !important; /* or whatever value you want */
    }

    .footer-logo {
        width: 211px;
        height: 40px;
        margin-bottom: 56px;
    }

    .footer-title {
        font-size: 19px;
        line-height: 22.8px;
        margin-bottom: 24px;
    }

    .footer-contact-email,
    .footer-contact-address,
    .footer-links a,
    .footer-disclaimer,
    .footer-follow-blog {
        font-size: 15px;
        line-height: 22.5px;
    }

    .footer-contact-address {
        margin-top: 16px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-social-links {
        gap: 32px;
        margin-top: 16px;
    }

    .footer-social-links img {
        height: 20px;
    }

    .footer-copy {
        font-size: 12px;
        line-height: 32px;
        margin-top: 84px;
    }
}

@media (max-width: 480px) {
    .hero-center-content {
        width: 95%;
    }

    .hero-main {
        font-size: 32px;
        line-height: 38.4px;
    }

    .hero-bg-img {
        width: 100%;
        height: 736.5px;
        left: 0;
        top: 317.75px;
        position: absolute;
        object-fit: cover;
        z-index: 1;
    }

    .hero-blur-bg {
        width: 167px;
        height: 240px;
        left: -286px;
        top: 395.75px;
        box-shadow: 300px 300px 300px var(--accent-pink);
        filter: blur(150px);
    }

    .hero-connect-btn,
    .hero-cta-btn {
        width: 100%;
    }

    .hero-cta-buttons {
        justify-self: center;
        width: 278px;
    }

    .special-offer-section {
        width: 100%;
        max-width: 1440px;
        height: 185px;
        position: relative;
        overflow: hidden;
        margin: 0 auto;
    }

    .special-offer-content {
        flex-direction: row;
        text-align: left;
        padding: 24px 18px;
    }

    .special-offer-gift {
        position: relative;
        right: auto;
        top: auto;
        transform: rotate(0deg);
        margin-top: 16px;
    }
}

/* How It Works video */
.howitworks-video { padding: 40px 0 28px; }
.yt-wrap {
    position: relative;
    width: 100%;
    /*max-width: 1024px;*/
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
/* 16:9 aspect ratio */
.yt-wrap::before { content: ""; display: block; padding-top: 56.25%; }
.yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .howitworks-video { padding: 24px 0 24px; }
    .yt-wrap { border-radius: 10px; }
}