﻿/* =========================================================================
   Soredu  kurumsal SaaS arayz
   ========================================================================= */

:root {
    --bg: #f4f6fa;
    --bg-soft: #eef2f8;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #eef2f7;

    --border: #dde3ee;
    --border-strong: #c5cedd;

    --text: #0c1b2e;
    --text-dim: #2a3f57;
    --muted: #64748b;
    --faint: #94a3b8;

    /* Marka: lacivert / mavi + alt?n */
    --navy: #0A2E5C;
    --accent: #1456A0;
    --accent-hover: #0E447F;
    --accent-soft: rgba(20, 86, 160, 0.1);
    --accent-line: rgba(20, 86, 160, 0.28);
    --gold: #C9A227;
    --gold-light: #F0D060;
    --gold-dark: #9A7A14;
    --gold-soft: rgba(201, 162, 39, 0.14);
    --gold-line: rgba(201, 162, 39, 0.45);

    --ok: #0f8a5f;
    --ok-soft: rgba(15, 138, 95, 0.1);
    --warn: #C9A227;
    --warn-soft: rgba(201, 162, 39, 0.14);
    --danger: #c03545;
    --danger-soft: rgba(192, 53, 69, 0.09);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;

    --shadow-sm: 0 1px 2px rgba(10, 46, 92, 0.05);
    --shadow-md: 0 8px 24px rgba(10, 46, 92, 0.07);
    --shadow-lg: 0 24px 48px rgba(10, 46, 92, 0.1);

    --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --display: "Sora", "Source Sans 3", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

    --sx-accent: #1456A0;
    --sx-accent-hover: #0E447F;
    --sx-dark: #0A2E5C;
    --sx-dark-2: #123A6B;
    --sx-muted: #64748b;
    --sx-line: #dde3ee;
    --sx-soft: #f1f5f9;

    /* Bootstrap 5.3 tema köprüleri */
    --bs-primary: #1456A0;
    --bs-primary-rgb: 20, 86, 160;
    --bs-secondary: #C9A227;
    --bs-secondary-rgb: 201, 162, 39;
    --bs-body-font-family: var(--sans);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--bg);
    --bs-link-color: var(--accent);
    --bs-link-hover-color: var(--accent-hover);
    --bs-border-radius: 0.75rem;
    --bs-border-color: var(--border);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.muted { color: var(--muted); }
.dim { color: var(--text-dim); }
.tnum { font-variant-numeric: tabular-nums; }

.container {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

/* ------------------------------------------------------------- butonlar */

.btn,
a.btn,
button.btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    --btn-border: transparent;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 94, 168, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    min-height: 42px;
    height: auto;
    border: 1px solid var(--btn-border);
    border-radius: 11px;
    background: var(--btn-bg);
    color: var(--btn-fg) !important;
    font: inherit;
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--btn-shadow);
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease,
        transform 0.1s ease,
        opacity 0.15s ease;
}

.btn:hover,
a.btn:hover,
button.btn:hover {
    --btn-bg: var(--accent-hover);
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(15, 94, 168, 0.24);
}

.btn:active,
a.btn:active,
button.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn[disabled],
.btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn-outline,
a.btn-outline,
button.btn-outline {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: #cbd5e1;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover {
    --btn-bg: var(--accent-soft);
    --btn-fg: var(--accent-hover);
    --btn-border: var(--accent-line);
    color: var(--accent-hover) !important;
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.btn-ghost,
a.btn-ghost,
button.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text-dim);
    --btn-border: transparent;
    --btn-shadow: none;
}

.btn-ghost:hover,
a.btn-ghost:hover,
button.btn-ghost:hover {
    --btn-bg: var(--surface-3);
    --btn-fg: var(--text);
    color: var(--text) !important;
    box-shadow: none;
}

.btn-danger,
a.btn-danger,
button.btn-danger {
    --btn-bg: #fff;
    --btn-fg: var(--danger);
    --btn-border: rgba(192, 53, 69, 0.28);
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-danger:hover,
a.btn-danger:hover,
button.btn-danger:hover {
    --btn-bg: var(--danger-soft);
    --btn-fg: #9f2a37;
    color: #9f2a37 !important;
    box-shadow: none;
}

.btn-success,
a.btn-success,
button.btn-success {
    --btn-bg: var(--ok);
    --btn-fg: #fff;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 138, 95, 0.18);
}

.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover {
    --btn-bg: #0c7550;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(15, 138, 95, 0.24);
}

.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ------------------------------------------------------------- formlar */

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field > label,
.label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dim);
}

.hint {
    font-size: 13px;
    color: var(--muted);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    background: #f4f7fb;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
}

input::placeholder,
textarea::placeholder { color: var(--faint); }

input:hover,
select:hover,
textarea:hover {
    background: #eef3f9;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(15, 94, 168, 0.35);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.12);
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.input-code {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-align: center;
    padding: 14px 12px 14px 22px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
    cursor: pointer;
}

.checkbox input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--accent);
    flex: none;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.form-error {
    padding: 10px 12px;
    border: 1px solid rgba(192, 53, 69, 0.28);
    border-radius: var(--r-sm);
    background: var(--danger-soft);
    color: #9f2a37;
    font-size: 13.5px;
}

/* ------------------------------------------------------------- kartlar */

.card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(11, 42, 74, 0.05);
    backdrop-filter: blur(8px);
}

.card-pad { padding: 20px; }

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.card-head h2,
.card-head h3 { font-size: 15px; }

.card-body { padding: 20px; }

.panel-note {
    padding: 14px 16px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface-2);
    font-size: 13.5px;
    color: var(--muted);
}

/* ------------------------------------------------------------- rozetler */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-dim);
    white-space: nowrap;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
}

.badge-plain::before { display: none; }

.badge-active {
    border-color: rgba(15, 138, 95, 0.28);
    background: var(--ok-soft);
    color: var(--ok);
}

.badge-ok {
    border-color: rgba(15, 138, 95, 0.28);
    background: var(--ok-soft);
    color: var(--ok);
}

.badge-draft {
    border-color: rgba(183, 129, 10, 0.28);
    background: var(--warn-soft);
    color: var(--warn);
}

.badge-closed {
    border-color: var(--border);
    background: var(--surface-2);
    color: var(--muted);
}

.badge-danger {
    border-color: rgba(192, 53, 69, 0.28);
    background: var(--danger-soft);
    color: var(--danger);
}

/* ------------------------------------------------------------- tablolar */

.table-wrap { overflow-x: auto; }

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.data th {
    padding: 11px 14px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--faint);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    white-space: nowrap;
}

table.data td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-dim);
}

table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #f8fafc; }

table.data td.num,
table.data th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cell-primary {
    color: var(--text);
    font-weight: 600;
}

.cell-sub {
    display: block;
    font-size: 12.5px;
    color: var(--faint);
    font-weight: 400;
}

.rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.rank-pill.top-1 { background: #fff7e6; border-color: #f0d48a; color: #9a6b00; }
.rank-pill.top-2 { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
.rank-pill.top-3 { background: #f8efe6; border-color: #e2c4a6; color: #8a5a2b; }

.score-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.score-value {
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    min-width: 42px;
    text-align: right;
}

.score-value.is-pass { color: var(--ok); }
.score-value.is-fail { color: var(--danger); }

.meter {
    width: 96px;
    height: 6px;
    border-radius: 100px;
    background: var(--surface-3);
    overflow: hidden;
    flex: none;
}

.meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width 0.4s ease;
}

.meter.is-pass span { background: var(--ok); }
.meter.is-fail span { background: var(--danger); }

/* ------------------------------------------------------------- istatistik */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stat {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

.stat-value {
    margin-top: 6px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--navy);
}

.stat-foot {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

/* ------------------------------------------------------------- header */

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand:hover { color: var(--navy); }

.brand-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(155deg, #1B6FD4, var(--navy));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(11, 42, 74, 0.22);
}

.brand-name { font-size: 17px; }

/* ------------------------------------------------------------- Softinays tarz? rn chrome */

.sx-header {
    position: sticky;
    top: 0;
    z-index: 60;
}

.sx-header.is-open {
    z-index: 130;
}

/* Mobil menü karartması — masaüstünde asla görünmesin */
.sx-header-backdrop {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 110;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 46, 92, 0.28);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.sx-topbar {
    background: var(--sx-dark);
    color: #fff;
    font-size: 13px;
}

.sx-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding-block: 6px;
}

.sx-topbar-left,
.sx-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.sx-hours-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--sx-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sx-hours-text {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    margin-right: 4px;
}

.sx-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 8px;
    background: var(--sx-dark-2);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.sx-pill:hover { color: #fff; background: #1a3a58; }

button.sx-pill {
    font: inherit;
    cursor: pointer;
}

.sx-pill-ico { opacity: 0.9; }

.ico,
svg.ico {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    flex: none;
    display: block;
}

.ico-sm,
svg.ico-sm {
    width: 14px;
    height: 14px;
}

.sx-feature-ico .ico,
.sx-feature-ico svg.ico {
    width: 18px;
    height: 18px;
}

.sx-social-btn .ico,
.sx-social-btn svg.ico,
.sx-social-btn .fa-brands {
    width: auto;
    height: auto;
    font-size: 14px;
    line-height: 1;
    display: block;
}

.sx-cta-ico,
.sx-cta .ico {
    width: 16px;
    height: 16px;
}

.sx-account-avatar .ico {
    width: 14px;
    height: 14px;
    color: var(--sx-accent);
}

.sx-dropdown-menu a .ico {
    width: 16px;
    height: 16px;
    color: var(--sx-muted);
}

.sx-dropdown-menu a:hover .ico {
    color: var(--sx-accent);
}

.sx-dropdown-sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--sx-line);
}

.side-link .ico {
    width: 15px;
    height: 15px;
    color: inherit;
    opacity: 0.95;
}

.nav-close .ico {
    width: 18px;
    height: 18px;
}

.sx-social {
    display: flex;
    gap: 6px;
}

.sx-social-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sx-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.sx-social-light .sx-social-btn {
    border-color: var(--sx-line);
    color: var(--text-dim);
    background: #fff;
}

.sx-social-light .sx-social-btn:hover {
    border-color: var(--sx-accent);
    color: var(--sx-accent);
    background: var(--accent-soft);
}

.sx-mainbar {
    background: #fff;
    border-bottom: 1px solid var(--sx-line);
}

.sx-mainbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
}

.sx-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.04em;
    color: var(--navy);
    flex: none;
    order: 1;
}

.sx-logo:hover { color: var(--navy); }

.sx-logo-accent { color: var(--gold); }

.sx-logo-mark {
    width: 0;
    height: 0;
    margin: 0 3px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent var(--sx-accent);
}

.sx-menu-btn {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    flex: none;
    order: 0;
}

.sx-menu-btn:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
}

.sx-menu-lines {
    display: grid;
    gap: 5px;
    width: 18px;
}

.sx-menu-lines i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.sx-header.is-open .sx-menu-lines i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sx-header.is-open .sx-menu-lines i:nth-child(2) {
    opacity: 0;
}

.sx-header.is-open .sx-menu-lines i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    order: 2;
    flex: 1;
    min-width: 0;
}

.sx-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: #374151;
}

.sx-nav a:hover,
.sx-nav a.is-active {
    color: var(--navy);
    background: var(--accent-soft);
}

.sx-nav-mobile-only,
.sx-nav-mobile-menu { display: none !important; }

.sx-mainbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-left: auto;
    order: 3;
    flex: none;
}

.sx-dock {
    display: none;
}

.sx-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: var(--sx-accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(20, 100, 176, 0.22);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.sx-cta:hover {
    background: var(--sx-accent-hover);
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(20, 100, 176, 0.28);
}

.sx-cta:active { transform: translateY(1px); }

.sx-cta-ico { font-size: 12px; opacity: 0.95; }

.sx-auth-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
}
.sx-auth-link:hover {
    color: var(--sx-accent);
    background: var(--accent-soft);
}

.sx-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1.5px solid var(--accent-line);
    background: #fff;
    color: var(--sx-accent);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sx-auth-btn:hover {
    background: var(--accent-soft);
    border-color: var(--sx-accent);
    color: var(--navy);
}

.sx-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px 0 6px;
    border-radius: 11px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sx-account:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.sx-account-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--sx-accent);
}

.sx-account-label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sx-dropdown { position: relative; }

.sx-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--sx-line);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 80;
}

.sx-dropdown-menu-right { left: auto; right: 0; }

.sx-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.sx-dropdown-menu a:hover {
    background: var(--sx-soft);
    color: #111;
}

.sx-dropdown-menu a:hover .ico {
    color: var(--sx-accent);
}

.sx-topbar .sx-dropdown-menu a .ico {
    color: rgba(255, 255, 255, 0.7);
}

.sx-topbar .sx-dropdown-menu a:hover .ico {
    color: #fff;
}

.sx-topbar .sx-dropdown-menu {
    background: var(--sx-dark-2);
    border-color: #1e3a55;
}

.sx-topbar .sx-dropdown-menu a { color: rgba(255, 255, 255, 0.88); }
.sx-topbar .sx-dropdown-menu a:hover { background: #1a3a58; color: #fff; }

.sx-footer {
    background: #fafbfc;
    border-top: 1px solid var(--sx-line);
    padding: 42px 0 0;
    color: #4b5563;
}

.sx-footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--sx-line);
}

.sx-footer-lead {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 28px 0;
}

.sx-footer-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

.sx-footer-card {
    padding: 18px;
    border: 1px solid var(--sx-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    display: grid;
    gap: 10px;
    align-content: start;
}

.sx-footer-card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sx-footer-card-brand .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
    background: linear-gradient(155deg, var(--sx-accent), var(--navy));
}

.sx-footer-card-brand strong {
    font-size: 14px;
    color: #111;
}

.sx-footer-card h3 {
    margin: 0;
    font-size: 16px;
    color: #111;
}

.sx-footer-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sx-muted);
}

.sx-footer-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 11px;
    background: var(--sx-accent);
    border: 1px solid transparent;
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(20, 100, 176, 0.18);
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.sx-footer-card-btn:hover {
    background: var(--sx-accent-hover);
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(20, 100, 176, 0.24);
}

.sx-footer-heading {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.sx-footer-links {
    display: grid;
    gap: 8px;
}

.sx-footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 11px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy) !important;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sx-footer-links a:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--sx-accent) !important;
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.sx-footer-features {
    display: grid;
    gap: 14px;
}

