* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #06142e, #0a1f44, #0f2d63);
  color: white;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 20px auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  padding: 25px;
  margin-bottom: 20px;
}

.small-title {
  color: #9cc4ff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.topbar h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.subtitle {
  color: #d0d9ea;
  margin-top: 5px;
}

.nav-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-buttons button,
.main-btn,
.products-card button {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-buttons button:hover,
.main-btn:hover,
.products-card button:hover {
  background: #2563eb;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 20px;
}

.stat-box p {
  color: #c7d2e5;
  margin-bottom: 10px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.filter-box,
.form-card,
.preview-card,
.profile-card,
.products-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 20px;
}

.filter-box h3,
.form-card h2,
.preview-card h3 {
  margin-bottom: 15px;
}

.filter-box label,
.form-card label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #d6e2f2;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

input::placeholder {
  color: #d0d9ea;
}

.products-section h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.products-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 15px;
}

.products-card h3 {
  margin-bottom: 5px;
}

.price {
  display: inline-block;
  background: rgba(37, 99, 235, 0.3);
  padding: 6px 12px;
  border-radius: 12px;
  margin: 10px 0;
}

.signup-layout,
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.preview-card,
.profile-card {
  text-align: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 15px auto;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  margin: 15px auto;
}

.badge {
  display: inline-block;
  margin-top: 12px;
  background: rgba(37, 99, 235, 0.3);
  padding: 8px 14px;
  border-radius: 12px;
}

.profile-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.form-card p,
.preview-card p {
  color: #d0d9ea;
  margin-bottom: 10px;
}

.main-btn {
  margin-top: 15px;
  width: 100%;
}

@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-layout,
  .signup-layout,
  .profile-layout,
  .profile-info,
  .stats {
    grid-template-columns: 1fr;
  }
}
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.25), transparent 70%);
  filter: blur(60px);
  animation: pulseGlow 3s infinite ease-in-out;
}

.intro-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.magic-title {
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(90deg, #ffffff, #7db8ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite, floatText 2.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(125, 184, 255, 0.35);
}

.magic-subtitle {
  margin-top: 20px;
  font-size: 20px;
  color: #dbeafe;
  letter-spacing: 2px;
  animation: fadeBlink 1.8s infinite;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes floatText {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 768px) {
  .magic-title {
    font-size: 34px;
  }

  .magic-subtitle {
    font-size: 16px;
  }
}
