:root {
  --bg: #070914;
  --bg-soft: #0c1020;
  --panel: rgba(16, 21, 41, 0.82);
  --panel-strong: #10152a;
  --text: #f7f8ff;
  --muted: #a7aec5;
  --line: rgba(255,255,255,.11);
  --blue: #3447ff;
  --purple: #8025c8;
  --red: #d73761;
  --green: #59d08f;
  --gold: #f5c566;
  --danger: #ff6f86;
  --shadow: 0 22px 70px rgba(0,0,0,.35);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(52,71,255,.18), transparent 32rem),
    radial-gradient(circle at 95% 8%, rgba(215,55,97,.12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(128,37,200,.45); color: white; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800;
  color: #c9cfff;
}
.eyebrow::before { content:""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--blue),var(--red)); }
.gradient-text { background: linear-gradient(90deg,#6070ff 0%,#b65ee9 52%,#ff647f 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.section { padding: 92px 0; }
.section-tight { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2, .page-hero h1 { margin: 10px 0 14px; line-height: 1.04; letter-spacing: -.04em; }
.section-head h2 { font-size: clamp(2rem,4vw,3.5rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card {
  background: linear-gradient(180deg, rgba(17,23,45,.9), rgba(10,14,29,.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.badge {
  display:inline-flex; align-items:center; gap:8px; padding:7px 11px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.045); color:#d7dbec; font-size:.8rem; font-weight:700;
}
.badge.good { border-color: rgba(89,208,143,.3); color:#9ef2c2; background:rgba(89,208,143,.08); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg,var(--blue),var(--purple) 55%,var(--red)); color:white; box-shadow: 0 12px 32px rgba(89,63,218,.28); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.055); color: white; }
.btn-ghost { border-color: transparent; color: #d9ddf1; }
.btn-danger { border-color:rgba(255,111,134,.3); background:rgba(255,111,134,.09); color:#ff9aaa; }
.btn-row { display:flex; gap:12px; flex-wrap:wrap; }
.icon { width: 18px; height: 18px; display:inline-block; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: 74px;
  background: rgba(7,9,20,.78); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { height: 74px; display:flex; align-items:center; gap: 24px; }
.brand { display:flex; align-items:center; gap:12px; min-width:max-content; }
.brand img { width:44px; height:44px; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; line-height:1.05; }
.brand-copy strong { font-size:.97rem; letter-spacing:.02em; }
.brand-copy span { color:var(--muted); font-size:.72rem; margin-top:4px; }
.nav-links { display:flex; align-items:center; gap: 4px; margin-left:auto; }
.nav-links a { padding: 9px 10px; border-radius: 9px; color:#c7ccdf; font-size:.91rem; font-weight:700; }
.nav-links a:hover, .nav-links a.active { color:white; background:rgba(255,255,255,.055); }
.nav-actions { display:flex; gap:8px; align-items:center; }
.nav-actions .btn { min-height:40px; padding:0 13px; font-size:.85rem; }
.user-pill { display:none; align-items:center; gap:9px; border:1px solid var(--line); background:rgba(255,255,255,.045); border-radius:12px; padding:5px 9px 5px 6px; }
.user-pill.show { display:flex; }
.user-pill img { width:30px;height:30px;border-radius:50%;object-fit:cover;background:#1c223a; }
.user-pill span { max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750;font-size:.84rem; }
.menu-toggle { display:none; margin-left:auto; width:42px; height:42px; border:1px solid var(--line); background:rgba(255,255,255,.04); color:white; border-radius:11px; cursor:pointer; }
.mobile-menu { display:none; position:fixed; inset:74px 0 0 0; z-index:99; background:rgba(7,9,20,.98); padding:24px 20px; overflow:auto; }
.mobile-menu.open { display:block; }
.mobile-menu a { display:block; padding:15px 4px; border-bottom:1px solid var(--line); font-weight:750; }
.mobile-menu .btn { margin-top:16px; width:100%; }

/* home hero */
.hero { min-height: calc(100vh - 74px); position:relative; display:flex; align-items:center; overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0; background:url('../images/hero-airport.png') center/cover no-repeat; transform:scale(1.015); }
.hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(5,7,16,.97) 0%, rgba(5,7,16,.88) 42%, rgba(5,7,16,.4) 72%, rgba(5,7,16,.55) 100%), linear-gradient(0deg,var(--bg) 0%, transparent 24%); }
.hero .container { position:relative; z-index:2; }
.hero-content { max-width:720px; padding:76px 0 110px; }
.hero-logo { width:min(315px,72vw); margin-bottom:28px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.4)); }
.hero h1 { font-size:clamp(2.5rem,6vw,5.6rem); line-height:.95; letter-spacing:-.055em; margin:0 0 20px; }
.hero p { max-width:650px; font-size:clamp(1rem,1.8vw,1.18rem); color:#d7d9e8; margin:0 0 28px; }
.hero-meta { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:20px; }
.hero-scroll { position:absolute; z-index:2; bottom:28px; left:50%; transform:translateX(-50%); color:#a9aec3; font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; }

.stats { margin-top:-54px; position:relative; z-index:4; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); background:rgba(12,16,32,.95); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); overflow:hidden; }
.stat { padding:26px 22px; text-align:center; position:relative; }
.stat + .stat { border-left:1px solid var(--line); }
.stat strong { display:block; font-size:clamp(1.65rem,3vw,2.45rem); letter-spacing:-.04em; }
.stat span { display:block; color:var(--muted); font-size:.83rem; margin-top:4px; }

.feature-split { display:grid; grid-template-columns:1.03fr .97fr; gap:50px; align-items:center; }
.feature-image { position:relative; border-radius:26px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); }
.feature-image img { width:100%; aspect-ratio:16/10; object-fit:cover; }
.feature-image::after { content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);border-radius:26px;pointer-events:none; }
.check-list { list-style:none; padding:0; margin:24px 0 0; display:grid; gap:13px; }
.check-list li { display:flex; gap:11px; color:#d7daea; }
.check-list li::before { content:"✓"; flex:0 0 24px; width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(89,208,143,.12);color:#91ebb8;font-weight:900; }

.department-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px; }
.dept-card { position:relative; overflow:hidden; padding:24px; min-height:280px; display:flex; flex-direction:column; background:linear-gradient(180deg,rgba(17,23,45,.95),rgba(10,14,29,.95)); border:1px solid var(--line); border-radius:20px; }
.dept-card::before { content:""; position:absolute; inset:-1px; opacity:.12; background:radial-gradient(circle at 80% 0%,var(--accent,#4354ff),transparent 48%); pointer-events:none; }
.dept-logo-wrap { height:116px; display:flex; align-items:center; justify-content:flex-start; margin-bottom:18px; }
.dept-logo-wrap img { max-height:108px; max-width:120px; object-fit:contain; filter:drop-shadow(0 12px 18px rgba(0,0,0,.3)); }
.dept-card h3 { margin:auto 0 7px; font-size:1.05rem; }
.dept-card p { font-size:.9rem; color:var(--muted); }
.dept-card .more { color:#cbd1ff; font-size:.84rem; font-weight:800; margin-top:14px; }

.requirements { background:linear-gradient(180deg,rgba(52,71,255,.08),rgba(128,37,200,.04)); border-block:1px solid rgba(255,255,255,.06); }
.requirement-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:28px; }
.requirement { border:1px solid var(--line); background:rgba(255,255,255,.035); border-radius:14px; padding:16px; display:flex; gap:12px; align-items:flex-start; }
.requirement .num { width:28px;height:28px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:linear-gradient(130deg,var(--blue),var(--purple));font-weight:900;font-size:.78rem;flex:0 0 auto; }
.requirement strong { display:block; font-size:.92rem; }
.requirement span { display:block; color:var(--muted); font-size:.82rem; margin-top:2px; }

.media-strip { display:grid;grid-template-columns:1.2fr .8fr;gap:18px; }
.media-strip .media-main, .media-strip .media-side { border-radius:20px; overflow:hidden; border:1px solid var(--line); }
.media-strip img { width:100%;height:100%;object-fit:cover; }
.media-side { display:grid;grid-template-rows:1fr 1fr;gap:18px; border:none!important; overflow:visible!important; }
.media-side > div { overflow:hidden;border-radius:20px;border:1px solid var(--line); }

.cta { position:relative; overflow:hidden; border-radius:28px; border:1px solid var(--line); min-height:390px; display:flex; align-items:center; }
.cta::before { content:"";position:absolute;inset:0;background:url('../images/banner-since-2019.png') center/cover no-repeat;filter:saturate(.9); }
.cta::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,8,18,.96),rgba(6,8,18,.7) 60%,rgba(6,8,18,.35)); }
.cta-inner { position:relative;z-index:2;padding:52px;max-width:650px; }
.cta h2 { font-size:clamp(2rem,4vw,3.5rem);line-height:1;margin:8px 0 14px;letter-spacing:-.04em; }

/* pages */
.page-hero { min-height:390px; display:flex; align-items:flex-end; padding:75px 0 62px; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.page-hero::before { content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 0%,rgba(128,37,200,.2),transparent 35rem),linear-gradient(180deg,#0a0d1a,#080a14); }
.page-hero .container { position:relative;z-index:2; }
.page-hero h1 { font-size:clamp(2.6rem,6vw,5rem); max-width:920px; }
.page-hero p { max-width:770px;color:var(--muted);font-size:1.08rem;margin:0; }
.breadcrumb { color:#8f97b3;font-size:.85rem;margin-bottom:20px; }
.breadcrumb a { color:#c7cdf3; }
.info-band { display:flex;flex-wrap:wrap;gap:10px;margin-top:24px; }

.timeline { position:relative; display:grid; gap:18px; }
.timeline::before { content:"";position:absolute;left:16px;top:16px;bottom:16px;width:2px;background:linear-gradient(var(--blue),var(--purple),var(--red)); }
.timeline-item { position:relative; padding-left:52px; }
.timeline-dot { position:absolute;left:7px;top:22px;width:20px;height:20px;border:5px solid #11182e;border-radius:50%;background:#7a52ff;box-shadow:0 0 0 1px rgba(255,255,255,.12); }
.timeline-card { padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035); }
.timeline-card strong { display:block;margin-bottom:5px; }

.leader-card { padding:24px; text-align:left; }
.leader-avatar { width:62px;height:62px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--blue),var(--purple),var(--red));font-size:1.2rem;font-weight:900;margin-bottom:18px; }
.leader-card .role { color:#9ea6c2;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800; }
.leader-card .name { font-size:1.25rem;font-weight:850;margin:4px 0 0; }

.department-section { display:grid;grid-template-columns:280px 1fr;gap:34px;align-items:start;padding:30px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.028); }
.department-emblem { padding:22px;min-height:245px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.025);border:1px solid var(--line);border-radius:18px; }
.department-emblem img { max-height:210px;object-fit:contain; }
.department-section h2 { margin:0 0 10px;font-size:2rem;line-height:1.1; }
.child-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px; }
.child-card { display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025); }
.child-card img { width:58px;height:58px;object-fit:contain; }
.child-card .placeholder-logo { width:58px;height:58px;border-radius:12px;background:linear-gradient(135deg,#1f2948,#12182c);display:flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:900;color:#9ea7c5;text-align:center;padding:5px; }
.child-card strong { display:block;font-size:.9rem;line-height:1.25; }
.child-card span { display:block;color:var(--muted);font-size:.78rem;margin-top:3px; }

.doc-card { padding:24px; display:flex;flex-direction:column;min-height:190px; }
.doc-card .doc-type { color:#9da6c4;font-size:.76rem;text-transform:uppercase;letter-spacing:.11em;font-weight:850;margin-bottom:12px; }
.doc-card h3 { font-size:1.12rem;margin:0 0 8px; }
.doc-card .doc-actions { margin-top:auto;padding-top:20px; }

.gallery { columns:3 300px; column-gap:16px; }
.gallery figure { break-inside:avoid;margin:0 0 16px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#0d1122; }
.gallery img { width:100%;height:auto; }
.gallery figcaption { padding:11px 13px;color:var(--muted);font-size:.82rem; }

.support-grid { display:grid;grid-template-columns:1fr 1fr;gap:20px; }
.support-card { padding:28px; }
.support-card .big-icon { width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--blue),var(--purple));font-size:1.25rem;margin-bottom:18px; }

.account-grid { display:grid;grid-template-columns:1.05fr .95fr;gap:22px; }
.account-card { padding:28px; }
.profile-row { display:flex;gap:16px;align-items:center;margin-bottom:24px; }
.profile-row img { width:72px;height:72px;border-radius:22px;object-fit:cover;background:#161c31; }
.profile-row h2 { margin:0;font-size:1.5rem; }
.profile-row p { margin:2px 0 0;color:var(--muted); }
.account-state { padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025);display:flex;align-items:center;justify-content:space-between;gap:16px; }
.account-state + .account-state { margin-top:10px; }
.account-state strong { display:block;font-size:.92rem; }
.account-state span { display:block;color:var(--muted);font-size:.8rem; }
.login-panel { min-height:300px;display:flex;align-items:center;justify-content:center;text-align:center;padding:34px; }
.login-panel img { width:130px;margin:0 auto 18px; }

.legal { max-width:900px; }
.legal h2 { margin:42px 0 10px;font-size:1.55rem; }
.legal h3 { margin:26px 0 8px;font-size:1.1rem; }
.legal p, .legal li { color:#c3c8db; }
.legal a { color:#b8c0ff;text-decoration:underline; }

/* footer */
.footer-banner { height:132px; background:url('../images/footer-banner.png') center/cover no-repeat; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.site-footer { background:#050711; }
.footer-main { padding:54px 0 34px; display:grid; grid-template-columns:1.45fr repeat(4,1fr); gap:38px; }
.footer-brand img { width:120px;margin-bottom:18px; }
.footer-brand p { color:var(--muted);max-width:330px;font-size:.9rem; }
.footer-col h4 { margin:0 0 13px;font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;color:#e6e8f2; }
.footer-col a { display:block;color:#949db9;font-size:.88rem;padding:4px 0; }
.footer-col a:hover { color:white; }
.footer-bottom { border-top:1px solid var(--line); padding:20px 0 34px; display:flex;justify-content:space-between;gap:20px;color:#747d9a;font-size:.78rem; }

.toast { position:fixed; right:20px; bottom:20px; z-index:200; max-width:390px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:#10152a; box-shadow:var(--shadow); color:#e9ebf6; transform:translateY(30px); opacity:0; pointer-events:none; transition:.2s ease; }
.toast.show { transform:none; opacity:1; }

@media (max-width: 1060px) {
  .nav-links { display:none; }
  .nav-actions .discord-btn { display:none; }
  .menu-toggle { display:block; }
  .department-grid { grid-template-columns:repeat(3,1fr); }
  .footer-main { grid-template-columns:1.5fr repeat(2,1fr); }
}
@media (max-width: 840px) {
  .section { padding:72px 0; }
  .grid-4, .grid-3 { grid-template-columns:repeat(2,1fr); }
  .feature-split, .account-grid, .support-grid { grid-template-columns:1fr; }
  .department-grid { grid-template-columns:repeat(2,1fr); }
  .department-section { grid-template-columns:1fr; }
  .department-emblem { min-height:190px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .stat:nth-child(4) { border-top:1px solid var(--line); }
  .requirement-grid { grid-template-columns:1fr; }
  .media-strip { grid-template-columns:1fr; }
  .media-main { aspect-ratio:16/9; }
  .media-side { grid-template-columns:1fr 1fr;grid-template-rows:none; }
  .footer-main { grid-template-columns:repeat(2,1fr); }
  .footer-brand { grid-column:1/-1; }
}
@media (max-width: 620px) {
  .container { width:min(calc(100% - 26px),var(--max)); }
  .site-header,.nav { height:68px; }
  .mobile-menu { inset:68px 0 0 0; }
  .brand-copy span { display:none; }
  .brand img { width:40px;height:40px; }
  .nav-actions .account-btn { display:none; }
  .user-pill span { display:none; }
  .hero { min-height:690px; }
  .hero-content { padding:64px 0 100px; }
  .hero::after { background:linear-gradient(90deg,rgba(5,7,16,.96),rgba(5,7,16,.76)),linear-gradient(0deg,var(--bg),transparent 30%); }
  .stats { margin-top:-32px; }
  .grid-2,.grid-3,.grid-4,.department-grid,.child-grid { grid-template-columns:1fr; }
  .media-side { grid-template-columns:1fr; }
  .cta-inner { padding:34px 24px; }
  .footer-main { grid-template-columns:1fr;gap:26px; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .page-hero { min-height:330px;padding:58px 0 48px; }
}
