/*!
 * Bootstrap v3.4.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/*! normalize.css v3.0.3 | CR License | github.com/necolas/normalize.css */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

html {
    scrollbar-width: none;
}
html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Inter", sans-serif;
    text-transform: capitalize;
    background: #f8f9fc;
    color: #0f172a;
    overflow-x: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6610f2, #6f42c1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.preloader-text {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #e0d4ff, #fff);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: moveGradient 2.5s linear infinite;
}
@keyframes moveGradient {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    margin-left: -10px;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.logo-bracket {
    color: #4c0bd3;
    font-weight: 700;
}

.logo-main {
    color: #0b132b;
}

.logo-highlight {
    color: #4c0bd3;
}

.logo:hover .logo-highlight {
    color: #6610f2;
    transition: color 0.3s ease;
}
.menu-icon {
    font-size: 1.8rem;
    cursor: pointer;
    display: block;
    color: #333;
}
.nav-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 240px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
    z-index: 2001;
}
.nav-menu.active {
    right: 0;
}
.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #6610f2;
}
.nav-menu a.active {
    color: #6610f2;
    font-weight: 600;
}
.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 1.7rem;
    color: #333;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-icon {
        display: none;
    }
    .nav-menu {
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        height: auto;
        width: auto;
        padding: 0;
    }
    .nav-menu a {
        border: none;
        padding: 12px 18px;
        color: #333;
        position: relative;
    }
    .nav-menu a::after {
        content: "";
        position: absolute;
        bottom: 4px;
        left: 0;
        width: 0;
        height: 3px;
        background: #6610f2;
        border-radius: 2px;
        transition: width 0.3s;
    }
    .nav-menu a.active::after,
    .nav-menu a:hover::after {
        width: 100%;
    }
    .close-btn {
        display: none;
    }
}

.hero {
    background: linear-gradient(135deg, #6610f2, #6f42c1);
    color: #fff;
    padding: 100px 20px;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
}
@media (min-width: 900px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
    }
}
.hero-content {
    text-align: center;
    max-width: 600px;
}
@media (min-width: 900px) {
    .hero-content {
        text-align: left;
    }
}
.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
}
.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.search-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin: 0 auto 20px;
}
.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 18px;
    font-size: 0.95rem;
    outline: none;
}
.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.search-box .search-btn {
    background: #fff;
    color: #6610f2;
    border: none;
    font-size: 1.2rem;
    padding: 10px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.search-box .search-btn:hover {
    background: #ede9fe;
    transform: translateY(-2px);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
@media (min-width: 900px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}
.hero-btn {
    background: #fff;
    color: #6610f2;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.hero-btn:hover {
    background: #ede9fe;
    transform: translateY(-2px);
}
.hero-animation {
    max-width: 450px;
}

.title {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    margin-left: -10px;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.title-bracket {
    color: #4c0bd3;
    font-weight: 700;
}

.title-main {
    color: #0b132b;
}

.title-highlight {
    color: #4c0bd3;
}

.title:hover .title-highlight {
    color: #6610f2;
    transition: color 0.3s ease;
}

.page {
    flex: 1;
    padding: 60px 20px;
    font-family: "Poppins", sans-serif;
    margin: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.content {
    padding: 10px;
    color: #111;
}

.products {
    padding: 100px 16px;
    max-width: 1200px;
    margin: auto;
}
.products .title {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 28px;
    color: #111;
}

.product-price {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: 2px solid #6610f2;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: 0.4s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(102, 16, 242, 0.25);
}
.thumb {
    height: 155px;
    overflow: hidden;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .thumb img {
    transform: scale(1.1);
}
.card-content {
    border-top: 2px solid #6610f2;
    padding: 0px 15px 15px 15px;
}
.card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 10px 0 4px;
    font-family: "Poppins", sans-serif;
}
.card p {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.btn {
    padding: 8px 30px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}
.btn.preview {
    background: #ede9fe;
    color: #6610f2;
}
.btn.buy {
    background: #6610f2;
    color: #fff;
}
.btn:hover {
    transform: translateY(-2px);
}

.testimonials {
    padding: 60px 16px;
    max-width: 1200px;
    margin: 20px auto;
}
.testimonials .title {
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #111;
}

.carousel {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.31, 1);
    will-change: transform;
    padding: 10px 4px;
}
.testimonial {
    background: var(--card);
    border-radius: 14px;
    padding: 18px;
    min-width: calc(100% / 1 - 18px);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.testimonial .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 64px;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.06);
}
.testimonial .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testimonial .body {
    flex: 1;
}
.testimonial .name {
    font-weight: 700;
    margin-bottom: 6px;
}
.stars {
    color: #f5c150;
    margin-bottom: 8px;
}
.quote {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.45;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.carousel-arrow.left {
    left: 8px;
}
.carousel-arrow.right {
    right: 8px;
}
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    cursor: pointer;
}

.carousel-dots button.active {
    background: #6610f2;
}

@media (min-width: 980px) {
    .testimonial {
        min-width: calc((100% - 36px) / 3);
    }
}
@media (min-width: 680px) and (max-width: 979px) {
    .testimonial {
        min-width: calc((100% - 18px) / 2);
    }
}
@media (max-width: 679px) {
    .testimonial {
        min-width: 100%;
    }
    .carousel-arrow {
        display: none;
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6610f2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 4000;
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.team {
    padding: 100px 16px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
.team h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #111;
}
.team-intro {
    color: #555;
    margin-bottom: 40px;
    font-size: 1rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    justify-items: center;
}
.member {
    background: #fff;
    border-radius: 18px;
    padding: 24px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 280px;
}
.member:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(102, 16, 242, 0.25);
}
.member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #6610f2;
}
.member h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #111;
}
.member p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}
.socials a {
    text-decoration: none;
    color: #6610f2;
    font-weight: 600;
    transition: color 0.3s;
}
.socials a:hover {
    color: #4c0bd3;
}

.trust-box {
    margin: 60px 10px;
    background: #6610f2;
    color: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 16, 242, 0.3);
}

