/* Modern Mobile-First Layout & Premium 2026 Aesthetics */
.page-header {
    padding: 10rem 0 4rem 0;
    text-align: left;
    position: relative;
}

/* Category Filter Bar */
.solutions-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 2.5rem 0 1rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: fit-content;
    max-width: 100%;
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    background: rgba(var(--accent-rgb), 0.08);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4);
    font-weight: 700;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blueprint-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    padding: 2.4rem 2.2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.35);
}

.blueprint-card:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-header {
    margin-bottom: 1.5rem;
}

.status-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.9rem;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.card-meta {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.card-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Features List */
.feature-list {
    list-style: none;
    margin: 1.2rem 0 1.8rem 0;
    padding: 0;
    flex-grow: 1;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -0.1rem;
    color: var(--accent);
    font-weight: 900;
    font-size: 1.05rem;
}

.card-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.4rem;
}

.setup-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.setup-metric-row strong {
    color: var(--accent);
}

.cta-group {
    display: flex;
    gap: 0.75rem;
}

.cta-group .btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

/* Architecture Spec Modal */
.arch-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.arch-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.arch-modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    max-width: 650px;
    width: 100%;
    padding: 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-modal-overlay.open .arch-modal-box {
    transform: scale(1);
}

.arch-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.arch-modal-close:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Custom Banner */
.premium-banner {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 4rem 3rem;
            text-align: center;
            margin-top: 4rem;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
        }

        [data-theme="dark"] .premium-banner {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
        }

        .premium-banner::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, var(--accent-glow) 0%, transparent 50%);
            pointer-events: none;
        }

        .premium-banner h2 {
            color: var(--text-primary);
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
        }

        .premium-banner p {
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto 2rem auto;
            position: relative;
            z-index: 2;
        }

        /* FAQ Section */
        .faq-section {
            padding: 6rem 0;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
            padding: 1.5rem 0;
        }

        .faq-item:first-child {
            border-top: 1px solid var(--border);
        }

        .faq-question {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }

        .faq-answer {
            font-size: 1rem;
            color: var(--text-secondary);
            display: none;
            padding-top: 1rem;
            line-height: 1.6;
            padding-right: 2rem;
        }

        .faq-item.active .faq-answer {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-icon {
            transition: transform 0.3s ease;
            color: var(--accent);
            font-size: 1.5rem;
            line-height: 1;
            font-weight: 400;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Adjustments (Perfect Phone View) */
        @media (max-width: 768px) {
            .page-header {
                padding: 8rem 0 3rem 0;
            }

            .page-header h1 {
                font-size: 2.5rem !important;
                line-height: 1.1;
            }

            .blueprint-card {
                padding: 1.5rem;
                margin-bottom: 1rem;
                border-radius: 12px;
            }

            .card-title {
                font-size: 1.25rem;
            }

            .price-tag {
                font-size: 2rem;
            }

            .premium-banner {
                padding: 2.5rem 1.5rem;
                border-radius: 12px;
                margin-top: 2rem;
            }

            .premium-banner h2 {
                font-size: 1.75rem;
                line-height: 1.2;
            }

            .faq-section {
                padding: 4rem 0;
            }

            .faq-question {
                font-size: 1rem;
            }

            .cta-group {
                gap: 0.5rem;
            }

            .btn {
                padding: 0.85rem;
                font-size: 0.85rem;
            }
        }

/* =================================================================
   SOLUTIONS — LIGHT MODE ENHANCEMENTS
   ================================================================= */
[data-theme="light"] .solutions-filter-bar {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .filter-btn {
    color: #475569;
}

[data-theme="light"] .filter-btn:hover {
    color: #0f172a;
    background: rgba(var(--accent-rgb), 0.08);
}

[data-theme="light"] .filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

[data-theme="light"] .blueprint-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
}

[data-theme="light"] .blueprint-card:hover {
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(var(--accent-rgb), 0.12);
}

[data-theme="light"] .spec-matrix {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .spec-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .spec-val {
    color: #0f172a;
}

[data-theme="light"] .premium-banner {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .faq-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

