/* ==========================================================================
   Birebir Arapça Dersleri (ArabicSpeaking/OneOnOne) — eğitmen odaklı. Önek: .ako-
   ========================================================================== */

/* ------------------------------ 1. GİRİŞ: kemerde ders ------------------------------ */
.ako-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.ako-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    padding: 18px 30px 60px;
}
.ako-stage__arch {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 28px 28px / 36% 36% 28px 28px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(238, 215, 21, .16), transparent 60%),
        linear-gradient(180deg, #7a2d63 0%, #5a1f4b 55%, #43163a 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 50px 90px -50px rgba(31, 10, 24, .8);
}
.ako-stage__arch::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border-radius: inherit;
    border: 1px solid rgba(238, 215, 21, .4);
    pointer-events: none;
}
.ako-stage__arch::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(31, 10, 24, .7) 0%, transparent 38%);
    pointer-events: none;
}
.ako-stage__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ak-mashrabiya);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
    mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.ako-stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.ako-stage__word { font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: 1.2; color: var(--ak-sun); }
.ako-stage__call {
    position: absolute;
    z-index: 3;
    bottom: 22px;
    inset-inline: 0;
    margin-inline: auto;
    width: fit-content;
    display: inline-flex;
    gap: 10px;
}
.ako-stage__call i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .875rem;
}
.ako-stage__call .ako-stage__hang { background: #e0245e; }

/* "١:١" mühür */
.ako-stage__seal {
    position: absolute;
    z-index: 4;
    top: 0;
    inset-inline-end: 0;
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    direction: ltr;
    clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
    background: var(--ak-sun);
    color: var(--ak-plum-950);
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .3));
}
.ako-stage__seal b { font-family: var(--ak-font-kufi); font-size: 1.875rem; font-weight: 700; line-height: 1; }
.ako-stage__seal i { font-style: normal; font-weight: 800; font-size: 1.25rem; line-height: 1; opacity: .6; }

/* Eğitmen adı kartı */
.ako-stage__name {
    position: absolute;
    z-index: 4;
    bottom: 0;
    inset-inline-start: 0;
    max-width: 86%;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #fff;
    color: var(--ak-ink);
    text-decoration: none;
    box-shadow: 0 24px 48px -22px rgba(31, 10, 24, .5), 0 2px 6px rgba(31, 10, 24, .06);
}
.ako-stage__name:hover { color: var(--ak-ink); box-shadow: 0 28px 56px -22px rgba(31, 10, 24, .6); }
.ako-stage__name-text { display: grid; min-width: 0; }
.ako-stage__name strong { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ako-stage__name small { color: var(--ak-plum-600); font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ako-stage__rating {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--ak-radius-pill);
    background: var(--ak-sun-50);
    font-size: .8125rem;
    font-weight: 700;
}
.ako-stage__rating i { color: #f4b400; font-size: .75rem; }

/* Yan avatarlar: "başka eğitmenler de var" */
.ako-stage__more {
    position: absolute;
    z-index: 4;
    top: 34%;
    inset-inline-start: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px;
    border-radius: var(--ak-radius-pill);
    background: #fff;
    box-shadow: var(--ak-shadow);
}
.ako-stage__more img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.ako-stage__more img + img { margin-top: -10px; }
@media (prefers-reduced-motion: no-preference) {
    .ako-stage__seal { animation: ako-bob 7s ease-in-out infinite !important; }
    .ako-stage__more { animation: ako-bob 8s ease-in-out -3s infinite !important; }
}
@keyframes ako-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ako-details { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ako-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
}
.ako-detail__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--ak-plum-50);
    color: var(--ak-plum-600);
    font-size: 1.0625rem;
}
.ako-detail:nth-child(2) .ako-detail__icon { background: var(--ak-sun-50); color: #8a6d00; }
.ako-detail:nth-child(3) .ako-detail__icon { background: var(--ak-sand-100); color: #8a5a32; }
.ako-detail__title { margin: 2px 0 4px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; }
.ako-detail__desc { margin: 0; color: var(--ak-muted); line-height: 1.6; }
.ako-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------ 2. EĞİTMEN ŞERİDİ ------------------------------ */
.ako-rail-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ako-round {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--ak-line-strong);
    background: #fff;
    color: var(--ak-ink);
    cursor: pointer;
}
.ako-round:hover { border-color: var(--ak-plum-300); color: var(--ak-plum-700); }
html[dir="rtl"] .ako-round i { transform: scaleX(-1); }

.ako-rail {
    --rail-pad: max(var(--ak-gutter), calc((100vw - var(--ak-container)) / 2));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 284px);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 4px var(--rail-pad) 20px;
    scroll-padding-inline: var(--rail-pad);
    scrollbar-width: none;
}
.ako-rail::-webkit-scrollbar { display: none; }
.ako-rail:focus-visible { outline-offset: -2px; }

