/* ===================================
   ROOT VARIABLES
=================================== */
:root {
    --red: #e10600;
    --red-glow: rgba(225, 6, 0, 0.35);
    --black: #070707;
    --dark: #0e0e0e;
    --gray: #b5b5b5;
    --white: #ffffff;

    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

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

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

body {
    background: radial-gradient(circle at top, #111, #050505);
    color: var(--white);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.7;
}

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

/* ===================================
   LAYOUT
=================================== */
.container {
    width: 92%;
    max-width: 1320px;
    margin-inline: auto;
}

/* ===================================
   HEADER
=================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

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

.logo span {
    color: var(--red);
}

.main-nav {
    display: flex;
    gap: 34px;
}

.main-nav a {
    font-weight: 600;
    opacity: 0.85;
    position: relative;
    transition: 0.3s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: 0.3s;
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===================================
   HERO
=================================== */
.hero {
    min-height: 88vh;
    display: grid;
    place-items: center;
    text-align: center;

    background:
        linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.9)),
        url("../images/banner.jpg") center / cover no-repeat;
}

.hero-content {
    max-width: 860px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero p {
    font-size: 19px;
    margin: 26px 0;
    color: var(--gray);
}

/* ===================================
   CTA BUTTON GROUP (FIX)
=================================== */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
=================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 44px;
    background: linear-gradient(145deg, #ff1f1f, #b80000);
    border-radius: 999px;

    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px var(--red-glow);
    transition: 0.35s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 55px var(--red-glow);
}

.btn-outline {
    padding: 14px 38px;
    border-radius: 999px;
    border: 2px solid var(--red);
    font-weight: 700;
    transition: 0.35s;
}

.btn-outline:hover {
    background: var(--red);
    box-shadow: 0 12px 35px var(--red-glow);
}

/* ===================================
   PRODUCTS
=================================== */
.products-preview {
    padding: 120px 0;
}

.products-preview h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
}

.product-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.product-card {
    background: linear-gradient(160deg, #121212, #070707);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;

    border: 1px solid rgba(255,255,255,0.04);
    transition: 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--red);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.8),
        0 0 30px var(--red-glow);
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 20px;
    color: var(--red);
    font-weight: 800;
}

/* ===================================
   SINGLE PRODUCT
=================================== */
.single-product {
    padding: 120px 0;
    max-width: 900px;
}

/* ===================================
   CHECKOUT
=================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.checkout-left {
    max-width: 420px;
}

.checkout-right {
    background: linear-gradient(160deg, #121212, #070707);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* ===================================
   FOOTER (REDESIGNED)
=================================== */
.site-footer {
    background: linear-gradient(to top, #050505, #000);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 40px;
}


/* BRAND */
.footer-brand h3 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-brand h3 span {
    color: var(--red);
}

.footer-brand p {
    color: #888;
    font-size: 15px;
    max-width: 420px;
}

/* LINKS */
.footer-links {
    display: flex;
    gap: 28px;
    margin-top: 10px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    position: relative;
    transition: 0.3s;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::after {
    width: 100%;
}

/* COPYRIGHT */
.footer-bottom {
    margin-top: 30px;
    font-size: 13px;
    color: #666;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;

    max-width: 720px;
    margin: 0 auto;
}




/* MOBILE */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
}


/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 18px;
    }

    .btn,
    .btn-outline {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }
}
