/* ═══════════════════════════════════════════════════════════════
   PRICING PAGE - STUNNING DARK GLASSMORPHISM SYSTEM (5-TIER)
   ═══════════════════════════════════════════════════════════════ */
.pricing-hero {
    background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.1) 45%, transparent 70%);
    padding: 110px 0 50px;
    text-align: center;
    position: relative;
}

/* 6-Tier Responsive Cards Grid */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

@media (min-width: 1400px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
}

.pricing-card {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(99, 102, 241, 0.22) !important;
    border-radius: 24px !important;
    padding: 30px 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(129, 140, 248, 0.6) !important;
    background: rgba(20, 30, 56, 0.95) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.25) !important;
}

.pricing-card.popular {
    border: 2px solid #818cf8 !important;
    background: linear-gradient(180deg, rgba(28, 38, 74, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 45px rgba(99, 102, 241, 0.35) !important;
    transform: scale(1.02);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-8px) !important;
}

.pricing-card.enterprise {
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    background: linear-gradient(180deg, rgba(30, 27, 20, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
}

.pricing-card.enterprise:hover {
    border-color: rgba(245, 158, 11, 0.8) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.25) !important;
}

.pricing-card.franchise-enterprise {
    border: 2px solid rgba(245, 158, 11, 0.55) !important;
    background: linear-gradient(180deg, rgba(38, 28, 14, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.2) !important;
}

.pricing-card.franchise-enterprise:hover {
    border-color: rgba(245, 158, 11, 0.95) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(245, 158, 11, 0.4) !important;
}

/* Tier Badge Pill */
.tier-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
}
.tier-tag-1 { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.tier-tag-2 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tier-tag-3 { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.tier-tag-4 { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.tier-tag-5 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* Billing Cycle Toggle Switcher */
.billing-toggle-wrapper {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.billing-toggle-btn {
    border: none !important;
    background: transparent !important;
    padding: 12px 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 50px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.billing-toggle-btn.active {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5) !important;
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 0.85rem;
}

.pricing-feature-list li {
    margin-bottom: 11px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #e2e8f0;
    line-height: 1.4;
}

.badge-pill-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #818cf8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   BÜYÜK KARŞILAŞTIRMA MATRİSİ TABLOSU
   ═══════════════════════════════════════════════════════════════ */
.comparison-matrix-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 28px;
    backdrop-filter: blur(25px);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.matrix-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #cbd5e1;
}

.matrix-table th, 
.matrix-table td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matrix-table th {
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.matrix-table th:first-child {
    text-align: left;
    min-width: 240px;
}

.matrix-table td:first-child {
    font-weight: 600;
    color: #f1f5f9;
}

.matrix-table td {
    text-align: center;
    font-size: 0.88rem;
}

.matrix-table tr:hover td {
    background: rgba(99, 102, 241, 0.06);
}

.matrix-category-header {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #818cf8 !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 18px !important;
    text-align: left !important;
}

.matrix-check {
    color: #34d399;
    font-size: 1.15rem;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
}

.matrix-addon {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.matrix-cross {
    color: #ef4444;
    opacity: 0.45;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════
   EK MODÜLLER (ADDON MODULES) - ULTRA PREMIUM SELECTION CARDS
   ═══════════════════════════════════════════════════════════════ */
.addon-card {
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    border-radius: 22px !important;
    padding: 24px 20px !important;
    height: 100%;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.addon-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    background: rgba(18, 28, 52, 0.95) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.2) !important;
}

.addon-card.selected {
    border: 2px solid #818cf8 !important;
    background: rgba(28, 38, 68, 0.95) !important;
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.35), 0 0 35px rgba(168, 85, 247, 0.25) !important;
}

.btn-addon-toggle {
    background: rgba(99, 102, 241, 0.15) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
    border-radius: 50px !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.btn-addon-toggle:hover {
    background: rgba(99, 102, 241, 0.3) !important;
    color: #ffffff !important;
}

.addon-card.selected .btn-addon-toggle {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

/* Floating Addon Summary Bar */
.addon-floating-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140px);
    width: 90%;
    max-width: 840px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(129, 140, 248, 0.4);
    border-radius: 50px;
    padding: 14px 28px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.3);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.addon-floating-bar.active {
    transform: translateX(-50%) translateY(0);
}

.addon-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2)) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.addon-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ── FAQ Custom Accordion ── */
.accordion-custom {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-custom-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-custom-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.accordion-custom-item.active {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(18, 28, 52, 0.9);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.1);
}

.accordion-custom-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: #FFF;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.accordion-icon-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: #818cf8;
}

.accordion-custom-item.active .accordion-icon-arrow {
    transform: rotate(180deg);
    color: #a855f7;
}

.accordion-custom-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-custom-item.active .accordion-custom-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.accordion-custom-body {
    padding: 0 24px 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES FOR PRICING PAGE ([data-theme="light"])
   ═══════════════════════════════════════════════════════════════ */
[data-theme="light"] .pricing-hero {
    background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 45%, transparent 70%);
}

[data-theme="light"] .pricing-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .pricing-card:hover {
    border-color: rgba(79, 70, 229, 0.5) !important;
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.14) !important;
    background: #FFFFFF !important;
}

[data-theme="light"] .pricing-card.popular {
    background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 100%) !important;
    border: 2px solid #6366f1 !important;
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.18) !important;
}

