/* ========================================
   PRODUCTS PAGE STYLES
   ======================================== */

.products-ecosystem {
    padding: 80px 0;
    background: var(--darker-bg);
}

/* Products Layout - Large left box + 4 right column */
.products-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

/* Product Cards */
.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-orange);
}

/* Main Product Card (IQOptz Docs) */
.product-main {
    grid-row: span 2;
}

.product-card-docs {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-docs .product-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 12px;
}

/* Right Column */
.products-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Compact Product Cards */
.product-card-compact {
    padding: 24px;
}

.product-card-compact .product-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 8px;
}

/* Product Header */
.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

/* Product Subtitle */
.product-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Description */
.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 24px;
}

.product-description-compact {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-text);
}

/* Product Features List */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--light-text);
}

.product-feature-item svg {
    flex-shrink: 0;
}

/* Product Status Badge */
.product-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-status-available {
    background: linear-gradient(135deg, var(--primary-orange), #ff8555);
    color: white;
}

.product-status-coming {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Ecosystem Note */
.ecosystem-note {
    margin-top: 48px;
    padding: 32px;
    background: rgba(255, 107, 53, 0.05);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    text-align: center;
}

.ecosystem-note p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin: 0;
}

.ecosystem-note strong {
    color: var(--primary-orange);
}

/* Future Roadmap */
.future-roadmap {
    padding: 80px 0;
    background: var(--dark-bg);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.roadmap-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-orange);
    transform: translateY(-4px);
}

.roadmap-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.roadmap-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 12px;
}

.roadmap-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .product-main {
        grid-row: auto;
    }

    .roadmap-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-ecosystem {
        padding: 60px 0;
    }

    .future-roadmap {
        padding: 60px 0;
    }

    .product-card-docs .product-header h2 {
        font-size: 28px;
    }

    .product-card-compact .product-header h3 {
        font-size: 20px;
    }

    .product-card {
        padding: 24px;
    }

    .ecosystem-note {
        padding: 24px;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 20px;
    }

    .product-card-compact {
        padding: 20px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card-docs .product-header h2 {
        font-size: 24px;
    }

    .product-card-compact .product-header h3 {
        font-size: 18px;
    }

    .ecosystem-note {
        padding: 20px;
    }

    .ecosystem-note p {
        font-size: 14px;
    }
}

/* Brand Color Styling */
.iq {
    color: #00BCD4;
}

.optz {
    color: #ffffff;
}
