/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0f0c29;
    color: #fff;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title i {
    -webkit-text-fill-color: #f7971e;
}

/* ===== HEADER ===== */
.header {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i {
    color: #f7971e;
}
.nav {
    display: flex;
    gap: 30px;
}
.nav a {
    color: #b0b0d0;
    font-weight: 500;
    transition: color 0.3s;
}
.nav a:hover {
    color: #f7971e;
}
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: #fff;
    transition: color 0.3s;
}
.cart-icon:hover {
    color: #f7971e;
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #f7971e;
    color: #0f0c29;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: #b0b0d0;
    margin-bottom: 30px;
}
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0f0c29;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 151, 30, 0.3);
}

/* ===== PRODUCTS ===== */
.products {
    padding: 80px 0;
    background: #1a1a2e;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: #24243e;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f7971e;
    color: #0f0c29;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}
.product-info {
    padding: 18px 20px;
}
.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.product-desc {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
}
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd200;
}
.btn-add {
    background: #f7971e;
    color: #0f0c29;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-add:hover {
    background: #ffd200;
    transform: scale(1.05);
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: #0f0c29;
}
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
}
.about-content p {
    color: #c0c0e0;
}
.about-content i {
    margin-right: 8px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 80px 0;
    background: #1a1a2e;
}
.contact-content {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.2;
}
.contact-content i {
    color: #f7971e;
    width: 30px;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
}
.cart-overlay.active {
    display: block;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: #1a1a2e;
    z-index: 1001;
    transition: right 0.4s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.05);
}
.cart-sidebar.open {
    right: 0;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-header h2 {
    font-size: 1.2rem;
}
.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-item-name {
    font-weight: 500;
}
.cart-item-price {
    color: #ffd200;
}
.cart-item-remove {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.1rem;
}
.empty-cart {
    text-align: center;
    color: #666;
    padding: 40px 0;
}
.cart-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.cart-total span:last-child {
    color: #ffd200;
}
.btn-checkout {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #0f0c29;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}
.btn-checkout:hover {
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.footer {
    padding: 30px 0;
    text-align: center;
    background: #0a0a1a;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: #555;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}