:root {
  --bg-dark: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --neon-cyan: #06b6d4;
  --neon-purple: #8b5cf6;
  --text-main: #e2e8f0;
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: linear-gradient(
      rgba(6, 182, 212, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.price-tag {
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: -webkit-linear-gradient(
    45deg,
    var(--neon-cyan),
    var(--neon-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.hero-section {
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* LIVE SEARCH STYLES */
.search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

.search-input {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #334155;
  color: white;
  border-radius: 0;
  padding: 15px 20px;
  transition: all 0.3s;
  clip-path: polygon(2% 0, 100% 0, 100% 80%, 98% 100%, 0 100%, 0 20%);
  width: 100%;
}

.search-input:focus {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  color: white;
  outline: none;
}

.btn-search {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--neon-cyan);
  border: none;
  color: black;
  font-weight: 700;
  padding: 0 25px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  transition: all 0.3s;
}

.btn-search:hover {
  background: white;
  box-shadow: 0 0 15px var(--neon-cyan);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid var(--neon-cyan);
  border-top: none;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-item {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  color: #cbd5e1;
  text-decoration: none;
}

.search-item:hover {
  background: rgba(6, 182, 212, 0.1);
  color: white;
  padding-left: 20px;
}

.search-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: white;
  border-radius: 4px;
}

.search-item-info {
  text-align: left;
}

.search-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

.search-item-price {
  font-size: 0.8rem;
  color: var(--neon-purple);
  font-family: "Rajdhani";
  font-weight: 700;
}

/* PRODUCT CARD STYLES */
.product-card {
  background: var(--card-bg);
  border: var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2) inset;
}

.product-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: 0.5s;
  opacity: 0;
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.card-img-wrapper {
  height: 200px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img-top {
  max-height: 100%;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s;
}

.product-card:hover .card-img-top {
  transform: scale(1.08);
}

.card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-title {
  color: white;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
  line-height: 1.5em;
}

.price-tag {
  color: var(--neon-cyan);
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  margin-bottom: 1rem;
}

.spec-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-family: "Rajdhani", sans-serif;
  padding: 4px 10px;
  font-size: 0.8rem;
  margin-right: 5px;
  border-radius: 4px;
}

.spec-badge i {
  color: var(--neon-purple);
  margin-right: 4px;
}

.btn-view {
  background: transparent;
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  width: 100%;
  padding: 8px;
  font-weight: 700;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.btn-view:hover {
  background: var(--neon-purple);
  color: white;
  box-shadow: 0 0 15px var(--neon-purple);
}
