:root {
    --bg:#F6F7FF;
    --card:#fff;
    --text:#374151;
    --dark:#111827;
    --border:#E5E7EB;
    --primary:#6A5CFF;
}

body.dark {
    --bg:#0f172a;
    --card:#111827;
    --text:#cbd5e1;
    --dark:#f1f5f9;
    --border:#1f2937;
}

html{
    scroll-behavior:smooth;
}

/* RESET */
*{margin:0;padding:0;box-sizing:border-box}

body{
    font-family: Arial, sans-serif;
    background:var(--bg);
    color:var(--text);
    padding-top:80px;
    transition:.3s;
}

/* ================= PREMIUM DIVIDER ================= */

.section-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    margin:30px auto 20px; /* 👈 top 30, bottom 20 */
    max-width:900px;
}

.how-section,
.trust-section{
    padding-top:70px; /* 👈 thora kam */
}

/* LINE LEFT + RIGHT */
.section-divider::before,
.section-divider::after{
    content:"";
    flex:1;
    height:2px;
    background: linear-gradient(to right, transparent, var(--primary));
    opacity:0.5;
}

/* RIGHT SIDE REVERSE */
.section-divider::after{
    background: linear-gradient(to left, transparent, var(--primary));
}

/* CENTER TEXT */
.section-divider span{
    font-size:14px;
    letter-spacing:1px;
    text-transform:uppercase;
    color: var(--primary);
    padding:10px 18px;
    border-radius:30px;
    background: rgba(106,92,255,0.08);
    backdrop-filter: blur(10px);
    border:1px solid rgba(106,92,255,0.2);
    position:relative;
    overflow:hidden;
}

/* GLOW EFFECT */
.section-divider span::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    opacity:0;
    transition:0.4s;
}

/* HOVER GLOW */
.section-divider span:hover::before{
    opacity:1;
    animation: shine 1.2s linear;
}

@keyframes shine{
    from{ transform: translateX(-100%); }
    to{ transform: translateX(100%); }
}

/* DARK MODE SUPPORT */
body.dark .section-divider span{
    background: rgba(106,92,255,0.15);
    border:1px solid rgba(106,92,255,0.3);
}

/* NAVBAR */
.navbar{
    position:fixed;top:0;width:100%;height:70px;
    display:flex;justify-content:center;
    background:rgba(255,255,255,.6);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    transition:.3s;
    z-index:999;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px,
                rgba(60, 64, 67, 0.15) 0px 1px 3px;
}

body.dark .navbar{
    background:rgba(15,23,42,.7);
}

.navbar.shrink{
    height:55px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.nav-inner{
    width:100%;max-width:1200px;
    display:flex;align-items:center;
    justify-content:center;
    gap:25px;
}

.logo{font-weight:700;color:var(--dark)}

nav{display:flex;gap:20px}

nav a,.dropdown span{
    color:var(--text);
    text-decoration:none;
    position:relative;
    cursor:pointer;
}

nav a:hover,.dropdown span:hover{
    color:var(--primary);
}

nav a::after,.dropdown span::after{
    content:"";
    position:absolute;
    bottom:-4px;left:0;
    width:0;height:2px;
    background:var(--primary);
    transition:.3s;
}

nav a:hover::after,.dropdown span:hover::after{
    width:100%;
}

/* ================= DROPDOWN ================= */
.dropdown{
    position:relative;
}

/* Language button */
.selected-lang{
    display:flex;
    align-items:center;
    gap:6px;
}

.selected-lang img{
    width:18px;
    height:18px;
    border-radius:50%;
}

/* Dropdown Menu (FIXED VERSION) */
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    background:var(--card);
    border:1px solid var(--border);
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);

    min-width:160px;

    display:none;
    flex-direction:column;

    max-height:260px;      /* FIX: prevent cut */
    overflow-y:auto;       /* FIX: scroll */

    z-index:9999;
}

/* Show */
.dropdown.active .dropdown-menu,
.dropdown-menu.active{
    display:flex;
}

/* Items */
.dropdown-menu a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    text-decoration:none;
    color:var(--text);
    font-size:14px;
    transition:.2s;
}

.dropdown-menu a:hover{
    background:rgba(106,92,255,0.08);
}

/* Flag */
.dropdown-menu img{
    width:18px;
    height:18px;
    border-radius:50%;
}

