/* ==========================================================================
   Acil Usta Burada — VIP Abonelik (Subscription) Calm & Modern Stylesheet
   ========================================================================== */

.page-abonelik {
    --subscription-red: var(--primary);
    --subscription-ink: var(--text-main);
    --subscription-muted: var(--text-muted);
    color: var(--subscription-ink);
    background: #ffffff;
    font-size: 14px;
}

.page-abonelik .subscription-container {
    width: min(1140px, calc(100% - 36px));
    margin-inline: auto;
}

/* Subscription Hero */
.subscription-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-bottom: 1px solid var(--border);
}

.subscription-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: -2;
    filter: brightness(0.4) contrast(1.1);
}

.subscription-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.4) 100%);
    z-index: -1;
}

.subscription-hero-inner {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 36px;
}

.subscription-copy {
    max-width: 680px;
}

.subscription-copy h1 {
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 10px;
    letter-spacing: -1.2px;
    color: #fff;
}

.subscription-copy h1 em {
    font-style: normal;
    color: #ff523d;
    background: linear-gradient(135deg, #ff6b57, #e02b20);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subscription-copy > p {
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 20px;
    color: #cbd5e1;
}

.subscription-promises {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.subscription-promises > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.subscription-promises svg {
    color: var(--primary);
    width: 28px;
    height: 28px;
    stroke-width: 2.2;
    flex-shrink: 0;
}

.subscription-promises p {
    margin: 0;
    line-height: 1.3;
    font-size: 13px;
    color: #f1f5f9;
}

.subscription-promises strong {
    display: block;
    font-weight: 700;
}

.subscription-promises span {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
}

/* Subscription Main & Billing Switch */
.subscription-main {
    padding-block: 36px 56px;
    background: var(--bg-page);
}

.billing-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 5px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-xs);
}

.billing-switch button {
    border-radius: var(--radius-full);
    min-width: 140px;
    min-height: 40px;
    padding: 8px 20px;
    background: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.billing-switch button.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}

.billing-switch button span {
    background: var(--success);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Plans Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    scroll-margin-top: 90px;
    margin-bottom: 48px;
}

.plan-grid.cols-1 {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.plan-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
}

.plan-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    background: #ffffff;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.08);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 3px 18px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.3);
    letter-spacing: 0.3px;
}

/* Plan card theme variations */
.plan-card[data-color="amber"].featured { border-color: #d97706; }
.plan-card[data-color="amber"] .popular-badge { background: #d97706; }
.plan-card[data-color="amber"] .plan-icon { color: #d97706; background: #fef3c7; }
.plan-card[data-color="amber"] .featured-button { background: #d97706; }

.plan-card[data-color="emerald"].featured { border-color: #059669; }
.plan-card[data-color="emerald"] .popular-badge { background: #059669; }
.plan-card[data-color="emerald"] .plan-icon { color: #059669; background: #d1fae5; }
.plan-card[data-color="emerald"] .featured-button { background: #059669; }

.plan-card[data-color="purple"].featured { border-color: #7c3aed; }
.plan-card[data-color="purple"] .popular-badge { background: #7c3aed; }
.plan-card[data-color="purple"] .plan-icon { color: #7c3aed; background: #ede9fe; }
.plan-card[data-color="purple"] .featured-button { background: #7c3aed; }

.plan-card[data-color="blue"].featured { border-color: #2563eb; }
.plan-card[data-color="blue"] .popular-badge { background: #2563eb; }
.plan-card[data-color="blue"] .plan-icon { color: #2563eb; background: #dbeafe; }
.plan-card[data-color="blue"] .featured-button { background: #2563eb; }

.plan-heading {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.plan-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    background: var(--surface-alt);
}

.plan-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.featured .plan-icon {
    color: var(--primary);
    background: var(--primary-subtle);
}

.plan-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-main);
}

.plan-heading p {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.35;
}

.plan-price {
    margin: 6px 0 14px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--text-main);
}

.plan-price strong {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
}

.period {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.annual-total {
    color: var(--text-muted);
    font-size: 12px;
    margin: -6px 0 14px;
}

.plan-card ul {
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    font-size: 13.5px;
    line-height: 1.35;
}

.plan-card li > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.plan-select {
    width: 100%;
    margin-top: auto;
    min-height: 42px;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.plan-select:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.featured-button {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.featured-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.35);
}

/* Subscription Perks / Benefits */
.subscription-heading {
    margin-bottom: 18px;
}

.subscription-heading h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin: 0 0 4px;
    color: var(--text-main);
}

.subscription-heading p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.subscription-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 14px;
    margin-bottom: 48px;
}

.subscription-benefit-grid article {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition-fast);
}

.subscription-benefit-grid article:hover {
    transform: translateY(-2px);
}

.subscription-benefit-grid svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    stroke-width: 2.2;
    flex-shrink: 0;
}

.subscription-benefit-grid h3 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-main);
}

.subscription-benefit-grid p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* FAQ Accordion */
.subscription-faq {
    margin-top: 48px;
}

.faq-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.subscription-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.subscription-faq details {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.subscription-faq details[open] {
    border-color: #cbd5e1;
}

.subscription-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.subscription-faq summary::-webkit-details-marker {
    display: none;
}

.question-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-chevron {
    margin-left: auto;
    font-size: 18px;
    color: var(--text-subtle);
    transition: transform var(--transition-fast);
}

details[open] .faq-chevron {
    transform: rotate(90deg);
    color: var(--primary);
}

.subscription-faq details > p {
    margin: 0;
    padding: 0 18px 16px 58px;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

/* Comparison Table */
.comparison-scroll {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    margin-top: 14px;
}

.comparison-scroll table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.comparison-scroll th,
.comparison-scroll td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.comparison-scroll thead th {
    background: var(--surface-alt);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
}

.comparison-scroll thead th:first-child {
    text-align: left;
}

.comparison-scroll tbody td {
    text-align: center;
    color: var(--text-body);
}

.comparison-scroll .highlight {
    background: var(--primary-subtle);
}

.compare-check {
    color: var(--success);
    font-weight: 800;
    font-size: 16px;
}

@media (max-width: 900px) {
    .subscription-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .subscription-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .subscription-hero-inner {
        padding-block: 24px;
    }
    .subscription-promises {
        gap: 14px;
    }
    .subscription-benefit-grid {
        grid-template-columns: 1fr;
    }
    .plan-grid {
        grid-template-columns: 1fr;
    }
}
