/*
 * Copyright (c) 2026. Mateable LLC
 */

/* =====================================================
   GLASS CARDS
   ===================================================== */
.g-card,
.feature-card,
.content-panel {
    background: rgba(18, 18, 41, 0.82);
    border: 1px solid rgba(108,92,231,0.22);
    border-radius: 16px;
    padding: 1.2rem 1.1rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.card {
    background: rgba(18, 18, 41, 0.82);
    border-color: rgba(108,92,231,0.22);
    color: var(--text);
}

.row.g-4 > [class*="col-"] {
    display: flex;
}

.row.g-4 > [class*="col-"] > .g-card,
.row.g-4 > [class*="col-"] > .feature-card,
.row.g-4 > [class*="col-"] > .content-panel {
    width: 100%;
}

.g-card::before,
.feature-card::before,
.content-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(108,92,231,0.9), rgba(162,155,254,0.4), rgba(108,92,231,0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.g-card:hover,
.feature-card:hover,
.content-panel:hover {
    border-color: rgba(108,92,231,0.52);
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(24, 18, 52, 0.38);
    background: rgba(22, 22, 48, 0.92);
}

.g-card:hover::before,
.feature-card:hover::before,
.content-panel:hover::before {
    opacity: 1;
}

.feat-icon,
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.1rem;
    background: var(--grad);
    background-clip: initial;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