.sx-feature-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.sx-feature-ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.sx-feature-ico.is-blue { background: #e8f1ff; color: #1464b0; }
.sx-feature-ico.is-green { background: #e8f8ef; color: #0f8a5f; }
.sx-feature-ico.is-orange { background: #eef5ff; color: #1464b0; }
.sx-feature-ico.is-purple { background: #eef2ff; color: #3b5bcc; }
.sx-feature-ico.is-navy { background: #e8eef7; color: #0A2E5C; }
.sx-feature-ico.is-pink { background: #eef6ff; color: #1d4ed8; }

.sx-feature-row strong {
    display: block;
    font-size: 14px;
    color: #111;
    line-height: 1.3;
}

.sx-feature-row span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--sx-muted);
    line-height: 1.45;
}

.sx-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0 22px;
    border-top: 1px solid var(--sx-line);
    font-size: 13px;
    color: var(--sx-muted);
}

.sx-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sx-footer-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 100px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy) !important;
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sx-footer-pills a:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--sx-accent) !important;
}

.admin-sidebar {
    background: #071a30;
}

.admin-shell .brand-mark {
    background: linear-gradient(155deg, #1a6bb8, #071a30);
}

.page-home .site-footer { display: none; }
.page-account .site-footer { display: none; }

.account-main {
    padding: 36px 0 56px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
    min-height: 60vh;
}

.account-wrap {
    max-width: 980px;
}

.account-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.account-hero h1 {
    margin-top: 6px;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--navy);
}

.account-lead {
    margin-top: 10px;
    max-width: 540px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.account-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 650;
}

.account-tabs a:hover {
    background: var(--surface-2);
    color: var(--navy);
}

.account-tabs a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.account-quick {
    display: grid;
    gap: 10px;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.account-panel {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.account-panel-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fbfcfe, #fff);
}

.account-panel-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.account-panel-ico.is-soft {
    background: var(--surface-3);
    color: var(--navy);
}

.account-panel-ico .ico {
    width: 20px;
    height: 20px;
}

.account-panel-head h2 {
    margin: 0;
    font-size: 17px;
    color: var(--navy);
}

.account-panel-head p {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.45;
}

.account-panel-body {
    padding: 20px 22px 22px;
}

.account-form {
    display: grid;
    gap: 14px;
}

.account-form.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-form .span-2 {
    grid-column: 1 / -1;
}

.account-form .field label {
    font-size: 13px;
    font-weight: 650;
    color: var(--text-dim);
}

.account-form .field input,
.account-form .field textarea {
    margin-top: 2px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: #f4f7fb;
    min-height: 48px;
    padding: 12px 14px;
}

.account-form .field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.account-form .field input:focus,
.account-form .field textarea:focus {
    background: #fff;
    border-color: rgba(15, 94, 168, 0.35);
    box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.12);
}

.account-form .field input:disabled {
    background: #eef2f7;
    color: var(--muted);
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.plan-box {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 94, 168, 0.14);
    background:
        radial-gradient(280px 120px at 100% 0%, rgba(15, 94, 168, 0.1), transparent 70%),
        linear-gradient(180deg, #f7fbff, #fff);
}

.plan-box.is-expired {
    border-color: rgba(192, 53, 69, 0.22);
    background:
        radial-gradient(280px 120px at 100% 0%, rgba(192, 53, 69, 0.08), transparent 70%),
        linear-gradient(180deg, #fff8f8, #fff);
}

.plan-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan-name {
    display: block;
    margin-top: 8px;
    font-family: var(--display);
    font-size: 30px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.plan-meta {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--text-dim);
}

.plan-features {
    margin: 16px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-dim);
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

.join-fields-builder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.join-field-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    border-radius: 12px;
    background: #f4f7fb;
    min-height: 44px;
}

.join-field-row.is-on {
    background: #fff;
    border-color: rgba(15, 94, 168, 0.22);
}

.join-field-main {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.join-field-main strong {
    color: var(--navy);
    font-size: 14px;
}

.join-field-enable {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    gap: 8px;
}

.join-field-enable-label {
    font-size: 13.5px;
    font-weight: 650;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-field-label {
    flex: 1 1 120px;
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #eef3f9;
    font: inherit;
    font-size: 13.5px;
}

.join-field-req {
    margin: 0;
    font-size: 12.5px;
}

.join-field-req.is-disabled {
    opacity: 0.45;
}

.join-field-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
}

.settings-stack {
    display: grid;
    gap: 18px;
}

.settings-block {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 42, 74, 0.06);
}

.settings-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.settings-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.settings-check {
    margin: 0;
}

@media (max-width: 720px) {
    .join-fields-builder {
        grid-template-columns: 1fr;
    }
}

.join-dynamic-fields {
    margin-top: 8px;
}

.join-dynamic-fields .form-grid {
    margin-top: 4px;
}

.ticket-list {
    display: grid;
    gap: 10px;
}

.ticket-item {
    padding: 14px 15px;
    border: 1px solid #e8eef6;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfe, #f8fafc);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticket-item:hover {
    border-color: var(--accent-line);
    box-shadow: 0 8px 18px rgba(15, 94, 168, 0.06);
}

a.ticket-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.ticket-item-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ticket-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ticket-item-top strong {
    color: var(--navy);
    font-size: 14.5px;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: var(--surface-3);
    color: var(--text-dim);
}

.ticket-status.is-open {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.ticket-status.is-answered {
    background: var(--ok-soft);
    color: var(--ok);
}

.ticket-status.is-closed {
    background: #eef2f7;
    color: var(--muted);
}

.ticket-item p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.55;
}

.ticket-date {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.ticket-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 28px 16px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed #d8e0ea;
    border-radius: 14px;
    background: #f8fafc;
}

.ticket-empty-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--accent);
}

.ticket-empty-ico .ico {
    width: 20px;
    height: 20px;
}

.support-detail-head {
    margin-bottom: 18px;
}

.support-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.support-back .ico {
    width: 16px;
    height: 16px;
}

.support-back:hover {
    text-decoration: underline;
}

.admin-support-back {
    display: inline-flex;
    margin-bottom: 8px;
}

.support-detail-title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.support-detail-title h1 {
    margin: 4px 0 8px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.support-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.support-thread-panel {
    max-width: 820px;
}

.support-thread {
    display: grid;
    gap: 12px;
    max-height: min(52vh, 480px);
    overflow: auto;
    padding: 14px;
    border: 1px solid #e8eef6;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(20, 100, 176, 0.06), transparent 42%),
        linear-gradient(180deg, #fbfcfe, #f4f7fb);
}

.support-bubble {
    max-width: min(92%, 520px);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid transparent;
}

.support-bubble.is-teacher {
    justify-self: end;
    background: linear-gradient(180deg, #0A2E5C, #1464b0);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.support-bubble.is-admin {
    justify-self: start;
    background: #fff;
    border-color: #dbe5f0;
    color: var(--text);
    border-bottom-left-radius: 6px;
    box-shadow: 0 6px 16px rgba(15, 40, 70, 0.05);
}

.support-bubble-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.support-bubble.is-teacher .support-bubble-meta {
    color: rgba(255, 255, 255, 0.78);
}

.support-bubble.is-admin .support-bubble-meta {
    color: var(--muted);
}

.support-bubble-meta strong {
    font-size: 12.5px;
    font-weight: 700;
}

.support-bubble.is-teacher .support-bubble-meta strong {
    color: #fff;
}

.support-bubble.is-admin .support-bubble-meta strong {
    color: var(--navy);
}

.support-bubble-body {
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.support-reply-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.support-closed-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3f6fa;
    border: 1px dashed #d5dee9;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
}

.support-closed-note a {
    color: var(--accent);
    font-weight: 600;
}

.support-admin-side {
    display: grid;
    gap: 10px;
}

.support-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.admin-ticket-table-wrap {
    overflow-x: auto;
}

.admin-ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-ticket-table th,
.admin-ticket-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.admin-ticket-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: #f8fafc;
}

.admin-ticket-table tr.is-priority {
    background: rgba(15, 94, 168, 0.04);
}

.admin-ticket-table td strong {
    color: var(--navy);
}

.admin-ticket-table .small,
.muted.small {
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.4;
}

.profile-cta-card {
    margin-top: 18px;
    padding: 24px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0A2E5C, #1464b0);
    border: 0;
    color: #fff;
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.22);
}

.profile-cta-card h2 {
    color: #fff;
    font-size: 20px;
}

.profile-cta-card .muted {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
}

.profile-cta-card .btn {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.profile-cta-card .btn:hover {
    --btn-bg: #eef5ff;
    color: var(--navy) !important;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .account-form.cols-2 {
        grid-template-columns: 1fr;
    }

    .account-form .span-2 {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .account-hero .btn-lg {
        width: 100%;
    }
}

/* ------------------------------------------------------------- bilgi sayfalar? */

.page-info {
    background: var(--bg);
    overflow-x: clip;
}

.page-info .site-footer { display: none; }

.info-main {
    padding: 48px 0 64px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

.info-main.ip-page {
    padding: 0 0 0;
    background: var(--bg);
}

/* ---- Ortak info sayfa grsel dili (ip) ---- */

.ip-hero {
    position: relative;
    overflow: clip;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
    background:
        radial-gradient(820px 360px at 12% -10%, rgba(20, 100, 176, 0.14), transparent 58%),
        radial-gradient(640px 300px at 90% 10%, rgba(11, 42, 74, 0.08), transparent 55%),
        linear-gradient(180deg, #eef5fb 0%, #f7fafd 55%, var(--bg) 100%);
}

.ip-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
}

.ip-hero-grid.is-solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
}

.ip-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    animation: ip-rise 0.5s ease both;
}

.ip-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(15, 94, 168, 0.25);
}

.ip-brand-name {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.ip-hero .eyebrow {
    animation: ip-rise 0.5s ease 0.04s both;
}

.ip-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
    line-height: 1.15;
    animation: ip-rise 0.5s ease 0.08s both;
}

.ip-hero .info-lead,
.ip-hero-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
    max-width: 36em;
    animation: ip-rise 0.5s ease 0.12s both;
}

.ip-hero-cta {
    margin-top: 22px;
    animation: ip-rise 0.5s ease 0.16s both;
}

.ip-hero-visual {
    position: relative;
    min-height: 260px;
    animation: ip-rise 0.55s ease 0.1s both;
}

.ip-mock {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 18px 40px rgba(11, 42, 74, 0.1);
}

.ip-mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.ip-mock-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ip-mock-bar i:nth-child(1) { background: #f4a4a4; }
.ip-mock-bar i:nth-child(2) { background: #f0d48a; }
.ip-mock-bar i:nth-child(3) { background: #9fd4b0; }

.ip-mock-bar em {
    margin-left: 6px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.ip-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 14px 28px rgba(11, 42, 74, 0.12);
    animation: ip-float 4.5s ease-in-out infinite;
}

.ip-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 18px;
    color: var(--accent);
}

.ip-float strong {
    font-size: 14px;
    color: var(--navy);
}

.ip-float span {
    font-size: 11px;
    color: var(--muted);
}

@keyframes ip-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes ip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.ip-section {
    padding: 48px 0;
}

.ip-section.is-soft {
    background:
        radial-gradient(700px 260px at 80% 0%, rgba(15, 94, 168, 0.06), transparent 65%),
        linear-gradient(180deg, #f6f9fc, #f3f6fa);
}

.ip-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ip-pillar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.ip-pillar-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.14), rgba(15, 94, 168, 0.04));
    color: var(--accent);
    font-size: 18px;
}

.ip-pillar h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--navy);
}

.ip-pillar p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.ip-body-panel {
    margin-top: 0;
    padding: 28px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
}

.ip-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ip-contact-card {
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 22px rgba(11, 42, 74, 0.04);
}

.ip-contact-card .bi {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.ip-contact-card h2 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--navy);
}

.ip-contact-card p {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--muted);
}

.ip-form-panel {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: linear-gradient(180deg, #fff, #f7fafd);
    box-shadow: 0 14px 32px rgba(11, 42, 74, 0.06);
}

.ip-form-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--navy);
}

.ip-form-panel > p {
    margin: 0;
    color: var(--text-dim);
}

.ip-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 42, 74, 0.08);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
}

.ip-chip .bi { color: var(--accent); }

.blog-card,
.refs-card,
.pricing-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover,
.refs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.09);
}

.pricing-features .bi {
    color: var(--ok);
    font-size: 15px;
    flex: none;
    margin-top: 2px;
}

@media (max-width: 980px) {
    .ip-hero-grid {
        grid-template-columns: 1fr;
    }

    .ip-hero-visual { min-height: 0; }

    .ip-pillars,
    .ip-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ip-brand,
    .ip-hero .eyebrow,
    .ip-hero h1,
    .ip-hero .info-lead,
    .ip-hero-lead,
    .ip-hero-cta,
    .ip-hero-visual,
    .ip-float {
        animation: none !important;
    }
}

.info-wrap {
    max-width: 760px;
}

.info-wrap.is-wide {
    max-width: 920px;
}

.info-wrap > h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--navy);
}

.info-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.info-body {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.info-body h2 {
    margin: 22px 0 8px;
    font-size: 18px;
    color: var(--navy);
}

.info-body h2:first-child { margin-top: 0; }

.info-body p,
.info-body li {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
}

.info-body p + p { margin-top: 12px; }

.info-body ul {
    margin: 10px 0 0;
    padding-left: 1.2em;
    display: grid;
    gap: 8px;
}

.info-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-contact-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 12px;
}

.info-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 8px;
    align-content: start;
}

.info-card h2 {
    font-size: 16px;
    color: var(--navy);
}

.info-card p {
    font-size: 14px;
    color: var(--muted);
}

.info-strong {
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

/* ------------------------------------------------------------- ana sayfa */

.page-home {
    background: var(--surface);
    overflow-x: clip;
}

.page-home main,
.page-home .container,
.page-home .hero-layout,
.page-home .hero-copy,
.page-home .hero-product {
    min-width: 0;
    max-width: 100%;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(15, 94, 168, 0.1), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f3f5f8 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 94, 168, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 94, 168, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 35%, transparent 92%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: end;
    padding-bottom: 64px;
}

.hero-copy { max-width: 560px; padding-bottom: 24px; }

.hero-brand {
    font-family: var(--display);
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--navy);
}

