/*
 * Kurumun herkese açık yüzü — tanıtım sayfası, Akademi, üye ekranları.
 *
 * Görsel dil tanıtım sayfasının dilidir (web/home.php, `hp-`): beyaz zemin,
 * ince gri çizgiler, tek vurgu rengi olarak marka rengi (--brand, Sistem
 * Ayarları → Görünüm), sıkı başlık tipografisi. Degrade, parlayan gölge ve
 * süs yoktur; renk yalnızca anlam taşıdığı yerde (durum, kategori) kullanılır.
 *
 * Bütün sınıflar `st-` önekli; panel stilleriyle (admin.css) çakışmaz.
 */

:root {
    --st-ink: #171717;
    --st-ink-strong: #0a0a0a;
    --st-ink-2: #404040;
    --st-muted: #737373;
    --st-subtle: #8a8a8a;
    --st-line: #e8e8e8;
    --st-line-soft: #f0f0f0;
    --st-soft: #fafafa;
    --st-bg: #ffffff;
    --st-accent: var(--brand, #171717);
    --st-accent-hover: var(--brand-hover, #000000);
    --st-accent-contrast: var(--brand-contrast, #ffffff);
    --st-green: #16a34a;
    --st-red: #dc2626;
    --st-amber: #d97706;
    --st-radius: 14px;
    --st-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(15, 23, 42, .18);
    --st-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.st-body { margin: 0; background: var(--st-bg); color: var(--st-ink); font-family: var(--st-font); font-size: 14px; line-height: 1.55;
    -webkit-font-smoothing: antialiased; }
.st-body *, .st-body *::before, .st-body *::after { box-sizing: border-box; }
.st-body a { color: inherit; text-decoration: none; }
.st-body img { max-width: 100%; display: block; }
.st-body :focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; border-radius: 6px; }
.st-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.st-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--st-accent); color: var(--st-accent-contrast) !important;
    padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.st-skip:focus { top: 12px; }
.st-muted { color: var(--st-muted); }

/* ── Düğmeler ─────────────────────────────────────────────────────────── */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px;
    border: 1px solid transparent; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s; }
.st-btn i { font-size: 15px; }
.st-btn[disabled], .st-btn.is-disabled { opacity: .5; pointer-events: none; }
.st-btn-primary, .st-btn-dark, .st-btn-amber { background: var(--st-accent); color: var(--st-accent-contrast) !important; }
.st-btn-primary:hover, .st-btn-dark:hover, .st-btn-amber:hover { background: var(--st-accent-hover); }
.st-btn-line { background: #fff; border-color: #e0e0e0; color: var(--st-ink) !important; }
.st-btn-line:hover { border-color: var(--st-ink); }
.st-btn-white { background: #fff; color: var(--st-ink) !important; }
.st-btn-white:hover { background: #ededed; }
.st-btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff !important; }
.st-btn-lg { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
.st-btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.st-btn-block { width: 100%; }
.st-btn .bi-arrow-right { transition: transform .15s; }
.st-btn:hover .bi-arrow-right { transform: translateX(2px); }
.st-link { color: var(--st-ink) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    text-decoration: underline; text-decoration-color: #d4d4d4; text-underline-offset: 3px; }
.st-link:hover { text-decoration-color: var(--st-ink); }

/* ── Üst çubuk (tanıtım sayfasıyla aynı) ──────────────────────────────── */
.st-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #ededed; }
.st-header .st-wrap { height: 64px; display: flex; align-items: center; gap: 24px; }
.st-brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.st-nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.st-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: #525252; }
.st-nav a:hover { color: var(--st-ink); background: #f5f5f5; }
.st-nav a.is-on { color: var(--st-ink); font-weight: 600; background: #f5f5f5; }
.st-nav a i { font-size: 14px; }
.st-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--st-red); flex: none; }
.st-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.st-actions .locale-pill { margin-right: 4px; }
.st-account { position: relative; }
.st-account summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 4px;
    border: 1px solid #e0e0e0; border-radius: 9px; font-size: 13px; font-weight: 600; background: #fff; }
.st-account summary::-webkit-details-marker { display: none; }
.st-account summary i { font-size: 11px; color: var(--st-muted); }
.st-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--st-ink); color: #fff; display: inline-flex; align-items: center;
    justify-content: center; font-size: 10px; font-weight: 700; flex: none; letter-spacing: .02em; }
.st-account-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--st-line);
    border-radius: 12px; box-shadow: var(--st-shadow); padding: 6px; z-index: 80; }
.st-account-menu a, .st-account-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px;
    font: inherit; font-size: 13px; font-weight: 500; color: var(--st-ink-2); background: none; border: 0; cursor: pointer; text-align: left; }
