:root{
  --bg:#f6f8fb;
  --surface:#ffffff;
  --text:#101828;
  --muted:#667085;
  --line:#e4e7ec;
  --primary:#0f2a5f;
  --primary-2:#173f8f;
  --accent:#2563eb;
  --soft:#eef4ff;
  --success:#067647;
  --shadow:0 16px 40px rgba(16,24,40,.08);
  --radius:22px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input{
  font:inherit;
}

button{
  cursor:pointer;
}

.header{
  width:min(1180px,calc(100% - 32px));
  margin:18px auto 0;
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:sticky;
  top:12px;
  z-index:20;
  backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(16,24,40,.05);
}

.brand{
  font-size:1.35rem;
  font-weight:900;
  letter-spacing:.08em;
  color:var(--primary);
}

.header nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:.92rem;
  font-weight:700;
}

.header nav a{
  color:#344054;
}

.header nav a:hover{
  color:var(--accent);
}

.lang{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:10px;
  padding:7px 10px;
  font-weight:800;
}

main{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

.hero{
  min-height:650px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:center;
  gap:56px;
  padding:80px 0 60px;
}

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(3.2rem,8vw,6.7rem);
  line-height:.88;
  letter-spacing:-.065em;
  max-width:780px;
}

.hero-content>p{
  max-width:670px;
  color:var(--muted);
  margin:28px 0;
  font-size:1.08rem;
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  border-radius:12px;
  padding:13px 20px;
  border:1px solid transparent;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.primary{
  background:var(--primary);
  color:#fff;
}

.primary:hover{
  background:var(--primary-2);
}

.secondary{
  background:#fff;
  border-color:var(--line);
}

.match-card{
  background:var(--primary);
  color:#fff;
  border-radius:var(--radius);
  padding:34px;
  box-shadow:0 25px 55px rgba(15,42,95,.24);
  transform:rotate(-1deg);
}

.match-card small{
  color:#8fb7ff;
  font-weight:900;
  letter-spacing:.08em;
}

.match-card h2{
  margin:12px 0 10px;
  font-size:1.8rem;
}

.match-card p{
  color:#d8e4ff;
  margin-bottom:24px;
}

.match-card button{
  border:0;
  background:#2563eb;
  color:#fff;
  border-radius:10px;
  padding:11px 15px;
  font-weight:800;
}

.section{
  padding:90px 0;
}

.section-heading{
  max-width:720px;
  margin-bottom:38px;
}

.section-heading span{
  color:var(--accent);
  font-weight:900;
  font-size:.78rem;
  letter-spacing:.09em;
}

.section-heading h2{
  margin-top:8px;
  font-size:clamp(2.3rem,5vw,4.6rem);
  letter-spacing:-.04em;
  line-height:1;
}

.section-heading p{
  margin-top:18px;
  color:var(--muted);
  font-size:1.05rem;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  min-height:260px;
  display:flex;
  flex-direction:column;
  box-shadow:0 8px 22px rgba(16,24,40,.03);
  transition:.2s ease;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

.card>span{
  color:var(--accent);
  font-weight:900;
  font-size:.85rem;
}

.card h3{
  margin:18px 0 10px;
  font-size:1.35rem;
}

.card p{
  color:var(--muted);
  flex:1;
}

.card a{
  margin-top:24px;
  color:var(--primary);
  font-weight:800;
}

.match-section{
  margin:70px 0;
  background:#101828;
  color:#fff;
  border-radius:28px;
  padding:60px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.match-section h2{
  font-size:clamp(2.3rem,5vw,4.4rem);
  line-height:1;
  letter-spacing:-.04em;
  margin:8px 0 22px;
}

.match-section p{
  color:#cbd5e1;
  max-width:560px;
}

.score-card{
  background:#fff;
  color:var(--text);
  border-radius:20px;
  padding:14px 24px;
}

.score-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}

.score-row:last-child{
  border-bottom:0;
}

.score-row span{
  color:var(--muted);
}

.score-row strong{
  color:var(--success);
}

.trust{
  padding:110px 30px;
  text-align:center;
}

.trust>span{
  font-weight:900;
  color:var(--accent);
  letter-spacing:.12em;
}

.trust h2{
  font-size:clamp(3rem,7vw,6.2rem);
  line-height:.92;
  letter-spacing:-.06em;
  margin:18px auto;
}

.trust p{
  max-width:670px;
  margin:0 auto 28px;
  color:var(--muted);
  font-size:1.06rem;
}

.trust button{
  border:0;
  background:var(--primary);
  color:#fff;
  padding:14px 21px;
  border-radius:12px;
  font-weight:900;
}

footer{
  width:min(1180px,calc(100% - 32px));
  margin:30px auto 40px;
  border-top:1px solid var(--line);
  padding:34px 0;
  display:grid;
  gap:20px;
  color:var(--muted);
}

footer b{
  color:var(--primary);
  font-size:1.3rem;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.footer-links button{
  border:0;
  background:none;
  color:inherit;
}

dialog{
  width:min(520px,calc(100% - 30px));
  border:0;
  border-radius:20px;
  padding:30px;
  box-shadow:0 30px 80px rgba(16,24,40,.3);
}

dialog::backdrop{
  background:rgba(16,24,40,.6);
  backdrop-filter:blur(4px);
}

dialog h2{
  font-size:1.8rem;
  margin-bottom:10px;
}

dialog p{
  color:var(--muted);
  margin-bottom:20px;
}

.close{
  float:right;
  border:0;
  background:#f2f4f7;
  width:36px;
  height:36px;
  border-radius:50%;
  font-size:1.3rem;
}

dialog form{
  display:grid;
  gap:16px;
}

dialog label{
  display:grid;
  gap:7px;
  font-weight:700;
}

dialog input{
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  outline:none;
}

dialog input:focus{
  border-color:var(--accent);
}

@media(max-width:900px){
  .header{
    align-items:flex-start;
  }

  .header nav{
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .hero{
    grid-template-columns:1fr;
    gap:30px;
    min-height:auto;
    padding-top:60px;
  }

  .match-card{
    transform:none;
  }

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .match-section{
    grid-template-columns:1fr;
    padding:40px 28px;
  }
}

@media(max-width:620px){
  .header{
    position:relative;
    top:0;
    flex-direction:column;
  }

  .header nav{
    justify-content:flex-start;
    font-size:.83rem;
  }

  .hero{
    padding:45px 0;
  }

  .hero h1{
    font-size:3.5rem;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:60px 0;
  }

  .match-section{
    margin:40px 0;
  }

  .trust{
    padding:70px 8px;
  }
}