.hero-title {
    margin-top: 18px;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    color: var(--muted);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-trust .bi {
    color: var(--ok);
    font-size: 15px;
}

.hero-product {
    position: relative;
    min-height: 380px;
    padding: 12px 8px 0 0;
}

/* ---- Anasayfa zengin grseller (hm) ---- */

.hm-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        url("brand/hero-wash.svg") center/cover no-repeat,
        url("brand/pattern-dots.svg"),
        radial-gradient(820px 380px at 18% -8%, rgba(20, 86, 160, 0.14), transparent 58%),
        radial-gradient(640px 320px at 92% 18%, rgba(201, 162, 39, 0.16), transparent 55%);
    opacity: 1;
}
.hm-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(244, 246, 250, 0.55), rgba(244, 246, 250, 0.92));
}

.hm-rise {
    animation: hm-rise 0.55s ease both;
}

.hm-delay-1 { animation-delay: 0.06s; }
.hm-delay-2 { animation-delay: 0.12s; }
.hm-delay-3 { animation-delay: 0.18s; }
.hm-delay-4 { animation-delay: 0.24s; }

@keyframes hm-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hm-device {
    position: relative;
    z-index: 1;
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(15, 42, 74, 0.1);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(11, 42, 74, 0.12);
    overflow: hidden;
}

.hm-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f4f7fb, #eaf0f6);
    border-bottom: 1px solid #e2e8f0;
}

.hm-device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hm-device-bar span:nth-child(1) { background: #f4a4a4; }
.hm-device-bar span:nth-child(2) { background: #f0d48a; }
.hm-device-bar span:nth-child(3) { background: #9fd4b0; }

.hm-device-bar em {
    margin-left: 8px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.hm-device-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.hm-live-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hm-live-head strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
}

.hm-live-head span {
    font-size: 12.5px;
    color: var(--muted);
}

.hm-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    white-space: nowrap;
}

.hm-live-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.18);
    animation: hm-pulse 1.6s ease-in-out infinite;
}

.hm-live-badge .bi { display: none; }

@keyframes hm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hm-live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hm-live-stats div {
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f7fafc;
    border: 1px solid #e8eef5;
}

.hm-live-stats b {
    display: block;
    font-size: 18px;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.hm-live-stats span {
    font-size: 11.5px;
    color: var(--muted);
}

.hm-live-rows {
    display: grid;
    gap: 6px;
}

.hm-live-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    font-size: 13px;
}

.hm-live-row span { font-weight: 600; color: var(--text); }
.hm-live-row b { color: var(--navy); font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; }

.hm-live-row i {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.hm-live-row i.is-ok {
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
}

.hm-live-row i.is-run {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.hm-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.12);
    animation: hm-float 4.6s ease-in-out infinite;
}

.hm-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 20px;
    color: var(--accent);
}

.hm-float strong {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.2;
}

.hm-float span {
    font-size: 11.5px;
    color: var(--muted);
}

.hm-float-timer {
    top: 28px;
    right: -6px;
}

.hm-float-save {
    bottom: 36px;
    left: -10px;
    animation-delay: 1.1s;
}

.hm-float-save .bi { color: #0f8a5f; }

@keyframes hm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hm-feature-ico {
    font-size: 18px;
}

.hm-feature-ico .bi {
    line-height: 1;
}

.hm-feature-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hm-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.09);
}

.section-cta .bi {
    margin-left: 6px;
    font-size: 14px;
    vertical-align: -1px;
}

.hm-showcase {
    overflow: clip;
}

.hm-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: center;
}

.hm-showcase-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--navy);
}

.hm-showcase-copy > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.hm-checks {
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.hm-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
}

.hm-checks .bi {
    margin-top: 2px;
    color: var(--ok);
    flex: none;
}

.hm-showcase-visuals {
    position: relative;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
}

.hm-mock {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.08);
}

.hm-mock-join {
    align-self: end;
}

.hm-mock-chart {
    align-self: start;
    margin-top: 28px;
}

.hm-mock-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--muted);
}

.hm-mock-label .bi { color: var(--accent); }

.hm-code {
    text-align: center;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--navy);
    padding: 14px 8px;
    border-radius: 12px;
    background: #eef5fb;
}

.hm-mock-meta {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.hm-mock-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5ebf2;
    font-size: 12.5px;
    color: var(--text-dim);
}

.hm-mock-cta {
    margin-top: 12px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}

.hm-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    padding-top: 4px;
}

.hm-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #1456A0, #0A2E5C);
    opacity: 0.88;
    transform-origin: bottom;
    animation: hm-bar 1.1s ease both;
}

.hm-bars i:nth-child(2) { animation-delay: 0.05s; }
.hm-bars i:nth-child(3) { animation-delay: 0.1s; }
.hm-bars i:nth-child(4) { animation-delay: 0.15s; }
.hm-bars i:nth-child(5) { animation-delay: 0.2s; }
.hm-bars i:nth-child(6) { animation-delay: 0.25s; }

@keyframes hm-bar {
    from { transform: scaleY(0.2); opacity: 0.35; }
    to { transform: none; opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-rise,
    .hm-float,
    .hm-bars i,
    .hm-live-badge::before {
        animation: none !important;
    }
}

.hm-chart-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.hm-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hm-steps li {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.hm-step-num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.hm-step-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: 18px;
}

.hm-steps h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.hm-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

@media (max-width: 980px) {
    .hm-showcase-grid {
        grid-template-columns: 1fr;
    }

    .hm-steps {
        grid-template-columns: 1fr;
    }

    .hm-float-timer { right: 0; }
    .hm-float-save { left: 0; }
}

@media (max-width: 560px) {
    .hm-showcase-visuals {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hm-mock-chart { margin-top: 0; }
}

.product-frame {
    position: relative;
    height: 100%;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(165deg, #ffffff, #f1f5f9);
    box-shadow: 0 -4px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.product-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.product-chrome i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.product-chrome i:nth-child(1) { background: #f87171; }
.product-chrome i:nth-child(2) { background: #fbbf24; }
.product-chrome i:nth-child(3) { background: #34d399; }

.product-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    margin-bottom: 12px;
}

.product-bar strong {
    display: block;
    font-size: 13.5px;
    color: var(--navy);
}

.product-bar span {
    font-size: 12px;
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
}

.product-panel {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.product-panel h4 {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.product-row:last-child { border-bottom: 0; }

.product-row b {
    font-variant-numeric: tabular-nums;
    color: var(--navy);
}

.product-score {
    display: grid;
    place-items: center;
    min-height: 148px;
    border-radius: 10px;
    background: linear-gradient(160deg, var(--navy), #1B6FD4);
    color: #fff;
    text-align: center;
}

.product-score strong {
    display: block;
    font-family: var(--display);
    font-size: 42px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.product-score span {
    font-size: 12px;
    opacity: 0.8;
}

.home-section {
    padding: 72px 0;
    background: var(--surface);
}

.home-section.is-soft { background: var(--bg); }
.home-section + .home-section { border-top: 1px solid var(--border); }

.section-head {
    max-width: 560px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin-top: 8px;
    font-size: 28px;
}

.section-head p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
}

.section-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
    margin-bottom: 28px;
}

.section-head-row > div {
    max-width: 560px;
}

.section-cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-feature-card {
    padding: 24px 22px;
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.08);
}

.home-feature-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.12), rgba(15, 94, 168, 0.04));
    color: var(--accent);
}

.home-feature-ico .ico,
.home-feature-ico .bi {
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 1;
}

.home-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
    color: var(--navy);
}

.home-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-grid-wrap {
    max-width: 1100px;
    margin-inline: auto;
    padding-block: 28px 48px;
}

.blog-card,
.blog-list-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px;
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f7fafd);
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
    overflow: hidden;
}

.blog-card.has-cover {
    padding: 0 0 20px;
}

.blog-card.has-cover .blog-card-meta,
.blog-card.has-cover h3,
.blog-card.has-cover p,
.blog-card.has-cover .blog-card-more {
    padding-inline: 20px;
}

.blog-card-cover {
    display: block;
    margin: 0 0 4px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-cover {
    margin: 8px 0 22px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.blog-article-cover img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.blog-card-cat {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 100px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
}

.blog-card h3,
.blog-list-item h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: var(--navy);
}

.blog-card h3 a,
.blog-list-item h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover,
.blog-list-item h2 a:hover {
    color: var(--accent);
}

.blog-card p,
.blog-list-item p {
    margin: 0;
    flex: 1;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-dim);
}

.blog-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.blog-card-more:hover {
    text-decoration: underline;
}

.refs-wrap {
    max-width: 1100px;
    margin-inline: auto;
}

.refs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.refs-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.refs-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.refs-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.refs-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.refs-logo.is-fallback {
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--accent-line);
}

.refs-card-identity h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    color: var(--navy);
}

.refs-card-identity p {
    margin: 4px 0 0;
    font-size: 13px;
}

.refs-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-dim);
    font-style: italic;
}

.refs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.refs-link:hover { color: var(--navy); }

@media (max-width: 980px) {
    .refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .refs-grid { grid-template-columns: minmax(0, 1fr); }
}

.blog-main {
    padding: 48px 0 72px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.07), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

.blog-wrap,
.blog-article {
    max-width: 820px;
}

.blog-page-head {
    margin-bottom: 28px;
}

.blog-page-head h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--navy);
}

.blog-list {
    display: grid;
    gap: 14px;
}

.blog-article h1 {
    margin: 10px 0 12px;
    font-size: clamp(28px, 4vw, 38px);
    color: var(--navy);
    line-height: 1.2;
}

.blog-article-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 24px;
}

.blog-article-body {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.blog-article-body h2 {
    margin: 22px 0 8px;
    font-size: 18px;
    color: var(--navy);
}

.blog-article-body h2:first-child { margin-top: 0; }

.blog-article-body p,
.blog-article-body li {
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.7;
}

.blog-article-body p + p { margin-top: 12px; }

.blog-article-body ul {
    margin: 10px 0 0;
    padding-left: 1.2em;
    display: grid;
    gap: 8px;
}

.blog-article-foot {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.features-main {
    background: var(--bg);
}

/* ---- zellikler sayfas? (fx) ---- */

.fx-hero {
    position: relative;
    overflow: clip;
    padding: 40px 0 48px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}

.fx-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(20, 100, 176, 0.16), transparent 60%),
        radial-gradient(700px 380px at 88% 20%, rgba(11, 42, 74, 0.1), transparent 55%),
        linear-gradient(180deg, #eef5fb 0%, #f7fafd 48%, var(--bg) 100%);
    pointer-events: none;
}

.fx-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 94, 168, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 94, 168, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
    opacity: 0.7;
}

.fx-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}

.fx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    animation: fx-rise 0.55s ease both;
}

.fx-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(15, 94, 168, 0.28);
}

.fx-brand-name {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.fx-hero-copy h1 {
    margin: 0;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.15;
    color: var(--navy);
    animation: fx-rise 0.55s ease 0.06s both;
}

.fx-hero-lead {
    max-width: 34em;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
    animation: fx-rise 0.55s ease 0.12s both;
}

.fx-hero-cta {
    margin-top: 24px;
    animation: fx-rise 0.55s ease 0.18s both;
}

.fx-hero-visual {
    position: relative;
    min-height: 360px;
    animation: fx-rise 0.65s ease 0.14s both;
}

.fx-device {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.1);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 56px rgba(11, 42, 74, 0.14);
    overflow: hidden;
}

.fx-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f4f7fb, #eaf0f6);
    border-bottom: 1px solid #e2e8f0;
}

.fx-device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.fx-device-bar span:nth-child(1) { background: #f4a4a4; }
.fx-device-bar span:nth-child(2) { background: #f0d48a; }
.fx-device-bar span:nth-child(3) { background: #9fd4b0; }

.fx-device-bar em {
    margin-left: 8px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.fx-device-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 260px;
}

.fx-side {
    padding: 12px 8px;
    background: #f7fafc;
    border-right: 1px solid #e8eef5;
    display: grid;
    gap: 6px;
    align-content: start;
}

.fx-side-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-side-item.is-active {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(11, 42, 74, 0.06);
}

.fx-editor {
    padding: 16px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.fx-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fx-pill {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.fx-pill.is-on {
    background: rgba(15, 94, 168, 0.12);
    color: var(--accent);
}

.fx-qline {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d7e3f0, #eef3f8);
}

.fx-qline.is-short { width: 62%; }

.fx-opts {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.fx-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: var(--text-dim);
}

.fx-opt.is-correct {
    border-color: rgba(15, 138, 95, 0.35);
    background: rgba(15, 138, 95, 0.06);
    color: #0f8a5f;
}

.fx-opt .bi { font-size: 14px; }

.fx-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.12);
    animation: fx-float 4.5s ease-in-out infinite;
}

.fx-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 20px;
    color: var(--accent);
}

.fx-float strong {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.2;
}

.fx-float span {
    font-size: 11.5px;
    color: var(--muted);
}

.fx-float-timer {
    top: 18px;
    right: -8px;
}

.fx-float-live {
    bottom: 28px;
    left: -12px;
    animation-delay: 1.2s;
}

.fx-float-live .bi { color: #0f8a5f; }

@keyframes fx-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fx-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    padding-bottom: 8px;
}

.fx-toc a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #fff;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.fx-toc a .bi {
    font-size: 14px;
    color: var(--accent);
}

.fx-toc a:hover {
    border-color: var(--accent-line);
    color: var(--accent);
    background: var(--accent-soft);
}

.fx-section {
    padding: 64px 0;
    border-bottom: 1px solid rgba(15, 42, 74, 0.05);
    scroll-margin-top: 88px;
}

.fx-section.is-soft {
    background:
        radial-gradient(700px 280px at 80% 0%, rgba(15, 94, 168, 0.06), transparent 65%),
        linear-gradient(180deg, #f6f9fc, #f3f6fa);
}

.fx-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.fx-split.is-reverse .fx-copy { order: 2; }
.fx-split.is-reverse .fx-panel { order: 1; }

.fx-copy .eyebrow {
    margin-bottom: 8px;
}

.fx-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--navy);
    line-height: 1.2;
}

.fx-copy > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.fx-checks {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.fx-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.45;
}

.fx-checks .bi {
    margin-top: 2px;
    color: var(--ok);
    font-size: 16px;
    flex: none;
}

