:root{
  --bg:#0b1020;
  --bg-soft:#11182d;
  --surface:#ffffff;
  --surface-soft:#f6f8fc;
  --text:#111827;
  --text-soft:#556070;
  --line:#dde3ee;
  --primary:#1f6fff;
  --primary-dark:#1757c7;
  --shadow:0 20px 60px rgba(15,23,42,.12);
  --radius:24px;
  --radius-sm:14px;
  --container:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Inter",sans-serif;
  color:var(--text);
  background:var(--surface);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--container),calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(221,227,238,.75);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:78px;
  gap:20px;
}

.logo{
  font-weight:800;
  font-size:20px;
  letter-spacing:-.03em;
}

.nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav a{
  color:var(--text-soft);
  font-weight:600;
  transition:.2s ease;
}

.nav a:hover,
.nav a.active{
  color:var(--text);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 12px 30px rgba(31,111,255,.22);
}

.btn:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
}

.btn-sm{
  min-height:44px;
  padding:0 18px;
}

.btn-ghost{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}

.btn-ghost:hover{
  background:#f8fafc;
}

.btn-full{
  width:100%;
}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top left, rgba(31,111,255,.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(88,147,255,.18), transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  padding:72px 0 40px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
}

.hero-content{
  padding:24px 0;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 14px;
  background:#eef4ff;
  color:var(--primary);
  border:1px solid #d9e8ff;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
}

.hero h1,
.page-hero h1{
  margin:18px 0 14px;
  font-size:clamp(40px,6vw,66px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.hero-text,
.page-lead{
  font-size:18px;
  color:var(--text-soft);
  max-width:720px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}

.stat-card{
  background:#fff;
  border:1px solid #edf1f7;
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow);
}

.stat-card strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
}

.stat-card span{
  color:var(--text-soft);
  font-size:14px;
}

.hero-panel{
  display:flex;
  justify-content:flex-end;
}

.panel-card{
  width:100%;
  background:linear-gradient(180deg,#0f172a 0%,#121d36 100%);
  color:#fff;
  padding:30px;
  border-radius:30px;
  box-shadow:0 30px 80px rgba(2,6,23,.24);
}

.panel-card h2{
  margin:0 0 20px;
  font-size:24px;
  letter-spacing:-.03em;
}

.country-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.country-list span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:14px;
  font-weight:600;
}

.section{
  padding:84px 0;
}

.section-soft{
  background:var(--surface-soft);
}

.section-head{
  max-width:740px;
  margin-bottom:34px;
}

.section-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--primary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}

.section h2{
  margin:0 0 12px;
  font-size:clamp(30px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.04em;
}

.section-head p{
  margin:0;
  color:var(--text-soft);
  font-size:17px;
}

.cards{
  display:grid;
  gap:18px;
}

.cards.three{
  grid-template-columns:repeat(3,1fr);
}

.cards.two{
  grid-template-columns:repeat(2,1fr);
}

.card{
  background:#fff;
  border:1px solid #e8edf6;
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}

.card h3{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.03em;
}

.card p{
  margin:0;
  color:var(--text-soft);
}

.card-icon{
  width:52px;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#eef4ff;
  color:var(--primary);
  font-weight:800;
  margin-bottom:18px;
}

.check-list{
  list-style:none;
  padding:0;
  margin:0;
}

.check-list li{
  position:relative;
  padding-left:28px;
  margin:12px 0;
  color:var(--text-soft);
}

.check-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--primary);
}

.form-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:24px;
  align-items:start;
}

.form-info{
  padding-top:10px;
}

.info-box{
  margin-top:18px;
  padding:22px;
  background:var(--surface-soft);
  border:1px solid #e4eaf4;
  border-radius:20px;
}

.info-box strong{
  display:block;
  margin-bottom:8px;
  font-size:18px;
}

.info-box p{
  margin:0;
  color:var(--text-soft);
}

.form-card{
  background:#fff;
  border:1px solid #e8edf6;
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

.application-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.field-row{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.field label{
  font-size:14px;
  font-weight:700;
}

input,
select,
textarea{
  width:100%;
  min-height:56px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:0 18px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
  transition:.2s ease;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#9fc1ff;
  box-shadow:0 0 0 4px rgba(31,111,255,.1);
}

.checkbox-wrap{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:var(--text-soft);
  font-weight:500;
}

.checkbox-wrap input{
  width:18px;
  min-height:18px;
  height:18px;
  margin-top:3px;
  padding:0;
  border-radius:6px;
}

.checkbox-wrap a{
  color:var(--primary);
  text-decoration:underline;
}

.form-status{
  min-height:24px;
  margin:0;
  font-size:14px;
  font-weight:600;
}

.form-status.success{
  color:#0f9d58;
}

.form-status.error{
  color:#d93025;
}

.faq{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.faq-item{
  background:#fff;
  border:1px solid #e8edf6;
  border-radius:24px;
  padding:24px;
}

.faq-item h3{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:-.02em;
}

.faq-item p{
  margin:0;
  color:var(--text-soft);
}

.page-hero{
  padding:84px 0 24px;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}

.narrow{
  max-width:820px;
}

.policy ul,
.narrow ul{
  color:var(--text-soft);
}

.contact-list{
  display:grid;
  gap:18px;
}

.contact-list strong{
  display:block;
  margin-bottom:6px;
  font-size:17px;
}

.contact-list p{
  margin:0;
  color:var(--text-soft);
}

.site-footer{
  background:#0f172a;
  color:#dbe5f6;
  padding:56px 0 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:24px;
}

.footer-logo{
  color:#fff;
}

.footer-text{
  max-width:360px;
  color:#9db0cc;
}

.site-footer h4{
  margin:0 0 14px;
  color:#fff;
  font-size:16px;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
  color:#9db0cc;
}

.footer-links a{
  color:#9db0cc;
}

.footer-links a:hover{
  color:#fff;
}

.footer-bottom{
  margin-top:32px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#8da2c1;
  font-size:14px;
}

@media (max-width:1024px){
  .hero-grid,
  .form-grid,
  .cards.three,
  .cards.two,
  .faq,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

  .hero h1,
  .page-hero h1{
    max-width:820px;
  }
}

@media (max-width:760px){
  .nav{
    display:none;
  }

  .field-row{
    grid-template-columns:1fr;
  }

  .section{
    padding:68px 0;
  }

  .hero{
    padding-top:48px;
  }

  .form-card,
  .card,
  .faq-item,
  .panel-card{
    padding:22px;
  }

  .hero h1,
  .page-hero h1{
    font-size:40px;
  }

  .hero-text,
  .page-lead{
    font-size:16px;
  }
}
input.invalid,
select.invalid,
textarea.invalid{
  border-color:#d93025;
  box-shadow:0 0 0 4px rgba(217,48,37,.12);
}