* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    color: #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

/* TOP BAR */

.top-bar {
    width: 100%;
    background: #020617;
    color: #cbd5e1;
    padding: 10px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* HEADER */

.header {
    width: 100%;
    background: linear-gradient(135deg, #050505, #0f172a);
    padding: 22px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 35px rgba(0,0,0,0.22);
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo a {
    color: #fff;
}

.logo span {
    color: #0066ff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    font-size: 15px;
    font-weight: 800;
    color: #cbd5e1;
    position: relative;
    transition: 0.2s;
}

.nav a.active,
.nav a:hover {
    color: #fff;
}

.nav a.active::after,
.nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -28px;
    width: 100%;
    height: 3px;
    background: #0066ff;
    border-radius: 10px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icons a {
    font-size: 22px;
    color: #fff;
    transition: 0.2s;
}

.header-icons a:hover {
    color: #0066ff;
}

.cart-icon {
    position: relative;
}

.cart-count {
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0066ff;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -10px;
}

/* MAIN */

main {
    flex: 1;
}

/* HERO SLIDER */

.hero-slider {
    width: 100%;
    height: 340px;
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.7s ease;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.72) 35%,
            rgba(0,0,0,0.45) 100%
        );
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 620px;
    color: #fff;
}

.hero-slide-content-clean {
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 420px;
}

.hero-slide-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 900;
    color: #0066ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-slide-content h2 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 14px;
}

.hero-slide-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 22px;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 50px;
    background: linear-gradient(135deg, #0066ff, #0044cc);
    color: #fff;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
    transition: 0.2s;
    box-shadow: 0 18px 35px rgba(0,102,255,0.35);
}

.hero-slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 45px rgba(0,102,255,0.42);
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: 0.25s;
}

.hero-slider-dot:hover {
    background: rgba(255,255,255,0.65);
}

.hero-slider-dot.active {
    background: #0066ff;
    transform: scale(1.15);
    box-shadow:
        0 0 10px #0066ff,
        0 0 22px #0066ff;
}

/* BENEFITS */

.benefits {
    background: #fff;
    padding: 25px 70px 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px;
    border-right: 1px solid #ddd;
}

.benefit:last-child {
    border-right: none;
}

.benefit i {
    font-size: 28px;
    color: #0066ff;
}

.benefit h4 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 4px;
}

.benefit p {
    font-size: 13px;
    color: #555;
}

/* HOME EXTRA SECTIONS */

.home-categories-section,
.reviews-section,
.social-section {
    padding: 70px 70px;
    background: #f6f6f6;
}

.home-section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-section-head span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0066ff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-section-head h2 {
    font-size: 38px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
}

.home-section-head p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.home-categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.home-category-card {
    min-height: 230px;
    background: linear-gradient(135deg, #050505, #0f172a);
    color: #fff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0,0,0,0.16);
    transition: 0.25s;
}

.home-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0,102,255,0.45), transparent 45%);
    opacity: 0.85;
}

.home-category-card i {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    color: #60a5fa;
}

.home-category-card h3 {
    position: relative;
    z-index: 2;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
}

.home-category-card p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.home-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(0,0,0,0.22);
}

/* PRODUCTS */

.products-section {
    padding: 55px 70px 70px;
    background: #f6f6f6;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
}

/* PRODUKT SLIDER */

.products-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.products-slider {
    width: 100%;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    min-width: 290px;
    max-width: 290px;
    flex: 0 0 290px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.25s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.product-image {
    height: 260px;
    background: #f2f2f2;
    overflow: hidden;
    position: relative;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-info {
    padding: 18px;
}

.product-title {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 12px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.product-old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    font-weight: 700;
}

.product-new-price {
    font-size: 24px;
    font-weight: 900;
    color: #111;
}

.product-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #dc2626;
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 20;
}

.product-new-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #0066ff;
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(0,102,255,0.35);
}

.product-popular-badge {
    position: absolute;
    top: 56px;
    right: 14px;
    background: #16a34a;
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(22,163,74,0.35);
}

.product-btn {
    width: 100%;
    background: #050505;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn:hover {
    background: #0066ff;
}

.empty-products-message {
    width: 100%;
    text-align: center;
    font-weight: 800;
    color: #64748b;
}

/* BRAND SECTION */

.brand-section {
    padding: 80px 70px;
    background: #050505;
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.brand-content {
    max-width: 760px;
}

.brand-content span,
.social-box span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-content h2 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 24px;
}

.brand-content p {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    height: 58px;
    background: #0066ff;
    color: #fff;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s;
}

.brand-btn:hover {
    background: #0044cc;
    transform: translateY(-2px);
}

.brand-stats {
    display: grid;
    gap: 18px;
}

.brand-stats div {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
    padding: 28px;
}

.brand-stats strong {
    display: block;
    font-size: 38px;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 8px;
}

.brand-stats span {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

/* REVIEWS */

.reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.review-stars {
    color: #f59e0b;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.review-card p {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.review-card strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

/* SOCIAL SECTION */

.social-box {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #050505, #0f172a);
    color: #fff;
    border-radius: 26px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

.social-box h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 12px;
}

.social-box p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
}

.social-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-action {
    height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s;
}

.social-action:hover {
    background: #0066ff;
    transform: translateY(-2px);
}

/* FOOTER */

.footer {
    background: #050505;
    color: #fff;
    padding: 55px 70px 22px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
}

.footer h4 {
    font-size: 17px;
    margin-bottom: 18px;
}

.footer p,
.footer a {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 2;
}

.footer a:hover {
    color: #0066ff;
}

.footer-socials {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.footer-socials a {
    font-size: 22px;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 13px;
}

.newsletter-box {
    display: flex;
    margin-top: 15px;
}

.newsletter-box input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 13px;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.newsletter-box button {
    background: #0066ff;
    color: #fff;
    border: none;
    padding: 0 18px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 900;
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit {
        border-right: none;
    }

}

@media (max-width: 1100px) {

    .home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-section {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .social-box {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 1000px) {

    .hero-slider {
        height: 300px;
    }

}

@media (max-width: 900px) {

    .top-bar {
        padding: 10px 25px;
        flex-direction: column;
        gap: 8px;
    }

    .header {
        padding: 22px 25px;
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .benefits,
    .products-section,
    .footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .hero-slider {
        height: 240px;
    }

    .hero-slide-content-clean {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }

    .hero-slide-content h2 {
        font-size: 26px;
    }

    .hero-slide-content p {
        font-size: 13px;
    }

    .hero-slide-btn {
        width: 100%;
        min-width: 100%;
        height: 48px;
    }

    .home-categories-section,
    .reviews-section,
    .social-section,
    .brand-section {
        padding: 50px 25px;
    }

    .home-categories-grid {
        grid-template-columns: 1fr;
    }

    .home-section-head h2,
    .brand-content h2 {
        font-size: 32px;
    }

    .social-box {
        padding: 30px;
    }

    .social-actions {
        width: 100%;
        flex-direction: column;
    }

    .social-action {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 520px) {

    .products,
    .benefits,
    .footer-grid {
        grid-template-columns: 1fr;
    }

}