@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&family=Goldman:wght@400;700&display=swap');

/* Products Section Styles */
.products-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    display: block;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/>');    opacity: 0.3;
    pointer-events: none;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 130px;
    position: relative;
    z-index: 1;
}

.products-header {
    text-align: center;
    margin-bottom: 80px;
}

.products-header h2 {
    font-family: 'Goldman', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.products-header .highlight {
    color: rgb(255, 187, 0);
    position: relative;
}

.products-header .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgb(255, 187, 0);
    border-radius: 2px;
}

.products-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.product-category {
    background: #1e1e1e;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 187, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, rgb(255, 187, 0) 0%, rgba(255, 187, 0, 0.3) 100%);
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-header h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #aaaaaa;
    font-weight: 300;
}

.products-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.product-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 187, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgb(255, 187, 0);
    box-shadow: 0 20px 40px rgba(255, 187, 0, 0.2);
    background: #333333;
}

.product-image {
    margin-bottom: 30px;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Goldman', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.1) 75%);
    background-size: 20px 20px;
}

.keyboard-placeholder {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.pcb-placeholder {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.peripheral-placeholder {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.product-info h4 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #cccccc;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-info .price {
    font-family: 'Goldman', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(255, 187, 0);
    display: block;
}

.products-cta {
    text-align: center;
    margin-top: 80px;
}

.cta-button {
    background: linear-gradient(135deg, rgb(255, 187, 0) 0%, #f39c12 100%);
    color: #000;
    border: none;
    padding: 20px 50px;
    font-family: 'Goldman', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 187, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 187, 0, 0.4);
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: rgb(255, 187, 0);
}

.cta-button:active {
    transform: translateY(-1px);
}

.product-overview-section {
    padding: 100px 20px 40px 20px; /* Reduced bottom padding from 100px to 40px */
    background: #ffffff;
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
}

.product-overview-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255, 187, 0, 0.38) 0%, transparent 70%);
    filter: blur(80px);
    animation: floatCircle1 30s ease-in-out infinite;
    pointer-events: none;
    z-index: -2; /* Changed from -1 to -2 */
}

.product-overview-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 50%;
    height: 120%;
    filter: blur(80px);
    z-index: -2;
    animation: floatCircle2 35s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, -40px) scale(1.1);
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Goldman', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.product-category {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(255, 187, 0) 0%, #ffc947 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #000;
}

.product-category h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.product-category p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(255, 187, 0, 0.1);
    color: #b8860b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.category-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 550;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    background: transparent;
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.category-btn:hover::before {
    left: 0;
}

.category-btn:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Behind the Scenes Section */
.behind-scenes-section {
    padding: 40px 20px 40px 20px;
    background: #ffffff;
    position: relative;
}

.behind-scenes-section .section-title {
    font-family: 'Goldman', sans-serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.behind-scenes-section .section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 20px;
    margin-bottom: 50px;
}

.showcase-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.large-item {
    grid-column: span 7;
    grid-row: span 2;
}

.showcase-item:nth-child(2) {
    grid-column: span 5;
    grid-row: span 1;
}

.showcase-item:nth-child(3) {
    grid-column: span 5;
    grid-row: span 1;
}

.showcase-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 1;
}

.showcase-item:nth-child(5) {
    grid-column: span 3;
    grid-row: span 1;
}

.showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 24px 24px;
    color: white;
}

.showcase-overlay h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.showcase-overlay p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
}

.showcase-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgb(255, 187, 0);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.behind-scenes-cta {
    text-align: center;
}

.showcase-btn-main {
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 550;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
}

.showcase-btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.showcase-btn-main:hover::before {
    left: 0;
}

.showcase-btn-main:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Shop Grid Section */
.shop-grid-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.shop-grid-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -35%;
    width: 1300px;
    height: 1300px;
    background: radial-gradient(circle, rgba(0, 129, 235, 0.88) 0%, rgba(0, 73, 133, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatCircle2 34s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.shop-grid-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 187, 0, 0.45) 0%, rgba(255, 187, 0, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatCircle1 28s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.shop-grid-section .section-title {
    font-family: 'Goldman', sans-serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-grid-section .section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    margin-bottom: 0px;
    color: #666;
    font-style: italic;
}

.shop-grid-section .section-header {
    margin-bottom: 50px;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.shop-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-item {
    grid-column: span 5;
    grid-row: span 2;
}

.shop-item:nth-child(2) {
    grid-column: span 3;
    grid-row: span 2;
}

.shop-item:nth-child(3) {
    grid-column: span 4;
    grid-row: span 1;
}

.shop-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 1;
}

.shop-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
}

.shop-item:nth-child(6) {
    grid-column: span 3;
    grid-row: span 1;
}

.shop-item:nth-child(7) {
    grid-column: span 3;
    grid-row: span 1;
}

.shop-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.shop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px 18px 18px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-overlay h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.shop-price {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgb(255, 187, 0);
    margin: 0;
}

.shop-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgb(255, 187, 0);
    color: #000;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.shop-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 550;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    align-self: flex-start;
    background: transparent;
    color: white;
    border: 2px solid white;
}

.shop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: all 0.5s ease;
    z-index: -1;
}

.shop-btn:hover::before {
    left: 0;
}

.shop-btn:hover {
    color: #1a1a1a;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.shop-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.shop-btn-main {
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 550;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
}

.shop-btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.shop-btn-main:hover::before {
    left: 0;
}

.shop-btn-main:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-container {
        padding: 0 40px;
    }
    
    .product-category {
        padding: 40px;
    }
    
    .products-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .products-container {
        padding: 0 30px;
    }
    
    .products-header h2 {
        font-size: 2.5rem;
    }
    
    .products-header p {
        font-size: 1.1rem;
    }
    
    .product-category {
        padding: 30px;
    }
    
    .products-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        padding: 30px;
    }
    
    .placeholder-image {
        height: 150px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .product-overview-section,
    .behind-scenes-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-category {
        padding: 30px 20px;
    }
    
    .showcase-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .showcase-item {
        height: 200px;
    }
    
    .large-item {
        height: 300px;
    }
    
    .shop-grid-section {
        padding: 60px 0;
    }
    
    .shop-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .shop-item {
        height: 200px;
    }
    
    .featured-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 80px 0;
    }
    
    .products-header h2 {
        font-size: 2rem;
    }
    
    .category-header h3 {
        font-size: 1.8rem;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .placeholder-image {
        height: 120px;
        font-size: 0.9rem;
    }
}
