/* Khamsat design tokens + gate page */

:root {
    --khamsat: #7C3AED;
    --khamsat-dark: #5B21B6;
    --khamsat-light: #EDE9FE;
}

/* ===== Platform Gate ===== */
.gate-page { margin: 0; }
.gate-topbar {
    background: #0F172A;
    color: #fff;
    padding: 14px 0;
}
.gate-topbar-inner { display: flex; justify-content: center; }
.gate-topbar-brand { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.platforms-gate {
    min-height: calc(100vh - 48px);
    padding: 64px 0 96px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 50%, #CCFBF1 100%);
}
.gate-intro { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.gate-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    color: var(--muted); background: white;
    border: 1px solid var(--border-light);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.gate-intro h1 { font-size: 40px; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.gate-intro > p { font-size: 16px; color: var(--muted); }
.gate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.gate-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    text-decoration: none;
    color: inherit;
}
.gate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.gate-card-khamsat:hover { border-color: var(--khamsat); }
.gate-card-mostaql:hover { border-color: var(--primary); }
.gate-card-badge {
    align-self: flex-start;
    background: var(--khamsat-light);
    color: var(--khamsat-dark);
    font-size: 12px; font-weight: 800;
    padding: 4px 12px; border-radius: 8px;
}
.gate-card-badge-teal {
    background: var(--teal-light);
    color: var(--dark-teal, #115E59);
}
.gate-logo-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.gate-mark {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900; color: white;
}
.gate-mark-5 { background: var(--khamsat); }
.gate-mark-m { background: var(--primary); }
.gate-brand { font-size: 28px; font-weight: 900; }
.gate-card h2 { font-size: 28px; font-weight: 900; margin: 0; }
.gate-tagline { font-size: 16px; font-weight: 700; color: var(--muted); margin: 0; }
.gate-card > p:not(.gate-tagline) { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.gate-features { list-style: none; margin: 8px 0 16px; padding: 0; }
.gate-features li {
    position: relative;
    padding-right: 22px;
    margin-bottom: 8px;
    font-size: 14px; font-weight: 600; color: var(--dark);
}
.gate-features li::before {
    content: "✓";
    position: absolute; right: 0;
    color: var(--primary); font-weight: 800;
}
.gate-card-khamsat .gate-features li::before { color: var(--khamsat); }
.btn-khamsat {
    background: var(--khamsat); color: white;
    border: none; border-radius: 8px;
    padding: 12px 24px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-khamsat:hover { background: var(--khamsat-dark); color: white; }
.gate-card .btn { width: 100%; margin-top: auto; }

@media (max-width: 768px) {
    .gate-grid { grid-template-columns: 1fr; }
    .gate-intro h1 { font-size: 28px; }
}

/* Hide default navbar brand clutter on gate — optional via body class if needed */