[data-theme="light"] .pricing-card.enterprise {
    background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.5) !important;
}

[data-theme="light"] .billing-toggle-wrapper {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .billing-toggle-btn {
    color: #64748B !important;
}

[data-theme="light"] .billing-toggle-btn.active {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
}

[data-theme="light"] .pricing-feature-list li {
    color: #334155 !important;
}

[data-theme="light"] .comparison-matrix-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .matrix-table th {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-bottom: 2px solid #E2E8F0 !important;
}

[data-theme="light"] .matrix-table td {
    color: #475569 !important;
    border-bottom: 1px solid #F1F5F9 !important;
}

[data-theme="light"] .matrix-table td:first-child {
    color: #0F172A !important;
}

[data-theme="light"] .matrix-table tr:hover td {
    background: rgba(99, 102, 241, 0.04) !important;
}

[data-theme="light"] .matrix-category-header {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #4F46E5 !important;
}

[data-theme="light"] .addon-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .addon-card:hover {
    border-color: rgba(79, 70, 229, 0.4) !important;
    box-shadow: 0 18px 45px rgba(79, 70, 229, 0.12) !important;
    background: #FFFFFF !important;
}

[data-theme="light"] .addon-card.selected {
    background: #F5F3FF !important;
    border: 2px solid #6366f1 !important;
    box-shadow: 0 18px 45px rgba(99, 102, 241, 0.18) !important;
}

[data-theme="light"] .addon-floating-bar {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 30px rgba(99, 102, 241, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SMOOTH EXPANDABLE DETAILED COMPARISON (ITEM 1)
   ═══════════════════════════════════════════════════════════════ */
.comparison-expandable-wrap {
    position: relative;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.comparison-expandable-wrap:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.comparison-matrix-card {
    transition: max-height 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
}

.comparison-expandable-wrap.collapsed .comparison-matrix-card {
    max-height: 330px !important; /* Shows header + 4 rows */
}

.comparison-expandable-wrap.expanded .comparison-matrix-card {
    max-height: 4000px !important;
}

.comparison-fade-overlay {
    position: absolute;
    bottom: 64px;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(11, 15, 25, 0.96) 85%);
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 5;
}

.comparison-expandable-wrap.expanded .comparison-fade-overlay {
    opacity: 0;
    visibility: hidden;
}

.comparison-btn-wrapper {
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-comparison-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(129, 140, 248, 0.45);
    color: #FFFFFF;
    padding: 13px 34px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-comparison-toggle:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(168, 85, 247, 0.35));
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 14px 35px -3px rgba(99, 102, 241, 0.55);
}

.btn-comparison-toggle i {
    transition: transform 0.4s ease;
}

/* Light Theme overrides for Expandable Comparison */
[data-theme="light"] .comparison-expandable-wrap {
    background: #FFFFFF !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .comparison-fade-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 85%) !important;
}

[data-theme="light"] .comparison-btn-wrapper {
    background: #F8FAFC !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .btn-comparison-toggle {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35) !important;
}

/* ── Custom Incompatible Addon Notification Toast ── */
.keska-pricing-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100000;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 16px;
    padding: 16px 20px;
    color: #FFF;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.keska-pricing-toast.show {
    transform: translateX(0);
}


