/**
 * Paketler sayfası — Kardo tarzı açık tema, üç kademeli kart, karşılaştırma tablosu
 * body.page-paketler-modern ile etkinleşir (turkinsoft-brand.css sonrası yüklenir).
 */

body.page-paketler-modern {
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

body.page-paketler-modern .pk-header-logo {
    height: 40px;
    width: auto;
    max-width: min(220px, 50vw);
    object-fit: contain;
    display: block;
}

body.page-paketler-modern::before {
    opacity: 0.35;
}

body.page-paketler-modern::after {
    opacity: 0.25;
}

/* ——— Program şeridi ——— */
body.page-paketler-modern .turkinsoft-program-switch {
    margin-top: 1rem;
}

body.page-paketler-modern .turkinsoft-program-btn.is-active {
    border-color: rgba(79, 70, 229, 0.55);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12), var(--turkinsoft-card-shadow-hover, 0 4px 12px rgba(15, 23, 42, 0.08));
}

/* ——— Esnaf fiyat bölümü: açık arka plan ——— */
body.page-paketler-modern .turkinsoft-paketler-esnaf-pricing.turkinsoft-galerim-pricing {
    background:
        radial-gradient(ellipse 100% 70% at 50% -30%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 50% at 100% 20%, rgba(34, 197, 94, 0.06), transparent 45%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%);
    color: #0f172a;
    padding: 2rem 0 3rem;
}

body.page-paketler-modern .turkinsoft-paketler-esnaf-pricing .turkinsoft-galerim-pricing-inner {
    max-width: 1160px;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-pkgs-section-title,
body.page-paketler-modern .turkinsoft-paketler-esnaf-pricing .turkinsoft-galerim-pricing-inner > h2 {
    color: #0f172a !important;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

body.page-paketler-modern .turkinsoft-paketler-esnaf-pricing .turkinsoft-galerim-pricing-sub {
    color: #64748b !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-disclaimer {
    color: #64748b !important;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-disclaimer strong {
    color: #4338ca !important;
}

/* ——— Hero ——— */
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-pkgs-top.pk-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.25rem 2.25rem;
    margin-bottom: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.9) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

body.page-paketler-modern .pk-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1rem;
}

body.page-paketler-modern .pk-breadcrumb a {
    color: #4f46e5;
    text-decoration: none;
}

body.page-paketler-modern .pk-breadcrumb a:hover {
    text-decoration: underline;
}

body.page-paketler-modern .pk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4338ca;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

