/* =============================================
   ÜCRETSİZ ARAÇ KARTLARI — ortak bileşen
   ============================================= */

.free-platform {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf5;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.free-platform:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px color-mix(in srgb, var(--brand-color) 16%, rgba(15, 23, 42, 0.12));
}

.free-platform__top {
    position: relative;
    padding: 1.125rem 1rem 1rem;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--brand-color) 88%, #000000) 0%,
        var(--brand-color) 52%,
        color-mix(in srgb, var(--brand-color) 70%, #ffffff) 100%
    );
    overflow: hidden;
}

.free-platform[style*="--brand-gradient"] .free-platform__top,
.free-platform--instagram .free-platform__top {
    background: var(--brand-gradient, linear-gradient(to bottom, #ef0a6a, #b6359c));
}

.free-platform__top::after {
    content: '';
    position: absolute;
    inset: auto -20% -60% auto;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.free-platform__brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.free-platform__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.35rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.free-platform__icon i {
    font-size: 1.35rem;
    line-height: 1;
}

.free-platform__meta {
    min-width: 0;
}

.free-platform__title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.free-platform__body {
    padding: 0.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.free-platform__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.free-tool-link {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    overflow: hidden;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.free-tool-link::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--brand-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.free-tool-link:hover {
    transform: translateX(3px);
    border-color: color-mix(in srgb, var(--brand-color) 24%, #dbe4f0);
    background: color-mix(in srgb, var(--brand-color) 4%, #ffffff);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-color) 10%, rgba(15, 23, 42, 0.07));
}

.free-tool-link:hover::before {
    opacity: 1;
}

.free-tool-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand-color) 12%, #ffffff);
    color: var(--brand-color);
    font-size: 0.9375rem;
    line-height: 1;
}

.free-tool-link__icon i {
    font-size: 0.9375rem;
    line-height: 1;
}

.free-tool-link__content {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-right: 0.25rem;
}

.free-tool-link__name {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.free-tool-link__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    flex-shrink: 0;
    min-width: 2rem;
}

.free-tool-link__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: -0.75rem;
    margin-right: -0.875rem;
    padding: 0.28rem 0.55rem 0.32rem 0.65rem;
    border-radius: 0 15px 0 11px;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        -2px 3px 10px rgba(22, 163, 74, 0.22);
}

.free-tool-link:hover .free-tool-link__badge {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        -2px 4px 12px rgba(22, 163, 74, 0.3);
}

.free-tool-link__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-color) 12%, #f1f5f9);
    color: var(--brand-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.free-tool-link:hover .free-tool-link__go {
    background: var(--brand-color);
    color: #ffffff;
    transform: translateX(2px);
}
