.btn {
    position: relative;
    border-radius: var(--radius-xl);
    padding-inline: 10px;
    padding-block: 13px;
    font-size: 15px;
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    @media (width >= 48rem) {
        font-size: 14px;
    }
    @media (width >= 80rem) {
        font-size: 15px;
    }

    &:is(.dark *) {
        color: #fff;
    }

    &.btn-primary {
        box-shadow: 8px 4px 30px 0px #007BFF82;


        &::after {
            position: absolute;
            top: calc(var(--spacing) * 0);
            left: calc(var(--spacing) * 0);
            height: 100%;
            width: 100%;
            --tw-content: '';
            content: var(--tw-content);
            padding: 1px;
            border-radius: inherit;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            background: linear-gradient(106.61deg, #FFFFFF 2.5%, rgba(255, 255, 255, 0) 18.15%);
        }
    }


}

.navbar-brand.mx-auto{
    margin-right: 220px !important;
}
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}
.article-image img{
    width: 100% !important;
}

.btn-three{
    background: #343a44;
    border: none;
    box-shadow: none !important;
}
@media screen and (min-width: 768px) {
    p.main-price{
        font-size: 27px !important;
    }
}
@media screen and (min-width: 768px) {

    .invest-app-hero-content{
        display: flex;
        justify-content: space-around !important;
    }
    .invest-app-hero-visual{
        width: auto !important;
    }
}
/* دکمه منو */
.menu-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

/* منو موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px; /* مخفی باشه */
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    z-index: 1050;
    padding: 15px;
}

/* فعال شدن منو */
.mobile-menu.active {
    right: 0;
}

/* هدر منو */
.mobile-menu .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* آیتم‌ها */
.mobile-menu .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu .menu-list li {
    margin: 10px 0;
}
.mobile-menu .menu-list li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* دکمه بستن */
.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* پس‌زمینه تاریک */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 1040;
}
.overlay.active {
    display: block;
}
/* --- Glassmorphism for mobile menu --- */
.mobile-menu {
    right: -280px;              /* کمی عریض‌تر برای نفس کشیدن محتوا */
    width: 280px;
    background: rgba(255, 255, 255, 0.12); /* شفاف */
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%); /* Safari */
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}
.mobile-menu .logo{
    width: 183px;
    margin-bottom: 12px;
}
/* نوار هدر با شیشه‌ای ملایم و خط جداکننده محو */
.mobile-menu .menu-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(24 118 255 / 17%);
    color: #fff;
}

/* آیتم‌ها: رنگ روشن روی پس‌زمینه شیشه‌ای */
.mobile-menu .menu-list li a {
    display: block;
    padding: 10px 6px;
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 10px;
    transition: transform .15s ease, background-color .15s ease;
}

/* هاور لطیف با هایلایت شیشه‌ای */
.mobile-menu .menu-list li a:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(-2px);
}

/* دکمه بستن روشن */
.close-btn {
    color: #fff;
}

/* افکت حاشیه‌ی گرادیانی لطیف با pseudo-element */
.mobile-menu::before {
    content: "";
    position: absolute; inset: 0;
    padding: 1px; border-radius: 16px 0 0 16px;
    background: linear-gradient(135deg, rgb(40 79 149 / 45%), rgba(255, 255, 255, 0.05));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* پس‌زمینه تاریک؛ کمی سبک‌تر تا شیشه دیده شود */
.overlay {
    background: rgba(0,0,0,0.35);
}

/* حالت تیره اختیاری (اگر بدنه dark است) */
:root.dark .mobile-menu {
    background: rgba(20, 20, 20, 0.28);
    border-color: rgba(255, 255, 255, 0.18);
}
:root.dark .mobile-menu .menu-list li a {     color: #eaeaea;
    padding-right: 12px;}

#mobileMenu .btn{
    width: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
@media screen and (max-width: 468px) {
    .hero-title{
        justify-content: start !important;
    }  .hero-description{
        justify-content: start !important;
    text-align: right !important;
    } .hero-buttons{
        justify-content: start !important;
    }

    p.main-price{
        font-size: 27px !important;
    }
    .logo-mobile{
        width: 150px !important;
        height: 37px;
        margin-right: 19px;
        margin-top: 8px;
    }
    .feature-cards {

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0px !important;
    }
    .feature-description {
        margin-top: 0 !important;
        margin-right: 0 !important;
    }
    .feature-icon  img{
        width: 92% !important;
    }

}
.country-france{
    display: none !important;
}
.country-japan {
    top: 23% !important;
}
.vmodal {
    position: fixed; inset: 0;
    display: flex; justify-content: center; align-items: center;
    background: rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    z-index: 2000;
}
.vmodal.is-open { opacity: 1; pointer-events: auto; }

.vmodal__dialog {
    position: relative;
    width: min(800px, 90%);
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.vmodal__content{
    height: 100%!important;
}
.vmodal__close {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.6); color: #fff;
    border: 0; border-radius: 6px;
    width: 32px; height: 32px; cursor: pointer;
}

.vmodal__content iframe {
    width: 100%; height: 100%; border: 0;
}

.item:hover                     .item-price {
    background: linear-gradient(232.49deg, #007BFF 49.34%, #5ED2EC 107.71%);
    box-shadow: 0px 4px 40px 0px #007BFFE5, -30px 0px 33px 0px #0000001F inset;transition: all ease 0.3s;
    cursor: pointer;
}
