/* ==========================================================================
   CyberInge Blog UI/UX Widgets (2026 Premium Design)
   ========================================================================== */

.cyberinge-blog-widget {
    margin-bottom: 2rem;
    font-family: inherit;
}

/* --- 1. Summary Box (TL;DR) --- */
.cyberinge-summary-box {
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.9) 0%, rgba(226, 232, 240, 0.8) 100%);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
}

.cyberinge-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 12px;
}

.cyberinge-summary-header svg {
    color: #3b82f6; /* Accent Blue */
}

.cyberinge-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cyberinge-summary-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cyberinge-summary-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.6;
}

.cyberinge-summary-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- 2. Callout Box (Warning, Tip, Info, Success) --- */
.cyberinge-callout-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 8px;
    background: #f8fafc;
    border-left: 4px solid #94a3b8;
}

.cyberinge-callout-icon svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cyberinge-callout-content {
    flex-grow: 1;
}

.cyberinge-callout-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: inherit;
}

.cyberinge-callout-text p:last-child {
    margin-bottom: 0;
}

/* Variants */
.cyberinge-callout-info {
    background-color: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e3a8a;
}
.cyberinge-callout-info svg { color: #3b82f6; }

.cyberinge-callout-tip {
    background-color: #f0fdf4;
    border-left-color: #22c55e;
    color: #14532d;
}
.cyberinge-callout-tip svg { color: #22c55e; }

.cyberinge-callout-warning {
    background-color: #fffbeb;
    border-left-color: #f59e0b;
    color: #78350f;
}
.cyberinge-callout-warning svg { color: #f59e0b; }

.cyberinge-callout-error {
    background-color: #fef2f2;
    border-left-color: #ef4444;
    color: #7f1d1d;
}
.cyberinge-callout-error svg { color: #ef4444; }


/* --- 3. Responsive Comparison Table --- */
.cyberinge-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.cyberinge-styled-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #ffffff;
}

.cyberinge-styled-table th {
    background-color: #f8fafc;
    color: #334155;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.cyberinge-styled-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
}

.cyberinge-styled-table tr:last-child td {
    border-bottom: none;
}

.cyberinge-styled-table tr:hover {
    background-color: #f8fafc;
}

/* --- 4. Pros & Cons Card --- */
.cyberinge-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .cyberinge-pros-cons {
        grid-template-columns: 1fr;
    }
}

.cyberinge-pros-cons-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cyberinge-pros .cyberinge-pros-cons-title {
    color: #15803d;
}
.cyberinge-cons .cyberinge-pros-cons-title {
    color: #b91c1c;
}

.cyberinge-pros ul, .cyberinge-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cyberinge-pros ul li, .cyberinge-cons ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.5;
}

.cyberinge-pros ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.cyberinge-cons ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}


/* --- 5. Product Highlight Card --- */
.cyberinge-product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-top: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyberinge-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cyberinge-product-badge {
    position: absolute;
    top: -16px;
    left: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.cyberinge-product-card-inner {
    display: flex;
    gap: 24px;
    align-items: center;
}

@media (max-width: 640px) {
    .cyberinge-product-card-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cyberinge-product-image {
    flex-shrink: 0;
    width: 150px;
}

.cyberinge-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.cyberinge-product-info {
    flex-grow: 1;
}

.cyberinge-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.cyberinge-product-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cyberinge-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.cyberinge-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.cyberinge-product-btn {
    background: #f97316; /* High contrast CTA */
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
}

.cyberinge-product-btn:hover {
    background: #ea580c;
    color: #ffffff;
}

/* --- 6. FAQ Accordion --- */
.cyberinge-faq-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.cyberinge-faq-item {
    border-bottom: 1px solid #e2e8f0;
}

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

.cyberinge-faq-question {
    width: 100%;
    background: #f8fafc;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.cyberinge-faq-question:hover {
    background: #f1f5f9;
}

.cyberinge-faq-icon {
    transition: transform 0.3s ease;
    color: #64748b;
}

.cyberinge-faq-question[aria-expanded="true"] .cyberinge-faq-icon {
    transform: rotate(180deg);
}

.cyberinge-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #ffffff;
}

.cyberinge-faq-answer-inner {
    padding: 16px 20px;
    color: #475569;
    line-height: 1.6;
}