.fx-mock {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 20px 44px rgba(11, 42, 74, 0.1);
    display: grid;
    gap: 12px;
}

.fx-mock-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fx-mock-head strong {
    color: var(--navy);
    font-size: 15px;
}

.fx-mock-head em {
    margin-left: auto;
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f8a5f;
    box-shadow: 0 0 0 4px rgba(15, 138, 95, 0.15);
}

.fx-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(183, 129, 10, 0.12);
    color: #9a6d08;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
}

.fx-field {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5ebf2;
}

.fx-field span {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fx-field b {
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 650;
}

.fx-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fx-mono {
    font-family: var(--mono);
    letter-spacing: 0.12em;
}

.fx-progress {
    display: grid;
    gap: 8px;
}

.fx-progress span {
    font-size: 12.5px;
    color: var(--muted);
}

.fx-progress i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e8eef5;
    position: relative;
    overflow: hidden;
}

.fx-progress i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 50%);
    border-radius: inherit;
    background: linear-gradient(90deg, #1464b0, #0A2E5C);
}

.fx-mock-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.fx-btn,
.fx-btn-ghost {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
}

.fx-btn {
    background: var(--navy);
    color: #fff;
}

.fx-btn-ghost {
    background: #eef3f8;
    color: var(--text-dim);
}

.fx-code-display {
    text-align: center;
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--navy);
    padding: 14px 8px;
    border-radius: 12px;
    background: #eef5fb;
}

.fx-student-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fx-student-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5ebf2;
    font-size: 13px;
    color: var(--text-dim);
}

.fx-timer-ring {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 4px auto;
}

.fx-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fx-ring-bg {
    fill: none;
    stroke: #e5ebf2;
    stroke-width: 3;
}

.fx-ring-fg {
    fill: none;
    stroke: #1464b0;
    stroke-width: 3;
    stroke-linecap: round;
    animation: fx-ring 2.4s ease-in-out infinite alternate;
}

.fx-timer-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.fx-timer-label b {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--navy);
}

.fx-timer-label span {
    font-size: 11px;
    color: var(--muted);
}

@keyframes fx-ring {
    from { stroke-dasharray: 68, 100; }
    to { stroke-dasharray: 82, 100; }
}

.fx-mock-note {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ok);
}

.fx-live-dot {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
    font-size: 12px;
    font-weight: 700;
}

.fx-live-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.18);
    animation: fx-pulse 1.6s ease-in-out infinite;
}

@keyframes fx-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.fx-live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.fx-live-stats div {
    padding: 12px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5ebf2;
    text-align: center;
}

.fx-live-stats b {
    display: block;
    font-size: 20px;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.fx-live-stats span {
    font-size: 11.5px;
    color: var(--muted);
}

.fx-live-table {
    display: grid;
    gap: 6px;
}

.fx-live-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8eef5;
    font-size: 13px;
}

.fx-live-row span { color: var(--text); font-weight: 600; }
.fx-live-row b { color: var(--navy); font-variant-numeric: tabular-nums; min-width: 1.5em; text-align: right; }

.fx-live-row i {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.fx-live-row i.is-ok {
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
}

.fx-live-row i.is-run {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.fx-export {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #eef3f8;
    color: var(--text-dim);
    font-size: 12.5px;
    font-weight: 650;
}

.fx-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 8px 4px 0;
}

.fx-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #1456A0, #0A2E5C);
    opacity: 0.88;
    transform-origin: bottom;
    animation: fx-bar 1.1s ease both;
}

.fx-bars i:nth-child(2) { animation-delay: 0.05s; }
.fx-bars i:nth-child(3) { animation-delay: 0.1s; }
.fx-bars i:nth-child(4) { animation-delay: 0.15s; }
.fx-bars i:nth-child(5) { animation-delay: 0.2s; }
.fx-bars i:nth-child(6) { animation-delay: 0.25s; }
.fx-bars i:nth-child(7) { animation-delay: 0.3s; }

@keyframes fx-bar {
    from { transform: scaleY(0.2); opacity: 0.3; }
    to { transform: none; opacity: 0.88; }
}

.fx-report-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.fx-type {
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.fx-type-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.14), rgba(15, 94, 168, 0.04));
    color: var(--accent);
    font-size: 18px;
}

.fx-type h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--navy);
}

.fx-type p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.fx-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    counter-reset: none;
}

.fx-steps li {
    position: relative;
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
}

.fx-step-num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.fx-step-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: 18px;
}

.fx-steps h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.fx-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

.fx-cap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fx-cap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 16px;
    border-radius: 14px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
    background: transparent;
}

.fx-cap-ico {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef4fa;
    color: var(--accent);
    font-size: 17px;
}

.fx-cap h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--navy);
}

.fx-cap p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.fx-trust {
    padding: 28px 0 8px;
}

.fx-trust-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(15, 42, 74, 0.06);
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}

.fx-trust-inner > div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
}

.fx-trust-inner .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 22px;
    color: var(--accent);
}

.fx-trust-inner strong {
    font-size: 14.5px;
    color: var(--navy);
}

.fx-trust-inner span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 980px) {
    .fx-hero-grid,
    .fx-split,
    .fx-split.is-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fx-split.is-reverse .fx-copy,
    .fx-split.is-reverse .fx-panel {
        order: initial;
    }

    .fx-hero-visual {
        min-height: 0;
        max-width: 520px;
    }

    .fx-float-timer { right: 0; }
    .fx-float-live { left: 0; }

    .fx-steps {
        grid-template-columns: 1fr;
    }

    .fx-cap-grid,
    .fx-trust-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fx-hero { padding: 28px 0 36px; }
    .fx-section { padding: 44px 0; }
    .fx-device-body { grid-template-columns: 1fr; }
    .fx-side { display: none; }
    .fx-field-row,
    .fx-student-meta,
    .fx-live-stats {
        grid-template-columns: 1fr;
    }
    .fx-brand-name { font-size: 26px; }
}

.features-hero {
    padding: 52px 0 36px;
    background:
        radial-gradient(800px 360px at 20% 0%, rgba(15, 94, 168, 0.12), transparent 65%),
        linear-gradient(180deg, #f4f8fd, var(--bg));
    border-bottom: 1px solid var(--border);
}

.features-hero h1 {
    margin-top: 8px;
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--navy);
}

.features-lead {
    max-width: 640px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.features-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.features-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.features-toc a:hover {
    border-color: var(--accent-line);
    color: var(--accent);
}

.features-block {
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}

.features-block.is-soft {
    background: #f7fafc;
}

.features-block-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.features-block-inner.is-reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.features-block-inner.is-reverse .features-block-copy {
    order: 2;
}

.features-block-inner.is-reverse .features-block-panel {
    order: 1;
}

.features-block-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.features-block-ico .ico {
    width: 20px;
    height: 20px;
}

.features-block-copy h2,
.features-block .section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 30px);
    color: var(--navy);
}

.features-block-copy > p,
.features-block .section-head > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.features-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.features-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.45;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.features-mock {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #dbe5f0;
    background: linear-gradient(180deg, #fff, #f4f8fd);
    box-shadow: 0 18px 40px rgba(11, 42, 74, 0.08);
    display: grid;
    gap: 8px;
}

.features-mock strong {
    color: var(--navy);
    font-size: 16px;
}

.features-mock > span {
    color: var(--muted);
    font-size: 13px;
}

.features-mock-time {
    font-size: 42px;
    font-family: var(--mono, monospace);
    color: var(--accent);
    letter-spacing: -0.04em;
}

.features-mock-row {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.features-mock-row i {
    display: block;
    height: 10px;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(20, 100, 176, 0.2), rgba(20, 100, 176, 0.05));
}

.features-mock-row i:nth-child(2) { width: 78%; }
.features-mock-row i:nth-child(3) { width: 62%; }

.features-mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 88px;
    margin-top: 10px;
}

.features-mock-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #1464b0, #0A2E5C);
    opacity: 0.85;
}

.features-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.features-type-grid article {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
}

.features-type-grid h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--navy);
}

.features-type-grid p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.5;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}

