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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#050816;
  color:white;
  line-height:1.6;
}

.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 8%;
  background:rgba(5,8,22,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,0.05);
}

nav a{
  color:#d7dcef;
  text-decoration:none;
  margin-left:28px;
  font-size:14px;
}

nav a:hover{
  color:#4f7cff;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-text{
  font-size:28px;
  font-weight:600;
  letter-spacing:3px;
}

.logo-text .castle{
  color:#4f7cff;
}

.logo-icon{
  width:52px;
  height:62px;
  border:4px solid #0d173f;
  border-top-left-radius:6px;
  border-top-right-radius:6px;
  clip-path:polygon(0 0,15% 0,15% 10%,35% 10%,35% 0,65% 0,65% 10%,85% 10%,85% 0,100% 0,100% 70%,50% 100%,0 70%);
  position:relative;
  background:white;
}

.keyhole{
  position:absolute;
  width:16px;
  height:24px;
  background:#4f7cff;
  left:50%;
  top:50%;
  transform:translate(-50%,-30%);
  clip-path:polygon(50% 0%,75% 18%,75% 42%,100% 100%,0 100%,25% 42%,25% 18%);
}

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:120px 8%;
  gap:60px;
}

.hero-content{
  max-width:700px;
}

.eyebrow{
  color:#4f7cff;
  font-size:13px;
  letter-spacing:3px;
  margin-bottom:20px;
}

.hero h1{
  font-size:72px;
  line-height:1.05;
  margin-bottom:28px;
}

.hero h1 span{
  color:#4f7cff;
}

.hero-copy{
  color:#a8b0c8;
  max-width:620px;
  font-size:18px;
  margin-bottom:36px;
}

.buttons{
  display:flex;
  gap:18px;
}

.btn{
  padding:14px 24px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  transition:0.25s ease;
}

.primary{
  background:#4f7cff;
  color:white;
}

.primary:hover{
  background:#3f68d9;
}

.secondary{
  border:1px solid rgba(255,255,255,0.12);
  color:white;
}

.secondary:hover{
  background:rgba(255,255,255,0.06);
}

.hero-card{
  flex:1;
  display:flex;
  justify-content:center;
}

.castle{
  width:380px;
  height:380px;
  border-radius:28px;
  background:linear-gradient(145deg,#0d173f,#081127);
  box-shadow:0 0 120px rgba(79,124,255,0.25);
  position:relative;
}

.castle::before{
  content:'';
  position:absolute;
  inset:40px;
  border:2px solid rgba(79,124,255,0.25);
  border-radius:24px;
}

.section{
  padding:120px 8%;
}

.dark{
  background:#081127;
}

.section-title p{
  color:#4f7cff;
  letter-spacing:2px;
  font-size:13px;
  margin-bottom:14px;
}

.section-title h2{
  font-size:48px;
  max-width:820px;
  margin-bottom:50px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.card{
  background:#0d173f;
  padding:32px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.05);
}

.card h3{
  margin-bottom:16px;
}

.card p{
  color:#b8c0d8;
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:28px;
}

.stat{
  background:#0d173f;
  padding:40px;
  border-radius:22px;
}

.stat h3{
  font-size:42px;
  color:#4f7cff;
  margin-bottom:12px;
}

.product-box{
  background:#0d173f;
  border-radius:28px;
  padding:50px;
}

.product-box h3{
  font-size:34px;
  margin-bottom:18px;
}

.product-box p{
  color:#b7c0d8;
  margin-bottom:24px;
}

.product-box ul{
  padding-left:22px;
}

.product-box li{
  margin-bottom:12px;
  color:#d9e0f7;
}

.contact{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

.contact p{
  color:#4f7cff;
  letter-spacing:2px;
  margin-bottom:12px;
}

.contact h2{
  font-size:44px;
  max-width:700px;
}

footer{
  padding:40px 8%;
  border-top:1px solid rgba(255,255,255,0.05);
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#9ba5c4;
}

.small .logo-text{
  font-size:20px;
}

.small .logo-icon{
  width:38px;
  height:46px;
}

@media(max-width:980px){

  .hero{
    flex-direction:column;
    text-align:left;
  }

  .hero h1{
    font-size:52px;
  }

  .section-title h2{
    font-size:36px;
  }

  .contact{
    flex-direction:column;
    align-items:flex-start;
  }

  footer{
    flex-direction:column;
    gap:20px;
    text-align:center;
  }

  nav{
    display:none;
  }
}


.risk-graphic{
  width:100%;
  max-width:540px;
  border-radius:28px;
  opacity:0.97;
  filter:drop-shadow(0 0 60px rgba(79,124,255,0.18));
}
