
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Fredoka',sans-serif;
  background:linear-gradient(135deg,#020617,#0f172a,#111827);
  color:white;
  overflow-x:hidden;
  position:relative;
}

.grid-bg{
  position:fixed;
  inset:0;
  background-image:radial-gradient(rgba(0,255,153,0.12) 1px, transparent 1px);
  background-size:24px 24px;
  z-index:-1;
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 8%;
}

.logo{
  font-family:'Bangers',cursive;
  font-size:2.2rem;
  letter-spacing:2px;
}

nav{
  display:flex;
  gap:20px;
}

nav a{
  text-decoration:none;
  color:white;
  font-weight:600;
  transition:0.3s;
}

nav a:hover,
nav .active{
  color:#00ff99;
}

.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:50px 8%;
  gap:60px;
  flex-wrap:wrap;
}

.hero-text{
  flex:1;
  min-width:320px;
}

.top-alert{
  display:inline-block;
  background:#00ff99;
  color:black;
  padding:12px 18px;
  border-radius:50px;
  border:3px solid black;
  box-shadow:5px 5px 0 black;
  font-weight:700;
  margin-bottom:25px;
}

.hero h1{
  font-family:'Bangers',cursive;
  font-size:6rem;
  line-height:0.9;
  margin-bottom:25px;
  text-shadow:5px 5px 0 black;
}

.hero p{
  font-size:1.2rem;
  line-height:1.8;
  color:#cbd5e1;
  max-width:620px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:35px;
  flex-wrap:wrap;
}

.primary-btn,
.secondary-btn,
.dashboard-btn,
.next-btn{
  text-decoration:none;
  color:white;
  padding:16px 28px;
  border-radius:18px;
  border:4px solid black;
  box-shadow:6px 6px 0 black;
  transition:0.3s;
  font-weight:700;
}

.primary-btn{
  background:#00ff99;
  color:black;
}

.secondary-btn,
.dashboard-btn,
.next-btn{
  background:#111827;
}

.primary-btn:hover,
.secondary-btn:hover,
.dashboard-btn:hover,
.next-btn:hover{
  transform:translateY(-6px);
}

.hero-visual{
  flex:1;
  min-width:320px;
  display:flex;
  justify-content:center;
  position:relative;
}

.terminal-card{
  width:420px;
  background:#0f172a;
  border-radius:30px;
  border:5px solid black;
  box-shadow:12px 12px 0 black;
  overflow:hidden;
  position:relative;
}

.rotate1{
  transform:rotate(-3deg);
}

.rotate2{
  transform:rotate(2deg);
}

.rotate3{
  transform:rotate(-2deg);
}

.terminal-top{
  background:#1e293b;
  padding:15px;
  display:flex;
  gap:10px;
}

.terminal-top span{
  width:14px;
  height:14px;
  background:white;
  border-radius:50%;
}

.terminal-content{
  padding:40px;
  font-family:monospace;
  line-height:2;
  font-size:1.1rem;
}

.green{
  color:#00ff99;
}

.live-sticker{
  position:absolute;
  top:20px;
  right:20px;
  background:#00ff99;
  color:black;
  padding:10px 16px;
  border-radius:50px;
  border:3px solid black;
  font-weight:700;
}

.speech-bubble{
  position:absolute;
  bottom:-20px;
  left:0;
  background:white;
  color:black;
  padding:18px;
  border-radius:20px;
  border:4px solid black;
  box-shadow:6px 6px 0 black;
  max-width:280px;
  font-weight:700;
}

.intel-section{
  padding:100px 8%;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
}

.intel-card{
  background:#111827;
  padding:40px 30px;
  border-radius:30px;
  border:5px solid black;
  box-shadow:10px 10px 0 black;
}

.intel-icon{
  font-size:3rem;
  margin-bottom:20px;
}

.intel-card h2{
  font-size:2rem;
  margin-bottom:20px;
}

.intel-card p{
  line-height:1.8;
  color:#cbd5e1;
}

.dashboard-section{
  padding:80px 8%;
  display:flex;
  justify-content:center;
}

.dashboard-card{
  width:100%;
  max-width:900px;
  background:#00ff99;
  color:black;
  padding:50px;
  border-radius:40px;
  border:5px solid black;
  box-shadow:12px 12px 0 black;
}

.dashboard-header{
  font-family:'Bangers',cursive;
  font-size:4rem;
  margin-bottom:40px;
  text-align:center;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:25px;
  margin-bottom:40px;
}