.feature {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-section.is-soft .feature { background: var(--surface); }

.feature:hover {
    border-color: var(--accent-line);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-index {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.feature h3 { margin-top: 12px; font-size: 17px; }

.feature p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

.type-list {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-chip {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dim);
}

.cta-band {
    margin: 0;
    padding: 56px 0;
    background:
        url("brand/pattern-grid.svg"),
        linear-gradient(135deg, var(--navy) 0%, #1456A0 55%, #0A2E5C 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -40px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 208, 96, 0.35), transparent 68%);
    pointer-events: none;
}

.cta-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band h2 {
    color: #fff;
    font-size: 28px;
}

.cta-band p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
}

.cta-band .btn,
.cta-band a.btn {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(0, 0, 0, 0.12);
}

.cta-band .btn:hover,
.cta-band a.btn:hover {
    --btn-bg: #eef5ff;
    color: var(--navy) !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1), 0 10px 22px rgba(0, 0, 0, 0.14);
}

.cta-band .btn-outline,
.cta-band a.btn-outline {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-fg: #fff;
    --btn-border: rgba(255, 255, 255, 0.4);
    --btn-shadow: none;
}

.cta-band .btn-outline:hover,
.cta-band a.btn-outline:hover {
    --btn-bg: rgba(255, 255, 255, 0.16);
    --btn-fg: #fff;
    color: #fff !important;
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
    font-size: 13.5px;
    color: var(--muted);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.site-footer strong {
    color: var(--navy);
    font-family: var(--display);
}

/* ------------------------------------------------------- odak sayfalar? */

.focus-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px calc(48px + env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(15, 94, 168, 0.1), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

body.has-mobile-dock .focus-shell {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

.focus-card {
    width: min(460px, 100%);
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 24px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(11, 42, 74, 0.1);
    backdrop-filter: blur(12px);
}

.focus-card.is-wide { width: min(560px, 100%); }

.auth-card .form-error { margin-top: 18px; }

.auth-form {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.auth-form [data-register-panel] {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.auth-form [data-register-panel][hidden] {
    display: none !important;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-width: 0;
}

/* Kayıt formunda tüm kutular aynı genişlikte (tek sütun) */
.auth-form[data-register-form] .auth-row {
    grid-template-columns: 1fr;
}

@media (max-width: 560px) {
    .auth-row { grid-template-columns: 1fr; }
}

.focus-card.auth-card {
    width: min(560px, 100%);
}

.auth-type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 2px;
}

.auth-type-option {
    position: relative;
    display: block;
    cursor: pointer;
    min-width: 0;
}

.auth-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-type-option span {
    display: grid;
    gap: 2px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    background: #f7f9fc;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-type-option strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
}

.auth-type-option em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
}

.auth-type-option input:checked + span {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(20, 86, 160, 0.12);
}

.auth-type-option:hover span {
    border-color: var(--accent-line);
}

.auth-field {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    cursor: text;
}

.auth-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 66px;
    min-height: 66px;
    max-height: 66px;
    padding: 32px 16px 12px;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    background: #f7f9fc;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input::placeholder { color: transparent; }

.auth-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    pointer-events: none;
    transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.auth-input:hover { border-color: #94a3b8; }

.auth-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.auth-input:focus + .auth-label,
.auth-input:not(:placeholder-shown) + .auth-label {
    top: 10px;
    transform: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.auth-submit {
    margin-top: 8px;
    height: 52px;
    border-radius: 12px;
    font-size: 15.5px;
}

.focus-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.focus-card h1 {
    font-size: 24px;
    color: var(--navy);
}

.focus-card > .hint { margin-top: 8px; }

.focus-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.focus-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.demo-hint {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 13px;
    color: var(--muted);
}

.demo-hint code {
    font-family: var(--mono);
    color: var(--text-dim);
}

/* ------------------------------------------------------- ?retmen kabu?u */

.teacher-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--bg);
}

.nav-backdrop,
.teacher-mobilebar,
.nav-close {
    display: none;
}

.teacher-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 14px;
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 60;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 4px 12px;
}

.sidebar-brand { color: #fff; }
.sidebar-brand:hover { color: #fff; }
.sidebar-brand .brand-name { color: #fff; }
.sidebar-brand .brand-mark {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow-y: auto;
}

.side-section {
    margin: 16px 10px 6px;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.side-section:first-child { margin-top: 4px; }

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    transition: background 0.14s ease, color 0.14s ease;
}

.side-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    flex: none;
}

.side-ico .ico {
    width: 15px;
    height: 15px;
}

.side-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.side-link.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 600;
}

.side-link.is-active .side-ico {
    background: rgba(255, 255, 255, 0.18);
}

.side-link-danger {
    color: #ffb4bc;
}

.side-link-danger:hover {
    background: rgba(255, 100, 110, 0.12);
    color: #ffd0d5;
}

.sidebar-foot {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.teacher-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.teacher-chip strong {
    display: block;
    font-size: 13.5px;
    line-height: 1.3;
    color: #fff;
}

.teacher-chip p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.teacher-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 650;
    font-size: 14px;
    color: #fff;
}

.teacher-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.teacher-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    height: 64px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.teacher-topbar strong {
    font-size: 14.5px;
    color: var(--navy);
}

.topbar-actions { display: flex; gap: 8px; }

.teacher-content {
    padding: 28px;
    display: grid;
    gap: 22px;
    align-content: start;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.page-head h1 {
    font-size: 26px;
    color: var(--navy);
}

.page-head p {
    margin-top: 6px;
    font-size: 14.5px;
}

.form-success {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 138, 95, 0.25);
    background: var(--ok-soft);
    color: var(--ok);
    font-size: 14px;
    font-weight: 600;
}

/* ------------------------------------------------------- s?nav listesi */

.quiz-list { display: grid; gap: 12px; }

.quiz-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.quiz-row:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.quiz-main { min-width: 0; }

.quiz-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quiz-title-row h3 {
    font-size: 16px;
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.quiz-facts {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--muted);
}

.quiz-facts b {
    color: var(--text-dim);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.quiz-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.code-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--navy);
    cursor: pointer;
}

.empty-state {
    padding: 52px 24px;
    text-align: center;
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface);
}

.empty-state h3 {
    font-size: 17px;
    color: var(--navy);
}

.empty-state p {
    margin: 8px auto 18px;
    max-width: 380px;
    font-size: 14px;
    color: var(--muted);
}

.student-list {
    display: grid;
    gap: 10px;
}

.student-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.student-row:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.student-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.student-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
}

.student-text {
    min-width: 0;
}

.student-text h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0;
}

.student-chevron {
    color: var(--muted);
    font-size: 18px;
    flex: 0 0 auto;
}

.loading-state {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ------------------------------------------------------- soru dzenleyici */

.builder { display: grid; gap: 18px; }

.question-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.14s ease, opacity 0.14s ease, border-color 0.14s ease;
}

.question-card.is-dragging {
    opacity: 0.55;
}

.question-card.is-drag-over-before {
    box-shadow: inset 0 3px 0 0 var(--accent), var(--shadow-sm);
}

.question-card.is-drag-over-after {
    box-shadow: inset 0 -3px 0 0 var(--accent), var(--shadow-sm);
}

.question-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.question-head-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.drag-handle {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    cursor: grab;
    touch-action: none;
    user-select: none;
    flex-shrink: 0;
}

.drag-handle:hover {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

.drag-handle:active,
.question-card.is-dragging .drag-handle {
    cursor: grabbing;
}

.question-no {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 650;
    color: var(--text-dim);
}

.question-no i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-style: normal;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.question-head-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-input {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.points-input input {
    width: 68px;
    padding: 6px 8px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.question-body {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.type-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.type-option {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.14s ease;
}

.type-option:hover {
    border-color: var(--border-strong);
    color: var(--text-dim);
}

.type-option.is-active {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.option-rows { display: grid; gap: 8px; }

.option-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
    transition: border-color 0.14s ease, background 0.14s ease;
}

.option-row:focus-within { border-color: var(--border-strong); background: var(--surface); }

.option-row.is-correct {
    border-color: rgba(15, 138, 95, 0.4);
    background: var(--ok-soft);
}

.option-letter {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 650;
    color: var(--text-dim);
}

.option-row.is-correct .option-letter {
    background: rgba(15, 138, 95, 0.16);
    border-color: transparent;
    color: var(--ok);
}

.option-row input[type="text"] {
    background: transparent;
    border: 0;
    padding: 6px 0;
    min-width: 0;
}

.option-row input[type="text"]:focus {
    box-shadow: none;
    background: transparent;
}

.option-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.option-media {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.media-attach {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px dashed rgba(15, 94, 168, 0.28);
    border-radius: 10px;
    background: rgba(15, 94, 168, 0.05);
    color: var(--accent);
    cursor: pointer;
    flex: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.media-attach:hover {
    background: rgba(15, 94, 168, 0.1);
    border-color: var(--accent);
}

.media-attach .bi {
    font-size: 16px;
    line-height: 1;
}

.media-attach.has-file {
    border-style: solid;
    border-color: var(--border);
    background: #fff;
    overflow: hidden;
}

.media-attach-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-attach-x {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.media-attach-x.is-lg {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 18px;
}

.media-dropzone {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    padding: 18px 14px;
    border: 1px dashed rgba(15, 94, 168, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 94, 168, 0.04), rgba(15, 94, 168, 0.02));
    color: var(--navy);
    cursor: pointer;
    text-align: center;
    font: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.media-dropzone:hover {
    border-color: var(--accent);
    background: rgba(15, 94, 168, 0.08);
}

.media-dropzone .bi {
    font-size: 22px;
    color: var(--accent);
}

.media-dropzone span {
    font-size: 14px;
    font-weight: 650;
}

.media-dropzone small {
    font-size: 12px;
    color: var(--muted);
}

.media-question-preview-wrap {
    position: relative;
    display: inline-block;
    max-width: min(100%, 360px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #f8fafc;
}

.media-question-preview-wrap img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.pair-side-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.media-thumb,
.media-preview,
.choice-media,
.question-media img,
.review-media img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.media-thumb {
    max-width: 96px;
    max-height: 72px;
    object-fit: cover;
}

.media-preview {
    max-width: 320px;
    max-height: 220px;
    object-fit: contain;
}

.media-block {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.question-media {
    padding: 0 24px 4px;
}

.question-media img {
    max-height: 320px;
    object-fit: contain;
}

.choice-body,
.reorder-body,
.match-left {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.choice-media {
    max-width: 220px;
    max-height: 140px;
    object-fit: contain;
}

.pair-row-rich {
    align-items: start;
}

.pair-side {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.review-media {
    margin: 0 0 12px;
}

.review-media img {
    max-width: 360px;
    max-height: 240px;
    object-fit: contain;
}

.review-option-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

.review-option-media figure {
    margin: 0;
    display: grid;
    gap: 4px;
    justify-items: start;
}

.review-option-media span {
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
}

.review-option-media img {
    max-width: 120px;
    max-height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.mark-correct {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.mark-correct input {
    accent-color: var(--ok);
    width: 15px;
    height: 15px;
}

.pair-rows { display: grid; gap: 8px; }

.pair-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.pair-row .arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
}

.builder-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    position: sticky;
    bottom: 16px;
    box-shadow: var(--shadow-md);
}

.builder-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.builder-summary b {
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------- yay?n kart? */

.publish-card {
    display: grid;
    gap: 18px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.publish-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.publish-pin,
.publish-qr {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.publish-code {
    font-family: var(--mono);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    color: var(--navy);
}

.publish-qr-frame {
    display: grid;
    place-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.publish-qr-frame canvas {
    display: block;
    width: 200px;
    height: 200px;
}

.publish-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.link-box {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
}

.link-box input {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-dim);
}

@media (max-width: 560px) {
    .publish-share { grid-template-columns: minmax(0, 1fr); }
    .publish-code { font-size: 34px; }
}

/* ------------------------------------------------------------- izleme */

.monitor-layout {
    display: grid;
    gap: 18px;
    min-width: 0;
    width: 100%;
}

.monitor-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 20px;
    align-items: start;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.monitor-head-main { min-width: 0; }

.monitor-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.monitor-title h1 {
    font-size: 22px;
    color: var(--navy);
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
    flex: 1 1 180px;
    min-width: 0;
}

.monitor-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
}

.meta-chip b {
    color: var(--navy);
    font-family: var(--mono);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.monitor-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
}

.monitor-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .monitor-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.monitor-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.monitor-chart-card {
    padding: 16px 18px 18px;
    min-width: 0;
}

.monitor-chart-card h3 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--navy);
}

.monitor-chart-wide {
    grid-column: 1 / -1;
}

.monitor-chart-wrap {
    position: relative;
    height: 220px;
}

.monitor-chart-wrap.is-tall {
    height: 280px;
}

.monitor-chart-empty {
    margin: 28px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.monitor-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.monitor-podium[hidden] { display: none; }

.podium-card {
    display: grid;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-align: center;
    align-content: start;
}

.podium-card strong {
    font-size: 15px;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.podium-place {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.podium-score {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.podium-score small {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
}

.podium-meta {
    font-size: 12.5px;
    color: var(--muted);
}

.podium-card.is-first {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #fff9e9, #fff);
}

.podium-card.is-second {
    border-color: rgba(148, 163, 184, 0.55);
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.podium-card.is-third {
    border-color: rgba(180, 120, 80, 0.4);
    background: linear-gradient(180deg, #fff6ef, #fff);
}

.monitor-podium.has-three .podium-card.is-first { order: 2; }
.monitor-podium.has-three .podium-card.is-second { order: 1; margin-top: 12px; }
.monitor-podium.has-three .podium-card.is-third { order: 3; margin-top: 18px; }

.podium-card.is-first .podium-place { color: #b8860b; }
.podium-card.is-second .podium-place { color: #64748b; }
.podium-card.is-third .podium-place { color: #9a6b45; }

.monitor-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.monitor-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.monitor-table th,
.monitor-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 13.5px;
}

.monitor-table th {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-2);
    white-space: nowrap;
}

.monitor-table td strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
}

.monitor-table td .muted {
    display: block;
    margin-top: 2px;
    font-size: 12px;
}

.monitor-table td .is-pass { color: var(--ok); }
.monitor-table td .is-fail { color: var(--danger); }
.monitor-table td .is-timer {
    font-family: var(--mono);
    font-weight: 600;
    color: var(--text-dim);
}
.monitor-table td .is-low { color: var(--danger); }

.monitor-table tr.is-active td {
    background: rgba(20, 100, 176, 0.03);
}

.monitor-card {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.monitor-section { min-width: 0; }

.monitor-list {
    display: grid;
}

.monitor-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.monitor-item:last-child { border-bottom: 0; }

.monitor-item-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.monitor-item-who {
    min-width: 0;
}

.monitor-item-who strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.monitor-item-who span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

.monitor-item-score {
    text-align: right;
    flex: none;
}

.monitor-item-score strong {
    display: block;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--navy);
}

.monitor-item-score strong.is-pass { color: var(--ok); }
.monitor-item-score strong.is-fail { color: var(--danger); }
.monitor-item-score strong.is-timer { font-family: var(--mono); font-size: 16px; }
.monitor-item-score strong.is-low { color: var(--danger); }

.monitor-item-score span {
    font-size: 11px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 650;
}

.monitor-item-bar {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.monitor-item-bar .meter {
    width: 100%;
    height: 7px;
}

.monitor-item-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: var(--muted);
}

.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--muted);
    flex: none;
}

.live-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.82); }
}

.progress-cell,
.analysis-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.remaining {
    font-family: var(--mono);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.remaining.is-low { color: var(--danger); }

/* ------------------------------------------------ ?renci s?nav ekran? */

/* ------------------------------------------------------- sınav (öğrenci — koyu) */

.page-exam {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(20, 86, 160, 0.42), transparent 55%),
        linear-gradient(165deg, #071a33 0%, #0A2E5C 42%, #0d3a6e 100%);
    color: #e8eef6;
    min-height: 100vh;
}

.page-exam .exam-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
}

.page-exam .exam-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(7, 26, 51, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-exam .exam-identity strong {
    display: block;
    font-size: 14.5px;
    font-weight: 650;
    color: #f4f8fc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-exam .exam-identity span {
    font-size: 12.5px;
    color: #9eb4c9;
}

.page-exam .exam-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    justify-self: center;
}

.page-exam .exam-clock .clock-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8ec5f0;
}

.page-exam .exam-clock .clock-value {
    font-family: var(--mono);
    font-size: 19px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #fff;
}

.page-exam .exam-clock.is-warning {
    border-color: rgba(240, 198, 90, 0.55);
    background: rgba(240, 198, 90, 0.12);
}

.page-exam .exam-clock.is-warning .clock-value { color: #f0c65a; }

.page-exam .exam-clock.is-critical {
    border-color: rgba(255, 120, 130, 0.55);
    background: rgba(192, 53, 69, 0.22);
    animation: clockPulse 1s ease-in-out infinite;
}

.page-exam .exam-clock.is-critical .clock-value { color: #ffb4ba; }

@keyframes clockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 53, 69, 0.2); }
    50% { box-shadow: 0 0 0 7px rgba(192, 53, 69, 0); }
}

.page-exam .exam-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.page-exam .save-state {
    font-size: 12.5px;
    color: #9eb4c9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 96px;
    justify-content: flex-end;
}

.page-exam .save-state.is-saving { color: #f0c65a; }
.page-exam .save-state.is-saved { color: #9aefc4; }
.page-exam .save-state.is-error { color: #ffb4ba; }

.page-exam .exam-body {
    flex: 1;
    width: min(1180px, 100% - 40px);
    margin: 26px auto 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.page-exam .question-panel {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    min-height: min(70vh, 640px);
}

.page-exam .question-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.page-exam .question-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
}

.page-exam .question-counter {
    font-size: 18px;
    font-weight: 700;
    color: #f4f8fc;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.page-exam .question-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-exam .badge-plain {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    color: #d7e6f5;
}

.page-exam .question-text {
    padding: 28px 24px 6px;
    font-family: var(--display);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.015em;
    white-space: pre-wrap;
    color: #f7fbff;
}

.page-exam .question-help {
    padding: 8px 24px 0;
    font-size: 13px;
    color: #9eb4c9;
}

.page-exam .answer-area {
    padding: 22px 24px 26px;
    display: grid;
    gap: 12px;
}

.page-exam .choice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #f2f7fc;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.1s ease;
}

.page-exam .choice:hover {
    border-color: rgba(142, 197, 240, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.page-exam .choice:active { transform: translateY(1px); }

.page-exam .choice-letter {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: inherit;
}

.page-exam .choice.is-selected {
    border-color: rgba(240, 198, 90, 0.75);
    background: rgba(240, 198, 90, 0.18);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(240, 198, 90, 0.25);
}

.page-exam .choice.is-selected .choice-letter {
    background: linear-gradient(145deg, #f0c65a, #e8b923);
    border-color: transparent;
    color: #0A2E5C;
}

.page-exam .choice-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.page-exam .answer-text-input {
    font-size: 16px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 12px;
}

.page-exam .answer-text-input::placeholder { color: #8aa0b5; }

.page-exam .reorder-list { display: grid; gap: 8px; }

.page-exam .reorder-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #f2f7fc;
}

.page-exam .reorder-index {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(240, 198, 90, 0.2);
    color: #f0c65a;
    font-size: 12.5px;
    font-weight: 650;
}

.page-exam .reorder-controls { display: flex; gap: 4px; }

.page-exam .icon-btn {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8eef6;
    font-size: 13px;
    cursor: pointer;
}

.page-exam .icon-btn:hover:not([disabled]) {
    border-color: rgba(142, 197, 240, 0.5);
    background: rgba(255, 255, 255, 0.14);
}

.page-exam .icon-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.page-exam .match-rows { display: grid; gap: 12px; }

.page-exam .match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.page-exam .match-left { font-size: 15.5px; color: #f2f7fc; display: grid; gap: 8px; min-width: 0; }
.page-exam .match-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.page-exam .match-row select {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15.5px;
    min-height: 48px;
}

.page-exam .question-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    position: sticky;
    bottom: 0;
    z-index: 5;
    flex-wrap: wrap;
}

.page-exam .exam-nav-meta {
    font-size: 15px;
    font-weight: 600;
    color: #d7e6f5;
    text-align: center;
    flex: 1 1 auto;
}

.page-exam .exam-nav-btn {
    min-width: 120px;
    min-height: 44px;
}

.page-exam .exam-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 88px;
}

.page-exam .palette-card,
.page-exam .submit-card,
.page-exam .panel-note {
    padding: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: none;
    color: #c5d6e8;
}

.page-exam .palette-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.page-exam .palette-head h3 { font-size: 13.5px; color: #f4f8fc; }

.page-exam .palette-progress {
    font-size: 12.5px;
    color: #9eb4c9;
    font-variant-numeric: tabular-nums;
}

.page-exam .palette-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.page-exam .palette-btn {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #e8eef6;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    min-height: 40px;
}

.page-exam .palette-btn:hover {
    border-color: rgba(142, 197, 240, 0.5);
    color: #fff;
}

.page-exam .palette-btn.is-answered {
    border-color: rgba(61, 214, 140, 0.45);
    background: rgba(61, 214, 140, 0.16);
    color: #9aefc4;
}

.page-exam .palette-btn.is-flagged {
    border-color: rgba(240, 198, 90, 0.5);
    background: rgba(240, 198, 90, 0.14);
    color: #f0c65a;
}

.page-exam .palette-btn.is-current {
    border-color: #4ea1e0;
    background: #1456A0;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(78, 161, 224, 0.25);
}

.page-exam .palette-legend {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #9eb4c9;
}

.page-exam .palette-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-exam .legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    flex: none;
}

.page-exam .legend-dot.answered { border-color: rgba(61, 214, 140, 0.5); background: rgba(61, 214, 140, 0.35); }
.page-exam .legend-dot.flagged { border-color: rgba(240, 198, 90, 0.55); background: rgba(240, 198, 90, 0.4); }
.page-exam .legend-dot.current { border-color: #4ea1e0; background: #1456A0; }

.page-exam .submit-card { display: grid; gap: 12px; }
.page-exam .submit-card p { font-size: 13px; color: #9eb4c9; }

.page-exam .btn-outline,
.page-exam a.btn-outline,
.page-exam button.btn-outline {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-fg: #f4f8fc;
    --btn-border: rgba(255, 255, 255, 0.22);
    --btn-shadow: none;
    color: #f4f8fc !important;
}

.page-exam .btn-outline:hover,
.page-exam a.btn-outline:hover,
.page-exam button.btn-outline:hover {
    --btn-bg: rgba(255, 255, 255, 0.14);
    --btn-fg: #fff;
    --btn-border: rgba(142, 197, 240, 0.55);
    color: #fff !important;
}

.page-exam .btn-ghost,
.page-exam button.btn-ghost {
    --btn-fg: #c5d6e8;
    color: #c5d6e8 !important;
}

.page-exam .btn-ghost:hover,
.page-exam button.btn-ghost:hover {
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-fg: #fff;
    color: #fff !important;
}

.page-exam .loading-state {
    color: #c5d6e8;
    text-align: center;
    padding: 48px 16px;
}

.page-exam .exam-submit-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(4, 14, 28, 0.72);
    backdrop-filter: blur(6px);
    padding: 24px;
}

.page-exam .exam-submit-overlay[hidden] { display: none !important; }

.page-exam .exam-submit-card {
    width: min(360px, 100%);
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(10, 46, 92, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    color: #f4f8fc;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.page-exam .exam-submit-card p { color: #9eb4c9; font-size: 14px; margin: 0; }

.page-exam .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #8ec5f0;
    border-radius: 50%;
    animation: examSpin 0.8s linear infinite;
}

@keyframes examSpin {
    to { transform: rotate(360deg); }
}

.page-exam .focus-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.page-exam .focus-card,
.page-exam .exam-dark-card,
.page-exam .conf-student-card {
    width: min(560px, 100%);
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 20px !important;
    color: #e8eef6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.page-exam .focus-card.is-wide,
.page-exam .conf-student-card.is-wide {
    width: min(720px, 100%);
}

.page-exam .focus-card h1,
.page-exam .conf-student-card h1 {
    color: #fff;
}

.page-exam .focus-card .hint,
.page-exam .focus-card .muted,
.page-exam .conf-student-card .hint,
.page-exam .conf-student-card .muted {
    color: #9eb4c9;
}

.page-exam .conf-student-opts { gap: 12px; }

.page-exam .conf-student-opt {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8fc;
    font-size: 16px;
    min-height: 56px;
    text-align: left;
}

.page-exam .conf-student-opt span {
    line-height: 1.4;
}

.page-exam .conf-student-opt b {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.page-exam .conf-student-opt.is-on {
    border-color: rgba(240, 198, 90, 0.75);
    background: rgba(240, 198, 90, 0.2);
}

.page-exam .result-shell {
    color: #e8eef6;
}

.page-exam .result-shell .site-header {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-exam .result-hero,
.page-exam .result-ranking,
.page-exam .review-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #e8eef6;
}

.page-exam .result-summary h1,
.page-exam .section-title h2,
.page-exam .review-question {
    color: #fff;
}

.page-exam .result-summary > p,
.page-exam .muted,
.page-exam .review-no {
    color: #9eb4c9;
}

.page-exam .tally {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.page-exam .dialog-backdrop {
    background: rgba(4, 14, 28, 0.72);
}

.page-exam .dialog {
    background: #0d2a52;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e8eef6;
}

.page-exam .dialog h2 { color: #fff; }
.page-exam .dialog p { color: #9eb4c9; }
.page-exam .dialog-facts {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #c5d6e8;
}

/* Eski açık tema sınıfları (geriye dönük) — page-exam dışında kullanılmaz */
.exam-shell { min-height: 100vh; display: flex; flex-direction: column; }
.question-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* -------------------------------------------------------- sonuç ekranı */

.result-shell {
    width: min(880px, 100% - 40px);
    margin: 48px auto 60px;
    display: grid;
    gap: 20px;
}

.result-ranking {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.result-rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: -6px 0 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.result-rank-meta b {
    color: var(--navy);
}

.result-rank-list {
    display: grid;
    gap: 8px;
    max-height: min(52vh, 420px);
    overflow: auto;
}

.result-rank-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e8eef6;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfe, #f7fafc);
}

.result-rank-item.is-me {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    box-shadow: 0 8px 18px rgba(15, 94, 168, 0.08);
}

.result-rank-item.top-1 .result-rank-place { color: #b8860b; }
.result-rank-item.top-2 .result-rank-place { color: #64748b; }
.result-rank-item.top-3 .result-rank-place { color: #9a6b45; }

.result-rank-place {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 800;
    color: var(--navy);
}

.result-rank-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.result-rank-info strong {
    color: var(--navy);
    font-size: 14.5px;
}

.result-rank-info em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

.result-rank-info span {
    font-size: 12.5px;
    color: var(--muted);
}

.result-rank-score {
    font-size: 20px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.result-rank-score::after {
    content: "%";
    margin-left: 1px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.result-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

.score-ring {
    --pct: 0;
    position: relative;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--pct) * 1%), var(--surface-3) 0);
    display: grid;
    place-items: center;
}

.score-ring::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: var(--surface);
}

.score-ring-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.score-ring-inner strong {
    display: block;
    font-family: var(--display);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--navy);
}

.score-ring-inner span {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.result-summary h1 {
    font-size: 24px;
    color: var(--navy);
}

.result-summary > p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.result-tally {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.tally {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
}

.tally strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    color: var(--navy);
}

.tally span { font-size: 12px; color: var(--muted); }
.tally.ok strong { color: var(--ok); }
.tally.bad strong { color: var(--danger); }
.tally.empty strong { color: var(--muted); }

.review-list { display: grid; gap: 10px; }

.review-item {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.review-item.is-correct { border-left-color: var(--ok); }
.review-item.is-wrong { border-left-color: var(--danger); }
.review-item.is-blank { border-left-color: var(--warn); }

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-no {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.review-question {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-wrap;
    color: var(--navy);
}

.review-choices {
    display: grid;
    gap: 8px;
    margin: 14px 0 10px;
}

.review-choice {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 14.5px;
}

.review-choice.is-truth {
    border-color: rgba(15, 138, 95, 0.45);
    background: var(--ok-soft);
}

.review-choice.is-miss {
    border-color: rgba(196, 64, 64, 0.4);
    background: var(--danger-soft, #fdeeee);
}

.review-choice-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.review-choice-tag {
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
    white-space: nowrap;
}

.review-choice.is-truth .review-choice-tag { color: var(--ok); }
.review-choice.is-miss .review-choice-tag { color: var(--danger); }

.review-correct-line {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--ok);
}

.review-answers {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.review-answer {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
}

.review-answer dt {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--faint);
}

.review-answer dd {
    margin: 0;
    color: var(--text-dim);
}

.review-answer.given dd.correct { color: var(--ok); }
.review-answer.given dd.wrong { color: var(--danger); }
.review-answer.truth dd { color: var(--ok); }

/* ----------------------------------------------------------- geri bildirim */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(14px);
    z-index: 200;
    max-width: min(420px, calc(100% - 40px));
    padding: 12px 18px;
    background: var(--navy);
    border: 1px solid transparent;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.is-error {
    background: #7f1d28;
    color: #ffe4e7;
}

.toast.is-success {
    background: #0b5c40;
    color: #d8fff0;
}

[hidden] { display: none !important; }

.dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.dialog {
    width: min(420px, 100%);
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.dialog h2 {
    font-size: 18px;
    color: var(--navy);
}

.dialog p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.dialog-actions {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dialog-facts {
    margin-top: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 13.5px;
}

.dialog-facts div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dialog-facts b { font-variant-numeric: tabular-nums; color: var(--navy); }

/* ----------------------------------------------------------- auth modal */

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 28, 48, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
}

.auth-modal-backdrop[hidden] {
    display: none !important;
}

.auth-modal {
    position: relative;
    width: min(480px, 100%);
    margin: auto;
    padding: 28px 24px 22px;
    border-radius: 22px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 56px rgba(11, 42, 74, 0.18);
    animation: auth-modal-in 0.22s ease;
}

@keyframes auth-modal-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.auth-modal-close:hover {
    background: var(--accent-soft);
    color: var(--navy);
}

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.auth-modal-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.auth-modal-brand .brand-name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.auth-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eef3f8;
}

.auth-modal-tab {
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth-modal-tab.is-active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(11, 42, 74, 0.08);
}

.auth-modal-panel h2 {
    margin: 0;
    font-size: 22px;
    color: var(--navy);
}

.auth-modal-panel .hint {
    margin-top: 6px;
}

.auth-modal-panel .form-error {
    margin-top: 14px;
}

.auth-modal-panel .auth-form {
    margin-top: 16px;
}

.auth-modal-foot {
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}

.auth-modal-foot a {
    color: var(--accent);
    font-weight: 600;
}

.auth-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.auth-security-note {
    margin: -4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.auth-captcha-field .auth-label {
    font-size: 13px;
}

@media (max-width: 560px) {
    .auth-modal {
        padding: 24px 16px 18px;
        border-radius: 18px;
    }

    .auth-modal .auth-row {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------- duyarl?l?k */

@media (max-width: 1100px) {
    .sx-pill-hide-sm { display: none; }
    .sx-hours-text { display: none; }
}

@media (max-width: 980px) {
    .sx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sx-footer-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
        padding-bottom: 40px;
    }

    .hero-product {
        min-height: 0;
        width: 100%;
        padding: 0;
    }

    .product-frame,
    .hm-device {
        border-radius: 16px;
    }

    .home-feature-grid,
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-block-inner,
    .features-block-inner.is-reverse {
        grid-template-columns: 1fr;
    }

    .features-block-inner.is-reverse .features-block-copy,
    .features-block-inner.is-reverse .features-block-panel {
        order: initial;
    }
}

@media (max-width: 900px) {
    .sx-topbar {
        display: none;
    }

    .sx-menu-btn {
        display: grid;
        z-index: 2;
    }

    .sx-mainbar-inner {
        display: grid;
        grid-template-columns: 42px 1fr 42px;
        align-items: center;
        min-height: 60px;
        gap: 8px;
    }

    .sx-logo {
        grid-column: 2;
        justify-self: center;
        order: 0;
        font-size: 20px;
        z-index: 1;
    }

    .sx-menu-btn {
        grid-column: 1;
        justify-self: start;
    }

    /* Mobilde giriş/kayıt alt dock’ta; header sağını boş bırak */
    .sx-mainbar-right {
        display: none;
    }

    .sx-header,
    .sx-mainbar,
    .sx-mainbar-inner {
        overflow: visible;
    }

    .sx-nav {
        display: none;
        position: fixed;
        top: var(--sx-nav-top, 60px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(72vh, calc(100dvh - var(--sx-nav-top, 60px) - 12px));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--sx-line);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
        z-index: 120;
        order: 10;
        flex: none;
    }

    .sx-header.is-open .sx-nav {
        display: flex;
    }

    .sx-header-backdrop {
        display: none !important;
    }

    .sx-header.is-open .sx-header-backdrop {
        display: block !important;
    }

    .sx-nav a { padding: 12px 14px; }
    .sx-nav-desktop-only { display: none !important; }
    .sx-nav-mobile-only,
    .sx-nav-mobile-menu { display: block !important; }

    .sx-footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 14px;
    }

    .sx-footer-top .sx-logo {
        order: 0;
        margin: 0 auto;
        justify-content: center;
        align-self: center;
    }

    .sx-footer-lead {
        margin: 0 auto;
        max-width: 36rem;
        text-align: center;
    }

    .sx-footer-top .sx-social {
        justify-content: center;
        margin: 0 auto;
    }

    .sx-footer-grid-2 {
        max-width: none;
    }

    .hero-actions .btn,
    .cta-band .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-actions,
    .cta-band .btn-row {
        width: 100%;
    }

    .cta-band .container {
        flex-direction: column;
        align-items: stretch;
    }

    body.has-mobile-dock .sx-dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
        pointer-events: none;
    }

    body.has-mobile-dock {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    .sx-dock-inner {
        pointer-events: auto;
        display: grid;
        grid-template-columns: repeat(var(--dock-cols, 5), minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        max-width: 520px;
        margin: 0 auto;
        padding: 8px 6px;
        border-radius: 22px;
        border: 1px solid rgba(15, 42, 74, 0.08);
        background: rgba(255, 255, 255, 0.92);
        box-shadow:
            0 10px 30px rgba(11, 42, 74, 0.12),
            0 1px 0 rgba(255, 255, 255, 0.8) inset;
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
    }

    .sx-dock-item,
    .sx-dock-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: 52px;
        padding: 6px 4px;
        border-radius: 16px;
        color: var(--muted);
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 650;
        line-height: 1.15;
        text-align: center;
        transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease;
    }

    .sx-dock-item .bi,
    .sx-dock-center .bi {
        font-size: 18px;
        line-height: 1;
    }

    .sx-dock-item span,
    .sx-dock-center span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sx-dock-item:hover,
    .sx-dock-item:focus-visible {
        color: var(--navy);
        background: rgba(15, 94, 168, 0.08);
    }

    .sx-dock-center {
        color: #fff;
        background: linear-gradient(145deg, #1456A0, #0A2E5C);
        box-shadow: 0 8px 18px rgba(15, 94, 168, 0.28);
        font-size: 10px;
        font-weight: 700;
        min-height: 56px;
        margin: 0 2px;
    }

    .sx-dock-center .bi {
        font-size: 20px;
    }

    .sx-dock-center .sx-dock-play {
        display: block;
        width: 0;
        height: 0;
        margin: 2px 0 4px;
        border-style: solid;
        border-width: 8px 0 8px 14px;
        border-color: transparent transparent transparent #fff;
        filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
    }

    .sx-dock-center:hover,
    .sx-dock-center:focus-visible {
        color: #fff;
        transform: translateY(-1px);
        background: linear-gradient(145deg, #1B6FD4, #0A2E5C);
    }
}

@media (max-width: 720px) {
    .sx-mainbar-inner {
        min-height: 58px;
    }

    .sx-logo { font-size: 18px; }

    .sx-footer-grid,
    .sx-footer-grid-2 {
        grid-template-columns: 1fr;
    }

    .sx-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sx-footer-pills {
        width: 100%;
    }

    .sx-footer-pills a {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .teacher-shell {
        grid-template-columns: minmax(0, 1fr);
        overflow-x: hidden;
    }

    .teacher-mobilebar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 40;
        height: 58px;
        padding: 0 12px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
    }

    .teacher-topbar { display: none; }

    .nav-toggle {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--surface);
        cursor: pointer;
        flex: none;
        padding: 0;
    }

    .nav-toggle-lines {
        display: grid;
        gap: 4px;
        width: 16px;
    }

    .nav-toggle-lines i {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: var(--navy);
    }

    .mobilebar-brand {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
        flex: 1;
    }

    .mobilebar-brand .brand {
        gap: 8px;
    }

    .mobilebar-brand .brand-mark {
        width: 26px;
        height: 26px;
        font-size: 13px;
        border-radius: 7px;
    }

    .mobilebar-brand .brand-name {
        font-size: 15px;
    }

    .mobilebar-page {
        font-size: 11.5px;
        color: var(--muted);
        font-weight: 600;
        padding-left: 34px;
        margin-top: -2px;
    }

    .mobilebar-cta {
        flex: none;
        min-width: 64px;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .teacher-shell.is-nav-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .teacher-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 86vw);
        height: 100vh;
        height: 100dvh;
        z-index: 90;
        transform: translateX(-105%);
        transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: none;
        padding: 14px 12px 18px;
        gap: 10px;
    }

    .teacher-shell.is-nav-open .teacher-sidebar {
        transform: translateX(0);
        box-shadow: 16px 0 40px rgba(15, 23, 42, 0.28);
    }

    .nav-close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        flex: none;
        padding: 0;
    }

    .side-link {
        padding: 13px 12px;
        font-size: 15px;
        min-height: 46px;
    }

    .teacher-chip { display: flex; }

    .teacher-main { min-width: 0; overflow-x: hidden; }
    .teacher-content {
        padding: 16px 12px 28px;
        gap: 16px;
        min-width: 0;
    }

    body.page-teacher.is-nav-locked {
        overflow: hidden;
    }

    .monitor-head {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .monitor-actions .btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .monitor-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .monitor-stats .stat { padding: 14px; }
    .monitor-stats .stat-value { font-size: 24px; }

    .monitor-charts {
        grid-template-columns: 1fr;
    }

    .monitor-chart-wrap,
    .monitor-chart-wrap.is-tall {
        height: 220px;
    }

    .monitor-podium {
        grid-template-columns: 1fr;
    }

    .monitor-podium.has-three .podium-card.is-first,
    .monitor-podium.has-three .podium-card.is-second,
    .monitor-podium.has-three .podium-card.is-third {
        order: 0;
        margin-top: 0;
    }

    .monitor-podium.has-three .podium-card.is-first { order: -1; }

    .section-title h2 { font-size: 17px; }

    .result-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }
    .result-tally { width: 100%; }
}

@media (max-width: 720px) {
    .container { width: min(100%, calc(100% - 32px)); }
    h1 { font-size: 24px; }

    .form-grid.cols-2,
    .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }

    .quiz-row { grid-template-columns: minmax(0, 1fr); }
    .quiz-actions { justify-content: flex-start; }

    .monitor-title h1 { font-size: 18px; }

    .monitor-item { padding: 14px; }

    .monitor-item-top {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "rank who"
            "score score";
        gap: 10px;
    }

    .monitor-item-top .rank-pill { grid-area: rank; }
    .monitor-item-who { grid-area: who; }
    .monitor-item-score {
        grid-area: score;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
        padding: 10px 12px;
        border-radius: 10px;
        background: var(--surface-2);
        border: 1px solid var(--border);
    }

    .monitor-item-score strong { font-size: 22px; }
    .monitor-item-score span { margin-left: auto; }
    .monitor-actions .btn { flex: 1 1 100%; }

    .exam-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 10px;
    }
    .exam-clock { grid-row: 1; grid-column: 2; }
    .exam-top-actions { grid-column: 1 / -1; justify-content: space-between; }

    .page-exam .exam-body {
        width: calc(100% - 24px);
        margin-top: 14px;
        margin-bottom: 24px;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .page-exam .exam-side { position: static; order: 2; }
    .page-exam .question-panel {
        order: 1;
        min-height: 0;
    }
    .page-exam .question-text { font-size: 18px; padding: 20px 16px 6px; color: #fff !important; }
    .page-exam .answer-area { padding: 16px; }
    .page-exam .question-panel-head,
    .page-exam .question-nav { padding: 12px 14px; }
    .page-exam .question-counter { font-size: 17px; color: #fff !important; }
    .page-exam .exam-nav-btn { min-width: 108px; flex: 1 1 auto; }
    .page-exam .exam-nav-meta { flex: 1 1 100%; order: -1; color: #e8eef6 !important; }
    .page-exam .choice {
        font-size: 16px;
        padding: 14px 14px;
        color: #fff !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
    }
    .page-exam .choice-letter { color: #fff !important; }
    .page-exam .choice.is-selected { color: #fff !important; }
    .page-exam .match-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .page-exam .match-arrow {
        width: 100%;
        height: 40px;
        font-size: 20px;
    }
    .page-exam .match-left,
    .page-exam .match-row select,
    .page-exam .reorder-item,
    .page-exam .answer-text-input,
    .page-exam .badge-plain,
    .page-exam .palette-head h3,
    .page-exam .submit-card p,
    .page-exam .panel-note {
        color: #f2f7fc !important;
    }
    .page-exam .muted,
    .page-exam .hint,
    .page-exam .save-state {
        color: #c5d6e8 !important;
    }
    .page-exam .focus-card,
    .page-exam .conf-student-card,
    .page-exam .exam-dark-card {
        color: #f4f8fc !important;
    }
    .page-exam .focus-card h1,
    .page-exam .conf-student-card h1 {
        color: #fff !important;
    }
    .page-exam .conf-student-opt {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }
    .conf-podium {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 8px;
    }
    .conf-podium-card strong { font-size: 13px; }
    .conf-podium-card b { font-size: 18px; }
    .conf-top-bar .eyebrow,
    .conf-run .eyebrow {
        font-size: 15px !important;
        color: #8ec5f0 !important;
    }
    .conf-question-text { font-size: clamp(22px, 5vw, 32px) !important; }

    .palette-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }

    .pair-row { grid-template-columns: minmax(0, 1fr); }
    .pair-row .arrow {
        width: 100%;
        height: 40px;
        display: grid;
    }

    .review-answer { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .publish-code { font-size: 34px; }
    .product-grid { grid-template-columns: 1fr; }
    .home-hero { padding-top: 40px; }
    .home-section { padding: 48px 0; }
    .hero-brand { font-size: clamp(32px, 10vw, 40px); }
    .hero-title { font-size: clamp(22px, 6.5vw, 28px); }
    .hero-lead { font-size: 15.5px; }
    .section-head h2 { font-size: 24px; }
    .cta-band h2 { font-size: 24px; }
    .feature { padding: 18px; }
    .home-feature-grid,
    .blog-card-grid {
        grid-template-columns: 1fr;
    }
    .features-block-inner,
    .features-block-inner.is-reverse {
        grid-template-columns: 1fr;
    }
    .features-block-inner.is-reverse .features-block-copy,
    .features-block-inner.is-reverse .features-block-panel {
        order: initial;
    }
    .features-block { padding: 40px 0; }
    .product-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Ana sayfa kullan?c? yorumlar? ---- */
.home-testimonials {
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 65%),
        linear-gradient(180deg, #f7fafd, #fff);
}

.testimonial-carousel {
    position: relative;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.testimonial-nav {
    display: none;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #e0a800;
    font-size: 14px;
}

.testimonial-quote {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dim);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex: none;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.testimonial-author span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .testimonial-carousel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
    }

    .testimonial-nav {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(15, 42, 74, 0.1);
        border-radius: 999px;
        background: #fff;
        color: var(--navy);
        box-shadow: 0 6px 16px rgba(11, 42, 74, 0.08);
        cursor: pointer;
        z-index: 2;
        transition: background 0.15s ease, opacity 0.15s ease, color 0.15s ease;
    }

    .testimonial-nav .bi {
        font-size: 18px;
        line-height: 1;
    }

    .testimonial-nav:hover:not(:disabled) {
        background: var(--accent-soft);
        color: var(--accent);
    }

    .testimonial-nav:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .testimonial-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        padding: 4px 2px 10px;
        margin: 0;
        scrollbar-width: none;
        cursor: grab;
    }

    .testimonial-track.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .testimonial-track::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 min(82vw, 320px);
        max-width: min(82vw, 320px);
        min-height: 220px;
        scroll-snap-align: center;
    }
}

/* ---- Fiyatland?rma ---- */
.pricing-main .info-wrap {
    padding-bottom: 28px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px 20px;
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
    box-shadow: 0 12px 30px rgba(11, 42, 74, 0.06);
}

.pricing-card.is-featured {
    border-color: rgba(15, 94, 168, 0.22);
    background:
        linear-gradient(180deg, #fff, #f3f8fd);
    box-shadow: 0 18px 40px rgba(15, 94, 168, 0.14);
    transform: translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pricing-name {
    margin: 0;
    font-family: Sora, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    padding-right: 88px;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.pricing-price {
    font-family: Sora, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.pricing-period {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.pricing-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-dim);
}

.pricing-features {
    list-style: none;
    margin: 4px 0 8px;
    padding: 0;
    display: grid;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dim);
}

.pricing-features .ico,
.pricing-features .bi {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--ok);
    flex: 0 0 auto;
    font-size: 15px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-footnote {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.pricing-footnote p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 980px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.is-featured {
        transform: none;
        order: -1;
    }
}

/* ---- Ynetici men listesi ---- */
.menu-admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-admin-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    transition: background 0.15s ease, opacity 0.15s ease;
}

.menu-admin-item:last-child {
    border-bottom: 0;
}

.menu-admin-item.is-off {
    opacity: 0.72;
}

.menu-admin-item.is-dragging {
    opacity: 0.55;
    background: var(--surface-2);
}

.menu-admin-item.is-drag-over-before {
    box-shadow: inset 0 2px 0 var(--accent);
}

.menu-admin-item.is-drag-over-after {
    box-shadow: inset 0 -2px 0 var(--accent);
}

.menu-admin-handle {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: grab;
    font-size: 14px;
    letter-spacing: -2px;
    line-height: 1;
}

.menu-admin-handle:active {
    cursor: grabbing;
}

.menu-admin-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.menu-admin-meta strong {
    font-size: 14px;
}

.menu-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.menu-admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

@media (max-width: 720px) {
    .menu-admin-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .menu-admin-item .ticket-status,
    .menu-admin-actions {
        grid-column: 1 / -1;
    }

    .menu-admin-actions {
        justify-content: flex-start;
    }
}

/* ---- 404 / hata sayfas? ---- */
.error-main {
    min-height: min(70vh, 720px);
    display: grid;
    align-items: center;
}

.error-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 16px 64px;
}

.error-code {
    margin: 0 0 8px;
    font-family: Sora, sans-serif;
    font-size: clamp(64px, 14vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--accent);
    opacity: 0.9;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-wrap h1 {
    margin: 0 0 10px;
    font-family: Sora, sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    color: var(--navy);
}

.error-wrap .info-lead {
    margin-left: auto;
    margin-right: auto;
}

.error-wrap .info-actions {
    justify-content: center;
}

/* ---- WhatsApp k?e butonu ---- */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff !important;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-float:active {
    transform: translateY(0) scale(0.98);
}

.whatsapp-float .fa-whatsapp {
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 900px) {
    body.has-mobile-dock .whatsapp-float {
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 48px;
        height: 48px;
    }

    body.has-mobile-dock .whatsapp-float .fa-whatsapp {
        font-size: 26px;
    }
}

/* ---- erez uyar?s? ---- */
.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    max-width: 720px;
    margin: 0 auto;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateY(10px);
}

.cookie-banner-inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.12);
    backdrop-filter: blur(10px);
}

.cookie-banner-text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-dim);
}

.cookie-banner-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

@media (max-width: 900px) {
    body.has-mobile-dock .cookie-banner {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---- Sınav türü seçici + konferans ---- */
.exam-mode-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.exam-mode-card {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.exam-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.exam-mode-card .bi { font-size: 22px; color: var(--accent); }
.exam-mode-card strong { color: var(--navy); font-size: 15px; }
.exam-mode-card span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.exam-mode-card.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 86, 160, 0.12);
}
@media (max-width: 720px) {
    .exam-mode-picker { grid-template-columns: 1fr; }
}

.page-conference {
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(20, 86, 160, 0.45), transparent 55%),
        linear-gradient(165deg, #071a33 0%, #0A2E5C 42%, #0d3a6e 100%);
    min-height: 100vh;
    color: #e8eef6;
}
.page-conference .toast { z-index: 300; }
.conf-shell { min-height: 100vh; padding: 20px 16px 48px; }

.conf-top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.conf-top-bar .eyebrow { color: #8ec5f0; letter-spacing: 0.06em; }

.conf-waiting-band {
    display: flex;
    justify-content: center;
    margin: 18px auto 8px;
}
.conf-waiting-inner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
.conf-waiting-spinner {
    width: 1.35rem;
    height: 1.35rem;
    border-width: 0.18em;
}
.conf-waiting-label {
    font-size: 1rem;
    font-weight: 600;
    color: #f4f8fc;
}
.conf-waiting-label.is-ready { color: #9aefc4; }
.conf-ellipsis::after {
    content: "...";
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    width: 0;
    animation: conf-dots 1.35s steps(4, end) infinite;
}
@keyframes conf-dots {
    0% { width: 0; }
    100% { width: 1.15em; }
}

.conf-qr-hero {
    display: flex;
    justify-content: center;
    margin: 22px auto 28px;
    max-width: 520px;
}
.conf-qr-card {
    width: 100%;
    border-radius: 24px !important;
    overflow: hidden;
    background: #fff;
    color: var(--navy);
}
.conf-qr-card .letter-space { letter-spacing: 0.08em; }
.conf-qr-frame {
    width: 280px;
    height: 280px;
    max-width: 100%;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f4f7fb;
    border: 1px solid rgba(10, 46, 92, 0.08);
    overflow: hidden;
}
.conf-qr-frame canvas,
.conf-qr-frame img,
.conf-qr-img {
    width: 280px !important;
    height: 280px !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.conf-code-display {
    font-family: var(--mono, ui-monospace, monospace);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0A2E5C;
    line-height: 1.1;
}

.conf-roster-section {
    max-width: 920px;
    margin-inline: auto;
}
.conf-roster-empty {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.18);
}
.conf-student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.conf-student-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.conf-student-avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0A2E5C;
    background: linear-gradient(145deg, #f0c65a, #e8b923);
}
.conf-student-meta {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}
.conf-student-meta strong {
    font-size: 14.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.conf-student-meta small {
    color: #9eb4c9;
    font-size: 12px;
}
.conf-lobby-cta {
    display: flex;
    justify-content: center;
}
.conf-lobby-cta .btn {
    min-width: min(320px, 100%);
    min-height: 52px;
    border-radius: 14px;
}

.conf-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.conf-top h1 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin-top: 6px; max-width: 18em; }
.conf-top .eyebrow { color: #7eb6e8; }
.conf-lobby-grid, .conf-run-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: start;
}
.conf-qr-panel, .conf-roster-panel, .conf-options {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
}
.conf-qr-panel { text-align: center; }
.conf-qr-panel canvas {
    width: 260px;
    height: 260px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
}
.conf-code {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 12px 0 6px;
    color: #fff;
}
.conf-roster-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.conf-roster-head h2 { color: #fff; font-size: 18px; margin: 0; }
.conf-roster-head strong {
    color: #9aefc4;
    font-size: 1.25rem;
}
.conf-roster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
}
.conf-roster li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
}
.conf-roster li .bi { color: #7dd3a7; font-size: 18px; }
.conf-roster li.is-answered .bi { color: #3dd68c; }
.conf-roster li:not(.is-answered) .bi-circle { color: #6b8299; }
.conf-roster li em { margin-left: auto; font-style: normal; color: #8aa0b5; font-size: 12px; }
.conf-roster li.is-empty { color: #8aa0b5; justify-content: center; }
.conf-question-text { line-height: 1.25; }
.conf-options { display: grid; gap: 10px; }
.conf-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.conf-opt b {
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}
.conf-q-num {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}
.conf-opt.is-key { border-color: rgba(255, 255, 255, 0.1); } /* doğru şık vurgusu kaldırıldı */

.conf-podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: end;
    gap: 12px;
    max-width: 720px;
    margin: 8px auto 28px;
    padding: 8px 4px 0;
}
.conf-podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.conf-podium-card {
    width: 100%;
    text-align: center;
    padding: 14px 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8fc;
    display: grid;
    gap: 4px;
    justify-items: center;
}
.conf-podium-card strong {
    font-size: 15px;
    color: #fff;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.conf-podium-card b { font-size: 22px; color: #f0c65a; }
.conf-podium-card small { color: #9eb4c9; font-size: 12px; }
.conf-podium-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.conf-podium-slot.is-1 .conf-podium-rank {
    width: 48px;
    height: 48px;
    font-size: 22px;
    background: linear-gradient(145deg, #f0c65a, #e8b923);
    color: #0A2E5C;
}
.conf-podium-slot.is-2 .conf-podium-rank { background: linear-gradient(145deg, #c5d0dc, #9aabbc); color: #1a2a3a; }
.conf-podium-slot.is-3 .conf-podium-rank { background: linear-gradient(145deg, #d4a574, #b07d4a); color: #2a1a0c; }
.conf-podium-slot.is-1 .conf-podium-card {
    padding-top: 18px;
    border-color: rgba(240, 198, 90, 0.45);
    background: rgba(240, 198, 90, 0.14);
    transform: translateY(-10px);
}
.conf-podium-block {
    width: 100%;
    border-radius: 12px 12px 4px 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.conf-podium-slot.is-1 .conf-podium-block { height: 110px; background: linear-gradient(180deg, rgba(240,198,90,0.45), rgba(240,198,90,0.12)); }
.conf-podium-slot.is-2 .conf-podium-block { height: 72px; }
.conf-podium-slot.is-3 .conf-podium-block { height: 52px; }
.conf-podium-slot.is-empty .conf-podium-card { opacity: 0.4; }
.conf-rank-card { margin-top: 8px; }
.conf-results-row.is-top-1 { background: rgba(240, 198, 90, 0.12); }
.conf-results-row.is-top-2 { background: rgba(154, 171, 188, 0.12); }
.conf-results-row.is-top-3 { background: rgba(176, 125, 74, 0.1); }

.conf-all-done {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9aefc4;
    font-weight: 600;
    margin-bottom: 10px;
}
.conf-run-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.conf-results-table {
    display: grid;
    gap: 0;
}
.conf-results-head, .conf-results-row {
    display: grid;
    grid-template-columns: 48px 1fr 80px 64px;
    gap: 12px;
    padding: 12px 18px;
    align-items: center;
}
.conf-results-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b8299;
    border-bottom: 1px solid rgba(10, 46, 92, 0.1);
}
.conf-results-row {
    border-bottom: 1px solid rgba(10, 46, 92, 0.06);
    color: var(--navy);
}
.conf-results-row strong, .conf-results-row b { color: #1d6b62; }
.conf-student-card h1 { margin-top: 8px; }
.conf-student-score {
    margin: 12px 0;
    color: #fff;
}
.conf-student-score strong {
    font-size: 2rem;
}
.conf-student-opts {
    display: grid;
    gap: 10px;
}
.conf-student-opt {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}
.conf-student-opt b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
}
.conf-student-opt.is-on {
    border-color: rgba(201, 162, 39, 0.7);
    background: rgba(201, 162, 39, 0.18);
}
.conf-wait-pulse {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}
.conf-wait-pulse i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8ec5f0;
    animation: conf-pulse 1.2s ease-in-out infinite;
}
.conf-wait-pulse i:nth-child(2) { animation-delay: 0.15s; }
.conf-wait-pulse i:nth-child(3) { animation-delay: 0.3s; }
@keyframes conf-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}
@media (max-width: 900px) {
    .conf-lobby-grid, .conf-run-grid { grid-template-columns: 1fr; }
    .conf-shell { padding: 16px 12px 40px; }
    .conf-qr-frame { width: min(280px, 78vw); height: min(280px, 78vw); }
}
.sx-campaign {
    background: linear-gradient(90deg, #0A2E5C, #1456A0 55%, #1456A0);
    color: #fff;
    font-size: 14px;
}
.sx-campaign-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.sx-campaign-copy {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
}
.sx-campaign-copy strong { font-weight: 700; }
.sx-campaign-timer {
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.14);
    padding: 4px 10px;
    border-radius: 8px;
}
.sx-logo-img img { display: block; height: 36px; width: auto; }

.create-mode-landing { margin-bottom: 18px; overflow: hidden; }
.create-mode-title { margin: 4px 0 16px; font-size: 1.35rem; color: var(--navy); }
.exam-mode-picker-hero { grid-template-columns: 1fr 1fr; gap: 16px; }
.exam-mode-visual {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 4px;
}
.exam-mode-visual .bi { font-size: 22px; color: #fff; }
.exam-mode-visual-conf { background: linear-gradient(145deg, #1456A0, #0A2E5C); }
.exam-mode-visual-classic { background: linear-gradient(145deg, #2a9d8f, #1d6b62); }
.exam-mode-card .exam-mode-visual .bi { color: #fff; }

.analysis-spotlight {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; margin-bottom: 12px;
    border-radius: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
}
.analysis-spotlight .bi { font-size: 20px; margin-top: 2px; }
.analysis-spotlight p { margin: 4px 0 0; font-size: 13px; opacity: 0.9; }

.cheat-flag { color: #b45309; font-size: 12px; font-weight: 600; }
.cheat-pending-banner {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
    padding: 12px 14px; margin-bottom: 12px; border-radius: 12px;
    background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
}
.home-refs {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 86, 160, 0.06), transparent 70%),
        #fff;
}
.home-refs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.home-refs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    min-height: 76px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.home-refs-item:hover {
    border-color: rgba(20, 86, 160, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 46, 92, 0.08);
}
.home-refs-logo {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f4f7fb;
    overflow: hidden;
}
.home-refs-logo img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}
.home-refs-logo.is-fallback {
    font-weight: 700;
    font-size: 18px;
    color: #1456a0;
    background: linear-gradient(145deg, #e8f1fb, #f7fafc);
}
.home-refs-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.home-refs-meta strong {
    font-size: 14px;
    font-weight: 650;
    color: #0a2e5c;
    line-height: 1.25;
}
.home-refs-meta em {
    font-style: normal;
    font-size: 12px;
    color: #5b6b7c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 960px) {
    .home-refs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .home-refs-grid { grid-template-columns: 1fr; }
}

.pricing-discount {
    margin-top: 28px; padding: 18px; border-radius: 14px;
    background: #f0f7ff; border: 1px solid rgba(15,94,168,0.15);
}
.pricing-discount .field { max-width: 320px; }

.checkout-main .checkout-hero {
    padding: 48px 0 12px;
}
.checkout-layout { max-width: 1080px; margin: 0 auto; }
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(10, 46, 92, 0.1);
    margin-bottom: 16px;
}
.checkout-item p { margin: 4px 0 0; font-size: 13px; }
.checkout-coupon { margin-bottom: 18px; }
.checkout-coupon label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.checkout-totals {
    margin: 0;
    display: grid;
    gap: 10px;
}
.checkout-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.checkout-totals .is-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(10, 46, 92, 0.12);
    font-size: 16px;
    font-weight: 700;
}
.checkout-plan-switch { margin: 8px 0 4px; }
.checkout-success { max-width: 640px; margin: 0 auto; }
@media (max-width: 860px) {
    .checkout-grid { grid-template-columns: 1fr; }
}


/* =========================================================================
   Marka görselleri + Bootstrap 5.3 uyumu
   ========================================================================= */

body {
    --bs-body-font-family: var(--sans);
}

/* Bootstrap reboot ile çakışan kendi container/btn kurallarımız öncelikli */
.container {
    width: min(1140px, calc(100% - 40px));
    max-width: 1140px;
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
}

.btn,
a.btn,
button.btn {
    --bs-btn-border-width: 1.5px;
    text-transform: none;
    letter-spacing: normal;
}

.btn-outline,
a.btn-outline {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: var(--accent-line);
    box-shadow: none;
}
.btn-outline:hover,
a.btn-outline:hover {
    --btn-bg: var(--gold-soft);
    --btn-border: var(--gold);
    --btn-fg: var(--navy);
}

.btn-lg,
a.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15.5px; }

/* Toast: Bootstrap .toast ile çakışmasın */
#toast.toast {
    position: fixed;
    z-index: 1080;
    right: 18px;
    bottom: 18px;
    display: block;
    width: auto;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-lg);
}
#toast.toast.is-on { opacity: 1; transform: none; }
#toast.toast.is-error { background: var(--danger); }
#toast.toast.is-success { background: var(--ok); }
#toast.toast[hidden] { display: none !important; }

.sx-logo-img img,
.brand-logo-img {
    display: block;
    height: 40px;
    width: auto;
}
.brand-logo-img {
    height: 32px;
    width: 32px;
    border-radius: 9px;
}
.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.auth-modal-brand img {
    display: block;
    height: 36px;
    width: auto;
}

.eyebrow { color: var(--gold-dark); }

.home-feature-ico,
.hm-feature-ico {
    background: linear-gradient(145deg, var(--accent), var(--navy)) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(10, 46, 92, 0.18);
}
.home-feature-card:hover .home-feature-ico {
    box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
}

.hm-hero-art {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 28px 60px rgba(10, 46, 92, 0.18);
    background: #fff;
}
.hm-hero-art img {
    display: block;
    width: 100%;
    height: auto;
}

.hm-shot {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #fff;
}
.hm-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.hm-shot-secure {
    margin-top: 18px;
    transform: translateX(18px);
}
.hm-showcase-visuals {
    display: grid;
    gap: 0;
}

.sx-campaign {
    background: linear-gradient(90deg, var(--navy), #1456A0 50%, var(--gold-dark));
}

.sx-dock-center {
    background: linear-gradient(145deg, #1456A0, var(--navy)) !important;
    box-shadow: 0 8px 18px rgba(20, 86, 160, 0.28), 0 0 0 2px rgba(201, 162, 39, 0.35);
}

.sx-account-avatar {
    background: var(--gold-soft);
    border-color: var(--gold-line);
    color: var(--gold-dark);
}

.pricing-card.is-featured {
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(201, 162, 39, 0.18);
}
.pricing-badge {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.page-focus .focus-shell {
    background:
        url("brand/pattern-dots.svg"),
        linear-gradient(160deg, #eef3fa 0%, #f7f4ea 100%);
}

.analysis-spotlight {
    background: linear-gradient(135deg, #fff8e6, #fff);
    border-color: var(--gold-line);
    color: var(--navy);
}

@media (max-width: 900px) {
    .hm-shot-secure { transform: none; margin-top: 14px; }
}
