/* =========================================================
   Vize360 — site stylesheet
   ========================================================= */
:root {
    --navy-950: #041634;
    --navy-900: #06224D;
    --navy: #0D47A1;
    --blue: #1565C0;
    --sky: #2196F3;
    --teal: #00BCD4;
    --green: #1FB58A;
    --ink: #0B1F3A;
    --muted: #5A6B80;
    --line: #DCE6F0;
    --mist: #F2F6FB;
    --paper: #FFFFFF;
    --warn: #F59E0B;
    --warn-bg: #FFF6E5;
    --danger: #E5484D;
    --ok-bg: #E6F7F1;

    --grad-brand: linear-gradient(120deg, #1565C0 0%, #0E8FD0 55%, #00BCD4 100%);
    --grad-orbit: linear-gradient(90deg, #1E7BE0, #13B3C5 60%, #22C07A);

    --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(6, 34, 77, 0.06), 0 2px 8px rgba(6, 34, 77, 0.05);
    --shadow: 0 10px 30px rgba(6, 34, 77, 0.10);

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-link-color: var(--blue);
    --bs-link-color-rgb: 21, 101, 192;
    --bs-link-hover-color: var(--navy);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--mist);
    min-height: 100vh;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
h4, h5 { font-weight: 700; }

a { text-underline-offset: 3px; }
.text-muted { color: var(--muted) !important; }
.fw-600 { font-weight: 600; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 3000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; box-shadow: none; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 11px; padding: 0.6rem 1.15rem; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; border-radius: 13px; }
.btn-brand {
    color: #fff; border: 0;
    background: var(--grad-brand);
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.28);
}
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; filter: brightness(1.06); box-shadow: 0 10px 24px rgba(21, 101, 192, 0.34); }
.btn-brand:disabled { color: #fff; opacity: 0.55; }
.btn-ghost { color: var(--navy); border: 2px solid var(--line); background: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-on-dark { color: #fff; border: 2px solid rgba(255, 255, 255, 0.35); background: transparent; }
.btn-on-dark:hover, .btn-on-dark:focus-visible { color: var(--navy); background: #fff; border-color: #fff; }
.btn-danger-soft { color: var(--danger); border: 2px solid #F6CACB; background: #fff; }
.btn-danger-soft:hover, .btn-danger-soft:focus-visible { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--blue); background: #fff; border: 2px solid var(--blue);
    font-size: 0.92rem; padding: 0.45rem 1rem;
}
.btn-back:hover, .btn-back:focus-visible { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Navigation ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 0;
}
.site-nav .navbar-brand img { height: 46px; width: auto; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: 0.5rem 0.85rem !important; border-radius: 10px; }
.site-nav .nav-link:hover { color: var(--blue); }
.site-nav .nav-link.active { color: var(--blue); background: rgba(21, 101, 192, 0.08); }
.site-nav .navbar-toggler { border: 2px solid var(--line); color: var(--navy); padding: 0.4rem 0.7rem; }
.site-nav .btn { padding: 0.5rem 1rem; }
.user-chip { display: inline-flex !important; align-items: center; gap: 8px; }
.avatar {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-brand); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
}
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { padding: 12px 0 6px; }
    .site-nav .navbar-nav .btn { width: 100%; margin-top: 8px; }
}
@media (max-width: 575.98px) { .site-nav .navbar-brand img { height: 38px; } }

.flash-stack { position: relative; z-index: 5; margin-top: 16px; }
.flash-stack .alert { border-radius: var(--radius); border: 0; box-shadow: var(--shadow-sm); }

/* ---------- Landing: hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1000px 520px at 85% 10%, rgba(0, 188, 212, 0.20), transparent 60%),
        radial-gradient(700px 480px at 0% 100%, rgba(33, 150, 243, 0.22), transparent 60%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, #0B3F8F 100%);
    color: #fff;
    padding: 84px 0 120px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 13ch; }
.hero-lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin: 22px 0 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.hero-points i { color: #3BE0B5; margin-right: 6px; }

.hero-visual { position: relative; max-width: 470px; margin-inline: auto; }
.orbit {
    position: absolute; inset: -12% -16%;
    pointer-events: none;
}
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: url(#orbitGrad); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1180 200; }

.mock {
    position: relative;
    background: #fff; color: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    padding: 22px;
}
.mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mock-head .fi { width: 2.1rem; line-height: 1.5rem; border-radius: 5px; box-shadow: 0 0 0 1px var(--line); }
.mock-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.mock-sub { color: var(--muted); font-size: 0.85rem; }
.mock-progress { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 6px 0 16px; }
.mock-progress span { display: block; height: 100%; width: 100%; background: var(--grad-orbit); transform-origin: left; animation: fillbar 2.8s ease-out 0.3s both; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.mock-row .ic {
    width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(21, 101, 192, 0.08); color: var(--blue);
}
.mock-row .state { margin-left: auto; font-size: 0.8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.mock-row .state.done { color: var(--green); }
.mock-row .check { opacity: 0; animation: pop 0.35s ease-out both; }
.mock-row:nth-of-type(1) .check { animation-delay: 0.6s; }
.mock-row:nth-of-type(2) .check { animation-delay: 1.1s; }
.mock-row:nth-of-type(3) .check { animation-delay: 1.6s; }
.mock-row:nth-of-type(4) .check { animation-delay: 2.1s; }
.mock-pdf {
    margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 12px; padding: 12px; color: #fff; font-weight: 700;
    background: var(--grad-brand);
}
.mock-badge {
    position: absolute; right: -18px; bottom: -22px;
    background: #fff; border-radius: 14px; padding: 10px 14px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.mock-badge i { color: var(--green); font-size: 1.3rem; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 991.98px) {
    .hero { padding: 56px 0 104px; }
    .purpose { margin-top: -44px; }
    .hero-visual { margin-top: 56px; }
    .mock-badge { right: 8px; }
}

/* ---------- Landing: sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: #fff; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.purpose { margin-top: -64px; position: relative; z-index: 2; }
.purpose-card {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    padding: 44px;
}
.purpose-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-line { border-left: 3px solid var(--teal); padding-left: 16px; }
.stat-line strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.stat-line span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 575.98px) { .purpose-card { padding: 26px; } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; color: #fff;
    background: var(--grad-brand);
}
.steps li::after {
    content: ""; position: absolute; top: 21px; left: 54px; right: -10px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 991.98px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .steps li::after { display: none; }
}
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; margin-top: 48px; }
.feature { display: flex; gap: 16px; }
.feature .ic {
    flex: 0 0 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--blue); background: rgba(21, 101, 192, 0.09);
}
.feature h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 767.98px) { .feature-list { grid-template-columns: 1fr; } }

.country-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.country-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.country-item .fi { width: 2.6rem; line-height: 1.95rem; border-radius: 6px; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--line); }
.country-item strong { font-family: var(--font-display); display: block; }
.country-item span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 991.98px) { .country-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .country-strip { grid-template-columns: 1fr; } }

.trust {
    background: linear-gradient(160deg, var(--navy-950), var(--navy-900));
    color: rgba(255, 255, 255, 0.85);
}
.trust h2 { color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.trust-grid div { border-top: 2px solid rgba(0, 188, 212, 0.55); padding-top: 18px; }
.trust-grid strong { color: #fff; font-family: var(--font-display); display: block; margin-bottom: 6px; }
.trust-grid p { margin: 0; font-size: 0.97rem; }
.trust a { color: #7FE3F0; }
@media (max-width: 767.98px) { .trust-grid { grid-template-columns: 1fr; } }

.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--ink); padding: 1.1rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: rgba(21, 101, 192, 0.06); color: var(--navy); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); }

.cta-band {
    background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
    padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.cta-band .btn-light { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 56px 0 28px; margin-top: auto; }
.site-footer img { height: 44px; width: auto; }
.footer-note { font-size: 0.92rem; max-width: 46ch; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 0.88rem; }

/* ---------- Panels & forms ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.panel-body { padding: 28px; }
.panel-head { padding: 20px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: 1.2rem; margin: 0; }
@media (max-width: 575.98px) { .panel-body { padding: 20px; } .panel-head { padding: 16px 20px; } }

.form-label { font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: 11px; padding: 0.7rem 0.9rem; font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.12); }
.form-text { color: var(--muted); }
.invalid-feedback { font-weight: 500; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.input-icon { position: relative; }
.input-icon .toggle-pass {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; color: var(--muted); padding: 6px 10px; border-radius: 8px;
}
.input-icon .form-control { padding-right: 46px; }

.error-box {
    background: #FDECEC; color: #8E1E22; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px;
}
.error-box ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Auth ---------- */
.auth-wrap { padding: 48px 0 72px; }
.auth-card { display: grid; grid-template-columns: 1.05fr 0.95fr; overflow: hidden; }
.auth-form { padding: 44px; }
.auth-form h1 { font-size: 1.9rem; }
.auth-aside {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--navy-950), var(--navy) 70%, #0F7BB5);
    color: rgba(255, 255, 255, 0.86); padding: 44px;
    display: flex; flex-direction: column; justify-content: center;
}
.auth-aside h2 { color: #fff; font-size: 1.6rem; }
.auth-aside ul { list-style: none; padding: 0; margin: 22px 0 0; }
.auth-aside li { display: flex; gap: 12px; margin-bottom: 16px; }
.auth-aside li i { color: #3BE0B5; margin-top: 5px; }
.auth-aside::after {
    content: ""; position: absolute; width: 380px; height: 380px; right: -160px; bottom: -160px;
    border-radius: 50%; border: 10px solid rgba(0, 188, 212, 0.25);
}
.password-meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 8px; overflow: hidden; }
.password-meter span { display: block; height: 100%; width: 0; transition: width 0.2s ease, background-color 0.2s ease; }
@media (max-width: 991.98px) {
    .auth-card { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
}
@media (max-width: 575.98px) { .auth-form { padding: 26px; } }

/* ---------- Profile ---------- */
.profile-nav { position: sticky; top: 96px; }
.profile-nav .nav-link {
    color: var(--ink); font-weight: 600; border-radius: 11px; padding: 0.65rem 0.9rem;
    display: flex; align-items: center; gap: 10px;
}
.profile-nav .nav-link:hover { background: rgba(21, 101, 192, 0.06); color: var(--blue); }
.profile-nav .nav-link i { width: 18px; text-align: center; color: var(--blue); }
.completion { display: flex; align-items: center; gap: 14px; }
.completion-ring {
    --p: 0;
    width: 64px; height: 64px; border-radius: 50%; flex: 0 0 64px;
    background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--line) 0);
    display: flex; align-items: center; justify-content: center;
}
.completion-ring span {
    width: 50px; height: 50px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.lock-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); background: var(--mist); border-radius: var(--radius); padding: 12px 14px; }
