/* HERO */
.hero {
    padding: 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* LEFT */

.hero-left,
.hero-right {
    width: 50%;
}

.badge {
    background: #ddd6fe;
    color: #4c1d95;
    font-weight: 700;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.hero-left h1 {
    font-size: 48px;
    margin: 15px 0;
}

.hero-left span {
    color: #6A5CFF;
}

.hero-left p {
    color: #6b7280;
}

/* FEATURES */

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon {
    background: #eef2ff;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.feature:hover .icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(106,92,255,0.6);
}

.feature:hover strong {
    color: var(--primary);
}

/* ================= UPLOAD BOX ================= */

.upload-box {
    border: 2px dashed #b9b8ff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
    background: #f9f9ff;
    position: relative;
    transition: .3s;
}

.upload-box:hover {
    border-color: #6A5CFF;
}

.upload-icon {
    font-size: 40px;
}

/* IMAGE */

.preview-image {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-top: 10px;
    border-radius: 10px;
}

/* FILE NAME */

.file-name {
    margin-top: 8px;
    font-size: 12px;
}

/* BUTTON */

.upload-btn {
    margin-top: 15px;
    background: linear-gradient(45deg,#6A5CFF,#8B7CFF);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= PROGRESS ================= */

.progress {
    margin-top: 15px;
    width: 100%;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 14px;
    background: #e5e7eb;
    border-radius: 50px;
    overflow: visible;
}

/* fill */

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,#6A5CFF,#8B7CFF);
    border-radius: 50px;
    transition: width .25s linear;
}

/* shared progress positioning */

.progress-scissor,
.progress-percent {
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
}

/* scissor */

.progress-scissor {
    top: -18px;
    font-size: 22px;
    transform: translateX(-50%) rotate(-90deg);
    transition: left .25s linear;
    z-index: 1000;
}

/* percent */

.progress-percent {
    top: -28px;
    font-size: 12px;
    font-weight: 600;
    color: #6A5CFF;
    transition: left .25s linear;
}

/* dark mode */

body.dark .progress-track {
    background: #1f2937;
}

/* hidden */

.hidden {
    display: none;
}

/* ================= CROSS BUTTON ================= */

#removeImageBtn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 20;
}

#removeImageBtn:hover {
    background: #ff3b3b;
}

/* ================= SLIDER ================= */

.hero-right .container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    --position: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.hero-right .image-container {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background:
        repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%)
        50% / 20px 20px;
}

.hero-right .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-right .image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
    transition: width 0.25s ease-out;
}

