/* Ana sayfa: slider (.hs) + yanında Paket Desenler paneli (.hb) + ürün sekmeleri (.htabs) — kompakt, minimal */

/* ═══════ yerleşim: sol slider, sağ paket paneli ═══════ */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin: 0 0 12px; align-items: stretch; }
.hero--solo { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } }

/* ═══════ slider ═══════ */
.hs { container: hs / inline-size; position: relative; margin: 0; border-radius: 18px; overflow: hidden; isolation: isolate; background: #0b1511; color: #fff; display: flex; flex-direction: column; min-height: 196px; }
.hs__viewport { position: relative; overflow: hidden; border-radius: inherit; touch-action: pan-y; flex: 1; display: flex; }
.hs__track { display: grid; width: 100%; }

.hs__slide {
    grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: 196px; overflow: hidden;
    color: var(--tx, #fff);
    background:
        radial-gradient(70% 120% at 82% 50%, color-mix(in srgb, var(--ac, #10b981) 20%, transparent), transparent 70%),
        linear-gradient(105deg, var(--c1, #052e1f), var(--c2, #0b3d2e));
    opacity: 0; visibility: hidden; transform: translateX(24px);
    transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1), visibility 0s linear .65s;
}
.hs__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s, 0s, 0s; z-index: 1; }
.hs__slide.is-prev { transform: translateX(-24px); }

.hs__pic { position: absolute; inset: 0; }
.hs__pic img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; transform: scale(1.04); transition: transform 7s ease-out; }
.hs__slide.is-active .hs__pic img { transform: scale(1); }
.hs__shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--c1, #052e1f) calc(var(--dim, .55) * 100%), transparent) 0%,
        color-mix(in srgb, var(--c1, #052e1f) calc(var(--dim, .55) * 70%), transparent) 45%,
        transparent 80%);
}

/* içerik: solda dikey yığın, tek satır özellikler */
.hs__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 22px 56px 34px 36px; max-width: 70%; }
.hs__title { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; font-size: clamp(22px, 3.7cqw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--tx, #fff); }
.hs__title em { font-style: normal; color: var(--ac, #10b981); }
.hs__ico { width: .9em; height: .9em; flex: none; color: var(--ac, #10b981); }
.hs__desc { margin: 0; font-size: clamp(13.5px, 1.9cqw, 16px); line-height: 1.45; font-weight: 500; color: color-mix(in srgb, var(--tx, #fff) 82%, transparent); max-width: 46ch; }

.hs__feats { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 16px; }
.hs__feats li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1.25; color: color-mix(in srgb, var(--tx, #fff) 78%, transparent); max-width: 96px; }
.hs__fi { width: 20px; height: 20px; flex: none; color: var(--tx, #fff); opacity: .9; }

.hs__cta {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; text-decoration: none; white-space: nowrap; margin-top: 4px;
    background: var(--ac, #10b981); color: var(--ac-ink, #04261a); font-size: 14px; font-weight: 750; letter-spacing: -.005em;
    transition: transform .3s cubic-bezier(.22,1,.36,1), filter .2s;
}
.hs__cta svg { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hs__cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hs__cta:hover svg { transform: translateX(3px); }
.hs__cta:active { transform: scale(.97); }
.hs__cta:focus-visible, .hs__arrow:focus-visible, .hs__dot:focus-visible { outline: 3px solid color-mix(in srgb, var(--ac, #10b981) 70%, #fff); outline-offset: 2px; }

/* slayt değişince içerik sırayla belirir */
.hs__slide.is-active .hs__title, .hs__slide.is-active .hs__desc, .hs__slide.is-active .hs__feats li, .hs__slide.is-active .hs__cta { animation: hs-in .65s cubic-bezier(.22,1,.36,1) both; }
.hs__slide.is-active .hs__desc { animation-delay: .05s; }
.hs__slide.is-active .hs__feats li:nth-child(1) { animation-delay: .1s; }
.hs__slide.is-active .hs__feats li:nth-child(2) { animation-delay: .14s; }
.hs__slide.is-active .hs__feats li:nth-child(3) { animation-delay: .18s; }
.hs__slide.is-active .hs__feats li:nth-child(4) { animation-delay: .22s; }
.hs__slide.is-active .hs__cta { animation-delay: .26s; }
@keyframes hs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* oklar kenarlarda, noktalar altta ortada */
.hs__arrows { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hs__arrow {
    position: absolute; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(8,14,12,.45); color: #fff; cursor: pointer; padding: 0;
    display: grid; place-items: center; pointer-events: auto; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: .85;
    transition: background .2s, transform .25s cubic-bezier(.22,1,.36,1), border-color .2s, opacity .2s;
}
.hs__prev { left: 10px; } .hs__next { right: 10px; }
.hs__arrow svg { width: 16px; height: 16px; }
.hs:hover .hs__arrow { opacity: 1; }
.hs__arrow:hover { background: rgba(8,14,12,.75); border-color: rgba(255,255,255,.4); }
.hs__arrow:active { transform: scale(.9); }
.hs__dots { position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); z-index: 4; display: flex; gap: 6px; align-items: center; }
.hs__dot { position: relative; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; overflow: hidden; transition: width .4s cubic-bezier(.22,1,.36,1), background .2s; }
.hs__dot:hover { background: rgba(255,255,255,.65); }
.hs__dot.is-active { width: 22px; background: rgba(255,255,255,.3); }
.hs__dot.is-active::after { content: ''; position: absolute; inset: 0; background: var(--hs-ac, #10b981); transform: scaleX(0); transform-origin: left; animation: hs-fill var(--hs-dur, 6500ms) linear forwards; }
.hs.is-paused .hs__dot.is-active::after { animation-play-state: paused; }
.hs[data-autoplay="0"] .hs__dot.is-active::after { transform: scaleX(1); animation: none; }
@keyframes hs-fill { to { transform: scaleX(1); } }

/* dar slider */
@container hs (max-width: 700px) { .hs__feats { display: none; } }
@container hs (max-width: 560px) {
    .hs__body { max-width: 100%; padding: 22px 18px 38px; }
    .hs__desc { max-width: 100%; }
    .hs__shade { background: linear-gradient(180deg, color-mix(in srgb, var(--c1, #052e1f) calc(var(--dim, .55) * 85%), transparent), color-mix(in srgb, var(--c1, #052e1f) calc(var(--dim, .55) * 100%), transparent)); }
}
@container hs (max-width: 460px) { .hs__arrows { display: none; } }
@media (max-width: 759px) { .hs { border-radius: 16px; } }

/* ═══════ Paket Desenler paneli (kompakt) ═══════ */
.hb {
    container: hb / inline-size; display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; border-radius: 18px; min-width: 0;
    background: linear-gradient(135deg, #fffaf1 0%, #fdf0dc 100%); border: 1px solid rgba(180,130,40,.16); color: #3b2a0d;
}
body.dark-theme .hb { background: linear-gradient(135deg, #272218 0%, #1b1a16 100%); border-color: rgba(245,158,11,.2); color: #f3e6cc; }
.hb__head { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.hb__ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #c8913f, #a8721f); }
.hb__ic svg { width: 20px; height: 20px; }
.hb__txt { flex: 1; min-width: 0; }
.hb h2 { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; color: #2b1d06; }
body.dark-theme .hb h2 { color: #fff3da; }
.hb__sub { margin: 1px 0 0; font-size: 12.5px; font-weight: 500; color: #7a6338; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.dark-theme .hb__sub { color: #b9a67f; }
.hb__desc { display: none; }
.hb__all {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: 13px; font-weight: 700; color: #7a4f10; flex: none;
    background: rgba(200,145,63,.14); transition: background .2s, transform .3s cubic-bezier(.22,1,.36,1);
}
body.dark-theme .hb__all { color: #f3d9a4; background: rgba(245,158,11,.14); }
.hb__all svg { width: 14px; height: 14px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hb__all:hover { background: rgba(200,145,63,.26); } .hb__all:hover svg { transform: translateX(3px); }
.hb__all:active { transform: scale(.97); }
.hb a:focus-visible, .hb button:focus-visible { outline: 3px solid rgba(200,145,63,.6); outline-offset: 2px; }

.hb__rail { position: relative; flex: 1; display: flex; align-items: stretch; gap: 6px; min-height: 112px; }
.hb__track {
    flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px;
    --fl: 0px; --fr: 32px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
}
.hb__track::-webkit-scrollbar { display: none; }
.hb__track.has-l { --fl: 24px; } .hb__track.no-r { --fr: 0px; }
.hb__card { position: relative; flex: 0 0 clamp(112px, 22cqw, 140px); border-radius: 14px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: #2a2418; display: block; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.hb__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.hb__card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(80,50,0,.55); }
.hb__card:hover img { transform: scale(1.07); }
.hb__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,8,4,.88) 100%); }
.hb__name { position: absolute; left: 10px; right: 10px; bottom: 33px; font-size: 12px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hb__row { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hb__pill { max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 750; padding: 3px 8px; border-radius: 999px; background: #fcd9a0; color: #5a3b05; }
.hb__go { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #c8913f; color: #fff; transition: transform .3s cubic-bezier(.22,1,.36,1), background .2s; }
.hb__go svg { width: 12px; height: 12px; }
.hb__card:hover .hb__go { transform: translateX(2px); background: #d9a24e; }
.hb__nav { flex: none; align-self: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(120,85,20,.22); background: rgba(255,255,255,.65); color: #5a3b05; cursor: pointer; padding: 0; display: grid; place-items: center; transition: opacity .2s, background .2s; }
.hb__nav svg { width: 13px; height: 13px; }
.hb__nav:hover { background: #fff; }
.hb__nav.is-off { opacity: .22; pointer-events: none; }
body.dark-theme .hb__nav { background: rgba(255,255,255,.08); border-color: rgba(245,158,11,.3); color: #f3e6cc; }
body.dark-theme .hb__nav:hover { background: rgba(255,255,255,.16); }
@container hb (max-width: 420px) { .hb__nav { display: none; } .hb__sub { display: none; } }
@media (max-width: 1100px) { .hb { padding: 14px; } }

/* ═══════ ürün sekmeleri (ince) ═══════ */
.htabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 14px; border-bottom: 1px solid rgba(15,23,42,.09); }
body.dark-theme .htabs { border-bottom-color: rgba(255,255,255,.09); }
.htab { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; min-width: 0; border-radius: 10px 10px 0 0; transition: background .2s; }
.htab:hover { background: rgba(15,23,42,.035); } body.dark-theme .htab:hover { background: rgba(255,255,255,.04); }
.htab__ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.htab__ic svg { width: 16px; height: 16px; }
.htab[data-tab="premium"] .htab__ic { background: rgba(16,185,129,.14); color: #059669; }
.htab[data-tab="bundle"]  .htab__ic { background: rgba(244,63,94,.12);  color: #e11d48; }
.htab[data-tab="popular"] .htab__ic { background: rgba(249,115,22,.14); color: #ea580c; }
.htab[data-tab="new"]     .htab__ic { background: rgba(16,185,129,.14); color: #059669; }
.htab:hover .htab__ic, .htab.is-on .htab__ic { transform: scale(1.08); }
.htab__t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.htab__t b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: #1e293b; transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htab__t small { font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.dark-theme .htab__t b { color: #e5e7eb; }
.htab.is-on .htab__t b { color: #059669; } body.dark-theme .htab.is-on .htab__t b { color: #34d399; }
.htab:focus-visible { outline: 3px solid rgba(16,185,129,.5); outline-offset: -3px; }
.htabs__bar { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: #10b981; border-radius: 2px; opacity: 0; transition: left .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1), opacity .2s; }
@media (max-width: 900px) {
    .htabs { display: flex; overflow-x: auto; scrollbar-width: none; }
    .htabs::-webkit-scrollbar { display: none; }
    .htab { flex: 0 0 auto; padding-right: 18px; }
    .htab__t small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hs__slide, .hs__pic img, .hs__cta, .hs__dot, .hb__card, .hb__card img, .htabs__bar { transition: opacity .2s linear !important; transform: none !important; }
    .hs__slide * { animation: none !important; }
}