.lock-note i { color: var(--green); margin-top: 3px; }
.section-divider { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin: 8px 0 14px; }

/* ---------- Dashboard ---------- */
.app-row {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 18px 22px; border-top: 1px solid var(--line);
}
.app-row:first-child { border-top: 0; }
.app-row .fi { width: 2.6rem; line-height: 1.95rem; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.app-row .meta { flex: 1 1 220px; min-width: 0; }
.app-row .meta strong { font-family: var(--font-display); display: block; }
.app-row .meta span { color: var(--muted); font-size: 0.9rem; }
.app-row .progress-wrap { flex: 0 1 220px; min-width: 160px; }
.app-row .actions { display: flex; gap: 8px; }
.bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--grad-orbit); }
.bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 6px; }
.empty {
    text-align: center; padding: 56px 20px; color: var(--muted);
}
.empty .ic {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    background: rgba(21, 101, 192, 0.08); color: var(--blue);
}
.empty h2 { font-size: 1.3rem; color: var(--ink); }

/* ---------- Application wizard ---------- */
.stepper { display: flex; justify-content: space-between; position: relative; margin: 8px 0 36px; }
.stepper::before { content: ""; position: absolute; top: 20px; left: 10%; right: 10%; height: 3px; background: var(--line); }
.stepper-item { flex: 1; text-align: center; position: relative; z-index: 1; }
.stepper-circle {
    width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 3px solid var(--line); font-weight: 700; color: var(--muted);
}
.stepper-item.active .stepper-circle { background: var(--grad-brand); border-color: transparent; color: #fff; }
.stepper-item.done .stepper-circle { background: var(--green); border-color: var(--green); color: #fff; }
.stepper-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.stepper-item.active .stepper-label { color: var(--ink); }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 991.98px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .pick-grid { grid-template-columns: 1fr; } }
.pick-card {
    width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
    padding: 20px; display: flex; gap: 14px; align-items: flex-start;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pick-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.pick-card .fi { width: 2.8rem; line-height: 2.1rem; border-radius: 6px; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--line); }
.pick-card strong { font-family: var(--font-display); font-size: 1.1rem; display: block; color: var(--ink); }
.pick-card span { color: var(--muted); font-size: 0.9rem; }

.visa-card {
    width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; margin-bottom: 12px; transition: border-color 0.15s ease;
}
.visa-card:hover { border-color: var(--teal); }
.visa-card strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.visa-card p { color: var(--muted); margin: 4px 0 12px; }
.visa-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; color: var(--muted); }
.visa-meta i { color: var(--teal); margin-right: 6px; }

