/**handles:s3m-compare**/
/* ============================================================
   S3M — COMPARE (CPT single + loop'lar)
   Kaynaklar: Compare Single tablo + Positioning + Problem Card + Reassurances loop'ları.
   İki birebir-aynı compare-single dosyasından biri alındı.
   Global smooth-scroll çıkarıldı → foundation'da.
   accent: cyan (#00C8FF / #38BDF8) — kasıtlı korundu.
   ============================================================ */

/* ===== COMPARE SINGLE — MATRIX TABLE ===== */
/* =========================
   WRAPPER
========================= */

.s3m-compare-block {
    margin-bottom: 56px;
}

/* =========================
   CATEGORY TITLE
========================= */

.s3m-compare-category {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #0f172a;
}

/* =========================
   TABLE BASE
========================= */

.s3m-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

/* =========================
   HEAD (LIGHT + SLIGHT DARK)
========================= */

.s3m-compare-table thead {
    background: linear-gradient(
        to bottom,
        #f8fafc,
        #f1f5f9
    );
}

.s3m-compare-table th {
    padding: 16px 18px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

/* =========================
   BODY
========================= */

.s3m-compare-table td {
    padding: 16px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
    font-size: 14px;
    color: #334155;
}

/* =========================
   ROW HOVER
========================= */

.s3m-compare-table tbody tr:hover td {
    background: rgba(0, 200, 255, 0.05);
}

/* =========================
   CELL HOVER (STRONGER)
========================= */

.s3m-compare-table td:hover {
    background: rgba(0, 200, 255, 0.12);
}

/* =========================
   FEATURE COLUMN
========================= */

.feature-name {
    font-weight: 500;
    color: #0f172a;
}

.feature-col {
    width: 40%;
}

/* =========================
   VENDOR COLUMNS
========================= */

.vendor-col {
    width: 30%;
}

/* =========================
   S3M (VENDOR A)
========================= */

.vendor-a {
    font-weight: 600;
    color: #00c8ff;
}

/* =========================
   🔥 HIGHLIGHT (UPGRADED)
========================= */

.highlight {
    font-weight: 700;
    background: linear-gradient(
        90deg,
        rgba(0, 200, 255, 0.18),
        rgba(0, 200, 255, 0.08)
    );
    border-left: 3px solid #00c8ff;
    color: #0369a1;
}

/* =========================
   ROW HOVER SYNC
========================= */

.s3m-compare-table tbody tr:hover .feature-name {
    color: #0284c7;
}

.s3m-compare-table tbody tr:hover .vendor-a {
    color: #00e0ff;
}

/* =========================
   SMOOTH UX
========================= */

.s3m-compare-table tr {
    transition: all 0.2s ease;
}

/* =========================
   SUBTLE STRIPING
========================= */

.s3m-compare-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.015);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .s3m-compare-table th,
    .s3m-compare-table td {
        padding: 12px;
        font-size: 13px;
    }
}


/* ===== LOOP — POSITIONING CARD ===== */
.positioning-card {
    background: rgba(0,200,255,0.04);
    border: 1px solid rgba(0,200,255,0.18);
    padding: 28px;
    border-radius: 12px;

    transition: all 0.35s ease;
}

.positioning-card:hover {
    transform: translateY(-6px);

    border-color: rgba(0,200,255,0.45);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.4),
        0 0 20px rgba(0,200,255,0.15);
}

.positioning-card h3 {
    margin-bottom: 10px;
}

.positioning-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== LOOP — PROBLEM CARD ===== */
.problem-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 28px;
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    transition: all 0.35s ease;
}

.problem-card:hover {
    transform: translateY(-6px);

    border-color: rgba(0, 200, 255, 0.35);

    box-shadow: 
        0 20px 50px rgba(0,0,0,0.4),
        0 0 20px rgba(0,200,255,0.15);
}

.problem-card h3 {
    margin-bottom: 12px;
}

.problem-card p {
    opacity: 0.85;
    line-height: 1.6;
}
.problem-card::before {
    content: "";
    display: block;
    height: 2px;
    width: 40px;
    background: rgba(0,200,255,0.4);
    margin-bottom: 15px;
}
.problem-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== LOOP — REASSURANCE ITEM ===== */
/* CARD */

.s3m-reassurance-item {
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.06);
    position: relative;
    transition: all 0.25s ease;
    height: 100%;
}

/* TOP ACCENT */

.s3m-reassurance-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #00c8ff, #0ea5e9);
    opacity: 0.7;
}

/* HOVER */

.s3m-reassurance-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* TITLE */

.s3m-reassurance-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* DESCRIPTION */

.s3m-reassurance-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* DOT */

.s3m-reassurance-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00c8ff;
    border-radius: 50%;
    margin-right: 8px;
    transform: translateY(-2px);
}