*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#050816;
  color:white;
  overflow-x:hidden;
  position:relative;
}

.bg{
  position:fixed;
  inset:0;
  z-index:-3;
  background:
  radial-gradient(circle at top left,#1e3a8a22,transparent 40%),
  radial-gradient(circle at bottom right,#7c3aed22,transparent 40%),
  #050816;
}

.cursor-glow{
  position:fixed;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle,
  rgba(59,130,246,0.18),
  transparent 70%);
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:-1;
  filter:blur(30px);
}

.ocean{
  position:fixed;
  inset:0;
  z-index:-2;
  overflow:hidden;
}

.bubble{
  position:absolute;
  bottom:-100px;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.05);
  animation:rise 15s infinite ease-in;
}

.x1{left:10%;animation-duration:12s;}
.x2{left:30%;animation-duration:18s;}
.x3{left:55%;animation-duration:15s;}
.x4{left:75%;animation-duration:20s;}
.x5{left:90%;animation-duration:10s;}

@keyframes rise{
  0%{
    transform:translateY(0) scale(.5);
    opacity:0;
  }

  20%{
    opacity:1;
  }

  100%{
    transform:translateY(-120vh) scale(1.2);
    opacity:0;
  }
}

header{
  width:90%;
  margin:20px auto;
  padding:18px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;

  position:sticky;
  top:20px;
  z-index:999;

  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.04);

  border:1px solid rgba(255,255,255,.06);
  border-radius:20px;
}

.logo{
  font-size:24px;
  font-weight:800;
}

nav{
  display:flex;
  gap:30px;
}

nav a{
  color:#cbd5e1;
  text-decoration:none;
  transition:.3s;
}

nav a:hover{
  color:white;
}

.invite-btn,
.primary-btn{
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  color:white;
  padding:14px 28px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  transition:.35s;
  box-shadow:0 0 30px rgba(99,102,241,.3);
}

.invite-btn:hover,
.primary-btn:hover{
  transform:translateY(-5px);
}

.secondary-btn{
  border:1px solid rgba(255,255,255,.1);
  color:white;
  padding:14px 28px;
  border-radius:14px;
  text-decoration:none;
}

.hero{
  width:90%;
  min-height:90vh;
  margin:auto;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.tag{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(59,130,246,.12);
  border:1px solid rgba(59,130,246,.2);
  margin-bottom:25px;
}

.hero h1{
  font-size:78px;
  line-height:1;
  margin-bottom:25px;
}

.hero h1 span{
  background:linear-gradient(90deg,
  #38bdf8,
  #8b5cf6,
  #06b6d4,
  #38bdf8);

  background-size:300%;

  animation:gradientMove 6s linear infinite;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

@keyframes gradientMove{
  0%{background-position:0%;}
  100%{background-position:300%;}
}

.hero p{
  color:#94a3b8;
  font-size:18px;
  line-height:1.8;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  margin-bottom:40px;
}

.hero-stats{
  display:flex;
  gap:20px;
}

.glass-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(18px);

  box-shadow:
  0 10px 30px rgba(0,0,0,0.25),
  inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
  transform .4s ease,
  border-color .4s ease,
  box-shadow .4s ease;
}

.glass-card:hover{
  transform:
  translateY(-10px)
  scale(1.02);

  border-color:#60a5fa;

  box-shadow:
  0 20px 40px rgba(37,99,235,0.25);
}

.mini-stat{
  padding:25px;
  border-radius:20px;
  min-width:140px;
}

.mini-stat h3{
  font-size:36px;
  margin-bottom:10px;
}

.mini-stat span{
  color:#94a3b8;
}

.terminal{
  border-radius:24px;
  padding:30px;
}

.terminal-top{
  display:flex;
  gap:10px;
  margin-bottom:25px;
}

.terminal-top span{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#334155;
}

.line{
  margin:18px 0;
  font-family:monospace;
  color:#94a3b8;
}

.success{
  color:#4ade80;
}

.danger{
  color:#f87171;
}

.info{
  color:#38bdf8;
}

section{
  width:90%;
  margin:120px auto;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:52px;
  margin-bottom:20px;
}

.section-title p{
  color:#94a3b8;
}

.stats-grid,
.feature-grid,
.commands-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.stat-card,
.feature-card,
.command-card{
  padding:35px;
  border-radius:26px;
}

.stat-card h2{
  font-size:58px;
  margin-bottom:10px;
  font-weight:800;

  background:linear-gradient(90deg,#60a5fa,#a78bfa);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.feature-card .icon{
  font-size:42px;
  margin-bottom:25px;
}

.feature-card h3,
.command-card span{
  font-size:24px;
  font-weight:700;
  display:block;
  margin-bottom:18px;
}

.feature-card p,
.command-card p,
.stat-card p{
  color:#94a3b8;
  line-height:1.8;
}

#search{
  width:100%;
  margin-bottom:40px;
  padding:18px 24px;
  border:none;
  outline:none;
  border-radius:16px;

  background:rgba(255,255,255,.05);
  color:white;
  font-size:16px;
}

footer{
  text-align:center;
  padding:60px 20px;
  color:#64748b;
}

.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:1s;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

.online{
  color:#4ade80 !important;
}

.offline{
  color:#f87171 !important;
}

@media(max-width:1000px){

  .hero{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:52px;
  }

  nav{
    display:none;
  }

  .hero-stats{
    flex-direction:column;
  }

}
