@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy-950: #061540;
  --navy-900: #08205c;
  --navy-800: #0c2f86;
  --blue-700: #1145b8;
  --blue-600: #1656d6;
  --blue-500: #2f6dff;
  --cyan-400: #3cc8f5;
  --cyan-300: #7ddcff;
  --violet-500: #6a4be0;
  --ink: #0e1a3a;
  --ink-2: #33406a;
  --muted: #5d6a8c;
  --line: #dfe6f5;
  --bg: #f4f7fd;
  --card: #ffffff;
  --ok: #0f8a5f;
  --err: #c0332b;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(8, 32, 92, .25);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 21, 64, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand-logos { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.brand-logos img { height: 26px; width: auto; }
.brand-logos .sep { width: 1px; height: 22px; background: #c9d2e6; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #dbe6ff; text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn { margin-left: 6px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand-text { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--cyan-400), var(--blue-500) 55%, var(--violet-500));
  box-shadow: 0 10px 24px -8px rgba(47, 109, 255, .7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(47, 109, 255, .8); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-light { color: var(--blue-700); background: #fff; border: 1px solid var(--line); }
.btn-light:hover { border-color: var(--blue-500); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 110%, rgba(60, 200, 245, .28), transparent 60%),
    radial-gradient(900px 500px at 10% -10%, rgba(106, 75, 224, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-600) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 84px 0 110px; }
.hero-art { position: absolute; inset: auto -10% -6% 30%; height: 70%; z-index: 1; opacity: .9; pointer-events: none; }
.hero-dots { position: absolute; right: 0; top: 0; width: 46%; height: 100%; z-index: 1; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(125, 220, 255, .9) 1.3px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 100% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(70% 70% at 100% 30%, #000 10%, transparent 70%); }
.logo-card { display: inline-flex; align-items: center; gap: 18px; background: #fff; border-radius: 14px; padding: 14px 22px; box-shadow: var(--shadow); }
.logo-card img { height: 46px; width: auto; }
.logo-card .sep { width: 1px; height: 40px; background: #c9d2e6; }
.eyebrow { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; margin-top: 34px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { margin: 10px 0 6px; font-size: clamp(48px, 9vw, 104px); line-height: 1; letter-spacing: -.02em; font-weight: 700; }
.hero h1 .yr { background: linear-gradient(90deg, #fff, var(--cyan-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .vn { margin: 18px 0 4px; font-size: clamp(17px, 2.2vw, 22px); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; max-width: 820px; }
.hero .en { margin: 0; color: #c4d4ff; font-size: clamp(14px, 1.6vw, 17px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; padding: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.hero-meta svg { flex: none; color: var(--cyan-300); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.sec-head h2 { margin: 6px 0 10px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 17px; }
.sec-head .kicker + p { margin-top: 10px; }
.alt { background: #fff; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } section { padding: 60px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--bg); }
.card h3 { margin: 14px 0 8px; font-size: 18px; line-height: 1.35; }
.card p { margin: 0; color: var(--ink-2); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500)); }
.icon.c2 { background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); }
.icon.c3 { background: linear-gradient(135deg, var(--violet-500), #b04be0); }

.facts .card { display: flex; gap: 14px; align-items: flex-start; }
.facts .icon { width: 40px; height: 40px; flex: none; }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan-400), var(--violet-500)); opacity: .45; }
.timeline li { display: grid; grid-template-columns: 104px 1fr; gap: 36px; padding: 14px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-500); }
.timeline li.brk::before { border-color: #b6c2dd; }
.timeline time { font-weight: 700; color: var(--blue-700); font-variant-numeric: tabular-nums; padding-top: 2px; font-size: 15px; }
.timeline .tl-body h3 { margin: 0; font-size: 17px; }
.timeline .tl-body p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.timeline li.brk h3 { color: var(--muted); font-weight: 500; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #e7eeff; color: var(--blue-700); margin-right: 6px; vertical-align: 2px; }
.session-label { margin: 28px 0 6px; font-size: 13px; letter-spacing: .14em; font-weight: 700; color: var(--muted); text-transform: uppercase; }
@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .timeline li::before { left: 1px; top: 18px; }
}

/* Speakers */
.speaker { display: flex; gap: 16px; align-items: center; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); }
.speaker h3 { margin: 0; font-size: 17px; }
.speaker p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.speaker .topic { color: var(--blue-700); font-weight: 600; font-size: 14px; margin-top: 6px; }

.people { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.people li { break-inside: avoid; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.people b { display: block; font-weight: 600; }
.people span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .people { columns: 1; } }

details.more { margin-top: 18px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--blue-700); }
details.more[open] summary { margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: radial-gradient(600px 300px at 100% 100%, rgba(60, 200, 245, .35), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--blue-600)); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 0; color: #cfdcff; max-width: 560px; }

/* Footer */
footer { background: var(--navy-950); color: #aebbe0; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer b { color: #fff; }

/* ---------- Registration page ---------- */
.page-hero { color: #fff; background: radial-gradient(800px 400px at 90% 120%, rgba(60, 200, 245, .3), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-800) 60%, var(--blue-600)); }
.page-hero .wrap { padding: 48px 0 96px; }
.page-hero h1 { margin: 8px 0 6px; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
.page-hero p { margin: 0; color: #cfdcff; max-width: 680px; }
.crumb { color: #9fb6f0; font-size: 14px; text-decoration: none; }
.crumb:hover { color: #fff; }

.panel { position: relative; margin-top: -64px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 36px; }
@media (max-width: 640px) { .panel { padding: 22px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid #cdd7ec; background: #fbfcff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 109, 255, .15); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field .err { display: block; min-height: 18px; color: var(--err); font-size: 13px; margin-top: 4px; }
.req { color: var(--err); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 14px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }

.preview-line { margin-top: 26px; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px dashed #c3cfea; font-family: "Tinos", "Times New Roman", serif; font-size: 18px; line-height: 1.45; }
.preview-line .k { font-weight: 700; margin-right: 14px; display: inline-block; width: 82px; }
.preview-line .l2 { font-style: italic; display: block; padding-left: 96px; }
.preview-line .ph { font-style: normal; }
.preview-line .ph { color: #9aa6c2; }

.result { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 880px) { .result { grid-template-columns: 1fr; } }
.thanks h2 { margin: 0 0 8px; font-size: 28px; }
.thanks p { color: var(--ink-2); margin: 0 0 12px; }
.check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22c38e, var(--ok)); margin-bottom: 16px; }
.invite-frame { background: #e9eef8; border-radius: 16px; padding: 18px; }
.invite-frame img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 12px 30px -10px rgba(8, 32, 92, .35); background: #fff; }
.dl { display: grid; gap: 12px; margin: 20px 0; }
.status { font-size: 14px; color: var(--muted); }
.status.warn { color: #9a5b00; }
.loading { display: grid; place-items: center; min-height: 320px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.hero { padding: 0; }
.facts { margin: 28px 0 0; }
.sub-h { margin: 40px 0 12px; font-size: 19px; }
.cta-band { margin-top: 56px; }

@font-face { font-family: "Tinos"; src: url("../fonts/Tinos-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("../fonts/Tinos-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
