/* ==========================================================================
   IMAGINATRIX PRODUCTS (imaginatrix.app) — additions on top of the shared
   design system (imaginatrix.css). Same tokens, same accent, same HUD feel.
   ========================================================================== */

/* ---------- Parent-brand ribbon (links back to imaginatrix.in) ---------- */
.brand-ribbon {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted);
}
.brand-ribbon::before { content: "//"; color: var(--teal); }
.brand-ribbon a { color: var(--cyan-soft); }
.brand-ribbon a:hover { color: var(--cyan); }

/* ---------- Category label on product cards ---------- */
.card-cat {
    display: inline-block; margin-bottom: 12px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--cyan-soft);
}
.card-cat::before { content: "// "; color: var(--teal); }

/* whole-card product tiles keep the arrow pinned to the base */
.prod-card { display: flex; flex-direction: column; }
.prod-card p { flex: 1; }

/* ---------- Trust / value strip ---------- */
.trust-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}
.trust-cell { padding: 26px 28px; border-left: 1px solid var(--line); }
.trust-cell:first-child { border-left: none; }
.trust-cell b {
    display: flex; align-items: center; gap: 9px;
    font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text);
    margin-bottom: 6px;
}
.trust-cell b svg {
    width: 18px; height: 18px; flex: 0 0 18px;
    stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(30,255,255,.5));
}
.trust-cell small { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); line-height: 1.6; display: block; }
@media (max-width: 860px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } .trust-cell:nth-child(-n+2) { border-top: none; } .trust-cell:nth-child(odd) { border-left: none; } .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } .trust-cell { border-left: none; border-top: 1px solid var(--line); } .trust-cell:first-child { border-top: none; } }

/* ---------- Deployment / model split (subscription vs licence) ---------- */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr; } }
.model-card { position: relative; }
.model-card .price-list { margin-top: 18px; }
.model-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 14px;
}

/* ---------- Comparison table (pricing page) ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--bg-1); }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th {
    position: sticky; top: 0; z-index: 1;
    background: rgba(6,16,15,.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan-soft); font-weight: 500;
    border-bottom: 1px solid var(--line-strong);
}
.compare-table tbody th {
    font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text);
    white-space: nowrap;
}
.compare-table tbody th small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 3px; }
.compare-table td { font-size: 14px; color: var(--text-soft); }
.compare-table td .p { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cyan); }
.compare-table td .u { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); display: block; margin-top: 2px; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: rgba(30,255,255,.03); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.tick { color: var(--cyan); }
.dash { color: var(--muted); opacity: .5; }
/* reuse the shared .price-amount (so the INR/USD/EUR switcher converts it too),
   but scaled down to sit inside a table cell */
.compare-table .price-amount { font-size: 18px; line-height: 1.1; }
.compare-table .price-amount.is-custom { font-size: 15px; padding-top: 0; }
.compare-table .u { margin-top: 4px; }

/* ---------- Legal hub (table of contents cards) ---------- */
.legal-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .legal-hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .legal-hub { grid-template-columns: 1fr; } }
.legal-hub a {
    display: block; padding: 22px 24px; border-radius: var(--radius-sm);
    background: var(--glass); border: 1px solid var(--line); color: inherit;
    transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.legal-hub a:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 20px rgba(30,255,255,.08); }
.legal-hub .lh-code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--teal); }
.legal-hub h4 { font-family: var(--font-display); font-size: 16.5px; color: var(--text); margin: 8px 0 6px; }
.legal-hub p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- "Who it's for" pill grid ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Compliance / badge line under legal hero ---------- */
.reg-line {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.reg-line span {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
    padding: 7px 14px; border-radius: 999px;
    color: var(--cyan-soft); border: 1px solid var(--line-strong); background: rgba(30,255,255,.04);
}