body.page-paketler-modern .pk-hero-badge-icon {
    font-size: 0.85rem;
    line-height: 1;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-hero-title {
    color: #0f172a !important;
    font-size: clamp(1.65rem, 4vw, 2.35rem) !important;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-hero-sub {
    color: #64748b !important;
    font-size: 1.05rem !important;
    max-width: 40rem;
    margin: 0 auto 1.25rem !important;
}

body.page-paketler-modern .pk-hero-bullets {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

body.page-paketler-modern .pk-hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

body.page-paketler-modern .pk-hero-bullets li::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-video-text-btn {
    color: #4f46e5 !important;
    border-color: rgba(79, 70, 229, 0.35) !important;
    background: rgba(79, 70, 229, 0.06) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-video-text-btn:hover {
    background: rgba(79, 70, 229, 0.12) !important;
    color: #4338ca !important;
}

/* ——— Kartlar ——— */
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-galerim-card.pricing-card {
    position: relative;
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 20px !important;
    padding: 1.5rem 1.35rem 1.35rem !important;
    border-width: 2px !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-galerim-card.pricing-card:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-4px) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-galerim-card.turkinsoft-esnaf-tier-basic.pricing-card {
    border-color: rgba(34, 197, 94, 0.45) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-galerim-card.turkinsoft-esnaf-tier-plus.pricing-card {
    border-color: rgba(249, 115, 22, 0.5) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-galerim-card.turkinsoft-esnaf-tier-pro.pricing-card {
    border-color: rgba(79, 70, 229, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.08), 0 12px 40px rgba(79, 70, 229, 0.12) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-card--popular {
    padding-top: 1.75rem;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-popular-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -42%);
    z-index: 2;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #312e81, #4f46e5);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    white-space: nowrap;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-card-title {
    color: #0f172a !important;
    font-size: 1.2rem !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-dot {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-dot--basic {
    background: linear-gradient(145deg, #22c55e, #16a34a) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-dot--plus {
    background: linear-gradient(145deg, #fb923c, #ea580c) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-dot--pro {
    background: linear-gradient(145deg, #6366f1, #4f46e5) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-card-lead {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-features-mount > .turkinsoft-pkg-features::before {
    content: 'Başlıca özellikler';
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf ul.turkinsoft-pkg-features {
    color: #475569 !important;
    font-size: 0.875rem !important;
    margin-top: 0 !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-pkg-feature {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.5rem !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-basic .turkinsoft-pkg-feature::before,
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-plus .turkinsoft-pkg-feature::before,
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-pro .turkinsoft-pkg-feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.125rem;
    text-align: center;
    color: #fff;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-basic .turkinsoft-pkg-feature::before {
    background: #22c55e;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-plus .turkinsoft-pkg-feature::before {
    background: #ea580c;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-pro .turkinsoft-pkg-feature::before {
    background: #4f46e5;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-pkg-feature-title {
    color: #334155 !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-pkg-info-btn {
    background: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-pkg-info-btn:hover {
    background: rgba(79, 70, 229, 0.14);
    color: #4338ca;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-pkg-feature-detail {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-price-block.pricing-price {
    color: #64748b !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-price-block .current-price {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-price-block .period,
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-price-block .installment-info,
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-price-block .monthly-payment {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-ideal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .pk-ideal-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-basic .pk-ideal-tags span {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.2);
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-plus .pk-ideal-tags span {
    background: rgba(249, 115, 22, 0.1);
    color: #9a3412;
    border-color: rgba(249, 115, 22, 0.22);
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-pro .pk-ideal-tags span {
    background: rgba(79, 70, 229, 0.1);
    color: #3730a3;
    border-color: rgba(79, 70, 229, 0.2);
}

/* Butonlar: Basic/Plus çerçeve, Pro+ dolu */
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-basic .turkinsoft-esnaf-card-actions .pricing-button:not(.secondary),
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-plus .turkinsoft-esnaf-card-actions .pricing-button:not(.secondary) {
    background: #fff !important;
    color: #0f172a !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-basic .turkinsoft-esnaf-card-actions .pricing-button:not(.secondary):hover,
body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-plus .turkinsoft-esnaf-card-actions .pricing-button:not(.secondary):hover {
    border-color: #cbd5e1 !important;
    filter: none !important;
    background: #f8fafc !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-tier-pro .turkinsoft-esnaf-card-actions .pricing-button:not(.secondary) {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35) !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-card-actions .pricing-button.secondary {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 2px solid #e2e8f0 !important;
}

body.page-paketler-modern #turkinsoftPackagesEsnaf .turkinsoft-esnaf-card-actions .pricing-button.secondary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

/* ——— Karşılaştırma tablosu ——— */
body.page-paketler-modern .pk-compare-wrap {
    max-width: 1160px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}

body.page-paketler-modern .pk-compare-title {
    text-align: center;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

body.page-paketler-modern .pk-compare-sub {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.55;
}

body.page-paketler-modern .pk-compare-scroll {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

body.page-paketler-modern .pk-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

body.page-paketler-modern .pk-compare-table th,
body.page-paketler-modern .pk-compare-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

body.page-paketler-modern .pk-compare-table th:first-child,
body.page-paketler-modern .pk-compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #334155;
}

body.page-paketler-modern .pk-compare-table thead th {
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

body.page-paketler-modern .pk-compare-table thead th.pk-col-popular {
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    position: relative;
}

body.page-paketler-modern .pk-compare-table .pk-popular-pill {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: #4f46e5;
}

body.page-paketler-modern .pk-compare-table .pk-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.2rem;
}

body.page-paketler-modern .pk-compare-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

body.page-paketler-modern .pk-compare-table tbody tr:nth-child(even) td.pk-col-popular {
    background: #f5f3ff;
}

body.page-paketler-modern .pk-compare-table .pk-cat-row td {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0;
}

body.page-paketler-modern .pk-compare-table .pk-yes {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1rem;
}

body.page-paketler-modern .pk-compare-table .pk-no {
    color: #cbd5e1;
    font-weight: 600;
}

body.page-paketler-modern .pk-compare-table .pk-pill {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #ecfdf5;
    color: #166534;
}

body.page-paketler-modern .pk-plans-footnote {
    max-width: 42rem;
    margin: 1.75rem auto 0;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

/* ——— Galerim alt bölümü (aynı sayfa) ——— */
body.page-paketler-modern #turkinsoftPackagesGalerim .turkinsoft-galerim-pricing {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

body.page-paketler-modern #turkinsoftPackagesGalerim .turkinsoft-galerim-pricing-sub {
    color: #64748b !important;
}

body.page-paketler-modern #turkinsoftPackagesGalerim .turkinsoft-galerim-pricing-inner > h2 {
    color: #0f172a !important;
}

body.page-paketler-modern #turkinsoftPackagesGalerim .turkinsoft-galerim-card {
    background: #fff !important;
    border: 2px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

body.page-paketler-modern #turkinsoftPackagesGalerim .turkinsoft-galerim-card-title-text {
    color: #0f172a !important;
}

body.page-paketler-modern #turkinsoftPackagesGalerim ul.turkinsoft-pkg-features {
    color: #475569 !important;
}

/* ——— SSS ——— */
body.page-paketler-modern section.faq {
    background: #f8fafc;
}

body.page-paketler-modern .faq-container {
    max-width: 800px;
}

body.page-paketler-modern .faq h3 {
    color: #0f172a;
}

body.page-paketler-modern .faq-item {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 719px) {
    body.page-paketler-modern .pk-hero-bullets {
        flex-direction: column;
        align-items: center;
    }
}