/* Scrollbar (nice UI) */
.dropdown-menu::-webkit-scrollbar{
    width:6px;
}
.dropdown-menu::-webkit-scrollbar-thumb{
    background:#ccc;
    border-radius:10px;
}

/* ================= THEME TOGGLE ================= */
.theme-toggle{
    cursor:pointer;
    display:flex;
    align-items:center;
}

/* TRACK */
.toggle-track{
    width:64px;
    height:32px;
    border-radius:50px;
    position:relative;
    transition:.4s;

    background: linear-gradient(135deg,#e8ecff,#d4d9ff);

    /* soft outer shadow */
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.08),
        inset 0 2px 6px rgba(255,255,255,0.6);
}

/* THUMB */
.toggle-thumb{
    width:28px;
    height:28px;
    border-radius:50%;
    position:absolute;
    top:2px;
    left:2px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;
    font-size:14px;

    transition:.4s cubic-bezier(.4,0,.2,1);

    /* floating look */
    box-shadow: 
        0 6px 18px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1);
}

/* ICON */
.toggle-thumb::before{
    content:"☀️";
    transition:.3s;
}


/* ================= DARK MODE ================= */

body.dark .toggle-track{
    background: linear-gradient(135deg,#0f172a,#1e293b);

    box-shadow:
        0 4px 20px rgba(106,92,255,0.25),
        inset 0 2px 6px rgba(0,0,0,0.6);
}

body.dark .toggle-thumb{
    transform: translateX(32px) scale(1.05);
    background:#020617;

    box-shadow:
        0 8px 25px rgba(106,92,255,0.6),
        0 2px 6px rgba(0,0,0,0.5);
}

body.dark .toggle-thumb::before{
    content:"🌙";
}


/* ================= HOVER ================= */

.toggle-track:hover .toggle-thumb{
    transform: scale(1.05);
}

body.dark .toggle-track:hover .toggle-thumb{
    transform: translateX(32px) scale(1.1);
}

/* ================= MOBILE ================= */
.menu-toggle{display:none}

@media(max-width:768px){

.menu-toggle{display:block}

/* Nav */
nav{
    position:absolute;
    top:70px;left:0;width:100%;
    background:var(--card);
    flex-direction:column;
    padding:20px;
    display:none;
}

nav.active{display:flex}

/* Dropdown fix mobile */
.dropdown-menu{
    position:static;
    box-shadow:none;
    border:none;
    max-height:200px;
}

/* Right align language on mobile */
.lang-dropdown .dropdown-menu{
    left:auto;
    right:0;
    }
}

/* HERO */
.hero {
    padding: 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* LEFT */
.hero-left {width: 50%}

.badge {
    background: #eef2ff;
    color: #6A5CFF;
    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; /* required for cross button */
    transition: .3s;
}

.upload-box:hover {
    border-color: #6A5CFF;
}

.upload-icon {
    font-size: 40px;
}

/* ✅ ONLY IMAGE SIZE CONTROL (MAIN FIX) */
.preview-image {
    max-width: 100%;
    max-height: 180px;   /* 👈 image chhoti hogi */
    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;
}

/* scissor */
.progress-scissor{
    position:absolute;
    top:-18px;
    left:0%;

    font-size:22px;

    transform:translateX(-50%) rotate(-90deg);

    transition:left .25s linear;

    z-index: 1000;
}

/* percent */
.progress-percent{
    position:absolute;
    top:-28px;
    left:0%;

    font-size:12px;
    font-weight:600;
    color:#6A5CFF;

    transform:translateX(-50%);

    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;
}


/* ================= RIGHT ================= */

.hero-right {
    width: 50%;
}

/* ================= 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: 90px 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: 60px;
    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;
}

/* 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{
    opacity:0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.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: 100px 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: 100px 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: 60px 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: var(--bg) !important;
    color: #6A5CFF;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    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: 60px 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;
}

/* ================= POLICY PAGE ================= */

/* HERO */
.policy-hero{
    padding:90px 20px;
    text-align:center;
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
    position:relative;
    overflow:hidden;
}

.policy-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.2), transparent 60%);
}

.policy-hero h1{
    font-size:42px;
    margin-bottom:10px;
    position:relative;
}

.policy-hero p{
    opacity:0.9;
    position:relative;
}

