:root{
  --bg: #f4f7fc;
  --ink: #0b1324;
  --muted: #5d6b85;
  --card: #ffffff;
  --stroke: rgba(20,35,70,.10);
  --blue: #111728;
  --orange:#ff7d2e;
  --green:#28c76f;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
}
a{color:inherit; text-decoration:none}
.container{max-width:1140px; margin:0 auto; padding:0 20px}

/* Screen-reader only utility */
.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;
}

/* Top bar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: #111728;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #eef3ff;
}
.topbar__inner{
  height:72px; display:flex; align-items:center; gap:18px; justify-content:space-between;
}
.topbar__actions{
  display:flex; align-items:center; gap:14px;
}
.nav-drawer{
  display:none;
  position:relative;
}
.nav-drawer__toggle{
  list-style:none;
  cursor:pointer;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  padding:8px 10px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav-drawer__toggle::-webkit-details-marker{display:none}
.nav-drawer__icon{
  display:block;
  width:20px;
  height:14px;
  position:relative;
}
.nav-drawer__icon::before,
.nav-drawer__icon::after,
.nav-drawer__icon span{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#eef3ff;
  border-radius:2px;
}
.nav-drawer__icon::before{top:0}
.nav-drawer__icon span{top:6px}
.nav-drawer__icon::after{bottom:0}
.nav-drawer__toggle .nav-drawer__icon span{display:block}
.nav-drawer__panel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:240px;
  background:#111728;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  padding:14px;
  display:none;
  flex-direction:column;
  gap:10px;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
  z-index:60;
}
.nav-drawer[open] .nav-drawer__panel{display:flex}
.nav-drawer__panel a{
  padding:8px 10px;
  border-radius:12px;
  color:#eef3ff;
}
.nav-drawer__panel a:hover{background: rgba(255,255,255,.12)}
.nav-drawer__divider{
  height:1px;
  background: rgba(255,255,255,.12);
  margin:4px 0;
}
.lang-switch--drawer{
  width:100%;
  justify-content:space-between;
}
.btn--block{width:100%}
.brand{display:flex; align-items:center; gap:10px}
.brand__logo{width:28px;height:28px; display:block}
.brand__name{font-weight:800; letter-spacing:.2px}
.nav{display:flex; gap:18px; color: rgba(238,243,255,.85)}
.nav a{padding:8px 10px;border-radius:10px}
.nav a:hover{background: rgba(255,255,255,.12); color: #ffffff}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:14px; padding:10px 14px;
  border: 1px solid transparent;
  font-weight:700;
}
.btn--primary{background: var(--orange); color:white; box-shadow: 0 14px 30px rgba(255,125,46,.22)}
.btn--primary:hover{filter:brightness(1.02)}
.btn--ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(230,240,255,.45);
  color: #eef6ff;
}
.btn--ghost:hover{background: rgba(255,255,255,.14)}
.btn--lg{padding:14px 18px; border-radius:16px}

/* Language switcher */
.lang-switch{
  display:flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.lang-switch__label{
  display:flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  color: rgba(238,243,255,.9);
}
.lang-switch__label svg{
  width:18px;
  height:18px;
  fill: currentColor;
}
.lang-switch select{
  background: rgba(255,255,255,.18);
  color: #eef3ff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius:10px;
  padding:6px 10px;
  font-size:12px;
}
.lang-switch select:focus{
  outline:none;
  border-color: rgba(46,191,255,.65);
  box-shadow: 0 0 0 3px rgba(46,191,255,.20);
}
