/* AiteRich Gated Files - Frontend Styles */

.aiterich-gf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.aiterich-gf-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}
.aiterich-gf-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.aiterich-gf-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.aiterich-gf-card-body {
    padding: 16px;
}

.aiterich-gf-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.aiterich-gf-desc {
    margin: 0 0 12px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.aiterich-gf-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.aiterich-gf-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 500;
}

.aiterich-gf-version,
.aiterich-gf-downloads {
    font-size: 12px;
    color: #9ca3af;
}

.aiterich-gf-download-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.aiterich-gf-download-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

.aiterich-gf-login-btn {
    background: #6b7280;
}
.aiterich-gf-login-btn:hover {
    background: #4b5563;
}

.aiterich-gf-empty {
    text-align: center;
    color: #9ca3af;
    padding: 48px 0;
    font-size: 16px;
}

.aiterich-gf-shell {
    display: grid;
    gap: 24px;
}

.aiterich-gf-hero {
    border-radius: 28px;
    padding: 32px;
    background: linear-gradient(135deg, #10395f 0%, #165c93 100%);
    box-shadow: 0 24px 60px rgba(16, 57, 95, 0.22);
    color: #fff;
}

.aiterich-gf-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(186, 230, 253, 0.92);
}

.aiterich-gf-hero-title {
    margin: 16px 0 0;
    font-size: 34px;
    line-height: 1.24;
    color: #fff;
}

.aiterich-gf-hero-desc {
    margin: 16px 0 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(239, 246, 255, 0.92);
}

.aiterich-gf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.aiterich-gf-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    color: #0f3a63;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aiterich-gf-hero-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(255, 255, 255, 0.18);
}

.aiterich-gf-hero-link--light {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.aiterich-gf-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.aiterich-gf-info-card {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid #dbe7f2;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.aiterich-gf-info-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.aiterich-gf-info-card p:last-child {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.aiterich-gf-card {
    border-radius: 22px;
    border: 1px solid #dbe7f2;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.aiterich-gf-card-body {
    padding: 20px;
}

.aiterich-gf-title a {
    color: inherit;
    text-decoration: none;
}

.aiterich-gf-title a:hover {
    color: #0f5f9a;
}

.aiterich-gf-download-btn {
    border-radius: 999px;
    padding: 10px 22px;
    background: #0f3a63;
}

.aiterich-gf-download-btn:hover {
    background: #12497d;
}

@media (max-width: 900px) {
    .aiterich-gf-info {
        grid-template-columns: 1fr;
    }

    .aiterich-gf-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .aiterich-gf-hero {
        padding: 24px;
        border-radius: 24px;
    }

    .aiterich-gf-hero-title {
        font-size: 24px;
    }
}