/* MAIN SECTION */
.policy{
    padding:70px 20px;
    background:linear-gradient(180deg,#f8f9ff,#ffffff);
}

/* LAYOUT */
.policy-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:30px;
    align-items:flex-start;
}

/* SIDEBAR */
.policy-sidebar{
    width:240px;
    position:sticky;
    top:100px;
    height:fit-content;

    background: var(--card);
    padding:15px;
    border-radius:16px;

    border:1px solid var(--border);

    /* 👇 soft shadow */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.02);
}

/* SIDEBAR LINKS */
.policy-sidebar a{
    display:block;
    padding:12px 14px;
    margin-bottom:6px;
    text-decoration:none;
    color:var(--text);
    border-radius:10px;
    font-size:14px;
    transition:all 0.25s ease;
}

/* HOVER */
.policy-sidebar a:hover{
    background: linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
    transform:translateX(4px);
}

.policy-sidebar a.active{
    background: linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;

    box-shadow: 0 5px 15px rgba(106,92,255,0.4);
}

/* CONTENT */
.policy-content{
    flex:1;
}

/* CARD */
.policy-card{
    background:#fff;
    padding:28px;
    border-radius:18px;
    margin-bottom:22px;
    box-shadow:0 10px 35px rgba(0,0,0,0.05);
    transition:all 0.3s ease;
    border:1px solid #eee;
}

/* HOVER EFFECT */
.policy-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

/* HEADINGS */
.policy-card h2{
    margin-bottom:10px;
    color:#111827;
    font-size:20px;
}

/* TEXT */
.policy-card p{
    color:#6b7280;
    line-height:1.8;
    text-align:justify;
    margin-bottom:10px;
}

/* LIST */
.policy-card ul{
    margin:10px 0 10px 18px;
    color:#6b7280;
}

.policy-card ul li{
    margin-bottom:6px;
}

/* SMALL LINK */
.policy-card a{
    color:#6A5CFF;
    text-decoration:none;
}

.policy-card a:hover{
    text-decoration:underline;
}

/* ================= DARK MODE ================= */

body.dark .policy{
    background:linear-gradient(180deg,#020617,#0f172a);
}

body.dark .policy-card{
    background:#111827;
    border:1px solid #1f2937;
}

body.dark .policy-card h2{
    color:#f1f5f9;
}

body.dark .policy-card p,
body.dark .policy-card ul{
    color:#cbd5e1;
}

body.dark .policy-sidebar a{
    color:#cbd5e1;
}

body.dark .policy-sidebar a:hover{
    background:#4f46e5;
}

/* DARK MODE SIDEBAR */
body.dark .policy-sidebar{
    background: var(--card);
    border:1px solid var(--border);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05);
}

body.dark .policy-sidebar a:hover{
    background: linear-gradient(135deg,#4f46e5,#6366f1);
}

body.dark .policy-sidebar a.active{
    background: linear-gradient(135deg,#4f46e5,#6366f1);
}
/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .policy-container{
        flex-direction:column;
    }

    .policy-sidebar{
        width:100%;
        display:flex;
        flex-wrap:wrap;
        gap:10px;
        position:static;
    }

    .policy-sidebar a{
        background:#eef2ff;
        font-size:13px;
    }

    .policy-card{
        padding:22px;
    }
}

/* ================= BLOG HERO ================= */

.blog-hero{
    padding:120px 20px 80px;
    text-align:center;
    background:
        radial-gradient(circle at top,
        rgba(106,92,255,0.25),
        transparent 50%),
        var(--bg);
}

.blog-hero-content{
    max-width:800px;
    margin:auto;
}

.blog-badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:50px;
    background:rgba(106,92,255,0.15);
    color:#6A5CFF;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.blog-hero h1{
    font-size:52px;
    line-height:1.2;
    color:var(--dark);
    margin-bottom:18px;
}

.blog-hero p{
    color:var(--text);
    font-size:18px;
    line-height:1.8;
}


/* SEARCH */
.blog-search{
    margin-top:35px;
    display:flex;
    gap:12px;
    justify-content:center;
}

.blog-search input{
    width:100%;
    max-width:450px;
    padding:15px;
    border-radius:14px;
    border:1px solid var(--border);
    background:var(--card);
    color:var(--text);
}

.blog-search button{
    border:none;
    padding:15px 22px;
    border-radius:14px;
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
    cursor:pointer;
    font-weight:600;
}


