:root {
    --radius: 16px;
    --padding: 1.25rem;
    --maxw: 420px;
    --glass-edge: rgba(255, 255, 255, 0.35);
    /* light highlight */
    --glass-edge-dark: rgba(0, 0, 0, 0.45);
    /* dark highlight */
    --transition: 300ms cubic-bezier(.2, .9, .3, 1);
}

/* Shared glass style */
.glass {
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border-radius: var(--radius);
    padding: var(--padding);
    max-width: var(--maxw);
    width: 100%;
    box-sizing: border-box;
    display: block;
    transition: box-shadow var(--transition), transform var(--transition), background-color var(--transition), border var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.35);
    /* fallback, overridden per theme */
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.08); */
    transform: translateZ(0);
    /* helps GPU compositing on some browsers */
}

/* Light-mode glass (default) */
.glass--light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.45));
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    /* subtle rim highlight */
    /* outline: 1px solid rgba(255,255,255,0.02); */
}

/* Dark-mode glass */
.glass--dark {
    background: linear-gradient(180deg, rgba(18, 20, 25, 0.4), rgba(18, 20, 25, 0.5));
    color: #e6eef8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}

/* Nice hover/active micro-interactions */
.glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
    outline: none;
}

.glass:active {
    transform: translateY(-2px);
}

/* Small responsive tweak */
@media (max-width:560px) {
    .wrap {
        gap: 1rem;
        padding: 3vh 1rem;
        flex-direction: column;
    }

    .glass {
        padding: 1rem;
    }
}

.sec-1-cont {
    min-height: 90vh;
    position: relative;
}

.sec-1-overlay {
    position: absolute;
    background: linear-gradient(to bottom right, #101010, rgba(0, 0, 0, 0.8), #101010);
    ;
    height: 100%;
    width: 100%;
}

.index-bg {
    width: 100%;
    height: 100%;
    position: absolute
}

.dark-card {
    background: linear-gradient(to bottom right, #4b453f 20%, #101010 30%, #191c1a 80%);
}

.hero-txt {
    font-size: 48px
}

.input-main {
    border: none;
    padding: 0px 12px;
    min-width: 0;
    height: 45px;
    background: transparent;
}

.input-main::placeholder {
    color: #b8bab9;
}

.mc-cd-1 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 260px;
    /* animation: moc-cd-1-anim .7s linear; */
}

@keyframes moc-cd-1-anim {
    0% {
        scale: .4;
        transform: skewX(12deg) rotate(-6deg);
        right: 30%;
    }

    100% {
        scale: 1;
        transform: skewX(0deg) rotate(0);
        right: 15%;
    }
}

.mc-cd-2 {
    position: absolute;
    left: 15%;
    bottom: 100px;
    width: 200px;
    background: linear-gradient(180deg, rgba(41, 41, 41, 0.4), rgba(25, 24, 28, 0.4));
}

.twist-line-bg {
    position: absolute;
    z-index: 0;
    width: 650px;
    height: 550px;
    top: 40px;
    right: 50px;
    opacity: 0.4;
}

.moc-1 {
    width: 540px;
    height: 480px;
}

.moc-2 {
    width: 280px;
    height: 400px;
}

.moc-chart {
    width: 80%;
    height: 60px;
}

.moc-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.clip-header {
    width: 60%;
}

.bp-border {
    border-left: 1px solid #dee2e6;
}

.assts-cl-wrp {
    left: 30%;
    top: 60px
}

.img-h-s1-rp {
    height: 330px
}

.f-s-crd {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.f-s-crd-ovl {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 40%, transparent 60%);
    z-index: 1;
}

.f-s-crd .blur-bg {
    z-index: 2;
    visibility: hidden;
}

.f-s-crd img {
    position: relative;
    width: 100%;
    height: 100%;
}

.f-s-crd-cnt {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    z-index: 3;
}

/* // */
.f-s-crd:hover .blur-bg {
    visibility: visible;
}

.f-s-crd .sc-img {
    transform: scale(.8);
    opacity: 0;
    transition: all 0.5s ease;
    /* Smooth transition */
    margin-top: 40%;
}

.f-s-crd .sc-img-anim {
    transform: scale(1);
    opacity: 1;
}

.pricing-card {
    background: linear-gradient(to right, #e3e1f8, #fff 40%);
}

@media (max-width: 968px) {
    .pricing-card {
        margin: 0 auto;
        background: linear-gradient(to bottom, #e3e1f8, #fff 40%);
    }
}

@media (max-width: 768px) {
    .index-bg {
        width: 200%;
        left: 50%;
        transform: translateX(-50%)
    }

    .hero-txt {
        font-size: 32px;
    }

    .moc-1 {
        width: 480px;
        height: 400px;
    }

    .moc-2 {
        width: 300px;
        height: 430px;
        left: -20px;
    }

    .moc-2-wrp {
        height: 440px;
    }

    .moc-chart {
        width: 80%;
        height: 55px;
    }

    .moc-logo {
        width: 20px;
        height: 20px;
        border-radius: 4px;
    }

    .mc-cd-1 {
        width: 250px;
        right: 10%;
        bottom: 20px
    }

    @keyframes moc-cd-1-anim {
        0% {
            scale: .4;
            transform: skewX(12deg) rotate(-6deg);
            right: 20%;
        }

        100% {
            scale: 1;
            transform: skewX(0deg) rotate(0);
            right: 10%;
        }
    }

    .mc-cd-2 {
        width: 230px;
        left: 30px;
        bottom: 150px
    }

    .twist-line-bg {
        width: 400px;
        height: 370px;
        bottom: 10px;
        top: auto;
    }

    .clip-header {
        width: 90%;
    }

    .bp-border {
        border-top: 1px solid #dee2e6;
        border-left: none;
    }

    .assts-cl-wrp {
        left: 40%;
        top: 60px
    }
}