/* =========================================================
   QQVICTORY COMPUTER STORE
   Premium Dark Tech Design
   File: css/style.css
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --bg: #07090d;
    --bg-soft: #0b0f15;
    --surface: #10151d;
    --surface-2: #151b24;
    --surface-3: #1b222d;

    --text: #f5f7fa;
    --text-soft: #aab3c0;
    --text-muted: #707b89;

    --accent: #49d7ff;
    --accent-dark: #159cc2;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);

    --success: #5ce1a7;

    --container: 1240px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    --transition:
        0.3s ease;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(73, 215, 255, 0.07),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    display: block;
    width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding: 110px 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(7, 9, 13, 0.82);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border-bottom:
        1px solid var(--border);

}


.header-inner {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

}


.logo-mark {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #227cdd
        );

    color: #041018;

    font-size: 20px;

    font-weight: 900;

    box-shadow:
        0 0 25px rgba(
            73,
            215,
            255,
            0.25
        );

}


.logo-text {

    font-size: 18px;

    font-weight: 800;

    letter-spacing: -0.5px;

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 30px;

}


.main-nav a {

    position: relative;

    color:
        var(--text-soft);

    font-size: 14px;

    font-weight: 600;

    transition:
        color var(--transition);

}


.main-nav a:hover,
.main-nav a.active {

    color:
        var(--text);

}


.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -10px;

    height: 2px;

    background:
        var(--accent);

    border-radius: 10px;

}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.search-button,
.cart-button {

    min-height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    background:
        rgba(255, 255, 255, 0.03);

    color:
        var(--text-soft);

    transition:
        all var(--transition);

}


.search-button {

    width: 42px;

}


.cart-button {

    padding:
        0 15px;

    gap: 9px;

    font-size: 13px;

    font-weight: 700;

}


.search-button:hover,
.cart-button:hover {

    border-color:
        var(--accent);

    color:
        var(--accent);

    background:
        rgba(
            73,
            215,
            255,
            0.05
        );

}


.cart-count {

    width: 20px;
    height: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        var(--accent);

    color:
        #031017;

    font-size: 11px;

    font-weight: 800;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height:
        calc(100vh - 82px);

    display: flex;

    align-items: center;

    overflow: hidden;

}


.hero::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    background:
        radial-gradient(
            circle,
            rgba(
                73,
                215,
                255,
                0.12
            ),
            transparent 70%
        );

    pointer-events: none;

}


.hero-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;

}


.hero-content {

    position: relative;

    z-index: 2;

}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color:
        var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.eyebrow::before {

    content: "";

    width: 28px;

    height: 1px;

    background:
        var(--accent);

}


.hero h1 {

    max-width: 720px;

    font-size:
        clamp(
            48px,
            6vw,
            82px
        );

    line-height:
        0.98;

    letter-spacing:
        -4px;

    font-weight: 800;

}


.hero h1 span {

    display: block;

    color:
        var(--accent);

}


.hero-content > p {

    max-width: 620px;

    margin-top: 28px;

    color:
        var(--text-soft);

    font-size: 17px;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 38px;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 24px;

    border-radius:
        11px;

    font-size: 14px;

    font-weight: 800;

    transition:
        all var(--transition);

}


.btn-primary {

    background:
        var(--accent);

    color:
        #031017;

    box-shadow:
        0 10px 30px
        rgba(
            73,
            215,
            255,
            0.15
        );

}


.btn-primary:hover {

    transform:
        translateY(-3px);

    background:
        #70e1ff;

    box-shadow:
        0 15px 40px
        rgba(
            73,
            215,
            255,
            0.25
        );

}


.btn-secondary {

    border:
        1px solid var(--border-light);

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

    color:
        var(--text);

}


.btn-secondary:hover {

    border-color:
        var(--accent);

    color:
        var(--accent);

}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {

    display: flex;

    align-items: center;

    gap: 45px;

    margin-top: 55px;

}


.stat {

    display: flex;

    flex-direction: column;

}


.stat strong {

    font-size: 22px;

    font-weight: 800;

}


.stat span {

    margin-top: 3px;

    color:
        var(--text-muted);

    font-size: 12px;

}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-visual {

    position: relative;

}


.hero-visual::before {

    content: "";

    position: absolute;

    inset: 8%;

    border-radius: 50%;

    background:
        rgba(
            73,
            215,
            255,
            0.13
        );

    filter:
        blur(80px);

}


.hero-visual img {

    position: relative;

    z-index: 2;

    aspect-ratio:
        1 / 1;

    object-fit:
        cover;

    border-radius:
        30px;

    border:
        1px solid var(--border-light);

    box-shadow:
        var(--shadow);

}


.floating-card {

    position: absolute;

    z-index: 4;

    right: -25px;

    bottom: 35px;

    min-width: 180px;

    padding: 18px 20px;

    border:
        1px solid var(--border-light);

    border-radius:
        14px;

    background:
        rgba(
            10,
            14,
            20,
            0.85
        );

    backdrop-filter:
        blur(18px);

    box-shadow:
        var(--shadow);

}


.floating-card span {

    display: block;

    margin-bottom: 5px;

    color:
        var(--text-muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.floating-card strong {

    color:
        var(--accent);

    font-size: 17px;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;

}


.section-heading.centered {

    display: block;

    max-width: 700px;

    margin-inline: auto;

    text-align: center;

}


.section-label {

    display: block;

    margin-bottom: 13px;

    color:
        var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;

}


.section-heading h2 {

    font-size:
        clamp(
            32px,
            4vw,
            48px
        );

    line-height: 1;

    letter-spacing:
        -2px;

}


.section-heading p {

    margin-top: 18px;

    color:
        var(--text-soft);

}


.text-link {

    color:
        var(--text-soft);

    font-size: 13px;

    font-weight: 700;

    transition:
        color var(--transition);

    white-space: nowrap;

}


.text-link:hover {

    color:
        var(--accent);

}


/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    grid-template-rows:
        280px 280px;

    gap: 16px;

}


.category-card {

    position: relative;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--surface);

}


.category-large {

    grid-row:
        span 2;

}


.category-card img {

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;

}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.05)
        );

}


.category-card:hover img {

    transform:
        scale(1.07);

}


.category-overlay {

    position: absolute;

    z-index: 2;

    left: 25px;

    right: 25px;

    bottom: 23px;

}


.category-overlay span {

    color:
        var(--accent);

    font-size: 11px;

    font-weight: 800;

}


.category-overlay h3 {

    margin-top: 5px;

    font-size: 24px;

}


.category-overlay p {

    margin-top: 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 12px;

}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {

    background:
        var(--bg-soft);

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.product-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--surface);

    transition:
        transform var(--transition),
        border-color var(--transition);

}


.product-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(
            73,
            215,
            255,
            0.3
        );

}


.product-image {

    position: relative;

    overflow: hidden;

    background:
        var(--surface-2);

}


.product-image img {

    aspect-ratio:
        1 / 0.9;

    object-fit:
        cover;

    transition:
        transform 0.6s ease;

}


.product-card:hover
.product-image img {

    transform:
        scale(1.06);

}


.product-badge {

    position: absolute;

    z-index: 2;

    top: 13px;

    left: 13px;

    padding:
        6px 9px;

    border-radius:
        6px;

    background:
        var(--accent);

    color:
        #031017;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.8px;

}


.product-info {

    padding: 20px;

}


.product-category {

    color:
        var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;

}


.product-info h3 {

    margin-top: 7px;

    font-size: 19px;

}


.product-info p {

    min-height: 45px;

    margin-top: 8px;

    color:
        var(--text-muted);

    font-size: 12px;

}


.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 18px;

    padding-top: 15px;

    border-top:
        1px solid var(--border);

}


.product-bottom strong {

    font-size: 18px;

}


.product-bottom a {

    color:
        var(--accent);

    font-size: 12px;

    font-weight: 800;

}


/* =========================================================
   BENEFITS
========================================================= */