/* ================= LAYOUT ================= */

.blog-layout{
    max-width:1300px;
    margin:auto;
    padding:40px 20px 80px;

    display:grid;
    grid-template-columns:2fr 340px;
    gap:30px;
}


/* ================= FEATURED ================= */

.featured-post{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.05);

    margin-bottom:35px;
}

.featured-image img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.featured-content{
    padding:30px;
}

.featured-tag{
    display:inline-block;
    padding:7px 12px;
    border-radius:30px;
    background:rgba(106,92,255,0.12);
    color:#6A5CFF;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.featured-content h2{
    font-size:34px;
    line-height:1.3;
    color:var(--dark);
    margin-bottom:16px;
}

.featured-content p{
    color:var(--text);
    line-height:1.8;
    margin-bottom:20px;
}

.blog-meta{
    display:flex;
    gap:20px;
    color:#9ca3af;
    margin-bottom:25px;
}

.read-btn{
    display:inline-block;
    padding:14px 22px;
    border-radius:14px;
    text-decoration:none;
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
    font-weight:600;
}


/* ================= GRID ================= */

.blog-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.blog-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    overflow:hidden;

    transition:.3s;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.04);
}

.blog-card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.08);
}

.blog-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.blog-card-content{
    padding:22px;
}

.blog-category{
    display:inline-block;
    margin-bottom:14px;
    color:#6A5CFF;
    font-size:13px;
    font-weight:600;
}

.blog-card h3{
    font-size:22px;
    line-height:1.4;
    color:var(--dark);
    margin-bottom:12px;
}

.blog-card p{
    color:var(--text);
    line-height:1.7;
    margin-bottom:18px;
}

.blog-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.blog-bottom span{
    color:#9ca3af;
    font-size:14px;
}

.blog-bottom a{
    color:#6A5CFF;
    text-decoration:none;
    font-weight:600;
}


/* ================= SIDEBAR ================= */

.blog-sidebar{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.sidebar-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    padding:25px;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.04);
}

.sidebar-card h3{
    margin-bottom:20px;
    color:var(--dark);
}

.sidebar-card a{
    display:block;
    margin-bottom:12px;
    color:var(--text);
    text-decoration:none;
    transition:.25s;
}

.sidebar-card a:hover{
    color:#6A5CFF;
    transform:translateX(4px);
}


/* POPULAR */
.popular-post{
    display:flex;
    gap:12px;
    margin-bottom:18px;
}

.popular-post img{
    width:80px;
    height:70px;
    object-fit:cover;
    border-radius:12px;
}

.popular-post p{
    color:var(--dark);
    font-size:14px;
    margin-bottom:5px;
}

.popular-post span{
    color:#9ca3af;
    font-size:12px;
}


/* NEWSLETTER */
.newsletter-box input{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid var(--border);
    background:var(--bg);
    color:var(--text);
    margin:15px 0;
}

.newsletter-box button{
    width:100%;
    border:none;
    padding:14px;
    border-radius:12px;
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
    cursor:pointer;
    font-weight:600;
}


/* ================= DARK MODE ================= */

body.dark .blog-card,
body.dark .featured-post,
body.dark .sidebar-card{
    box-shadow:
        0 10px 30px rgba(255,255,255,0.03),
        0 0 0 1px rgba(255,255,255,0.04);
}


/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

    .blog-layout{
        grid-template-columns:1fr;
    }

    .blog-sidebar{
        order:-1;
    }
}

@media(max-width:768px){

    .blog-grid{
        grid-template-columns:1fr;
    }

    .blog-hero h1{
        font-size:38px;
    }

    .featured-content h2{
        font-size:28px;
    }

    .featured-image img{
        height:260px;
    }

    .blog-search{
        flex-direction:column;
    }
}

/* ================= SINGLE BLOG HERO ================= */

.single-blog-hero{
    padding:130px 20px 70px;

    background:
    radial-gradient(circle at top,
    rgba(106,92,255,0.18),
    transparent 45%),
    var(--bg);
}

.single-blog-container{
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:50px;
    align-items:center;
}

.blog-label{
    display:inline-block;
    padding:8px 14px;
    border-radius:50px;

    background:rgba(106,92,255,0.15);

    color:#6A5CFF;

    font-size:13px;
    font-weight:600;

    margin-bottom:18px;
}