.info-note { background: rgba(21, 101, 192, 0.07); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 14px 18px; }
.warn-note { background: var(--warn-bg); border-left: 4px solid var(--warn); border-radius: var(--radius); padding: 12px 16px; color: #7A4A00; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts div span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.facts div strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
@media (max-width: 767.98px) { .facts { grid-template-columns: 1fr 1fr; } }

.req-doc { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.req-doc:first-child { border-top: 0; }
.doc-ic {
    flex: 0 0 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(21, 101, 192, 0.08); color: var(--blue);
}
.req-doc strong { color: var(--ink); }
.req-doc p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.badge-opt { background: var(--warn-bg); color: #B45309; font-size: 0.7rem; font-weight: 700; border-radius: 20px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; }

.summary-table { width: 100%; }
.summary-table tr { border-bottom: 1px solid var(--line); }
.summary-table tr:last-child { border-bottom: 0; }
.summary-table th { font-weight: 600; color: var(--muted); padding: 11px 0; width: 45%; }
.summary-table td { font-weight: 600; text-align: right; padding: 11px 0; }

.progress-line { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.progress-line span { display: block; height: 100%; width: 0; background: var(--grad-orbit); transition: width 0.3s ease; }

.doc-tile {
    width: 100%; height: 100%; text-align: left; background: #fff;
    border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px;
    display: flex; align-items: center; gap: 12px; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.doc-tile:hover { border-color: var(--teal); }
.doc-tile.selected { border-color: var(--blue); background: rgba(21, 101, 192, 0.05); box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1); }
.doc-tile.done .doc-ic { background: var(--ok-bg); color: var(--green); }
.doc-tile strong { display: block; line-height: 1.25; color: var(--ink); }
.doc-status { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.doc-status.ok { color: var(--green); }
.doc-status.opt { color: #B45309; }

.dropzone {
    border: 2px dashed var(--teal); border-radius: var(--radius); padding: 36px 20px; text-align: center; cursor: pointer;
    background: rgba(0, 188, 212, 0.05); transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--blue); background: rgba(21, 101, 192, 0.07); }
.dropzone .big { font-size: 2.4rem; color: var(--teal); margin-bottom: 8px; }
.dropzone strong { display: block; }
.dropzone span { color: var(--muted); font-size: 0.9rem; }

.upload-progress { margin-top: 14px; }
.upload-progress .item { font-size: 0.88rem; margin-bottom: 8px; }
.upload-progress .item .bar { margin-top: 4px; height: 6px; }

.file-group-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.file-group-title:first-child { margin-top: 0; }
.file-group-title i { color: var(--teal); }
.file-item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; background: #fff;
}
.file-info { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.file-info > div { min-width: 0; }
.file-name { font-weight: 600; overflow-wrap: anywhere; }
.file-size { font-size: 0.85rem; color: var(--muted); }
.file-error { color: var(--danger); font-weight: 600; }
.file-badge {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.72rem; background: var(--grad-brand);
}
.file-badge.doc { background: linear-gradient(135deg, #2B579A, #4A7BC8); }
.file-badge.txt { background: linear-gradient(135deg, #546E7A, #78909C); }
.file-badge.img { background: var(--green); }
.file-badge img { width: 100%; height: 100%; object-fit: cover; }
.file-actions { display: flex; gap: 6px; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
    display: inline-flex; align-items: center; justify-content: center; color: var(--blue);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--blue); color: #fff; }
.icon-btn.danger { color: var(--danger); }
.icon-btn.danger:hover { background: var(--danger); color: #fff; }
.icon-btn:disabled { opacity: 0.45; pointer-events: none; }
@media (max-width: 575.98px) { .icon-btn { width: 34px; height: 34px; } .file-item { padding: 10px; } }

.empty-inline { text-align: center; color: var(--muted); padding: 22px 10px; }
.empty-inline i { display: block; font-size: 1.8rem; color: var(--line); margin-bottom: 8px; }

.done-icon {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--green); color: #fff; font-size: 2.4rem;
    animation: pop 0.45s ease-out both;
}
.done-icon.partial { background: var(--warn); }

.toast-lite {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2000;
    background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600;
    max-width: calc(100% - 32px); box-shadow: var(--shadow); display: none;
}

.preview-body { background: #E9EEF3; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 0; }
.preview-body img { max-width: 100%; max-height: 75vh; object-fit: contain; }
.preview-body iframe { width: 100%; height: 75vh; border: 0; background: #fff; }
.preview-paper { align-self: stretch; width: 100%; max-height: 75vh; overflow: auto; padding: 24px; }
.preview-paper .doc-paper { max-width: 794px; margin: 0 auto; padding: 48px; box-shadow: var(--shadow-sm); }
@media (max-width: 575.98px) { .preview-paper { padding: 12px; } .preview-paper .doc-paper { padding: 20px; } }

/* Word/TXT render (önizleme ve PDF sayfaları) */
.doc-paper {
    display: flow-root; background: #fff; color: #1F2933;
    font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55;
    overflow-wrap: anywhere; text-align: left; letter-spacing: normal;
}
.doc-paper p { margin: 0 0 10px; }
.doc-paper h1 { font-size: 26px; margin: 0 0 14px; font-weight: 700; font-family: inherit; color: inherit; letter-spacing: normal; }
.doc-paper h2 { font-size: 21px; margin: 16px 0 10px; font-weight: 700; font-family: inherit; color: inherit; letter-spacing: normal; }
.doc-paper h3, .doc-paper h4 { font-size: 17px; margin: 14px 0 8px; font-weight: 700; font-family: inherit; color: inherit; letter-spacing: normal; }
.doc-paper ul, .doc-paper ol { margin: 0 0 10px; padding-left: 24px; }
.doc-paper table { border-collapse: collapse; width: 100%; margin: 0 0 12px; }
.doc-paper td, .doc-paper th { border: 1px solid #CFD8DC; padding: 4px 6px; vertical-align: top; }
.doc-paper td p, .doc-paper th p { margin: 0; }
.doc-paper img { max-width: 100%; height: auto; }
.doc-paper .tl { white-space: pre-wrap; min-height: 1.55em; tab-size: 4; }
.doc-paper .txt .tl { font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.render-host { position: absolute; left: -20000px; top: 0; width: 794px; }
.render-page { width: 794px; height: 1123px; padding: 64px; background: #fff; }
.render-clip { overflow: hidden; }

/* ---------- Legal ---------- */
.legal-hero { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: rgba(255, 255, 255, 0.82); padding: 56px 0 48px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.92rem; margin-top: 14px; }
.legal-meta i { color: var(--teal); margin-right: 6px; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
    display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px;
    color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500;
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 0.78rem; color: var(--teal); padding-top: 2px; }
.legal-toc a:hover, .legal-toc a.active { background: rgba(21, 101, 192, 0.07); color: var(--navy); }
.legal-body { font-size: 1.02rem; }
.legal-body section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-body section:first-child { border-top: 0; padding-top: 0; }
.legal-body h2 { font-size: 1.35rem; margin-bottom: 14px; }
.legal-body p, .legal-body li { color: #33445A; max-width: 72ch; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 0.95rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.legal-table th { background: var(--mist); font-weight: 700; color: var(--ink); }
.legal-callout { background: var(--mist); border-radius: var(--radius); padding: 16px 18px; }
.placeholder-note { background: var(--warn-bg); color: #7A4A00; border-radius: var(--radius); padding: 12px 16px; font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .mock-row .check { opacity: 1; }
}

@media print {
    .site-nav, .site-footer, .legal-toc, .btn { display: none !important; }
    body { background: #fff; }
}
