

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%), url('/User/images/landing/hero_background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem 0;
}

.hero-content {
    max-width: 600px;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #c2410c;
}

/* --- Categories (Bento Grid) --- */
.categories-section {
    padding: 5rem 0;
    min-height: 56rem;
    background-color: var(--bg-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 22rem;
    gap: 1rem;
}

.bento-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #e2e8f0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.bento-item:hover {
    transform: translateY(-5px);
}

.bento-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.bento-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-content p {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-top: 0.25rem;
}

/* Grid Spans */
.item-monitors { grid-column: span 2; grid-row: span 1; }
.item-headsets { grid-column: 3 / 4; grid-row: span 2; }
.item-keyboards { grid-column: span 1; grid-row: span 1; }
.item-mouse { grid-column: span 1; grid-row: span 1; }

/* --- Flagship Gear --- */
.products-section {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-title span {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.view-all {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 0.25rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #fff;
    cursor: pointer;
}

.product-image {
    position: relative;
    background: var(--surface-color);
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
    border-radius: 0.75rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 0.75rem;
}

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

.product-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--text-main);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    z-index: 10;
    border-radius: 0.2rem;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 0.875rem;
    font-weight: 700;
}

.product-price {
    font-weight: 700;
    font-size: 0.875rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stars {
    color: #f59e0b;
    font-size: 0.875rem;
    letter-spacing: -2px;
}

/* --- Features --- */
.features-section {
    padding: 4rem 0 5rem 0;
    background-color: var(--surface-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #e0e7ff;
    color: #3730a3;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.feature-item h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Newsletter --- */
.newsletter-section {
    background-color: #0f172a;
    color: #fff;
    padding: 5rem 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    font-size: 0.875rem;
    color: #94a3b8;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: #1e293b;
    border: 1px solid #334155;
    color: #fff;
    outline: none;
    font-family: inherit;
    font-size: 0.75rem;
}

.newsletter-form input::placeholder {
    color: #64748b;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.newsletter-form button {
    padding: 0 2rem;
    background: #fff;
    color: #0f172a;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

/* --- Footer --- */
footer {
    background: hsl(0, 100%, 100%);
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
    width: 100%;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.footer-inner .footer-logo {
    justify-self: start;
}

.footer-inner .footer-links {
    justify-self: center;
}

.footer-inner .copyright {
    justify-self: end;
    text-align: right;
}

.footer-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
}

.footer-logo span {
    display: block;
    font-size: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a, .copyright {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* --- Responsive Design --- */
@media (max-width: 1280px) {
    .hero h1 { font-size: 3.75rem; }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 20rem;
    }
    .item-monitors { grid-column: span 2; }
    .item-headsets { grid-column: span 1; }
    .item-mouse { grid-column: span 1; grid-row: span 1; }
    .item-keyboards { grid-column: span 2; }
    
    .product-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-inner {
        gap: 2.5rem;
    }

    footer { padding: 2rem; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 480px;
        height: auto;
        padding: 6rem 0 4rem;
        align-items: flex-start;
        padding-top: 5rem;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }

    .categories-section { padding: 3rem 0; min-height: auto; }
    .bento-grid { 
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .item-monitors, .item-headsets, .item-mouse, .item-keyboards { 
        grid-column: span 1; 
        grid-row: span 1; 
    }

    .products-section { padding: 3rem 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .section-title h2 { font-size: 1.75rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

    .features-section { padding: 3rem 0; }
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }

    .newsletter-section { padding: 3.5rem 0; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .newsletter-text h2 { font-size: 1.5rem; }
    .newsletter-form { max-width: 100%; }

    .footer-inner { 
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-inner .footer-logo { justify-self: center; }
    .footer-inner .footer-links { justify-self: center; }
    .footer-inner .copyright { justify-self: center; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.875rem; }
    .badge { font-size: 0.5rem; }
    .btn-primary { padding: 0.875rem 1.5rem; font-size: 0.7rem; }

    .bento-grid { grid-auto-rows: 180px; gap: 0.75rem; }
    .product-grid { grid-template-columns: 1fr; }

    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }
    .newsletter-form button { padding: 1rem; }

    footer { padding: 2rem 1.25rem; }
    .footer-links { gap: 0.75rem; }
}

/* --- Entrance Animation --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease-out; }