.single-blog-content h1{
    font-size:58px;
    line-height:1.15;
    color:var(--dark);
    margin-bottom:22px;
}

.blog-subtitle{
    color:var(--text);
    line-height:1.9;
    font-size:18px;
    margin-bottom:30px;
}


/* META */
.blog-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.author-box{
    display:flex;
    align-items:center;
    gap:14px;
}

.author-box img{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
}

.author-box strong{
    display:block;
    color:var(--dark);
}

.author-box span{
    color:#9ca3af;
    font-size:14px;
}


/* SHARE */
.share-buttons{
    display:flex;
    gap:10px;
}

.share-buttons a{
    width:42px;
    height:42px;
    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    background:var(--card);
    border:1px solid var(--border);

    color:var(--dark);

    transition:.25s;
}

.share-buttons a:hover{
    transform:translateY(-4px);
    background:#6A5CFF;
    color:#fff;
}


/* HERO IMAGE */
.single-blog-image img{
    width:100%;
    border-radius:28px;

    box-shadow:
    0 20px 60px rgba(0,0,0,0.15);
}


/* ================= CONTENT ================= */

.blog-post-layout{
    max-width:1300px;
    margin:auto;

    padding:20px 20px 100px;

    display:grid;
    grid-template-columns:1fr 320px;
    gap:35px;
}


/* CARDS */
.blog-card,
.blog-image-card,
.quote-box,
.blog-cta,
.sidebar-card{
    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.04);
}

.blog-card{
    padding:34px;
    margin-bottom:28px;
}

.blog-card h2{
    font-size:34px;
    color:var(--dark);
    margin-bottom:20px;
}

.blog-card p{
    color:var(--text);
    line-height:2;
    margin-bottom:18px;
}


/* IMAGE CARD */
.blog-image-card{
    overflow:hidden;
    margin-bottom:28px;
}

.blog-image-card img{
    width:100%;
    display:block;
}


/* COMPARISON */
.comparison-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.compare-box{
    padding:25px;
    border-radius:20px;

    background:
    linear-gradient(135deg,
    rgba(106,92,255,0.08),
    transparent);

    border:1px solid var(--border);
}

.compare-box h3{
    margin-bottom:18px;
    color:var(--dark);
}

.compare-box ul{
    padding-left:18px;
}

.compare-box li{
    color:var(--text);
    margin-bottom:12px;
}


