@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#ffffff;
  --bg-soft:#FAF3FF;
  --accent:#5B2CC9;
  --accent-dark:#46209c;
  --accent-soft-border:#e7d9f9;
  --text:#1c1330;
  --text-muted:#665e78;
  --border:#e9e2f4;
  --radius:14px;
  --shadow: 0 10px 30px rgba(91,44,201,0.08);
}

*{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:'Noto Sans', system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;}

img{max-width:100%;display:block;}

.container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:inherit;
  font-weight:600;
  font-size:16px;
  border-radius:999px;
  border:1.5px solid transparent;
  padding:16px 34px;
  cursor:pointer;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 12px 24px -8px rgba(91,44,201,0.55);
}
.btn-primary:hover{
  background:var(--accent-dark);
  transform:translateY(-2px);
  box-shadow:0 16px 30px -8px rgba(91,44,201,0.6);
}
.btn-secondary{
  background:#fff;
  color:var(--accent);
  border-color:var(--accent-soft-border);
}
.btn-secondary:hover{
  background:var(--bg-soft);
  transform:translateY(-1px);
}
.btn-ghost{
  background:transparent;
  color:var(--text-muted);
  border-color:var(--border);
}
.btn-ghost:hover{
  background:var(--bg-soft);
  color:var(--text);
}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none;}

/* ================= HERO PAGE ================= */
.hero-screen{
  min-height:100svh;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(700px 480px at 88% -8%, rgba(91,44,201,0.08), transparent 60%),
    radial-gradient(600px 520px at 8% 108%, var(--bg-soft), transparent 65%);
}

.hero-topbar{
  padding:28px 0 0;
}
.hero-topbar .container{
  display:flex;
  align-items:center;
}
.hero-topbar img{height:38px;width:auto;}

.hero-main{
  flex:1;
  display:flex;
  align-items:center;
}

.hero-inner{
  width:100%;
  max-width:760px;
  margin:0 auto;
  text-align:center;
  padding:48px 0 60px;
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--accent-dark);
  background:var(--bg-soft);
  border:1px solid var(--accent-soft-border);
  border-radius:999px;
  padding:7px 16px;
  margin-bottom:26px;
}

.hero-title{
  font-size:clamp(30px, 4.6vw, 48px);
  font-weight:800;
  line-height:1.16;
  letter-spacing:-0.01em;
  margin:0 0 20px;
}
.hero-title .accent-word{color:var(--accent);}

.hero-subtitle{
  font-size:18px;
  color:var(--text-muted);
  max-width:620px;
  margin:0 auto 34px;
}

.hero-perks{
  list-style:none;
  padding:0;
  margin:0 0 30px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}
.hero-perks li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:15.5px;
  color:var(--text);
}
.perk-icon{
  flex:0 0 auto;
  width:22px;height:22px;
  border-radius:50%;
  background:var(--bg-soft);
  color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
}
.perk-icon svg{width:12px;height:12px;}

.hero-note{
  font-size:15px;
  color:var(--text-muted);
  max-width:600px;
  margin:0 auto 36px;
}

.hero-followup{
  font-size:14.5px;
  color:var(--text-muted);
  background:var(--bg-soft);
  border:1px solid var(--accent-soft-border);
  border-radius:var(--radius);
  padding:16px 20px;
  max-width:640px;
  margin:32px auto 0;
  text-align:left;
}
.hero-followup strong{color:var(--text);}

/* ================= QUIZ PAGE ================= */
.quiz-shell{
  min-height:100vh;
  background:
    radial-gradient(900px 500px at 100% 0%, var(--bg-soft), transparent 60%);
}

.quiz-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
  padding:18px 0;
}
.quiz-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:12px;
}
.quiz-header img{height:30px;}
.quiz-step-label{
  font-size:13.5px;
  font-weight:600;
  color:var(--text-muted);
  white-space:nowrap;
}
.quiz-step-label span{color:var(--accent);}

