﻿/* Ana sayfa "Neden Turbyte" bölümü: hizmet kartlarıyla (service-card) aynı görsel dil. */
.why-section { position: relative; padding: 46px 0 58px; background: radial-gradient(circle at 24% 30%, rgba(29, 100, 242, .06), transparent 26%), linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%); }
.why-section .service-showcase-head .eyebrow { color: var(--blue); font-weight: 500; }

.why-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Ortak kart iskeleti: sol mavi çizgi + sağ üst ikon sekmesi */
.why-feature, .why-tile { position: relative; overflow: hidden; border: 1px solid rgba(214, 226, 239, .92); border-radius: 8px; box-shadow: 0 22px 58px rgba(10, 32, 67, .1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.why-feature::before, .why-tile::before { content: ""; position: absolute; inset: 22px auto auto 0; width: 3px; height: 34px; border-radius: 0 999px 999px 0; background: var(--blue); }

/* Koyu vitrin kartı (service-card-dark tonu) */
.why-feature { grid-row: span 2; display: flex; flex-direction: column; padding: 18px 22px 22px; border-color: transparent; color: #fff; background: radial-gradient(circle at 88% 0%, rgba(25, 197, 255, .18), transparent 30%), linear-gradient(135deg, #07111f 0%, #0d1f45 100%); box-shadow: 0 28px 70px rgba(7, 17, 31, .24); }
.why-feature::before { background: var(--cyan); }
.why-feature h3 { margin: 0 0 8px; padding-right: 40px; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.25; }
.why-feature > p { margin: 0 0 16px; color: rgba(225, 237, 255, .78); font-size: 13.5px; line-height: 1.6; }
.why-pill { order: 3; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0 0 16px; color: rgba(225, 237, 255, .85); font-size: 13px; }
.why-pill b { padding: 3px 8px; border-radius: 5px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }
.why-feature h3 { order: 1; }
.why-feature > p { order: 2; }
.why-plans { order: 4; }
.why-actions { order: 5; }

.why-plans { display: grid; gap: 8px; }
.why-plan { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.why-plan:hover { border-color: rgba(29, 100, 242, .9); background: rgba(29, 100, 242, .16); }
.why-plan-ic { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 7px; background: rgba(29, 100, 242, .22); color: #8fc2ff; }
.why-plan-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-plan-name { flex: 1; min-width: 0; }
.why-plan-name strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.why-plan-name small { display: block; overflow: hidden; color: rgba(225, 237, 255, .65); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.why-plan-price { text-align: right; white-space: nowrap; }
.why-plan-price small { display: block; color: rgba(225, 237, 255, .6); font-size: 11.5px; }
.why-plan-price strong { font-size: 19px; font-weight: 600; }
.why-plan-price em { margin-left: 2px; color: rgba(225, 237, 255, .65); font-size: 12px; font-style: normal; }
.why-plan-go { display: none; }

.why-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.why-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 21px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 7px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.why-btn:hover, .why-btn:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .08); outline: none; transform: translateY(-1px); }
.why-btn.is-primary { border-color: var(--blue); background: var(--blue); }
.why-btn.is-primary:hover, .why-btn.is-primary:focus-visible { background: #0f52dc; }
.why-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-plan:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Beyaz güven kartları (service-card) */
.why-tile { display: flex; flex-direction: column; padding: 18px 22px 20px; background: rgba(255, 255, 255, .94); }
.why-tile:hover { border-color: rgba(29, 100, 242, .24); box-shadow: 0 30px 72px rgba(10, 32, 67, .14); transform: translateY(-3px); }
.why-ic { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0 8px 0 16px; background: #edf5ff; color: var(--blue); }
.why-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-tile h3 { margin: 0 0 10px; padding-right: 34px; color: #263855; font-size: 17px; font-weight: 600; line-height: 1.25; }
.why-tile p { margin: 0; color: #667795; font-size: 13px; line-height: 1.6; }
.why-val { margin-top: auto; padding-top: 16px; }
.why-val strong { display: block; color: #1f2f4f; font-size: 23px; font-weight: 600; line-height: 1.1; }
.why-val small { display: block; margin-top: 4px; color: #667795; font-size: 13px; }

/* Vitrin kartındaki ikon sekmesi */
.why-feature::after { content: ""; position: absolute; top: 0; right: 0; width: 40px; height: 40px; border-radius: 0 8px 0 16px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center / 17px no-repeat; }

@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
    .why-section { padding: 30px 0 40px; }
    .why-grid { gap: 10px; }
    /* Vitrin kartı: yalnızca başlık, indirim, iki paket satırı ve butonlar */
    .why-feature { padding: 20px 18px; }
    .why-feature h3 { margin-bottom: 12px; font-size: 18px; }
    .why-feature > p { display: none; }
    .why-pill { margin-bottom: 14px; font-size: 12.5px; }
    .why-plan { gap: 10px; padding: 12px; }
    .why-plan-ic { flex-basis: 32px; width: 32px; height: 32px; }
    .why-plan-name strong { font-size: 14.5px; }
    .why-plan-name small, .why-plan-price small { display: none; }
    .why-plan-price strong { font-size: 16px; }
    .why-actions { flex-wrap: nowrap; padding-top: 14px; }
    .why-btn { flex: 1 1 0; padding: 0 10px; font-size: 13.5px; white-space: nowrap; }
    .why-btn.is-primary { flex-grow: 1.35; }
    .why-btn svg { display: none; }
    /* Güven kartları: sade 2x2 değer kutuları */
    .why-tile { padding: 14px 16px; box-shadow: none; }
    .why-tile::before, .why-ic, .why-tile h3, .why-tile p { display: none; }
    .why-tile:hover { transform: none; }
    .why-val { margin: 0; padding: 0; }
    .why-val strong { font-size: 18px; color: var(--blue); }
    .why-val small { margin-top: 3px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .why-feature, .why-tile, .why-plan, .why-btn { transition: none; } .why-tile:hover { transform: none; } }
