/* Products Page - Enterprise Style matching Launch */

/* Hero Section - Matching Launch Style */
.hero-section {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--aviation-blue) 100%);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.hero-section .accent {
    color: var(--gold-accent);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Indicators */
.trust-indicators {
    background: var(--off-white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.indicator {
    text-align: center;
}

.indicator i {
    font-size: 36px;
    color: var(--aviation-blue);
    margin-bottom: 16px;
}

.indicator h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.indicator p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: white;
}

/* Filter System */
.filter-container {
    text-align: center;
    margin-bottom: 48px;
}

.filter-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--aviation-blue);
    color: var(--aviation-blue);
}

.filter-btn.active {
    background: var(--aviation-blue);
    color: white;
    border-color: var(--aviation-blue);
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Cards - Enterprise Style */
.product-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--aviation-blue);
    box-shadow: 0 8px 24px rgba(53, 79, 88, 0.15);
}

.product-card.featured {
    border-color: var(--heritage-red);
    box-shadow: 0 4px 16px rgba(178, 34, 34, 0.1);
}

.product-card.featured:hover {
    box-shadow: 0 12px 32px rgba(178, 34, 34, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--heritage-red);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Product Icon */
.product-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--aviation-blue) 0%, var(--deep-navy) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 24px;
}

.product-icon.cobol {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.product-icon.flash {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.product-icon.winforms {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.product-icon.powerbuilder {
    background: linear-gradient(135deg, var(--heritage-red) 0%, var(--signal-red) 100%);
}

/* Product Content */
.product-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    flex: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.product-features li i {
    color: var(--aviation-blue);
    margin-right: 10px;
    font-size: 14px;
}

/* Product Pricing */
.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.price {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--aviation-blue);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Training Incentive */
.training-incentive {
    margin: 20px 0;
    padding: 16px;
    background: var(--off-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.training-incentive h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.training-incentive h4 i {
    color: var(--heritage-red);
    margin-right: 8px;
}

.launch-specialist-course {
    margin-bottom: 12px;
}

.training-incentive .course-header {
    display: inline-block;
    padding: 4px 8px;
    background: var(--heritage-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 8px;
}

.training-incentive p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 8px 0;
    line-height: 1.4;
}

.pro-included {
    font-size: 11px;
    color: var(--heritage-red);
    font-weight: 600;
    text-transform: uppercase;
}

.learn-more-link {
    font-size: 12px;
    color: var(--aviation-blue);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-top: 8px;
}

.learn-more-link:hover {
    color: var(--heritage-red);
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Meridian Works Section */
.meridian-works {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}

.meridian-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--aviation-blue) 50%, transparent 100%);
}

.works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.works-info h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--aviation-blue);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.works-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.works-features {
    list-style: none;
    margin-bottom: 32px;
}

.works-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-secondary);
}

.works-features li i {
    color: var(--aviation-blue);
    margin-right: 12px;
    width: 20px;
}

.works-cta {
    margin-top: 32px;
}

.btn-download-works {
    display: inline-block;
    background: var(--aviation-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.btn-download-works:hover {
    background: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(53, 79, 88, 0.3);
}

.works-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

.works-visual {
    text-align: center;
}

.works-app {
    background: linear-gradient(135deg, var(--aviation-blue), var(--deep-navy));
    border-radius: 24px;
    padding: 48px;
    color: white;
    position: relative;
    box-shadow: 0 24px 60px rgba(53, 79, 88, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.works-app:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-8px);
    box-shadow: 0 32px 80px rgba(53, 79, 88, 0.4);
}

.works-app i {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.works-app h3 {
    color: white;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
}

.works-app p {
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.works-platforms {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* All Access Section */
.all-access-section {
    padding: 100px 0;
    background: var(--off-white);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.all-access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(53, 79, 88, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.all-access-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.all-access-content h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.all-access-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    margin: 40px 0;
    border: 2px solid var(--heritage-red);
    box-shadow: 0 8px 30px rgba(178, 34, 34, 0.1);
}

.bundle-price {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--heritage-red);
}

.bundle-original {
    font-size: 24px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 32px;
}

.bundle-features {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 40px;
}

.bundle-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-primary);
}

.bundle-features li i {
    color: #34c759;
    margin-right: 12px;
    font-size: 18px;
}

.btn-all-access {
    background: var(--heritage-red);
    color: white;
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-all-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(178, 34, 34, 0.3);
    background: var(--signal-red);
}

/* Shopping Cart */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: var(--aviation-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(53, 79, 88, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(53, 79, 88, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--heritage-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopping-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.shopping-cart.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--text-secondary);
    font-size: 14px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--heritage-red);
    cursor: pointer;
    padding: 8px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.cart-total {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.btn-checkout {
    width: 100%;
    background: var(--heritage-red);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: var(--signal-red);
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .works-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .works-app {
        transform: none;
        padding: 32px;
    }
    
    .works-app:hover {
        transform: translateY(-4px);
    }
    
    .all-access-content h2 {
        font-size: 36px;
    }
    
    .all-access-content p {
        font-size: 16px;
    }
    
    .pricing-card {
        padding: 32px 24px;
        margin: 24px 0;
    }
    
    .bundle-price {
        font-size: 48px;
    }
    
    .bundle-original {
        font-size: 20px;
    }
    
    .shopping-cart {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-toggle {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}