/* =============================================
   Products Page — Shared Styles
   ============================================= */

/* Dropdown nav glassmorphism */
.glass-dropdown {
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.glass-dropdown .dropdown-item {
    color: #d1d5db;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.glass-dropdown .dropdown-item.active {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

.glass-dropdown .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.07) !important;
    margin: 0.35rem 0;
}

/* =============================================
   Product Step component (How it Works)
   ============================================= */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.product-step {
    position: relative;
}

/* =============================================
   Product hero section shared
   ============================================= */
.product-hero {
    padding-top: 5rem;
}

/* =============================================
   Products hub — product card
   ============================================= */
.product-hub-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-hub-card:hover {
    transform: translateY(-6px);
    color: inherit;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.product-hub-card:hover .product-card-icon {
    transform: scale(1.08);
}

.product-card-icon {
    transition: transform 0.3s ease;
}

.product-hub-card .product-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

/* Color variants */
.product-hub-card.affiliate { border-color: rgba(139, 92, 246, 0.2); }
.product-hub-card.affiliate:hover { border-color: rgba(139, 92, 246, 0.45); box-shadow: 0 24px 60px rgba(139, 92, 246, 0.12); }

.product-hub-card.ecom { border-color: rgba(59, 130, 246, 0.2); }
.product-hub-card.ecom:hover { border-color: rgba(59, 130, 246, 0.45); box-shadow: 0 24px 60px rgba(59, 130, 246, 0.12); }

.product-hub-card.omnihub { border-color: rgba(16, 185, 129, 0.2); }
.product-hub-card.omnihub:hover { border-color: rgba(16, 185, 129, 0.45); box-shadow: 0 24px 60px rgba(16, 185, 129, 0.12); }

.product-hub-card.genehealth { border-color: rgba(20, 184, 166, 0.2); }
.product-hub-card.genehealth:hover { border-color: rgba(20, 184, 166, 0.45); box-shadow: 0 24px 60px rgba(20, 184, 166, 0.1); }

/* =============================================
   Comparison table
   ============================================= */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #111827;
    vertical-align: middle;
}

.compare-table thead th {
    background: #0a0a0c;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #f9fafb;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #1f2937;
}

.compare-table thead th:first-child { border-radius: 12px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 12px 0 0; }

.compare-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:last-child td:first-child { border-radius: 0 0 0 12px; }
.compare-table tbody tr:last-child td:last-child { border-radius: 0 0 12px 0; }

.check-yes { color: #10b981; }
.check-no { color: #374151; }

/* =============================================
   Product stat pill (hero)
   ============================================= */
.product-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #9ca3af;
    white-space: nowrap;
}

/* =============================================
   Feature tag chips
   ============================================= */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
