html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #000;
  color: #fff;
}

/* NAVBAR */
.top-nav {
  background-color: #000;
}
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  z-index: 1030;
}

.navbar-brand img {
  border-radius: 6px;
}

.navbar-brand strong {
  color: #fff;
}

.navbar-toggler {
    background-color: #3782ab;
}

.navbar-nav .nav-link {
  color: #3782ab !important;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(0, 191, 255, 0.1);
  color: #ffffff !important;
  text-decoration: none;
}

.active {
  background-color: rgba(28, 159, 203, 0.296);
  color: #ffff !important;
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  background: url("/assets/global/img/hero.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #3782ab;
}

.hero p {
  font-size: 1.3rem;
  color: #ccc;
  margin-top: 10px;
}

/* Buttons */
.btn-glow {
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1rem;
  color: #fff;
  background: #3782ab;
  border: none;
  border-radius: 30px;
  box-shadow: 0 0 15px #3782ab;
  transition: 0.3s;
}

.btn-glow:hover {
  background: #0099cc;
  box-shadow: 0 0 25px #0099cc;
}

/* SECTIONS */
section {
  padding: 80px 20px;
  text-align: center;
}

.features,
.ecosystem {
  background: #0a0a0a;
}

.features h2,
.ecosystem h2,
.code-section h2,
.join h2,
.comparison h2,
.community h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #3782ab;
}

.feature-box {
  padding: 30px;
  background: #111;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.feature-box:hover {
  background: #1a1a1a;
}

.code-section {
  background: #111;
}

.code-section pre {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  color: #00ffcc;
  overflow-x: auto;
  text-align: left;
}

.join {
  background: linear-gradient(to right, #001, #002);
}

.footer {
  background: #000;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
  color: #888;
}

.comparison {
  background: #0a0a0a;
}

.comparison table {
  color: #fff;
  border-collapse: collapse;
  margin: 0 auto;
  width: 80%;
}

.comparison th,
.comparison td {
  border: 1px solid #444;
  padding: 12px;
}

.comparison th {
  background-color: #111;
  color: #3782ab;
}

.community {
  background: #111;
}

.social-icons a {
  margin: 0 10px;
  color: #3782ab;
  font-size: 1.5rem;
}

/* Anchor Global */
a {
  color: #3782ab;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  background-color: rgba(0, 191, 255, 0.1);
  border-radius: 5px;
}

/* PRELOADER */
#squehub-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.preloader-inner {
  position: relative;
  width: 330px;
  height: 150px;
}

.preloader-inner .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.preloader-inner .icon-left {
  width: 200px;
  height: 290px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.preloader-inner .icon-right {
  width: 200px;
  height: 300px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}

.icon.left {
  left: -140px;
  animation: moveLeft 1.4s ease-in-out forwards;
}

.icon.right {
  right: -140px;
  animation: moveRight 1.4s ease-in-out forwards;
}

@keyframes moveLeft {
  to {
    left: 10px;
    opacity: 1;
  }
}

@keyframes moveRight {
  to {
    right: 10px;
    opacity: 1;
  }
}

.package-icon {
  height: 30px;
  width: 60px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.package-icon-box {
  background-color: #3782ab;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.package-icon-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.tab-toggle {
  margin: 0 5px;
  border-radius: 20px;
  padding: 5px 14px;
  border: 1px solid #3782ab;
  background-color: transparent;
  color: #3782ab;
  transition: all 0.3s ease;
}

.tab-toggle.active {
  background-color: #3782ab;
  color: #fff;
}

.tab-content {
  transition: opacity 0.4s ease;
}
