/* ================================================
   QIMO — plans.css
   Fiyatlandırma sayfasına özel stiller
   ================================================ */

/* ── Hero ── */
.plans-hero-section {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(160deg, #f8f9ff 0%, #eef1fd 100%);
    position: relative;
    overflow: hidden;
}

.plans-hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1f36;
    margin: 12px 0 16px;
    font-family: 'Poppins', sans-serif;
}

.plans-hero-section p {
    font-size: 1.1rem;
    color: #666e80;
}

/* ── Billing Toggle ── */
.billing-toggle {
    user-select: none;
}

.billing-label {
    font-weight: 600;
    color: #1a1f36;
    font-size: 0.95rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5f0;
    border-radius: 50px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: #2258f5;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.badge-save {
    display: inline-block;
    background: linear-gradient(135deg, #2258f5, #6d8eff);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
}

/* ── Plans Section ── */
.plans-section {
    padding: 70px 0 40px;
    background: #fff;
}

/* ── Plan Card ── */
.plan-card {
    background: #fff;
    border: 1.5px solid #e8ecf8;
    border-radius: 20px;
    padding: 36px 30px 32px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(34, 88, 245, 0.1);
    border-color: #2258f5;
}

.plan-card--popular {
    border-color: #2258f5;
    background: linear-gradient(160deg, #f5f8ff 0%, #eef2ff 100%);
    box-shadow: 0 10px 40px rgba(34, 88, 245, 0.12);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2258f5, #6d8eff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #dde4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.plan-icon i {
    font-size: 1.4rem;
    color: #2258f5;
}

.plan-card--popular .plan-icon {
    background: linear-gradient(135deg, #2258f5, #6d8eff);
}

.plan-card--popular .plan-icon i {
    color: #fff;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.plan-desc {
    color: #666e80;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* Price */
.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1f36;
    align-self: flex-start;
    margin-top: 6px;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1f36;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s ease;
}

.plan-price .period {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 6px;
}

.yearly-note {
    font-size: 0.82rem;
    color: #2258f5;
    margin-top: 6px;
}

/* Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    border-top: 1px solid #eef0f8;
    padding-top: 20px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9rem;
    color: #3d4566;
}

.plan-features li i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    background: #e8f4e8;
    color: #28a745;
}

.plan-features li.disabled {
    color: #b0b5c3;
}

.plan-features li.disabled i {
    background: #f2f3f7;
    color: #b0b5c3;
}

.plans-compare-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 16px;
}

.plans-compare-note a {
    font-weight: 500;
}

/* ── FAQ Section ── */
.plans-faq-section {
    padding: 80px 0 60px;
}

.plans-faq-accordion .faq-item {
    border: 1.5px solid #e8ecf8;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.plans-faq-accordion .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #1a1f36;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.plans-faq-accordion .faq-question:hover {
    color: #2258f5;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #2258f5;
}

.plans-faq-accordion .faq-question[aria-expanded="true"] .faq-icon,
.plans-faq-accordion .faq-question:not(.collapsed) .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 18px;
    color: #666e80;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── CTA ── */
.plans-cta-section {
    padding: 60px 0;
}

.plans-cta-inner {
    border-radius: 24px;
    padding: 60px 40px;
}

.plans-cta-inner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.plans-cta-inner p {
    font-size: 1rem;
    opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .plans-hero-section {
        padding: 120px 0 40px;
    }

    .plans-hero-section h1 {
        font-size: 2rem;
    }

    .plan-price .amount {
        font-size: 2.2rem;
    }
}
