/* Abonelik paket kartları — landing + admin */
.plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .plan-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .plan-cards-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-height: 100%;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

.plan-card.is-featured {
    border-color: #e85d04;
    box-shadow: 0 8px 30px rgba(232, 93, 4, .15);
}

.plan-card.is-current {
    border-color: #22c55e;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 40%);
}

.plan-card.is-inactive {
    opacity: .65;
}

.plan-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e85d04;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .35rem .85rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-card-badge.badge-current { background: #22c55e; }
.plan-card-badge.badge-inactive { background: #94a3b8; }

.plan-card-trial {
    display: block;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: .65rem;
}

.plan-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(232, 93, 4, .12);
    color: #e85d04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.plan-card.is-current .plan-card-icon {
    background: rgba(34, 197, 94, .12);
    color: #16a34a;
}

.plan-card-head h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .35rem;
    line-height: 1.2;
}

.plan-card-slug {
    font-size: .75rem;
    color: #94a3b8;
    font-family: monospace;
    margin-bottom: .5rem;
}

.plan-card-desc {
    font-size: .875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.plan-card-price {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.plan-card-price strong {
    font-size: 2rem;
    font-weight: 800;
    color: #e85d04;
    line-height: 1;
}

.plan-card-price span {
    font-size: .9rem;
    color: #64748b;
    font-weight: 500;
}

.plan-card-price .price-free {
    font-size: 1.75rem;
    color: #e85d04;
}

.plan-card-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.plan-card-features li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: #334155;
    padding: .4rem 0;
    border-bottom: 1px dashed #f1f5f9;
}

.plan-card-features li:last-child { border-bottom: none; }

.plan-card-features i {
    color: #e85d04;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.plan-card-features .feat-val {
    margin-left: auto;
    font-weight: 700;
    color: #1e293b;
}

.plan-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.plan-card-footer .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.plan-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.plan-card-meta .meta-pill {
    font-size: .75rem;
    padding: .25rem .6rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

.plan-card-meta .meta-pill.success { background: #dcfce7; color: #166534; }
.plan-card-meta .meta-pill.muted { background: #f1f5f9; color: #64748b; }

/* Admin plan yönetimi kartları */
.plan-cards-grid.admin-manage .plan-card {
    padding: 1.5rem;
}

.plan-cards-grid.admin-manage .plan-card-actions {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
}

.plan-cards-grid.admin-manage .plan-card-actions .btn {
    flex: 1;
}

/* Kayıt sayfası kompakt grid */
.plan-pick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

.plan-pick-card { cursor: pointer; display: block; }

.plan-pick-card input { display: none; }

.plan-pick-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.1rem .75rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    gap: .35rem;
    transition: all .2s;
    height: 100%;
    background: #fff;
}

.plan-pick-card.selected .plan-pick-inner,
.plan-pick-card input:checked + .plan-pick-inner {
    border-color: #e85d04;
    background: rgba(232, 93, 4, .06);
    box-shadow: 0 4px 16px rgba(232, 93, 4, .15);
}

.plan-pick-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(232, 93, 4, .1);
    color: #e85d04;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.plan-pick-inner strong { font-size: .9rem; }

.plan-pick-inner em {
    font-style: normal;
    color: #e85d04;
    font-weight: 700;
    font-size: .85rem;
}

.plan-pick-inner small {
    color: #64748b;
    font-size: .72rem;
    line-height: 1.35;
}

.plan-section-title {
    margin: 2rem 0 1.25rem;
}

.plan-section-title h2 {
    font-size: 1.35rem;
    margin-bottom: .25rem;
}

.plan-section-title p {
    color: #64748b;
    font-size: .9rem;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #1e293b;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.btn-outline-dark:hover {
    background: #1e293b;
    color: #fff;
}

.plan-card-footer .btn-block { width: 100%; }

.plan-card-modules {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: .78rem;
    border-top: 1px dashed #e2e8f0;
    padding-top: .75rem;
}
.plan-card-modules li {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem 0;
}
.plan-card-modules li.mod-on { color: #166534; }
.plan-card-modules li.mod-off { color: #94a3b8; }
.plan-card-modules li.mod-off i { opacity: .7; }
