:root{
  --bg: #0b0f19;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --accent: #7c5cff;
  --accent2: #2ee59d;
  --danger: #ff5c7a;
  --success: #2ee59d;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; } /* prevents iOS zoom-on-focus when inputs are <16px */


* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(124,92,255,.20), transparent 55%),
    radial-gradient(900px 600px at 80% 0%, rgba(46,229,157,.14), transparent 55%),
    radial-gradient(1200px 900px at 50% 100%, rgba(255,255,255,.05), transparent 60%),
    var(--bg);
}

a{ color: inherit; }
.container{
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11,15,25,.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(46,229,157,.12));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand__text{
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav{ display:flex; align-items:center; gap: 18px; }
.nav__link{
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
}
.nav__link:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.lang{
  display:flex;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.lang__btn{
  text-decoration:none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.lang__btn.is-active{
  color: var(--text);
  background: rgba(124,92,255,.20);
  border: 1px solid rgba(124,92,255,.35);
}

.hero{
  padding: 46px 0 22px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.h1{
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 74ch;
}
.actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn--primary{
  background: linear-gradient(135deg, rgba(124,92,255,.40), rgba(124,92,255,.18));
  border-color: rgba(124,92,255,.50);
}
.btn--primary:hover{
  background: linear-gradient(135deg, rgba(124,92,255,.55), rgba(124,92,255,.22));
}

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 16px 0 40px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card__title{
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 10px;
}
.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.form{
  display:grid;
  gap: 12px;
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .form__row{ grid-template-columns: 1fr; }
}

.label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.input, .select, .textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: none;
}
.textarea{ min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus{
  border-color: rgba(124,92,255,.65);
  box-shadow: 0 0 0 4px rgba(124,92,255,.15);
}
.help{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.divider{
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}
.badge{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.alert{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  margin: 18px 0 0;
}
.alert__title{ font-weight: 900; }
.alert--danger{ border-color: rgba(255,92,122,.35); }
.alert--success{ border-color: rgba(46,229,157,.35); }
.alert__list{ margin:0; padding-left: 18px; color: var(--muted); }

.footer{
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 18px 0;
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
}

html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; }

@media (max-width: 720px){
  .topbar__inner{ height:auto; padding: 12px 0; align-items:flex-start; }
  .nav{ width:100%; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .nav__link{ padding: 10px 10px; }
}

/* Chips field */
.chips{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 10px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.chips:focus-within{
  border-color: rgba(124,92,255,.65);
  box-shadow: 0 0 0 4px rgba(124,92,255,.15);
}

.chips__list{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items:center;
}

.chips__input{
  min-width: 180px;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 8px 6px;
  font: inherit;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}

.chip__x{
  appearance:none;
  border:none;
  background: rgba(255,255,255,.08);
  color: var(--muted);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  cursor: pointer;
  display:grid;
  place-items:center;
  font-weight: 900;
}
.chip__x:hover{ background: rgba(255,255,255,.12); color: var(--text); }

.quickpicks{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.qbtn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
}
.qbtn:hover{ background: rgba(255,255,255,.09); color: var(--text); }

/* Make file inputs nicer */
input[type="file"].input{
  padding: 10px;
}

.card--link { transition: transform .15s ease, border-color .15s ease; }
.card--link:hover { transform: translateY(-2px); border-color: rgba(124,92,255,.45); }

.footer__inner{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:flex-start; }
.footer__sub{ opacity:.7; margin-top:6px; font-size: 13px; }
.footer__links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer__link{ opacity:.8; text-decoration:none; }
.footer__link:hover{ opacity:1; text-decoration:underline; }

/* accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 12px; top: 12px; width:auto; height:auto; padding:10px 12px;
  background: rgba(0,0,0,.85); border:1px solid rgba(255,255,255,.18);
  border-radius: 12px; z-index: 9999;
}
.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;
}

/* mobile nav toggle */
.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle__icon{
  display:block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,.85);
  position: relative;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after{
  content:"";
  position:absolute; left:0;
  width:20px; height:2px;
  background: rgba(255,255,255,.85);
}
.nav-toggle__icon::before{ top:-6px; }
.nav-toggle__icon::after{ top:6px; }

/* footer */
.footer__inner{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:flex-start; }
.footer__sub{ opacity:.7; margin-top:6px; font-size: 13px; }
.footer__links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer__link{ opacity:.8; text-decoration:none; }
.footer__link:hover{ opacity:1; text-decoration:underline; }

/* responsive nav */
@media (max-width: 920px){
  .nav-toggle{ display:inline-flex; align-items:center; }
  .nav{
    display:none;
    width:100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(0,0,0,.25);
  }
  .nav.is-open{ display:flex; flex-direction:column; gap: 10px; }
  .lang{ margin-top: 6px; }
}

.brand__logo {
  height: 34px;          /* desktop */
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand__logo {
    height: 28px;        /* mobile */
  }
}

.brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 14px;
  opacity: .92;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .brand__name { display: none; } /* keep header clean on smaller screens */
}