/* QUOTE */
.quote-box{
    padding:40px;
    margin-bottom:28px;

    text-align:center;

    background:
    linear-gradient(135deg,#6A5CFF,#8B7CFF);

    color:#fff;
}

.quote-box p{
    font-size:24px;
    line-height:1.7;
}


/* CTA */
.blog-cta{
    padding:45px;
    text-align:center;
    margin-bottom:28px;
}

.blog-cta h3{
    font-size:36px;
    color:var(--dark);
    margin-bottom:16px;
}

.blog-cta p{
    color:var(--text);
    margin-bottom:24px;
}

.blog-cta a{
    display:inline-block;

    padding:16px 28px;

    border-radius:14px;

    text-decoration:none;

    background:
    linear-gradient(135deg,#6A5CFF,#8B7CFF);

    color:#fff;

    font-weight:600;
}


/* FAQ */
.faq-item{
    border:1px solid var(--border);
    border-radius:16px;
    margin-top:16px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    padding:18px 20px;

    border:none;
    background:none;

    color:var(--dark);

    text-align:left;

    font-size:16px;
    font-weight:600;

    cursor:pointer;
}

.faq-answer{
    display:none;

    padding:0 20px 20px;

    color:var(--text);
    line-height:1.8;
}

.faq-item.active .faq-answer{
    display:block;
}


/* SIDEBAR */
.blog-sidebar{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.sidebar-card{
    padding:28px;
}

.sticky-card{
    position:sticky;
    top:100px;
}

.sidebar-card h3{
    margin-bottom:20px;
    color:var(--dark);
}

.sidebar-card a{
    display:block;
    margin-bottom:14px;

    color:var(--text);
    text-decoration:none;

    transition:.25s;
}

.sidebar-card a:hover{
    color:#6A5CFF;
    transform:translateX(4px);
}


/* RELATED */
.related-post{
    display:flex;
    gap:14px;
    margin-bottom:20px;
}

.related-post img{
    width:85px;
    height:75px;

    border-radius:14px;
    object-fit:cover;
}

.related-post p{
    color:var(--dark);
    margin-bottom:6px;
}

.related-post span{
    color:#9ca3af;
    font-size:13px;
}


/* NEWSLETTER */
.newsletter-card input{
    width:100%;

    padding:15px;

    border-radius:14px;
    border:1px solid var(--border);

    background:var(--bg);
    color:var(--text);

    margin:18px 0;
}

.newsletter-card button{
    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    background:
    linear-gradient(135deg,#6A5CFF,#8B7CFF);

    color:#fff;

    font-weight:600;

    cursor:pointer;
}

.blog-card h2{
    scroll-margin-top:120px;
}

/* ================= DARK MODE ================= */

body.dark .blog-card,
body.dark .blog-image-card,
body.dark .quote-box,
body.dark .blog-cta,
body.dark .sidebar-card{

    box-shadow:
    0 10px 30px rgba(255,255,255,0.03),
    0 0 0 1px rgba(255,255,255,0.04);
}


/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

    .single-blog-container,
    .blog-post-layout{
        grid-template-columns:1fr;
    }

    .single-blog-content h1{
        font-size:46px;
    }

    .sticky-card{
        position:static;
    }
}

@media(max-width:768px){

    .single-blog-content h1{
        font-size:36px;
    }

    .comparison-grid{
        grid-template-columns:1fr;
    }

    .blog-card{
        padding:24px;
    }

    .blog-card h2{
        font-size:28px;
    }

    .quote-box p{
        font-size:20px;
    }

    .blog-cta h3{
        font-size:28px;
    }

    .blog-meta-row{
        flex-direction:column;
        align-items:flex-start;
    }
}


/* ================= DOCS ================= */

.docs-hero{
    padding:120px 20px 80px;
    text-align:center;
    position:relative;
    overflow:hidden;

    background:
    radial-gradient(circle at top,
    rgba(106,92,255,0.25),
    transparent 45%),
    var(--bg);
}

.docs-hero-content{
    max-width:850px;
    margin:auto;
}

.docs-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(106,92,255,0.12);
    color:#6A5CFF;
    font-size:14px;
    font-weight:600;
    margin-bottom:20px;
}

.docs-hero h1{
    font-size:56px;
    line-height:1.1;
    margin-bottom:20px;
    color:var(--dark);
}

.docs-hero p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    font-size:18px;
    color:var(--text);
}

.docs-hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:35px;
}

.docs-btn{
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.docs-btn.primary{
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;
}

.docs-btn.primary:hover{
    transform:translateY(-3px);
}

.docs-btn.secondary{
    border:1px solid var(--border);
    color:var(--dark);
}

.docs-layout{
    max-width:1400px;
    margin:auto;
    padding:60px 20px;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:35px;
}

.docs-sidebar{
    position:sticky;
    top:100px;
    height:fit-content;

    background:var(--card);
    border:1px solid var(--border);

    border-radius:24px;
    padding:25px;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.05);
}

.docs-sidebar h3{
    margin-bottom:20px;
    color:var(--dark);
}

.docs-sidebar a{
    display:flex;
    align-items:center;
    gap:10px;

    padding:12px 14px;
    border-radius:12px;

    text-decoration:none;
    color:var(--text);

    margin-bottom:8px;
    transition:.25s;
}

.docs-sidebar a:hover{
    background:#6A5CFF;
    color:#fff;
    transform:translateX(5px);
}

.docs-sidebar a.active{
    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color:#fff;

    box-shadow:
    0 10px 30px rgba(106,92,255,0.35);
}

.docs-content{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.docs-card{
    background:var(--card);
    border:1px solid var(--border);

    border-radius:28px;
    padding:35px;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.04);
}

.card-label{
    display:inline-block;

    padding:6px 14px;
    border-radius:50px;

    background:rgba(106,92,255,0.12);
    color:#6A5CFF;

    font-size:12px;
    font-weight:700;
    letter-spacing:1px;

    margin-bottom:18px;
}

.docs-card h2{
    font-size:32px;
    margin-bottom:15px;
    color:var(--dark);
}

.docs-card p{
    color:var(--text);
    line-height:1.9;
}

.docs-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.feature-card{
    background:var(--card);
    border:1px solid var(--border);

    border-radius:24px;
    padding:30px;

    transition:.3s;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.04);
}