.ako-teacher {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 10px 0;
    border-radius: 24px;
    border: 1px solid var(--ak-line);
    background: var(--ak-bg);
    color: var(--ak-ink);
    text-decoration: none;
}
.ako-teacher:hover { color: var(--ak-ink); box-shadow: var(--ak-shadow); translate: 0 -4px; border-color: var(--ak-plum-200); }
.ako-teacher__photo {
    position: relative;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    border-radius: 50% 50% 18px 18px / 42% 42% 18px 18px;
    background: var(--ak-plum-50);
}
.ako-teacher__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ako-teacher__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; font-weight: 700; color: var(--ak-plum-400); }
.ako-teacher__rating {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--ak-radius-pill);
    background: rgba(255, 255, 255, .94);
    font-size: .8125rem;
    font-weight: 700;
}
.ako-teacher__rating i { color: #f4b400; font-size: .75rem; }
.ako-teacher__body { display: grid; gap: 8px; padding: 16px 10px 18px; flex: 1; align-content: start; }
.ako-teacher__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; }
.ako-teacher__spec {
    width: fit-content;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: var(--ak-radius-pill);
    background: var(--ak-plum-50);
    color: var(--ak-plum-700);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ako-teacher__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ak-muted); font-size: .8125rem; }
.ako-teacher__meta i { color: var(--ak-plum-300); margin-inline-end: 3px; }
.ako-teacher__cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--ak-plum-600); }
@media (prefers-reduced-motion: no-preference) {
    .ako-teacher { transition: translate .3s var(--ak-ease), box-shadow .3s var(--ak-ease), border-color .2s !important; }
    .ako-teacher__photo img { transition: transform .6s var(--ak-ease) !important; }
}
.ako-teacher:hover .ako-teacher__photo img { transform: scale(1.05); }

/* ------------------------------ 3. NEDEN BİREBİR ------------------------------ */
.ako-why { background: var(--ak-plum-950); }
.ako-duo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: -16px auto clamp(40px, 5vw, 56px);
}
.ako-duo__side {
    flex: none;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--ak-sun);
    background: var(--ak-plum-700);
    color: #fff;
    font-size: 1.75rem;
}
.ako-duo__side img { width: 100%; height: 100%; object-fit: cover; }
.ako-duo__side--you { background: var(--ak-sun); color: var(--ak-plum-950); }
.ako-duo__link {
    position: relative;
    width: clamp(120px, 22vw, 260px);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(238, 215, 21, .7) 0 8px, transparent 8px 14px);
}
.ako-duo__word {
    position: absolute;
    bottom: 12px;
    inset-inline: 0;
    text-align: center;
    font-size: 1.625rem;
    color: var(--ak-sand);
    white-space: nowrap;
}
.ako-reasons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}
.ako-reason {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 26px 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}
.ako-reason__num {
    position: absolute;
    z-index: -1;
    inset-inline-end: 18px;
    top: -.1em;
    font-family: var(--ak-font-kufi);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(238, 215, 21, .1);
}
.ako-reason__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--ak-sun);
    color: var(--ak-plum-950);
    font-size: 1.125rem;
}
.ako-why .ako-reason__title { margin: 22px 0 8px; color: #fff; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; }
.ako-why .ako-reason__desc { margin: 0; color: rgba(255, 255, 255, .74); line-height: 1.7; }

/* ------------------------------ RESPONSIVE ------------------------------ */
@media (max-width: 991.98px) {
    .ako-intro__grid { grid-template-columns: minmax(0, 1fr); }
    .ako-stage { max-width: 440px; }
    .ako-reasons { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
    .ako-reason { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; }
    .ako-reason__icon { grid-row: span 2; }
    .ako-why .ako-reason__title { margin: 4px 0 6px; }
}
@media (max-width: 767.98px) {
    .ako-stage { padding: 14px 18px 56px; max-width: 380px; }
    .ako-stage__seal { width: 84px; height: 84px; }
    .ako-stage__seal b { font-size: 1.5rem; }
    .ako-stage__more { display: none; }
    .ako-stage__name { max-width: 92%; }
    .ako-detail { padding: 16px; gap: 14px; }
    .ako-detail__icon { width: 44px; height: 44px; }
    .ako-intro__actions { flex-direction: column; }
    .ako-intro__actions .ak-btn { width: 100%; min-height: 52px; white-space: normal; }

    .ako-rail { grid-auto-columns: 74%; gap: 14px; }
    .ako-rail-nav { width: 100%; }
    .ako-rail-nav .ako-round { display: none; }
    .ako-rail-nav .ak-btn { width: 100%; }

    .ako-duo__side { width: 68px; height: 68px; font-size: 1.375rem; }
    .ako-duo__word { font-size: 1.0625rem; }
    .ako-reason { padding: 22px 20px; column-gap: 14px; grid-template-columns: 48px minmax(0, 1fr); }
    .ako-reason__icon { width: 48px; height: 48px; }
    .ako-reason__num { font-size: 4.5rem; }
}
