/**
 * Asanjho Enterprise SEO & Content Dominance Enhancements
 * Styles for Comparison Matrix, Use Cases Grid, and Brand Ecosystem Footer
 */

/* ==============================================================
   Comparison Matrix Section
   ============================================================== */
.comparison-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.comparison-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    margin-top: 30px;
}

.table-comparison {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-comparison thead th {
    padding: 22px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    vertical-align: middle;
}

.table-comparison thead th.col-feature {
    background: #0f172a;
    color: #f8fafc;
    width: 28%;
}

.table-comparison thead th.col-trad {
    background: #f1f5f9;
    color: #475569;
    width: 36%;
}

.table-comparison thead th.col-asanjho {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
    color: #ffffff;
    width: 36%;
    position: relative;
}

.table-comparison thead th.col-asanjho .rec-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.table-comparison tbody td {
    padding: 18px 20px;
    vertical-align: middle;
    font-size: 0.93rem;
    line-height: 1.5;
    border-top: 1px solid #f1f5f9;
}

.table-comparison tbody tr:hover {
    background-color: #f8fafc;
}

.table-comparison tbody td.col-feature {
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
}

.table-comparison tbody td.col-trad {
    color: #64748b;
    background: #fafafa;
}

.table-comparison tbody td.col-asanjho {
    color: #0f172a;
    background: #f0fdfa;
    font-weight: 500;
    border-left: 2px solid #0d9488;
}

.table-comparison .icon-cross {
    color: #ef4444;
    margin-right: 8px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.table-comparison .icon-check {
    color: #0d9488;
    margin-right: 8px;
    font-size: 1.15rem;
    vertical-align: middle;
    font-weight: bold;
}

/* ==============================================================
   Industry Solutions & Use Cases Section
   ============================================================== */
.usecases-section {
    padding: 70px 0;
    background: #ffffff;
}

.usecase-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.usecase-box:hover {
    transform: translateY(-6px);
    border-color: #0d9488;
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}

.usecase-box .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    background: #eff6ff;
    color: #1e3a8a;
}

.usecase-box:nth-child(even) .icon-wrapper {
    background: #f0fdfa;
    color: #0d9488;
}

.usecase-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.usecase-box p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.usecase-box .usecase-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d9488;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.usecase-box .usecase-link:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* ==============================================================
   Asanjho Ecosystem Cross-Promotion Footer
   ============================================================== */
.asanjho-ecosystem-bar {
    background: #0f172a;
    color: #e2e8f0;
    padding: 50px 0 35px 0;
    border-top: 3px solid #0d9488;
}

.asanjho-ecosystem-bar .brand-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.2);
    border: 1px solid rgba(13, 148, 136, 0.5);
    color: #2dd4bf;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.asanjho-ecosystem-bar h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.asanjho-ecosystem-bar p.ecosystem-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 30px auto;
}

.ecosystem-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.ecosystem-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ecosystem-pill:hover {
    background: #0d9488;
    border-color: #0d9488;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.ecosystem-pill i {
    font-size: 1rem;
    color: #38bdf8;
}

.ecosystem-pill:hover i {
    color: #ffffff;
}

.ecosystem-tlds {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 15px;
}

.ecosystem-tlds a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 6px;
}

.ecosystem-tlds a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .table-comparison thead th {
        font-size: 0.9rem;
        padding: 14px 10px;
    }
    .table-comparison tbody td {
        font-size: 0.82rem;
        padding: 12px 10px;
    }
    .asanjho-ecosystem-bar h3 {
        font-size: 1.2rem;
    }
}