.feature-card:hover{
    transform:translateY(-6px);
}

.feature-icon{
    width:60px;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:linear-gradient(135deg,#6A5CFF,#8B7CFF);

    font-size:24px;
    margin-bottom:20px;
}

.feature-card h3{
    margin-bottom:10px;
    color:var(--dark);
}

.feature-card p{
    color:var(--text);
    line-height:1.7;
}

.code-block{
    position:relative;

    margin-top:20px;

    background:#0f172a;

    border-radius:20px;
    overflow:hidden;

    border:1px solid rgba(255,255,255,0.05);
}

.code-block pre{
    padding:28px;
    overflow:auto;
}

.code-block code{
    color:#e2e8f0;
    font-size:14px;
    line-height:1.8;
}

.copy-btn{
    position:absolute;
    top:14px;
    right:14px;

    border:none;
    cursor:pointer;

    background:#6A5CFF;
    color:#fff;

    padding:8px 14px;
    border-radius:10px;
}

.docs-list{
    padding-left:18px;
    line-height:2;
    color:var(--text);
}

.docs-cta{
    text-align:center;
}

/* DARK MODE */

body.dark .docs-sidebar,
body.dark .docs-card,
body.dark .feature-card{
    background:#111827;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.4);
}

/* NOTE */

.docs-note{
    margin-top:20px;

    padding:18px 20px;

    border-radius:16px;

    background:
    rgba(106,92,255,0.08);

    border:1px solid rgba(106,92,255,0.18);

    color:var(--text);
}


/* TABLE */

.docs-table{
    margin-top:25px;
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
}

.table-row{
    display:grid;
    grid-template-columns:150px 1fr;
}

.table-row div{
    padding:16px 18px;
    border-bottom:1px solid var(--border);
    color:var(--text);
}

.table-head{
    background:rgba(106,92,255,0.08);
    font-weight:700;
}

.table-head div{
    color:var(--dark);
}

/* DARK */

body.dark .table-head{
    background:rgba(106,92,255,0.12);
}

/* WARNING */

.docs-warning{
    margin:20px 0;

    padding:18px 20px;

    border-radius:16px;

    background:
    rgba(239,68,68,0.08);

    border:
    1px solid rgba(239,68,68,0.2);

    color:#ef4444;

    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:1100px){

    .docs-layout{
        grid-template-columns:1fr;
    }

    .docs-sidebar{
        position:static;
    }
}

@media(max-width:768px){

    .docs-hero h1{
        font-size:40px;
    }

    .docs-grid{
        grid-template-columns:1fr;
    }

    .docs-card{
        padding:25px;
    }

    .docs-hero-buttons{
        flex-direction:column;
    }
}



/* ================= FOOTER ================= */

.footer{
    background: #111827; /* 👈 dark footer always */
    color:#cbd5e1;
    padding:50px 20px 20px;
    border-top:1px solid #1f2937;
}
body.dark .card {
    box-shadow: 0 10px 30px rgba(255,255,255,0.06),
                0 0 0 1px rgba(255,255,255,0.08);
}
.footer-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.footer-col h3,
.footer-col h4{
    color:#fff;
    margin-bottom: 10px;
}

.footer-col p{
    font-size:14px;
    line-height:1.6;
}

.footer-col a{
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    margin:6px 0;
    font-size:14px;
    transition:0.3s;
}

.footer-col a:hover{
    color:#6A5CFF;
}

/* BOTTOM */
.footer-bottom{
    text-align:center;
    margin-top:30px;
    border-top:1px solid #1f2937;
    padding-top:15px;
    font-size:13px;
    color:#9ca3af;
}

/* RESPONSIVE */
@media(max-width:768px){
    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:500px){
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }
}

/* ================= BACK TO TOP ================= */

#backToTop{
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg,#6A5CFF,#8B7CFF);
    color: #fff;

    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 25px rgba(106,92,255,0.4);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all .3s ease;
    z-index: 9999;
}

/* SHOW */
#backToTop.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HOVER EFFECT */
#backToTop:hover{
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(106,92,255,0.6);
}

/* CLICK EFFECT */
#backToTop:active{
    transform: scale(0.95);
}

/* DARK MODE */
body.dark #backToTop{
    background: linear-gradient(135deg,#4f46e5,#6366f1);
}

/* MOBILE */
@media(max-width:600px){
    #backToTop{
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