.mini-box{
  background:#111827;
  color:white;
  padding:30px 20px;
  border-radius:25px;
  border:4px solid black;
  text-align:center;
}

.mini-box h3{
  font-size:2rem;
  margin-bottom:10px;
}

.dashboard-btn{
  display:inline-block;
}

.next-portal{
  margin:100px 8%;
  background:#facc15;
  color:black;
  padding:70px 40px;
  border-radius:40px;
  text-align:center;
  border:5px solid black;
  box-shadow:12px 12px 0 black;
}

.portal-icon{
  font-size:4rem;
  margin-bottom:20px;
}

.next-portal h2{
  font-family:'Bangers',cursive;
  font-size:4rem;
  margin-bottom:20px;
}

.next-portal p{
  font-size:1.2rem;
  max-width:700px;
  margin:auto;
  margin-bottom:35px;
}

footer{
  text-align:center;
  padding:40px;
  color:#94a3b8;
}

@media(max-width:768px){

  .hero h1{
    font-size:4rem;
  }

  .next-portal h2,
  .dashboard-header{
    font-size:3rem;
  }

  .navbar{
    flex-direction:column;
    gap:20px;
  }

}
.hero-visual{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card{
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid #00d2ff;
  background: #0b1020;
  box-shadow:
    0 0 25px rgba(0,210,255,0.35),
    0 0 60px rgba(0,210,255,0.15);
  transform: rotate(-2deg);
  transition: 0.4s ease;
}

.hero-image-card:hover{
  transform: rotate(0deg) scale(1.02);
}

.hero-image-card img{
  width: 100%;
  display: block;
  object-fit: cover;
}

.speech-bubble{
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #00d2ff;
  color: #000;
  padding: 14px 20px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,210,255,0.35);
}
/* =========================================
   MOBILE RESPONSIVE FIX (CLEAN VERSION)
========================================= */

@media (max-width: 768px){

  /* GLOBAL FIX */
  body{
    overflow-x:hidden;
  }

  /* NAVBAR */
  .navbar{
    flex-direction:column;
    text-align:center;
    gap:15px;
    padding:20px;
  }

  nav{
    justify-content:center;
    flex-wrap:wrap;
  }

  /* HERO STACK */
  .hero{
    flex-direction:column;
    text-align:center;
    padding:40px 18px;
    gap:40px;
  }

  .hero-text{
    min-width:100%;
  }

  /* TITLE FIX (VERY IMPORTANT) */
  .hero h1{
    font-size:3rem;
    line-height:1;
  }

  .hero p{
    font-size:1rem;
    margin:auto;
  }

  /* BUTTON FIX */
  .hero-buttons{
    flex-direction:column;
    align-items:center;
    width:100%;
    gap:12px;
  }

  .primary-btn,
  .secondary-btn,
  .dashboard-btn,
  .next-btn{
    width:100%;
    max-width:320px;
    font-size:0.95rem;
    padding:14px 18px;
  }

  /* TERMINAL CARD FIX */
  .terminal-card{
    width:100%;
    max-width:340px;
  }

  .terminal-content{
    padding:25px;
    font-size:0.95rem;
  }

  /* REMOVE FLOAT ROTATION ON MOBILE */
  .rotate1,
  .rotate2,
  .rotate3{
    transform:none !important;
  }

  /* SPEECH BUBBLE FIX */
  .speech-bubble{
    position:relative;
    bottom:auto;
    left:auto;
    right:auto;
    margin-top:15px;
    max-width:100%;
  }

  /* GRID SECTIONS */
  .intel-section{
    padding:60px 18px;
  }

  .intel-card{
    padding:30px 20px;
  }

  /* DASHBOARD */
  .dashboard-section{
    padding:60px 18px;
  }

  .dashboard-card{
    padding:30px 20px;
  }

  .dashboard-header{
    font-size:2.2rem;
  }

  /* NEXT PORTAL */
  .next-portal{
    margin:60px 18px;
    padding:40px 20px;
  }

  .next-portal h2{
    font-size:2.2rem;
  }

  .next-portal p{
    font-size:1rem;
  }

}

/* =========================================
   SMALL MOBILE (VERY IMPORTANT)
========================================= */

@media (max-width: 400px){

  .hero h1{
    font-size:2.3rem;
  }

  .dashboard-header,
  .next-portal h2{
    font-size:1.8rem;
  }

  .terminal-content{
    font-size:0.85rem;
  }
}