:root {
  --bg-dark: #080808;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #333;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  font-family: "Ubuntu Mono", monospace;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(125deg, #161616, #101010, #0d0d0d, #121212);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 10%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(8, 8, 8);
  backdrop-filter: blur(10px);
}

#left { display: flex; align-items: center; gap: 3rem; }
.logo { font-size: 1.8rem; font-weight: 700; text-decoration: none; color: #fff; cursor: pointer; font-family: "Ubuntu Mono", monospace; }

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 27px;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
  letter-spacing: 1px;
}

nav a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.nav-button { color: var(--text-secondary); font-size: 1.3rem; margin-left: 1.5rem; transition: 0.3s; text-decoration: none; }
.nav-button:hover { color: #fff; transform: translateY(-3px); }

#home-page {
  padding-top: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.2s ease-out;
  user-select: none;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

#main-display {
  font-size: clamp(5rem, 15vw, 10rem);
  margin: 0;
  padding: 10px;
  font-family: "Ubuntu Mono", monospace;
  background: linear-gradient(to bottom, #fff, #444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -10px;
}

.stats-container {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
}

#home-page, #products-page {
  flex: 1;
}

.main-section { text-align: center; }
.main-section h3:first-child { color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.main-section h3:last-child { font-size: 1.5rem; font-weight: 600; }

#products-page {
  display: none;
  padding: 15vh 10% 5vh;
  animation: fadeIn 0.5s ease;
}

#products-page h2 {
  user-select: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  transition: 0.4s;
  cursor: pointer;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

footer {
  padding: 2rem 0;
  text-align: center;
  color: #333;
  font-size: 0.8rem;
  width: 100%;
  user-select: none;
}

@media (max-width: 768px) {
  .stats-container { flex-direction: column; gap: 2rem; }
  #main-display { font-size: 6rem; }
}