:root {
    --ink: #17211e;
    --muted: #5d6b65;
    --line: #e4ddd0;
    --paper: #f4f1ea;
    --white: #fffcf8;
    --green: #0e6b4f;
    --green-deep: #083528;
    --green-dark: #0a533d;
    --mint: #e7f3ec;
    --gold: #b68b3c;
    --gold-soft: #f8efd8;
    --orange: #b86a12;
    --danger: #9f2c2c;
    --shadow: 0 24px 50px rgba(23, 33, 30, 0.08);
    --shadow-soft: 0 10px 30px rgba(23, 33, 30, 0.05);
    --radius: 22px;
    --font: "Plus Jakarta Sans", "Segoe UI", "Noto Sans Arabic", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 100% -80px, rgba(182, 139, 60, 0.16), transparent 55%),
        radial-gradient(800px 380px at -120px 40px, rgba(14, 107, 79, 0.1), transparent 50%),
        var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
}
main { flex: 1; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--green-deep); }
img { max-width: 100%; }
::selection { background: #d9f0e4; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.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;
}
.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 40;
    background: var(--green-deep);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 252, 248, 0.86);
    border-bottom: 1px solid rgba(228, 221, 208, 0.9);
    backdrop-filter: blur(16px);
}
.nav-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}
.brand-mark {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(160deg, #1a8a64 0%, #0b4634 100%);
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.16), 0 8px 18px rgba(8, 53, 40, 0.22);
}
.brand-mark::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e7c56d;
    box-shadow: 0 0 0 3px rgba(231, 197, 109, 0.2);
}
.brand-text strong,
.brand-text small { display: block; }
.brand-text strong { font-size: 15px; letter-spacing: -0.03em; }
.brand-text small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.partner-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.partner-logo {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
}
.partner-logo-unissula { height: 38px; max-width: 190px; }
.partner-logo-unggul { max-width: 86px; }
.partner-logo-birrul { max-width: 58px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    place-items: center;
    gap: 5px;
    cursor: pointer;
}
.nav-burger span:not(.sr-only) {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
}
.nav-links a:hover { color: var(--green-deep); background: rgba(14, 107, 79, 0.06); }
.nav-links a.is-active { color: var(--green-deep); background: var(--mint); }
.language-switcher select {
    margin-left: 8px;
    border: 1px solid var(--line);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235d6b65' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center no-repeat;
    border-radius: 999px;
    padding: 8px 32px 8px 12px;
    font-size: 12px;
    font-weight: 600;
    appearance: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    background: rgba(14, 107, 79, 0.08);
    border: 1px solid rgba(14, 107, 79, 0.12);
    border-radius: 999px;
    padding: 5px 10px 5px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(182, 139, 60, 0.18);
}

.hero { position: relative; overflow: hidden; padding: 72px 0 36px; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 107, 79, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 107, 79, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
    align-items: center;
}
.hero h1,
.page-head h1,
.success-card h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 800;
    margin: 16px 0 14px;
}
.hero-copy { max-width: 560px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-top: 22px;
}
.trust-row li {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.8);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}
.hero-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 22px;
}
.hero-panel .card-kicker { margin-bottom: 8px; }
.card-kicker {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.steps { list-style: none; padding: 8px 4px 0; }
.steps li {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 14px 0;
}
.steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 52px;
    bottom: -8px;
    width: 1px;
    background: linear-gradient(var(--gold), rgba(182, 139, 60, 0));
}
.step-index {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--mint);
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 800;
}
.steps strong { display: block; font-size: 16px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 14px; margin-top: 3px; }

.section { padding: 72px 0 24px; }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 22px;
}
.section-heading h2 {
    max-width: 640px;
    margin-top: 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.045em;
}
.section-heading p { max-width: 340px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--gold-soft);
    color: #7a5a18;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 18px 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.feature-card p { color: var(--muted); font-size: 14px; }

