/* =====================================================================
   Tanıtım sayfası, giriş/kayıt ekranları ve LGS hesaplayıcı
   ===================================================================== */

/* ------------------------------------------------------------ site başlık */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 18px; height: 70px; }
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.site-brand .name, .site-brand .sub { white-space: nowrap; }
.site-brand:hover { text-decoration: none; }
.site-brand .mark {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--navy), #1c3f6d);
    color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.site-brand .name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.site-brand .name b { color: var(--orange); }
.site-brand .sub { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.site-nav {
    display: flex; align-items: center; gap: 2px;
    margin-left: 6px; min-width: 0;
    overflow: hidden;
}
.site-nav a {
    padding: 8px 11px; border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover { background: var(--soft); color: var(--navy); text-decoration: none; }
.site-header-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.nav-toggle { display: none; }

.mobile-nav {
    display: none;
    padding: 14px 0 20px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 11px 4px; font-size: 15px; color: var(--navy); border-bottom: 1px solid var(--line-2); text-decoration: none; }

/* ------------------------------------------------------------------- hero */
.hero { padding: 56px 0 44px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4vw, 47px); letter-spacing: -.02em; }
.hero h1 .accent { color: var(--orange); }
.hero-copy > p { max-width: 560px; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-points { display: grid; gap: 8px; margin-top: 24px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.hero-points .tick {
    display: grid; place-items: center;
    width: 20px; height: 20px; flex: 0 0 auto;
    border-radius: 50%; background: var(--ok-bg); color: var(--ok);
    font-size: 11px; font-weight: 800;
}

.hero-visual {
    position: relative;
    padding: 16px;
    background: linear-gradient(150deg, #eef3fa, #fdf1e7);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
:root[data-theme="dark"] .hero-visual { background: linear-gradient(150deg, #12253d, #26190f); }

.calc-teaser {
    display: flex; align-items: center; gap: 14px;
    margin-top: 22px; padding: 15px 18px;
    background: var(--navy); color: #fff;
    border-radius: var(--r-lg);
    text-decoration: none;
}
.calc-teaser:hover { text-decoration: none; background: var(--navy-soft); }
.calc-teaser .pct {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex: 0 0 auto;
    border-radius: 12px; background: var(--orange);
    font-family: var(--font-display); font-size: 19px; font-weight: 800;
}
.calc-teaser .k { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.calc-teaser .t { font-size: 15px; font-weight: 700; }
:root[data-theme="dark"] .calc-teaser { color: #0b1f3a; }
:root[data-theme="dark"] .calc-teaser .k { color: rgba(11,31,58,.6); }

/* ------------------------------------------------------------- kaydırıcı */
.slider { position: relative; }
.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--r-lg); }
.slider-track {
    --n: 1;
    display: flex;
    width: calc(100% * var(--n));
    transition: transform .45s ease;
    will-change: transform;
}
.slide { flex: 0 0 calc(100% / var(--n)); min-width: 0; }
.slide img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.slide-caption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.slide-caption { min-height: 22px; }
.slider-nav button {
    width: 32px; height: 32px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--muted);
}
.slider-nav button:hover { border-color: var(--navy); color: var(--navy); }
.slider-dots { display: flex; gap: 5px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: var(--line); border: 0; }
.slider-dots button.is-active { background: var(--orange); width: 20px; border-radius: 999px; }

/* ------------------------------------------------------------------ bölüm */
.section { padding: 62px 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 660px; margin-bottom: 32px; }
.section-head h2 { margin-top: 8px; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.section-head-center { margin-inline: auto; text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature {
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .16s ease, box-shadow .16s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico {
    display: grid; place-items: center;
    width: 42px; height: 42px; margin-bottom: 13px;
    border-radius: 12px; background: var(--orange-soft); font-size: 19px;
}
.feature h3 { font-size: 16px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { position: relative; padding: 24px 20px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step .no {
    font-family: var(--font-display); font-size: 30px; font-weight: 800;
    color: var(--orange); line-height: 1;
}
.step h3 { margin-top: 10px; font-size: 17px; }
.step p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ----------------------------------------------------------------- videolar */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.video-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .meta { padding: 15px 17px; }
.video-card h3 { font-size: 15px; }
.video-card p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ----------------------------------------------------------------- paketler */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; }
.price-card {
    position: relative;
    display: flex; flex-direction: column; gap: 4px;
    padding: 22px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.price-card.is-popular { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.price-tag {
    position: absolute; top: -11px; left: 20px;
    padding: 3px 11px;
    background: var(--orange); color: #fff;
    border-radius: 999px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .07em;
}
.price-card h3 { font-size: 17px; }
.price-card .amount { font-family: var(--font-display); font-size: 31px; font-weight: 800; color: var(--navy); }
.price-card .period { font-size: 13px; color: var(--muted); }
.price-card .limit { margin-top: 3px; font-size: 13px; color: var(--muted); }
.price-card .desc { margin-top: 9px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.price-card .btn { margin-top: 16px; }

.include-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; }
.include-grid li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.include-grid .tick { color: var(--ok); font-weight: 800; }

/* --------------------------------------------------------------- telefon */
.phone-mock {
    width: 268px; margin-inline: auto;
    padding: 11px;
    background: #0b1f3a;
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
}
.phone-screen { background: var(--paper); border-radius: 25px; overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; padding: 9px 15px 5px; font-size: 11px; color: var(--muted); }
.phone-body { padding: 6px 12px 16px; display: grid; gap: 8px; }
.phone-notif {
    display: flex; gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    font-size: 12px;
}
.phone-notif .ico { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 12px; }
.phone-notif h4 { font-size: 12.5px; }
.phone-notif p { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.phone-notif .t { font-size: 10px; color: var(--faint); }

/* -------------------------------------------------------------------- SSS */
.faq-list { max-width: 780px; }

/* ------------------------------------------------------------------- alt */
.site-footer { padding: 44px 0 30px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-size: 13px; margin-bottom: 10px; }
.site-footer a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    margin-top: 30px; padding-top: 18px;
    border-top: 1px solid var(--line-2);
    font-size: 13px; color: var(--faint);
}

/* =================================================================== auth */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-wrap { flex: 1 1 auto; display: grid; place-items: center; padding: 40px 20px 60px; }
.auth-card {
    width: min(470px, 100%);
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}
.auth-card-wide { width: min(760px, 100%); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--muted); text-decoration: none; }
.auth-back:hover { color: var(--navy); text-decoration: none; }
.auth-card h1 { font-size: 25px; }
.auth-card > p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--faint); font-size: 12.5px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); text-align: center; }

.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; background: var(--soft); border-radius: 12px; margin-bottom: 20px; }
.role-tabs a {
    padding: 9px 6px; border-radius: 9px;
    font-size: 13.5px; font-weight: 600; text-align: center; color: var(--muted); text-decoration: none;
}
.role-tabs a:hover { color: var(--navy); text-decoration: none; }
.role-tabs a.is-active { background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm); }

.step-block { display: grid; gap: 12px; }
.step-block + .step-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.step-title { display: flex; align-items: center; gap: 10px; }
.step-title .no {
    display: grid; place-items: center;
    width: 26px; height: 26px; flex: 0 0 auto;
    border-radius: 50%; background: var(--navy); color: #fff;
    font-size: 12px; font-weight: 800;
}
:root[data-theme="dark"] .step-title .no { color: #0b1f3a; }
.step-title h2 { font-size: 16px; }
.step-title p { font-size: 13px; color: var(--muted); }

.code-input {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    letter-spacing: .22em;
    text-align: center;
    text-transform: uppercase;
    padding: 14px;
}

/* ------------------------------------------------------------- hesaplayıcı */
.calc-layout { display: grid; grid-template-columns: 1.55fr .95fr; gap: 20px; align-items: start; }
.calc-lessons { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 12px; }
.calc-lesson {
    display: grid; gap: 9px;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r);
}
.calc-lesson-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-lesson h3 { font-size: 15px; }
.calc-lesson .qc { font-size: 12px; color: var(--muted); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.calc-inputs label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.calc-inputs input { margin-top: 3px; text-align: center; font-size: 17px; font-weight: 700; }
.calc-lesson-foot { display: flex; justify-content: space-between; font-size: 13px; }
.calc-lesson-foot .net { font-weight: 800; font-variant-numeric: tabular-nums; }

.calc-result {
    position: sticky; top: 90px;
    padding: 26px 24px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
:root[data-theme="dark"] .calc-result { background: #10365f; }
.calc-result .k { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.calc-score { font-family: var(--font-display); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.calc-score small { font-size: 19px; font-weight: 600; opacity: .55; }
.calc-pct-box { margin-top: 18px; padding: 15px 17px; background: rgba(255,255,255,.09); border-radius: var(--r); }
.calc-pct { font-family: var(--font-display); font-size: 33px; font-weight: 800; color: #ffb066; line-height: 1.1; }
.calc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.calc-mini > div { display: flex; justify-content: space-between; padding: 8px 12px; background: rgba(255,255,255,.09); border-radius: 9px; font-size: 13px; }
.calc-mini b { font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .calc-layout { grid-template-columns: 1fr; }
    .calc-result { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1320px) {
    .site-header-actions .btn-hide-lg { display: none; }
}
@media (max-width: 1140px) {
    .site-nav a.nav-optional { display: none; }
}
@media (max-width: 960px) {
    .site-brand .sub { display: none; }
}
@media (max-width: 820px) {
    .site-nav { display: none; }
    .nav-toggle { display: grid; }
    .site-header-actions .btn-hide-sm { display: none; }
    .section { padding: 46px 0; }
    .hero { padding: 36px 0 30px; }
}
@media (max-width: 560px) {
    .container, .container-narrow { width: calc(100% - 28px); }
    .footer-grid { grid-template-columns: 1fr; }
    .calc-lessons { grid-template-columns: 1fr; }
    .role-tabs { grid-template-columns: 1fr; }
}