.st-account-menu a:hover, .st-account-menu button:hover { background: #f5f5f5; color: var(--st-ink); }
.st-account-menu hr { border: 0; border-top: 1px solid var(--st-line-soft); margin: 6px 0; }
.st-account-menu small { display: block; padding: 6px 10px; color: var(--st-muted); font-size: 12px; }

.st-mobile { display: none; position: static; }
.st-mobile summary { list-style: none; cursor: pointer; width: 36px; height: 36px; border-radius: 9px; border: 1px solid #e0e0e0;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px; background: #fff; }
.st-mobile summary::-webkit-details-marker { display: none; }
.st-mobile-panel { position: absolute; left: 12px; right: 12px; top: 60px; background: #fff; border: 1px solid var(--st-line); border-radius: 12px;
    box-shadow: var(--st-shadow); padding: 8px; display: grid; gap: 2px; z-index: 90; }
.st-mobile-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.st-mobile-panel a:hover { background: #f5f5f5; }
.st-mobile-panel .st-btn { margin-top: 6px; }

/* ── Bölümler ─────────────────────────────────────────────────────────── */
.st-section { padding: 80px 0; scroll-margin-top: 64px; }
.st-section.is-soft { background: var(--st-soft); border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; }
.st-section.is-tight { padding: 40px 0 64px; }
.st-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.st-head.is-left { margin-left: 0; text-align: left; }
.st-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.st-head-row .st-head { margin: 0; text-align: left; }
.st-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--st-muted); }
.st-h1 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: var(--st-ink-strong); }
.st-h2 { margin: 10px 0 0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--st-ink-strong); }
.st-h3 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.st-lead { margin: 14px 0 0; max-width: 620px; font-size: 16px; line-height: 1.65; color: #595959; }
.st-head p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.65; color: #595959; }
.st-grad-text { color: var(--st-subtle); }

/* ── Kurs kartı ───────────────────────────────────────────────────────── */
.st-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.st-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-course { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--st-line);
    border-radius: var(--st-radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.st-course:hover { border-color: #cfcfcf; transform: translateY(-2px); }
.st-course-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--st-line-soft); }
.st-course-cover img { width: 100%; height: 100%; object-fit: cover; }
.st-course-cover > i { font-size: 34px; }
.st-course-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.st-course-body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.st-course-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--st-muted); }
.st-course h3 { margin: 6px 0 0; font-size: 15px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.st-course h3 a::after { content: ''; position: absolute; inset: 0; }
.st-course-sub { margin: 6px 0 0; font-size: 13px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-course-go, .st-course-avatar { display: none; }
.st-course-inst { display: none; margin: 4px 0 0; font-size: 13.5px; color: #595959; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-course-meta { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--st-muted); }
.st-course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.st-course-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border-top: 1px solid var(--st-line-soft); margin-top: 14px; }
.st-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.st-price b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.st-price s { font-size: 12.5px; color: var(--st-subtle); }
.st-price .is-free { color: var(--st-green); }
.st-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--st-ink); }
.st-rating i { color: #f59e0b; }
.st-rating small { color: var(--st-muted); font-weight: 500; }

/* Kategori tonları — panel ve tanıtım sayfasıyla aynı açık zemin + renkli simge */
.st-tone-blue   { background: #eef4ff; color: #2563eb; }
.st-tone-green  { background: #ecfdf3; color: #16a34a; }
.st-tone-purple { background: #f4f0ff; color: #7c3aed; }
.st-tone-amber  { background: #fff7ed; color: #d97706; }
.st-tone-teal   { background: #ecfeff; color: #0891b2; }
.st-tone-indigo { background: #eef0ff; color: #4f46e5; }
.st-tone-red    { background: #fef2f2; color: #dc2626; }
.st-tone-slate  { background: #f1f5f9; color: #475569; }

/* ── Rozet ve etiketler ───────────────────────────────────────────────── */
.st-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 600;
    white-space: nowrap; background: #fff; color: var(--st-ink-2); border: 1px solid var(--st-line); }
.st-badge.is-free, .st-badge.is-green { background: #ecfdf3; border-color: #bbf7d0; color: #15803d; }
.st-badge.is-sale, .st-badge.is-amber { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.st-badge.is-live { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.st-badge.is-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-badge.is-soft, .st-badge.is-gray { background: #f5f5f5; border-color: #ededed; color: #525252; }
.st-badge.is-red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.st-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--st-line);
    background: #fff; font-size: 13px; font-weight: 500; color: #525252; transition: border-color .15s, color .15s; }
.st-chip:hover { border-color: #cfcfcf; color: var(--st-ink); }
.st-chip.is-on { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-chip small { font-size: 11.5px; color: inherit; opacity: .6; }

/* ── Panel / kart ─────────────────────────────────────────────────────── */
.st-panel { background: #fff; border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 22px; }
.st-panel.is-shadow { box-shadow: var(--st-shadow); }
.st-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.st-panel-head h2, .st-panel-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.st-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }

/* ── Form ─────────────────────────────────────────────────────────────── */
.st-form { display: grid; gap: 14px; }
.st-row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-field { display: grid; gap: 6px; }
.st-label { font-size: 12.5px; font-weight: 600; color: var(--st-ink-2); }
.st-label small { font-weight: 400; color: var(--st-muted); }
.st-input, .st-select, .st-textarea { width: 100%; height: 40px; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 9px;
    font: inherit; font-size: 14px; color: var(--st-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.st-textarea { height: auto; min-height: 100px; resize: vertical; }
.st-input:focus, .st-select:focus, .st-textarea:focus { outline: none; border-color: var(--st-ink); box-shadow: 0 0 0 3px rgba(23,23,23,.08); }
.st-hint { font-size: 12px; color: var(--st-muted); }
.st-error { font-size: 12.5px; color: var(--st-red); font-weight: 600; }
.st-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--st-ink-2); line-height: 1.5; cursor: pointer; }
.st-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--st-ink); flex: none; }
.st-option { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 10px; cursor: pointer;
    transition: border-color .15s, background .15s; }
.st-option:has(input:checked) { border-color: var(--st-ink); background: var(--st-soft); }
.st-option input { width: 16px; height: 16px; accent-color: var(--st-ink); }
.st-option b { display: block; font-size: 14px; font-weight: 600; }
.st-option small { display: block; color: var(--st-muted); font-size: 12.5px; }
.st-option i.big { font-size: 20px; color: var(--st-muted); margin-left: auto; }
.st-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.55;
    background: var(--st-soft); color: var(--st-ink-2); border: 1px solid var(--st-line); }
.st-alert i { font-size: 16px; margin-top: 1px; color: var(--st-ink); }
.st-alert.is-green { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.st-alert.is-green i { color: var(--st-green); }
.st-alert.is-amber { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.st-alert.is-amber i { color: var(--st-amber); }
.st-alert.is-red { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }

/* ── İlerleme ─────────────────────────────────────────────────────────── */
.st-progress { height: 6px; border-radius: 99px; background: #f0f0f0; overflow: hidden; }
.st-progress > span { display: block; height: 100%; border-radius: 99px; background: var(--st-accent); transition: width .3s; }

/* ── Müfredat (akordeon) ──────────────────────────────────────────────── */
.st-acc { border: 1px solid var(--st-line); border-radius: 12px; overflow: hidden; background: #fff; }
.st-acc details + details { border-top: 1px solid var(--st-line); }
.st-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.st-acc summary::-webkit-details-marker { display: none; }
.st-acc summary:hover { background: var(--st-soft); }
.st-acc summary .chev { margin-left: auto; transition: transform .2s; color: var(--st-muted); }
.st-acc details[open] summary .chev { transform: rotate(180deg); }
.st-acc summary small { color: var(--st-muted); font-weight: 400; font-size: 12.5px; }
.st-acc ul { list-style: none; margin: 0; padding: 0 0 8px; }
.st-acc li { display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 56px; font-size: 13.5px; }
.st-acc li i.type { color: var(--st-subtle); font-size: 15px; }
.st-acc li .dur { margin-left: auto; color: var(--st-muted); font-size: 12px; font-variant-numeric: tabular-nums; }

/* ── Alt bilgi (tanıtım sayfasıyla aynı) ──────────────────────────────── */
.st-footer { border-top: 1px solid #ededed; background: #fff; }
.st-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(var(--fn, 3), 1fr); gap: 32px; padding: 56px 0 40px; }
.st-footer p { margin: 14px 0 0; max-width: 280px; font-size: 13px; line-height: 1.6; color: var(--st-muted); }
.st-footer h2 { margin: 4px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a3a3a3; }
.st-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: #525252; }
.st-footer ul a:hover { color: var(--st-ink); }
.st-footer ul li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.st-footer ul li i { color: #a3a3a3; margin-top: 2px; }
.st-footer-bottom { border-top: 1px solid var(--st-line-soft); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; font-size: 12.5px; color: #a3a3a3; }

/* ── İç sayfa başlığı ─────────────────────────────────────────────────── */
.st-pagehead { position: relative; overflow: hidden; padding: 44px 0 36px; border-bottom: 1px solid #ededed; }
.st-pagehead::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(#f2f2f2 1px, transparent 1px), linear-gradient(90deg, #f2f2f2 1px, transparent 1px);
    background-size: 48px 48px; background-position: center -1px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 75%); }
.st-pagehead .st-wrap { position: relative; }
.st-crumbs { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--st-muted); flex-wrap: wrap; }
.st-crumbs i { font-size: 10px; }
.st-crumbs a:hover { color: var(--st-ink); }

/* ── Arama kutusu ─────────────────────────────────────────────────────── */
.st-search { display: flex; align-items: center; gap: 6px; padding: 4px; background: #fff; border: 1px solid #e0e0e0; border-radius: 11px;
    max-width: 540px; transition: border-color .15s, box-shadow .15s; }
.st-search:focus-within { border-color: var(--st-ink); box-shadow: 0 0 0 3px rgba(23,23,23,.06); }
.st-search i { margin-left: 10px; color: var(--st-subtle); font-size: 15px; }
.st-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14.5px; padding: 8px 4px; background: transparent; }

/* ── Boş durum ────────────────────────────────────────────────────────── */
.st-empty { text-align: center; padding: 48px 24px; border: 1px dashed #d4d4d4; border-radius: var(--st-radius); background: #fff; }
.st-empty > i { font-size: 30px; color: #a3a3a3; }
.st-empty h3 { margin: 12px 0 0; font-size: 16px; font-weight: 700; }
.st-empty p { margin: 6px auto 0; max-width: 440px; color: var(--st-muted); font-size: 13.5px; }
.st-empty .st-btn { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
    .st-body *, .st-body *::before, .st-body *::after { transition: none !important; animation: none !important; }
}

/* ── Duyarlı düzen ────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
    .st-grid.is-4, .st-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-footer-grid { grid-template-columns: repeat(3, 1fr); }
    .st-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
    .st-nav, .st-actions .st-hide-m { display: none; }
    .st-mobile { display: block; }
}
@media (max-width: 640px) {
    .st-wrap { padding: 0 16px; }
    .st-header .st-wrap { height: 58px; gap: 12px; }
    .st-section { padding: 56px 0; }
    .st-grid.is-4, .st-grid.is-3 { grid-template-columns: 1fr; }
    .st-row { grid-template-columns: 1fr; }
    .st-panel { padding: 18px; }
    .st-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .st-mobile-panel { top: 58px; }
    .st-account summary span.name { display: none; }
}
