/* Products Page Specific Styles */
:root {
    --primary-color: #041125;
    --gold-color: #D4AF37;
    --white-color: #ffffff;
    --light-bg: #f8f9fa;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-on-light);
    background-color: var(--light-bg);
}

main {
    min-height: 80vh;
    padding: 2rem 5%;
}

/* Section Headers - Same as other pages for consistency */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    margin: 0 auto 1.5rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
    top: -2px;
}

.section-divider::before {
    left: -4px;
}

.section-divider::after {
    right: -4px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Products Section Styles */
.products-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

/* Product Card Styles */
.product-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-content p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Product Features List */
.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.product-features li i {
    color: var(--gold-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Product Actions */
.product-actions {
    margin-top: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white-color);
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: transparent;
    color: #6c757d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-gold {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--primary-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--gold-color);
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Replace coming-soon styles with beta-testing styles */
.beta-testing {
    position: relative;
}

.beta-badge {
    position: absolute;
    top: 65px;
    right: -50px;
    background-color: var(--gold-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.5rem 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* CTA Container */
.cta-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.cta-container h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Products Hero Styles */
.products-hero {
    position: relative;
    overflow: hidden;
}

/* Animated background elements for products hero */
.products-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Floating tech elements */
.tech-element {
    position: absolute;
    opacity: 0.15;
    z-index: 2;
}

.tech-element.code {
    font-family: 'Roboto Mono', monospace;
    color: var(--gold-color);
    font-size: 0.8rem;
    line-height: 1.4;
}

.tech-element.icon {
    color: var(--white-color);
    font-size: 2rem;
}

.tech-element.shape {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-color);
    border-radius: 4px;
}

/* Product categories navigation */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    position: relative;
    z-index: 96;
}

.category-link {
    color: var(--white-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-link:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-link i {
    font-size: 1rem;
}

/* Animated highlight for the products hero title */
.products-hero-title {
    position: relative;
    display: inline-block;
}

.products-hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--gold-color);
    transition: width 0.8s ease, left 0.8s ease;
    transform: translateX(-50%);
    animation: titleHighlight 1.5s ease forwards 0.5s;
}

@keyframes titleHighlight {
    0% {
        width: 0;
    }
    100% {
        width: 80%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-categories {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .category-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tech-element {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .product-categories {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .category-link {
        width: 80%;
        justify-content: center;
    }
    
    .tech-element {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .products-grid {
        padding: 0 1rem;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
    }
    
    .beta-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

.VettaNet-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    overflow: hidden;
}

.VettaNet-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}