.hero-right .slider {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.hero-right .slider-line {
    position: absolute;
    top: 0;
    left: var(--position);
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom,#fff,#ddd);
    z-index: 5;
}

.hero-right .slider-button {
    position: absolute;
    top: 50%;
    left: var(--position);
    transform: translate(-50%,-50%);
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.hero-right .slider-button:active {
    transform: translate(-50%,-50%) scale(1.15);
}

.hero.highlight {
    box-shadow: 0 0 25px rgba(106,92,255,0.6);
    transition: 0.3s;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-left p {
        text-align: center;
    }

    .badge {
        display: block;
        margin: auto;
        text-align: center;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 30px 15px;
    }

    .hero-left h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .upload-box {
        padding: 20px;
    }

    .upload-btn {
        width: 100%;
    }

    .feature:active {
        transform: scale(0.96);
    }
}

/* ================= HOW IT WORKS PRO ================= */

.how-section{
    padding: 20px 20px;
    background: linear-gradient(180deg,#ffffff,#f8f9ff);
}

body.dark .how-section{
    background: linear-gradient(180deg,#0f172a,#020617);
}

.how-container{
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.how-section h2{
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--dark);
}

.how-intro{
    max-width: 800px;
    margin: auto;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* GRID */
.steps{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

/* CARD */
.step{
    background: var(--card);
    padding: 30px 25px;
    border-radius: 18px;
    transition: all 0.35s ease;
    text-align: left;
    position: relative;
    overflow: hidden;

    /* FADE ANIMATION */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

/* GLASS EFFECT */
.step::before{
    content:"";
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background: radial-gradient(circle, rgba(106,92,255,0.1), transparent 60%);
    opacity:0;
    transition:0.4s;
}

.step:hover::before{
    opacity:1;
}

/* HOVER */
.step:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ICON */
.step-icon{
    font-size: 28px;
    margin-bottom: 10px;
}

/* NUMBER */
.step-number{
    font-size: 14px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* TITLE */
.step h3{
    margin-bottom: 10px;
    color: var(--dark);
}

/* TEXT */
.step p{
    color: #6b7280;
    line-height: 1.7;
    text-align: justify;
}

/* FADE ANIMATION */
.step:nth-child(2){
    animation-delay:0.2s;
}

.step:nth-child(3){
    animation-delay:0.4s;
}

@keyframes fadeUp{
    to{
        opacity:1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:900px){
    .steps{
        grid-template-columns: 1fr;
    }
}

/* ================= TRUST SECTION ================= */

.trust-section{
    padding: 20px 20px;
    background: var(--bg) !important;
}

.trust-container{
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.trust-section h2{
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--dark);
}

.trust-intro{
    max-width: 800px;
    margin: auto;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 60px;
    text-align: justify;
}

/* GRID */
.trust-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

/* CARD */
.trust-card{
    background: var(--bg) !important;
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.35s ease;
    border: 1px solid #eee;
}

/* HOVER EFFECT */
.trust-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ICON */
.trust-icon{
    font-size: 28px;
    margin-bottom: 10px;
    background: var(--bg) !important;
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
    transition: 0.3s;
}

.trust-card:hover .trust-icon{
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(106,92,255,0.5);
}

/* TITLE */
.trust-card h3{
    margin-bottom: 10px;
    color: var(--dark);
}

/* TEXT */
.trust-card p{
    color: #6b7280;
    line-height: 1.7;
    text-align: justify;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .trust-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:600px){
    .trust-grid{
        grid-template-columns: 1fr;
    }

    .trust-intro{
        text-align: center;
    }

    .trust-card p{
        text-align: left;
    }
}
/* ================= GALLERY SECTION ================= */

.gallery-section{
    padding: 20px 20px;
    background: var(--bg) !important;
}

.gallery-container{
    max-width: 1100px;
    margin:auto;
    text-align:center;
}

.gallery-section h2{
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--dark);
}

.gallery-intro{
    max-width: 800px;
    margin:auto;
    color:#6b7280;
    line-height:1.8;
    margin-bottom:60px;
    text-align: justify;
}

/* GRID */
.gallery-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:30px;
}

/* CARD */
.gallery-card{
    background: var(--bg) !important;
    padding:15px;
    border-radius:16px;
    transition:0.35s;
    border:1px solid #eee;
}

.gallery-card:hover{
    transform: translateY(-8px);
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

/* MINI SLIDER */
.ba-mini{
    position:relative;
    width:100%;
    height:220px;
    overflow:hidden;
    border-radius:12px;
    margin-bottom:15px;
}

/* IMAGES */
.ba-mini img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    top:0;
    left:0;
}

/* AFTER HIDDEN */
.ba-mini .after{
    width:50%;
    overflow:hidden;
    transition:0.4s;
}

/* HOVER EFFECT */
.ba-mini:hover .after{
    width:0%;
}

/* TEXT */
.gallery-card h3{
    margin-bottom:5px;
    color: var(--dark);
}

.gallery-card p{
    color:#6b7280;
    font-size:14px;
}

/* RESPONSIVE */
@media(max-width:900px){
    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-intro{
        text-align:center;
    }
}

/* ================= CTA SECTION ================= */

.cta-section{
    padding: 20px 20px;
    background: var(--bg) !important;
}

/* container */
.cta-container{
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* heading */
.cta-section h2{
    font-size: 32px;
    margin-bottom: 15px;
}

/* intro text */
.cta-intro{
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: justify;
}

/* CTA BOX */
.cta-box{
    background: linear-gradient(135deg, #6A5CFF, #8B7CFF);
    color: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(106,92,255,0.3);
    transition: 0.3s;
}

/* hover effect */
.cta-box:hover{
    transform: translateY(-5px);
}

/* icon */
.cta-icon{
    font-size: 40px;
    margin-bottom: 10px;
}

/* sub heading */
.cta-box h3{
    margin-bottom: 10px;
}

/* text */
.cta-box p{
    opacity: 0.9;
    margin-bottom: 20px;
}

/* button */
.cta-btn{
    background:#6d5cff;
    color:#ffffff;
    font-weight:600;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.cta-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ================= FAQ'S  SECTION ================= */

.faq-section{
    padding: 20px 20px;
    background: var(--bg) !important;
}

.faq-container{
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.faq-section h2{
    font-size: 32px;
    margin-bottom: 10px;
}

.faq-intro{
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* LIST */
.faq-list{
    text-align: left;
}

/* ITEM */
.faq-item{
    background: var(--bg) !important;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
}

/* HOVER */
.faq-item:hover{
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* QUESTION */
.faq-question{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
}

/* ICON */
.faq-icon{
    font-size: 20px;
    transition: 0.3s;
}

/* ANSWER */
.faq-answer{
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #6b7280;
    transition: all 0.4s ease;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer{
    max-height: 200px;
    padding: 15px 20px;
}

.faq-item.active .faq-icon{
    transform: rotate(45deg);
    color: #6A5CFF;
}

.faq-question{
    user-select:none;
}