.progress-track{
  height:6px;
  background:var(--bg-soft);
  border-radius:999px;
  overflow:hidden;
  margin:0 24px 0;
  max-width:1120px;
  margin:0 auto;
}
.progress-track .container{padding:0;}
.progress-fill{
  height:100%;
  width:12.5%;
  background:linear-gradient(90deg, var(--accent), #8b5cf6);
  border-radius:999px;
  transition:width .35s ease;
}

.quiz-body{
  padding:52px 0 100px;
}

.quiz-step{
  display:none;
  max-width:680px;
  margin:0 auto;
  animation:stepIn .35s ease;
}
.quiz-step.is-active{display:block;}

@keyframes stepIn{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}

.step-eyebrow{
  font-size:13px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.06em;
  margin-bottom:10px;
}
.step-title{
  font-size:26px;
  font-weight:800;
  margin:0 0 8px;
  letter-spacing:-0.01em;
}
.step-desc{
  font-size:15px;
  color:var(--text-muted);
  margin:0 0 30px;
}

.field{
  margin-bottom:24px;
}
.field label,.field legend{
  display:block;
  font-size:14.5px;
  font-weight:600;
  margin-bottom:8px;
  padding:0;
}
.field .hint{
  font-weight:400;
  color:var(--text-muted);
  font-size:13.5px;
  margin-top:4px;
}
.field .required-mark{color:var(--accent);}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea{
  width:100%;
  font-family:inherit;
  font-size:15.5px;
  color:var(--text);
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:10px;
  padding:13px 16px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
textarea{min-height:96px;resize:vertical;}
input:focus,textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(91,44,201,0.12);
}
input:invalid:not(:placeholder-shown){border-color:#e0a3a3;}

.file-field{
  border:1.5px dashed var(--accent-soft-border);
  border-radius:10px;
  background:var(--bg-soft);
  padding:14px 16px;
}
.file-field input[type="file"]{
  width:100%;
  font-size:14px;
  font-family:inherit;
  color:var(--text-muted);
}

fieldset{border:none;padding:0;margin:0;}

.radio-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.radio-card{
  position:relative;
}
.radio-card input{
  position:absolute;
  opacity:0;
  inset:0;
  cursor:pointer;
}
.radio-card span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:15px;
  font-weight:500;
  border:1.5px solid var(--border);
  border-radius:10px;
  padding:12px 18px;
  cursor:pointer;
  transition:all .15s ease;
}
.radio-card input:checked + span{
  border-color:var(--accent);
  background:var(--bg-soft);
  color:var(--accent-dark);
  font-weight:600;
}
.radio-card input:focus-visible + span{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.visa-options{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.visa-option span{
  display:block;
  width:100%;
  text-align:left;
  padding:18px 20px;
  border-radius:var(--radius);
}
.visa-option .visa-name{font-size:17px;font-weight:400;display:block;    background: var(--bg-soft);}
.visa-option .visa-desc{font-size:14px;font-weight:400;color:var(--text-muted);margin-top:4px;display:block;}
.visa-option input:checked + span .visa-desc{color:var(--accent-dark);}

.btn svg {
    width: 18px;
        height: 18px;
}

.step-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:38px;
  padding-top:26px;
  border-top:1px solid var(--border);
}
.step-nav-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}

.checklist-block{
  margin-top:22px;
  padding:20px;
  border-radius:var(--radius);
  background:var(--bg-soft);
  border:1px solid var(--accent-soft-border);
      text-align: center;
}
.checklist-block p{
    margin: 10px 0 0;
    font-size: 13.5px;
    font-weight: bold;
}
.btn.btn-green {
    background: #a4f174;
    border: 1px solid #97e367;
}

.form-error{
  font-size:13.5px;
  color:#b3413f;
  margin-top:8px;
  display:none;
}
.form-error.is-visible{display:block;}

@media (max-width:640px){
  .hero-inner{padding:36px 0 48px;}
  .hero-title{font-size:30px;}
  .step-nav{flex-direction:column;align-items:stretch;}
  .step-nav-right{justify-content:stretch;}
  .step-nav-right .btn{flex:1;}
  .btn {
    font-size: 12px;
    padding: 16px 20px;
}
.visa-option .visa-name {
    font-size: 13px;
}
.step-title {
    font-size: 20px;
}
}
