.main {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin: 1vh;
    margin-top: 5vh;
    font-size: 500%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--logoColorOne);
}

.products-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 6vh;
    padding: 4vh 0;
}

.product-item {
    width: 85%;
    max-width: 1200px;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(233, 196, 106, 0.05) 100%);
    border-radius: 20px;
    padding: 3vh 4vw;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(38, 70, 83, 0.08);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--logoColorTwo), var(--logoColorThree), var(--logoColorFour));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(38, 70, 83, 0.15);
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.08) 0%, rgba(233, 196, 106, 0.08) 100%);
}

.product-item:hover::before {
    width: 100%;
}

.product-link-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh;
    position: relative;
}

.product-link-section a {
    font-size: 400%;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--logoColorTwo);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(90deg, var(--logoColorTwo), var(--logoColorFour));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    padding: 0 10px;
}

.product-link-section a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.product-link-section a::after {
    content: '→';
    position: absolute;
    right: -50px;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-text-fill-color: var(--logoColorFour);
}

.product-link-section a:hover {
    transform: translateX(-10px);
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-link-section a:hover::before {
    width: 100%;
}

.product-link-section a:hover::after {
    opacity: 1;
    right: -40px;
}

/* Archived product styles */
.product-item.archived {
    filter: grayscale(30%);
    opacity: 0.85;
}

.product-item.archived:hover {
    filter: grayscale(10%);
    opacity: 0.95;
}

.product-link-section .product-name {
    font-size: 400%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background: linear-gradient(90deg, var(--logoColorTwo), var(--logoColorFour));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 10px;
}

.archived-badge {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-text-section {
    width: 90%;
    max-width: 800px;
}

.product-text-section p {
    font-size: 130%;
    line-height: 1.8;
    color: var(--logoColorOne);
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

@media all and (max-width: 1200px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main h1 {
        font-size: 350%;
    }

    .products-section {
        gap: 4vh;
        padding: 2vh 0;
    }

    .product-item {
        width: 90%;
        padding: 2vh 3vw;
    }

    .product-link-section a {
        font-size: 280%;
    }

    .product-link-section a::after {
        right: -35px;
    }

    .product-link-section a:hover::after {
        right: -28px;
    }

    .product-text-section {
        width: 95%;
    }

    .product-text-section p {
        font-size: 110%;
        line-height: 1.6;
    }
}

@media all and (max-width: 768px) {
    .main h1 {
        font-size: 280%;
    }

    .product-link-section a {
        font-size: 200%;
    }

    .product-text-section p {
        font-size: 100%;
    }
}