.benefit-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-top: 55px;

}


.benefit-card {

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(
            255,
            255,
            255,
            0.02
        );

    transition:
        all var(--transition);

}


.benefit-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(
            73,
            215,
            255,
            0.3
        );

}


.benefit-icon {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    margin-bottom: 25px;

    border-radius:
        13px;

    background:
        rgba(
            73,
            215,
            255,
            0.08
        );

    font-size: 20px;

}


.benefit-card h3 {

    font-size: 18px;

}


.benefit-card p {

    margin-top: 10px;

    color:
        var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   PROMO
========================================================= */

.promo-box {

    position: relative;

    min-height: 460px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        30px;

    background:
        linear-gradient(
            120deg,
            #101820,
            #0b1118
        );

}


.promo-content {

    position: relative;

    z-index: 2;

    padding: 65px;

}


.promo-content h2 {

    font-size:
        clamp(
            38px,
            5vw,
            64px
        );

    line-height:
        0.98;

    letter-spacing:
        -3px;

}


.promo-content p {

    max-width: 470px;

    margin:
        25px 0 30px;

    color:
        var(--text-soft);

}


.promo-image {

    height: 100%;

}


.promo-image img {

    height: 100%;

    object-fit: cover;

    opacity: 0.72;

}


/* =========================================================
   REVIEWS
========================================================= */

.review-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.review-card {

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--surface);

}


.stars {

    margin-bottom: 20px;

    color:
        var(--accent);

    letter-spacing:
        3px;

}


.review-card > p {

    color:
        var(--text-soft);

    font-size: 14px;

}


.review-author {

    display: flex;

    flex-direction: column;

    margin-top: 28px;

    padding-top: 18px;

    border-top:
        1px solid var(--border);

}


.review-author strong {

    font-size: 13px;

}


