/* === GENERAL === */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #010101;
  color: #ddd;
  scroll-behavior: smooth;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


h1, h2 {
  font-family: 'Orbitron', sans-serif;
}

a {
  color: #0ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px #0ff;
}

/* === HEADER === */
header {
  background: #000;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #0ff5;
}

header h1 {
  margin: 0;
  color: #0ff;
  font-size: 2em;
}

nav {
  margin-top: 15px;
}

nav a {
  margin: 0 10px;
  font-weight: 500;
}

/* === HERO === */
.hero {
  background: radial-gradient(circle at center, #0ff2 0%, #000 100%);
  text-align: center;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 2.5em;
  animation: fadeIn 1s ease-in-out;
}

.hero span {
  color: #0ff;
}

.hero p {
  font-size: 1.2em;
  animation: fadeIn 1.5s ease-in-out;
}

/* === GLASS SECTIONS === */
.glass {
  max-width: 1000px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid #0ff4;
  border-radius: 12px;
  padding: 50px 30px;
  box-shadow: 0 8px 40px #0ff2;
  animation: slideIn 0.8s ease-out;
}

.glass h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0ff;
}

.glass p, .glass li {
  line-height: 1.7;
}

/* === GRID === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* === ITEM (card/tool) === */
.item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border: 1px solid #0ff3;
  border-radius: 10px;
  text-align: center;
  color: #0ff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 15px #00ffffaa;
  background: rgba(0, 255, 255, 0.1);
}

/* === TOOLTIP === */
.tooltip {
  position: absolute;
  bottom: -80%;
  left: 50%;
  transform: translateX(-50%);
  background: #10121b;
  padding: 8px;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  width: max-content;
  max-width: 200px;
}

.item:hover .tooltip {
  opacity: 1;
}

/* === TABS === */
.tab-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #0ff4;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  color: #0ff;
  font-weight: bold;
  transition: background 0.3s ease;
}

.tab:hover {
  background: rgba(0, 255, 255, 0.2);
}

.tab.active {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 12px #0ff;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* === FOOTER === */
footer {
  text-align: center;
  background: #000;
  padding: 20px;
  border-top: 1px solid #0ff3;
  color: #aaa;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New default for all sections */
section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* === MOBILE RESPONSIVE (for phones) === */
@media (max-width: 600px) {
  body {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  nav a {
    display: block;
    margin: 6px 0;
    font-size: 15px;
  }

  .hero {
    padding: 50px 15px;
  }

  .hero h2 {
    font-size: 1.6em;
  }

  .hero p {
    font-size: 1em;
  }

  .glass {
    padding: 30px 15px;
    margin: 30px 10px;
  }

  .glass h2 {
    font-size: 1.4em;
  }

  .tab-container {
    flex-direction: column;
    align-items: center;
  }

  .tab {
    font-size: 0.9em;
    padding: 8px 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .tooltip {
    bottom: -100%;
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
    max-width: 150px;
  }

  footer {
    font-size: 13px;
    text-align: center;
    padding: 15px;
  }
}
