:root{
  --bg:#02040a;
  --text:#e9eef6;
  --muted:rgba(233,238,246,.78);
  --line:rgba(255,255,255,.10);
  --blue:#6fb6ff;
  --blue2:#2f80ed;
  --accent:#c07a2c;
  --accent2:#ff9a3d;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#000;
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}

/* TOPBAR */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar .wrap{
  height:66px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.brand-logo{height:32px;width:auto;display:block}
.nav{display:flex;gap:18px;align-items:center}
.nav a{font-size:13px;letter-spacing:.3px;opacity:.85}
.nav a:hover{opacity:1}
.top-cta{
  font-size:13px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.top-cta:hover{border-color:rgba(255,255,255,.30)}

/* HERO */
.hero{
  position:relative;
  min-height:560px;
  display:flex;align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-bg{
  position:absolute; inset:0;
  background: url("hero-banner.png") center center / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 700px at 35% 35%, rgba(47,128,237,.22), rgba(0,0,0,.0) 60%),
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 70%, rgba(0,0,0,.0) 100%);
}
.hero-inner{position:relative; padding:78px 0 86px}
.hero-copy{max-width:520px}
.hero h1{
  margin:0 0 14px 0;
  font-size:56px;
  line-height:1.02;
  letter-spacing:1px;
  text-transform:uppercase;
  text-shadow: 0 12px 60px rgba(0,0,0,.8);
}
.hero-sub{
  margin:0 0 22px 0;
  color:var(--muted);
  max-width:420px;
  font-size:14.5px;
  line-height:1.55;
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid rgba(111,182,255,.35);
  background:rgba(47,128,237,.14);
  color:var(--text);
  font-weight:700;
  letter-spacing:.6px;
  font-size:12px;
  text-transform:uppercase;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.btn:hover{background:rgba(47,128,237,.22)}
.btn-primary{background:rgba(47,128,237,.34); border-color:rgba(111,182,255,.55)}
.btn-ghost{background:rgba(255,255,255,.03); border-color:rgba(255,255,255,.14)}
.btn-ghost:hover{background:rgba(255,255,255,.06)}
.btn-accent{border-color: rgba(255,154,61,.45); background: rgba(192,122,44,.25)}
.btn-accent:hover{background: rgba(192,122,44,.33)}
.btn-disabled{opacity:.65; cursor:not-allowed; border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.03)}

/* Sections */
.section-title{
  margin:0;
  padding:0;
  text-align:center;
  font-size:30px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.section-sub{
  text-align:center;
  color:var(--muted);
  margin:12px auto 28px;
  max-width:900px;
  line-height:1.6;
  font-size:14px;
}

.center{text-align:center; margin-top:26px}

/* HOW */
.how{
  padding:64px 0 70px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(47,128,237,.18), rgba(0,0,0,0) 60%),
    linear-gradient(#01030a, #000);
}
.steps{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.step{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(7,14,30,.55);
  border-radius:18px;
  padding:18px 16px 18px;
  box-shadow: var(--shadow);
  text-align:left;
}
.step-top{
  display:flex; align-items:center; gap:10px;
  margin-bottom:10px;
}
.step-num{
  width:22px;height:22px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  font-size:12px; font-weight:800;
  border:1px solid rgba(111,182,255,.45);
  background:rgba(47,128,237,.18);
}
.step-ico{width:34px;height:34px;opacity:.95}
.step h3{margin:6px 0 8px;font-size:14px}
.step p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.55}

/* EDITIONS */
.editions{
  padding:70px 0 78px;
  background:
    radial-gradient(1100px 520px at 50% 10%, rgba(47,128,237,.14), rgba(0,0,0,0) 65%),
    linear-gradient(#000, #000);
}
.cards{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#050811;
  box-shadow: var(--shadow);
  min-height:340px;
}
.card-img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.03);
}
.card-shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.62) 70%, rgba(0,0,0,.78));
}
.card-ui{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end;
  padding:18px 14px;
  gap:10px;
}
.card-title{
  position:absolute;
  top:16px;
  font-size:22px;
  letter-spacing:1.4px;
  font-weight:900;
  text-transform:uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,.8);
}
.card-pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(111,182,255,.35);
  background: rgba(0,0,0,.35);
  font-size:11px;
  letter-spacing:.6px;
  text-transform:uppercase;
}
.card-pill-accent{
  border-color: rgba(255,154,61,.45);
}
.card-soon{filter:saturate(.85) brightness(.95)}
.card-soon .btn{}
.card-soon .card-pill{opacity:.9}

/* FOOTER */
.footer{
  border-top:1px solid rgba(255,255,255,.10);
  background:#000;
  padding:26px 0;
}
.footer-inner{
  display:flex; flex-wrap:wrap;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  color:rgba(233,238,246,.70);
  font-size:12px;
}
.footer-links{display:flex; gap:12px}
.footer-links a{opacity:.8}
.footer-links a:hover{opacity:1}
.footer-note{opacity:.6}

/* Responsive */
@media (max-width: 1080px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:48px}
}
@media (max-width: 640px){
  .nav{display:none}
  .hero-inner{padding:64px 0 74px}
  .hero h1{font-size:40px}
  .steps{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .topbar .wrap{height:62px}
}


/* PATCH2: Place How-it-works images INSIDE the 4 cards (not above) */
.step{padding:16px 16px 18px}
.step-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.step-label{font-size:13px;font-weight:800;letter-spacing:.2px}
.step-media{
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.28);
  box-shadow: inset 0 0 0 1px rgba(111,182,255,.10);
  margin-bottom:12px;
}
.step-media img{
  width:100%;
  height:110px;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
}
@media (max-width:1080px){
  .step-media img{height:120px}
}
@media (max-width:640px){
  .step-media img{height:140px}
}



/* PATCH7: Move HERO copy further LEFT (match mockup) without breaking stable layout */
.hero-bg{
  background-position: right center !important; /* push certificates further to the right */
}
@media (min-width: 1100px){
  .hero-copy{
    margin-left: -110px; /* shift copy left */
  }
}
@media (min-width: 1400px){
  .hero-copy{
    margin-left: -150px; /* a bit more on ultra-wide */
  }
}



/* FINAL PATCH: Align HERO text with logo start (desktop only) */
@media (min-width: 1100px){
  .hero-copy{
    margin-left: -180px;
  }
}
@media (min-width: 1400px){
  .hero-copy{
    margin-left: -220px;
  }
}

/* Mobile untouched – stays centered and readable */



/* FINAL PRECISE PATCH: align HERO text with logo left edge */
@media (min-width: 1100px){
  .hero-copy{
    margin-left: calc(-50% + 24px);
    max-width: 520px;
  }
}

/* Mobile unchanged */