.trust-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-text h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.trust-text p {
    font-size: 0.95rem;
    color: #e9e9e9;
}

.trust-btn {
    background: #fff;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.trust-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .trust-content {
        flex-direction: column;
        text-align: center;
    }
    .trust-btn {
        margin-top: 15px;
    }
}

.footer {
    background-color: #5a00ff;
    text-align: center;
    padding: 20px 10px;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin: 0 8px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links span {
    color: #fff;
    font-weight: 600;
}

.footer-copy {
    font-size: 0.9rem;
    font-weight: 500;
}

body.dark {
    background: #0f172a;
    color: #e2e8f0;
}
body.dark .header {
    background: #0f172a;
    box-shadow: none;
}

body.dark .logo-main {
    color: #f8fafc;
}
body.dark .logo-bracket,
body.dark .logo-highlight {
    color: #a78bfa;
}

body.dark .menu-icon {
    color: #e2e8f0;
}

body.dark .nav-menu {
    background: #0f172a;
}
body.dark .nav-menu a {
    color: #e2e8f0;
}
body.dark .nav-menu a:hover,
body.dark .nav-menu a.active {
    color: #a78bfa;
}
body.dark .hero {
    background: linear-gradient(135deg, #4c1d95, #6d28d9);
}

body.dark .hero-btn {
    background: #0f172a;
    color: #fff;
}

body.dark .search-btn {
    background: #0f172a;
    color: #fff;
}

body.dark .title-bracket,
body.dark .title-highlight {
    color: #a78bfa;
}

body.dark .products h2,
body.dark h1,
body.dark h2,
body.dark h3 {
    color: #f8fafc;
}

body.dark .page {
    background: #0f172a;
}

body.dark .title-main {
    color: #fff;
}

body.dark .content {
    color: #fff;
}

body.dark .testimonials .title {
    color: #fff;
}

body.dark .testimonial {
    background: #1e293b;
}

body.dark .testimonial .name {
    color: #f8fafc;
}

body.dark .quote {
    color: #cbd5e1;
}

body.dark p {
    color: #cbd5e1;
}
body.dark .card {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}
body.dark .card h3 {
    color: #f8fafc;
}
body.dark .card p {
    color: #cbd5e1;
}
body.dark .team h2 {
    color: #fff;
}
body.dark .team-intro {
    color: #cbd5e1;
}
body.dark .member {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}
body.dark .member h3 {
    color: #f8fafc;
}
body.dark .member p {
    color: #cbd5e1;
}
body.dark .socials a {
    color: #a78bfa;
}
body.dark .socials a:hover {
    color: #c4b5fd;
}
body.dark .trust-box {
    background: #4c0bd3;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}
body.dark .trust-btn {
    background: #f8fafc;
    color: #000;
}
body.dark .trust-btn:hover {
    background: #e2e8f0;
}
body.dark footer {
    background: #1e293b;
}
body.dark .footer-container {
    color: #94a3b8;
}