.review-author span {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   FAQ
========================================================= */

.faq {

    background:
        var(--bg-soft);

}


.faq-grid {

    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    gap: 90px;

    align-items: start;

}


.faq-intro h2 {

    font-size:
        clamp(
            35px,
            4vw,
            50px
        );

    line-height: 1;

    letter-spacing:
        -2px;

}


.faq-intro p {

    margin:
        20px 0 25px;

    color:
        var(--text-soft);

}


.faq-list {

    border-top:
        1px solid var(--border);

}


.faq-list details {

    border-bottom:
        1px solid var(--border);

}


.faq-list summary {

    position: relative;

    padding:
        23px 35px 23px 0;

    cursor: pointer;

    list-style: none;

    font-size: 15px;

    font-weight: 700;

}


.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary::after {

    content: "+";

    position: absolute;

    right: 0;

    top: 20px;

    color:
        var(--accent);

    font-size: 22px;

    font-weight: 400;

}


.faq-list details[open]
summary::after {

    content: "−";

}


.faq-list details p {

    padding:
        0 35px 23px 0;

    color:
        var(--text-muted);

    font-size: 13px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding-top: 75px;

    background:
        #05070a;

    border-top:
        1px solid var(--border);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.7fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;

}


.footer-brand p {

    max-width: 320px;

    margin-top: 20px;

    color:
        var(--text-muted);

    font-size: 13px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

}


.footer-column h3 {

    margin-bottom: 8px;

    font-size: 13px;

}


.footer-column a {

    color:
        var(--text-muted);

    font-size: 12px;

    transition:
        color var(--transition);

}


.footer-column a:hover {

    color:
        var(--accent);

}


.footer-bottom {

    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid var(--border);

    color:
        var(--text-muted);

    font-size: 11px;

}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    background:
        var(--accent);

    color:
        #031017;

}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 8px;

}


::-webkit-scrollbar-track {

    background:
        var(--bg);

}


::-webkit-scrollbar-thumb {

    background:
        #252d38;

    border-radius:
        20px;

}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--accent);

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes float {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-8px);

    }

}


.floating-card {

    animation:
        float 4s ease-in-out infinite;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {


    .main-nav {

        gap: 18px;

    }


    .hero-grid {

        gap: 40px;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .benefit-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .category-grid {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            300px 300px;

    }


    .category-large {

        grid-row:
            auto;

    }


}


@media (max-width: 850px) {


    .header-inner {

        gap: 15px;

    }


    .main-nav {

        display: none;

    }


    .hero {

        min-height:
            auto;

        padding:
            80px 0;

    }


    .hero-grid {

        grid-template-columns:
            1fr;

    }


    .hero-content {

        text-align: center;

    }


    .eyebrow {

        justify-content: center;

    }


    .hero-content > p {

        margin-inline:
            auto;

    }


    .hero-buttons {

        justify-content:
            center;

    }


    .hero-stats {

        justify-content:
            center;

    }


    .hero-visual {

        max-width:
            650px;

        margin-inline:
            auto;

    }


    .faq-grid {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


}


@media (max-width: 650px) {


    .container {

        width:
            min(
                calc(100% - 30px),
                var(--container)
            );

    }


    .section {

        padding:
            75px 0;

    }


    .header-inner {

        min-height:
            70px;

    }


    .logo-text {

        font-size:
            16px;

    }


    .header-actions {

        gap: 7px;

    }


    .cart-button {

        padding:
            0 10px;

    }


    .hero {

        padding:
            65px 0;

    }


    .hero h1 {

        font-size:
            clamp(
                43px,
                13vw,
                62px
            );

        letter-spacing:
            -3px;

    }


    .hero-content > p {

        font-size:
            14px;

    }


    .hero-buttons {

        flex-direction:
            column;

    }


    .hero-buttons .btn {

        width:
            100%;

    }


    .hero-stats {

        gap:
            22px;

    }


    .stat strong {

        font-size:
            18px;

    }


    .stat span {

        font-size:
            10px;

    }


    .floating-card {

        right:
            12px;

        bottom:
            15px;

        min-width:
            150px;

        padding:
            14px;

    }


    .section-heading {

        display:
            block;

    }


    .section-heading .text-link {

        display:
            inline-block;

        margin-top:
            18px;

    }


    .category-grid {

        display:
            grid;

        grid-template-columns:
            1fr;

        grid-template-rows:
            repeat(4, 230px);

    }


    .product-grid {

        grid-template-columns:
            1fr;

    }


    .benefit-grid {

        grid-template-columns:
            1fr;

    }


    .promo-box {

        grid-template-columns:
            1fr;

    }


    .promo-content {

        padding:
            45px 25px;

    }


    .promo-content h2 {

        font-size:
            42px;

    }


    .promo-image {

        min-height:
            280px;

    }


    .review-grid {

        grid-template-columns:
            1fr;

    }


    .faq-intro h2 {

        font-size:
            40px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            40px 25px;

    }


    .footer-bottom {

        flex-direction:
            column;

        justify-content:
            center;

        padding:
            20px 0;

        text-align:
            center;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {


    .logo-mark {

        width:
            34px;

        height:
            34px;

        font-size:
            17px;

    }


    .logo-text {

        font-size:
            14px;

    }


    .search-button {

        display:
            none;

    }


    .hero-stats {

        flex-wrap:
            wrap;

    }


    .hero h1 {

        font-size:
            42px;

    }


    .section-heading h2 {

        font-size:
            34px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }

}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: 160px;
    height: auto;
    object-fit: contain;
}