.cta-band {
    width: min(1120px, calc(100% - 40px));
    margin: 48px auto 72px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 28px;
    color: #f7f3ea;
    background:
        radial-gradient(400px 180px at 100% 0%, rgba(231, 197, 109, 0.28), transparent 60%),
        linear-gradient(135deg, #0e4a36 0%, #08261c 70%);
    box-shadow: var(--shadow);
}
.cta-band h2 {
    max-width: 640px;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.04em;
    line-height: 1.15;
}
.cta-band p { max-width: 560px; margin-top: 8px; color: #d5e4dc; }
.cta-band .button-primary { background: white; color: var(--green-deep); box-shadow: none; }
.cta-band .button-primary:hover { background: var(--gold-soft); }

.site-footer {
    margin-top: auto;
    color: #d5e2db;
    background: #08261c;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 0 22px;
}
.footer-brand p { max-width: 360px; margin-top: 14px; color: #b7c9c0; font-size: 14px; }
.site-footer .brand { color: white; }
.site-footer .brand-text small { color: #b7c9c0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a { color: #f4f7f5; text-decoration: none; font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: #e7c56d; }
.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9fb1a8;
    font-size: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 10px 20px rgba(14, 107, 79, 0.22); }
.button-primary:hover { background: var(--green-dark); color: white; }
.button-secondary {
    background: var(--white);
    color: var(--green-deep);
    border: 1px solid var(--line);
}
.button-secondary:hover { background: var(--gold-soft); }
.button-quiet { background: transparent; color: var(--green); }
.button-wide { width: 100%; margin-top: 18px; }

.page-head { padding: 48px 0 78px; }
.page-head h1 { font-size: clamp(36px, 4vw, 52px); }
.page-head p { max-width: 620px; color: var(--muted); }
.crumb { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--green); text-decoration: none; font-weight: 700; }
.form-section,
.track-section { position: relative; margin-top: -46px; padding-bottom: 80px; }
.form-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: start; }
.form-card,
.track-search,
.track-result,
.success-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-card { padding: 28px; }
.form-card-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.form-card-heading h2 { font-size: 22px; letter-spacing: -0.03em; }
.form-card-heading p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.form-number {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--mint);
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 800;
}
.form-card .input,
.track-search .input,
.admin-form .input { margin-top: 16px; }
.form-card label,
.track-search label,
.admin-form label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 700;
}
.input.required > label::after { content: " *"; color: var(--orange); }
.form-card input,
.form-card select,
.form-card textarea,
.track-search input,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    background: #fffcf8;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-card input,
.form-card select,
.track-search input,
.admin-form input,
.admin-form select { min-height: 48px; }
.form-card textarea,
.admin-form textarea { resize: vertical; min-height: 120px; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.track-search input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(14, 107, 79, 0.12);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.error-message { margin-top: 6px; color: var(--danger); font-size: 12px; font-weight: 600; }
.input.error input,
.input.error select,
.input.error textarea { border-color: #e3b4b4; }
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    background: var(--mint);
    border-radius: 16px;
    cursor: pointer;
}
.check-row input { width: auto; margin-top: 4px; accent-color: var(--green); }
.check-row strong,
.check-row small { display: block; }
.check-row strong { font-size: 14px; }
.check-row small { color: var(--muted); font-size: 12px; }
.privacy-note {
    margin-top: 18px;
    padding: 14px 14px 14px 16px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: var(--gold-soft);
}
.privacy-note strong { font-size: 13px; }
.privacy-note p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.hp-field,
.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-layout .form-card:last-child { position: sticky; top: 96px; }
.captcha-slot { margin-top: 16px; }
.embed-body { min-height: 0; background: var(--paper); }
.embed-content .page-head { padding: 30px 0 62px; }
.embed-content .page-head h1 { font-size: clamp(30px, 4vw, 42px); }
.embed-content .crumb { display: none; }
.embed-content .form-section { padding-bottom: 32px; }
.embed-content .form-layout .form-card:last-child { position: static; }
.embed-content .success-wrap { min-height: 520px; padding: 32px 20px; }

.success-wrap {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    padding: 48px 20px 72px;
}
.success-card { width: min(680px, 100%); padding: 42px 36px; text-align: center; }
.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    font-size: 28px;
    font-weight: 800;
}
.success-card h1 { font-size: clamp(30px, 4vw, 42px); }
.success-card > p { color: var(--muted); }
.ticket-box {
    display: grid;
    gap: 12px;
    margin: 24px 0 14px;
    text-align: left;
}
.secret-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 16px;
    border: 1px dashed #c9b58a;
    border-radius: 16px;
    background: #fffaf0;
}
.secret-row span { grid-column: 1; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.secret-row strong {
    grid-column: 1;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 15px;
    letter-spacing: 0;
    word-break: break-all;
}
.copy-btn {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--green-deep);
    cursor: pointer;
}
.copy-btn svg { width: 18px; height: 18px; }
.copy-btn.is-copied { background: var(--mint); border-color: #b7dfc8; }
.warning-note { color: #8a5a12; font-size: 13px; font-weight: 600; }
.success-card .hero-actions { justify-content: center; }

.track-search { padding: 22px; margin-bottom: 18px; }
.track-search .two-col { margin-bottom: 4px; }
.track-result { padding: 28px; }
.result-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.result-header h2 { margin-top: 8px; font-size: 28px; letter-spacing: -0.04em; }
.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--mint);
    color: var(--green-deep);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.status-submitted { background: #fff4d6; color: #8a5a00; }
.status-verified { background: #e7f0ff; color: #1d4e89; }
.status-needs_info { background: #fff1e6; color: #9a4d12; }
.status-assigned { background: #efe9ff; color: #5b3cc4; }
.status-in_progress { background: #e5f6f2; color: #0d6e56; }
.status-resolved { background: #e5f7ea; color: #0e7a3d; }
.status-rejected { background: #fdecec; color: #9f2c2c; }
.status-closed { background: #eef1f0; color: #52615b; }
.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.result-summary small,
.result-summary strong { display: block; }
.result-summary small { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.track-result > h3 { margin: 22px 0 8px; font-size: 24px; letter-spacing: -0.03em; }
.description-text { color: var(--muted); font-size: 15px; line-height: 1.7; }
.timeline { margin-top: 26px; padding-top: 8px; }
.timeline h3 { margin-bottom: 8px; font-size: 18px; }
.timeline-item { position: relative; display: flex; gap: 12px; padding: 10px 0; }
.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 26px;
    bottom: -6px;
    width: 1px;
    background: var(--line);
}
.timeline-dot {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 4px;
    border: 3px solid var(--gold-soft);
    border-radius: 50%;
    background: var(--green);
    z-index: 1;
}
.timeline-item strong,
.timeline-item small { display: block; }
.timeline-item small { color: var(--muted); font-size: 12px; }
.timeline-item p { margin-top: 4px; color: var(--muted); font-size: 13px; }

.flash-stack { display: grid; gap: 10px; margin-top: 18px; }
.flash-stack .message {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.flash-stack .message.success { background: #e8f8ef; color: #0d6b3f; border-color: #b7e7cb; }
.flash-stack .message.error { background: #fdecec; color: #9f1c1c; border-color: #f5c2c2; }
.flash-stack .message.warning { background: #fff6e5; color: #8a5a00; border-color: #f3ddb0; }
.flash-stack .message:not(.success):not(.error):not(.warning) { background: var(--white); border-color: var(--line); }
.hidden { display: none !important; }

.rtl { text-align: right; }
.rtl .nav-links,
.rtl .hero-actions,
.rtl .footer-links { align-items: flex-end; }
.rtl .language-switcher select { margin-left: 0; margin-right: 8px; background-position: left 10px center; padding: 8px 12px 8px 32px; }
.rtl .privacy-note { border-left: 0; border-right: 3px solid var(--gold); border-radius: 14px 0 0 14px; }
.rtl .steps li:not(:last-child)::before { left: auto; right: 22px; }
.rtl .timeline-item:not(:last-child)::after { left: auto; right: 7px; }
.rtl .brand-mark::after { right: auto; left: 6px; }

@media (max-width: 900px) {
    .nav-burger { display: grid; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .partner-logos { gap: 7px; }
    .partner-logo { height: 32px; }
    .partner-logo-unissula { height: 32px; max-width: 160px; }
    .partner-logo-unggul { max-width: 72px; }
    .partner-logo-birrul { max-width: 48px; }
    .language-switcher select { width: 100%; margin: 6px 0 0; }
    .hero { padding-top: 36px; }
    .hero-grid,
    .form-layout,
    .feature-grid,
    .two-col,
    .result-summary { grid-template-columns: 1fr; }
    .form-layout .form-card:last-child { position: static; }
    .section-heading,
    .cta-band,
    .footer-grid,
    .footer-bar,
    .result-header { flex-direction: column; align-items: flex-start; }
    .cta-band { padding: 28px 22px; }
    .page-head h1 { font-size: 36px; }
    .success-card { padding: 28px 18px; }
}
@media (max-width: 520px) {
    .shell { width: min(1120px, calc(100% - 28px)); }
    .nav-row { gap: 10px; min-height: 68px; }
    .brand { gap: 8px; }
    .brand-mark { width: 36px; height: 36px; border-radius: 12px; font-size: 11px; }
    .brand-text strong { font-size: 13px; }
    .brand-text small { font-size: 9px; }
    .partner-logos { gap: 4px; }
    .partner-logo { height: 24px; }
    .partner-logo-unissula { height: 24px; max-width: 128px; }
    .partner-logo-unggul { max-width: 54px; }
    .partner-logo-birrul { max-width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button,
    .feature-card { transition: none; }
}
