:root{
  --bg:#0b0c0f;
  --bg2:#08090c;

  --stroke: rgba(255,255,255,.08);
  --text:#f2f4f7;
  --muted: rgba(242,244,247,.70);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --green: #33ff77;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 20%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(800px 500px at 80% 25%, rgba(255,255,255,.04), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
b{font-weight:800}
.small{font-size:.92rem}
.muted{color:var(--muted)}

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}
@media (max-width: 520px){
  .container{width: calc(100% - 28px);}
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(8,9,12,.75);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 18px rgba(255,255,255,.08);
}
.brand__text{font-weight:900; letter-spacing:.2px}
.brand--small .brand__text{font-weight:800}

.nav{display:flex; gap:18px; align-items:center}
.nav__link{
  color:rgba(242,244,247,.75);
  font-weight:800;
  font-size:.96rem;
  padding:8px 10px;
  border-radius:12px;
}
.nav__link:hover{background: rgba(255,255,255,.05); color:var(--text)}
.topbar__actions{display:flex; gap:10px; align-items:center}

/* Burger with svg */
.burger{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  color: rgba(242,244,247,.92);
}
.burger svg{width:22px; height:22px}

/* Mobile menu (compact) */
.mobilemenu{
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(8,9,12,.78);
  backdrop-filter: blur(14px);
}
.mobilemenu__inner{
  padding:10px 0 12px;
  display:grid;
  gap:8px;
}
.mobilemenu__link{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-weight:800;
}
.mobilemenu__cta{margin-top:6px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16)}
.btn:active{transform: translateY(0px) scale(.99)}
.btn--primary{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.btn--primary:hover{background: rgba(255,255,255,.14)}
.btn--ghost{background: rgba(255,255,255,.03)}
.btn--xl{padding:14px 18px; border-radius:18px; font-size:1rem}
.btn--full{width:100%}

/* Hero */
.hero{padding:44px 0 18px}
.hero__inner{
  padding: 22px;
  border-radius: calc(var(--radius) + 8px);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.hero__title{
  margin:0 0 10px;
  font-size: clamp(1.7rem, 5vw, 3.0rem);
  line-height:1.08;
  letter-spacing:-.4px;
}
.hero__subtitle{
  margin:0 0 18px;
  font-size:1.03rem;
  color:rgba(242,244,247,.72);
  max-width:70ch;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin:10px 0 0}

/* HERO layout with effect on right */
.hero__grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:18px;
  align-items:center;
}
.hero__left{min-width:0}
.hero__fx{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height: 160px;
}

/* Your preloader/crack (small, no card, no click) */
.preloader {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 2px #fff);
  pointer-events: none;
  user-select: none;
}

.crack {
  position: absolute;
  width: 10%;
  aspect-ratio: 1;
  background-color: #fef3fc;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: rotate 6s infinite linear;
}

.crack2 { width: 12%; animation-delay: 1s; }
.crack3 { width: 14%; animation-delay: 1.5s; }
.crack4 { width: 16%; animation-delay: 2s; }
.crack5 { width: 18%; animation-delay: 2.5s; }

@keyframes rotate { to { rotate: 360deg; } }

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr;}
  .hero__fx{min-height: 120px;}
  .preloader{width:150px; height:150px;}
}

@media (max-width: 520px){
  /* ONLY MOBILE: everything a bit smaller */
  body{font-size: 15px;}

  main{
    transform: scale(.94);
    transform-origin: top center;
  }

  .hero{padding:22px 0 12px}
  .hero__inner{padding:16px}

  .btn{padding:11px 12px; border-radius:14px}
  .btn--xl{padding:12px 14px; border-radius:16px}

  .hero__fx{min-height: 96px;}
  .preloader{width:110px; height:110px;}

  .hero__cta{gap:10px}
  .hero__cta .btn{flex: 1 1 auto; width: 100%;}
}

/* Sections */
.section{padding:28px 0}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:14px}
.section__title{margin:0; font-size:1.6rem; letter-spacing:-.2px}

/* Grids */
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
@media (max-width: 980px){
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
}

/* Cards */
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 42px rgba(0,0,0,.35);
  padding:18px;
}
.card--soft{background: rgba(255,255,255,.025)}
.card h3{margin:10px 0 8px}
.card p{margin:0; color: rgba(242,244,247,.72); line-height:1.35}

/* Feature icons (SVG) */
.icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.icon svg{
  width:22px;
  height:22px;
  color: rgba(242,244,247,.90);
  opacity: .95;
}

/* Servers */
.server{
  position: relative;
  display:flex; gap:12px; align-items:center;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  box-shadow: 0 14px 42px rgba(0,0,0,.35);
}
.server__badge{
  width:44px; height:44px; border-radius:16px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  flex: 0 0 44px;
}
.flag{
  width:28px;
  height:28px;
  border-radius:999px;
  display:block;
  object-fit:cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.server__body{min-width:0; width:100%}
.server__line{
  display:flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.server__name{font-weight:900; overflow:hidden; text-overflow: ellipsis;}
.server__sep{color: rgba(242,244,247,.35)}
.server__desc{color:rgba(242,244,247,.70); overflow:hidden; text-overflow: ellipsis;}

/* Online status dot */
.status-dot{
  position:absolute;
  right:14px;
  top:14px;
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--green);
  box-shadow:
    0 0 10px rgba(51,255,119,.55),
    0 0 22px rgba(51,255,119,.25);
}
.status-dot::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border: 1px solid rgba(51,255,119,.40);
  opacity:.55;
  transform: scale(.65);
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse{
  0%   {transform: scale(.65); opacity:.65}
  70%  {transform: scale(1.25); opacity:0}
  100% {transform: scale(1.25); opacity:0}
}

@media (max-width: 520px){
  .server{padding:14px}
  .status-dot{right:12px; top:12px}
  .server__line{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    flex-wrap: wrap;
  }
  .server__sep{display:none}
  .server__desc{opacity:.82}
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.price{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  padding:18px;
  display:grid;
  gap:12px;
}
.price--main{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.price__tag{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight:900;
  font-size:.78rem;
  letter-spacing:.2px;
  color: rgba(242,244,247,.78);
  width:max-content;
}

.price__name{margin:0; font-size:1.2rem}
.price__value{font-weight:900; font-size:1.4rem}
.price__list{margin:0; padding-left:16px; color:rgba(242,244,247,.75)}
.price__list li{margin:6px 0}

.price__btn{
  height:44px;
  padding:0 14px;
  border-radius:16px;
}

@media (max-width: 980px){
  .pricing{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 520px){
  .pricing{grid-template-columns: 1fr}
  .price{padding:16px}
  .price__value{font-size:1.25rem}
}

/* Final */
.final{padding:26px 0 40px}
.final__inner{
  border-radius: calc(var(--radius) + 8px);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}
.final__text h2{margin:0 0 6px}
.final__text p{margin:0}
.final__cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
@media (max-width: 980px){
  .final__inner{flex-direction:column; align-items:flex-start}
  .final__cta{width:100%}
  .final__cta .btn{width:100%}
}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(8,9,12,.72);
  backdrop-filter: blur(12px);
}
.footer__inner{
  padding:16px 0;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.footer__right{display:flex; gap:14px; flex-wrap:wrap}
.footer__link{color:rgba(242,244,247,.72); font-weight:900}
.footer__link:hover{color:rgba(242,244,247,.92)}

@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-grid; place-items:center}
}
