:root {
    --accent: #ff0000; /* Racing Red */
    --accent-light: #ff4d4d;
    --bg-deep: #050505;
    --bg-surface: #0f0f12;
    --bg-card: rgba(25, 25, 30, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
    --neon-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Carbon fiber background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,0,0,0.05) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(90deg, #ff0000, #ff7b00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Premium Navigation --- */
nav {
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: var(--neon-shadow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* --- Hero Section --- */
.hero-visual {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

/* --- Buttons --- */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.4);
    background: var(--accent-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--text-secondary);
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-thumb {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb {
    transform: scale(1.1);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* --- Categories --- */
.category-strip {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.cat-tag {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.cat-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--neon-shadow);
}

/* --- Views Management --- */
.view-section {
    display: none;
    padding-top: calc(var(--nav-height) + 4rem);
    min-height: 100vh;
}

.view-section.active {
    display: block;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s forwards;
}

/* --- Product Detail Extra --- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.detail-image-box {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 4rem;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.specs-table .label {
    color: var(--text-secondary);
    width: 40%;
}

/* --- Support & Contact --- */
.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    background: var(--bg-surface);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-content {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-header {
    color: var(--accent);
}

/* Response for Mobile */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .nav-actions input { display: none; }
    .hero-text h1 { font-size: 3rem; }
    .detail-grid { grid-template-columns: 1fr; gap: 3rem; }
    #cart-full-content { grid-template-columns: 1fr; }
}
