/* ═══════════════════════════════════════════════════════════
   PLURAX PRODUCTS PAGE - COMPLETE STYLESHEET
   Modern, Professional, Dark Theme
   ═══════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────
   CSS VARIABLES & RESET
   ─────────────────────────────────────────────────────────── */

:root {
    /* PluraX Colors */
    --primary-blue: #5db9ff;
    --primary-purple: #667eea;
    --primary-dark-purple: #764ba2;
    
    /* Background Colors */
    --bg-primary: #0a0e27;
    --bg-secondary: #151a3d;
    --bg-card: #1a1f42;
    --bg-hover: #1f2550;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    /* Accent Colors */
    --accent-success: #48bb78;
    --accent-warning: #ecc94b;
    --accent-danger: #f56565;
    --accent-info: #4299e1;
    
    /* Borders & Shadows */
    --border-color: rgba(93, 185, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(93, 185, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #5db9ff 0%, #667eea 100%);
    --gradient-radial: radial-gradient(circle at top left, rgba(93, 185, 255, 0.1) 0%, transparent 50%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(ellipse at center, #001a33 0%, #000000 70%);
    background-attachment: fixed;
    color: #b8c5d6;
    line-height: 1.6;
    min-height: 100vh;
}


/* ───────────────────────────────────────────────────────────
   CONTAINER & LAYOUT
   ─────────────────────────────────────────────────────────── */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ───────────────────────────────────────────────────────────
   PAGE HERO
   ─────────────────────────────────────────────────────────── */



.page-hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────
   BREADCRUMB
   ─────────────────────────────────────────────────────────── */

.breadcrumb {
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────
   FILTER BAR
   ─────────────────────────────────────────────────────────── */

.filter-bar {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--primary-blue);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* ───────────────────────────────────────────────────────────
   PRODUCTS SECTION
   ─────────────────────────────────────────────────────────── */

.products-section {
    min-height: 50vh;
}

/* ───────────────────────────────────────────────────────────
   PRODUCTS GRID
   ─────────────────────────────────────────────────────────── */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* ───────────────────────────────────────────────────────────
   PRODUCT CARD
   ─────────────────────────────────────────────────────────── */

.product-card {
    background: #ffffff21;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

/* Product Image */
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: block;
}

/* Product Content */
.product-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Product Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.product-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Product Badge */
.product-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-badge.info {
    background: rgba(66, 153, 225, 0.2);
    color: var(--accent-info);
}

.product-badge.success {
    background: rgba(72, 187, 120, 0.2);
    color: var(--accent-success);
}

.product-badge.warning {
    background: rgba(236, 201, 75, 0.2);
    color: var(--accent-warning);
}

.product-badge.danger {
    background: rgba(245, 101, 101, 0.2);
    color: var(--accent-danger);
}

/* Product Description */
.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1;
}

/* Product Features */
.product-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    font-size: 0.9rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Product Footer */
.product-footer {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

/* Product Price */
.product-price-wrapper {
    margin-bottom: var(--spacing-md);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-price .price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: var(--spacing-sm);
}



.product-btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.product-btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

/* ───────────────────────────────────────────────────────────
   EMPTY STATE
   ─────────────────────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: var(--spacing-xl) auto;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cta-button:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────
   PAGINATION
   ─────────────────────────────────────────────────────────── */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl) 0;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    color: var(--primary-blue);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ───────────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────────── */

footer {
    background: #00015025;
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    font-weight: 600;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .product-header h3 {
        font-size: 1.25rem;
    }
    
    .product-price .price {
        font-size: 1.5rem;
    }
}

/* ───────────────────────────────────────────────────────────
   ANIMATIONS
   ─────────────────────────────────────────────────────────── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.5s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* ───────────────────────────────────────────────────────────
   UTILITY CLASSES
   ─────────────────────────────────────────────────────────── */

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}
select:focus{
    outline: none;
    border-color: #5db9ff;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(93, 185, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #6b7685;
}