body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #040617, #01020a);
  color: white;
}

/* MAIN TITLE */
.main-title {
  text-align: center;
  font-size: 50px;
  margin-top: 40px;
  background: linear-gradient(90deg, #00f0ff, #8a2eff, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SECTION */
.topic-section {
  padding: 60px;
}

/* TITLE */
.topic-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.gradient {
  background: linear-gradient(90deg, #00f0ff, #8a2eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TAGS */
.tags span {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin: 5px;
  display: inline-block;
  font-size: 12px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* CARD */
.card {
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.03);
  transition: 0.4s;
  position: relative;
}

/* GLOW BORDER */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

/* COLORS */
.purple { color: #a855f7; }
.cyan { color: #22d3ee; }
.orange { color: #f59e0b; }

/* HOVER */
.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 0 50px currentColor;
}
.db-section {
  padding: 80px 60px;
  background: radial-gradient(circle at top, #050816, #01020a);
}

/* TITLE */
.db-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #00f0ff, #8a2eff, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GRID */
.db-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.db-card {
  padding: 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  position: relative;
  transition: 0.4s;
  color: #fff;
}

/* GLOW BORDER */
.db-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(90deg, #00f0ff, #8a2eff, #ff8c00);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

/* MAIN CARD */
.db-card.main {
  grid-column: span 3;
  text-align: center;
}

/* WIDE CARD */
.db-card.wide {
  grid-column: span 2;
}

/* TEXT */
.db-card h2, .db-card h3 {
  margin-bottom: 10px;
}

.db-card p {
  opacity: 0.8;
  font-size: 14px;
}

/* HIGHLIGHT */
.highlight {
  font-size: 24px;
  font-weight: 700;
  color: #f59e0b;
}

/* STATUS */
.status {
  margin-top: 10px;
  font-size: 13px;
}

.online {
  color: #22c55e;
}

/* HOVER */
.db-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 40px rgba(138, 46, 255, 0.4);
}

/* IMAGE */
.db-image {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #8a2eff;
  box-shadow: 0 0 25px rgba(138, 46, 255, 0.6);
}

.db-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* STATUS DOT */
.status {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

/* VALUE TEXT */
.value {
  font-weight: 500;
  opacity: 0.9;
}
.ai-terminal {
  padding: 80px 60px;
}

/* TITLE */
.terminal-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #00f0ff, #8a2eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TERMINAL BOX */
.terminal-box {
  max-width: 800px;
  margin: auto;
  padding: 25px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  font-family: monospace;
  color: #22c55e;
  position: relative;
  overflow: hidden;
}

/* GLOW BORDER */
.terminal-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(90deg, #00f0ff, #8a2eff, #ff8c00);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}

/* TEXT */
#terminal-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}

/* BLINKING CURSOR */
#terminal-text::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* HIDDEN INITIALLY */
.hidden-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

/* VISIBLE */
.show-section {
  opacity: 1;
  transform: translateY(0);
}

/* TERMINAL FIRST */
.show-first {
  opacity: 1;
}