/* ==========================================================================
   UNIKOON CYBER HARDWARE - MASTER COMPONENTS DESIGN SYSTEM (ALL COMPONENTS)
   ========================================================================== */

/* 1. HEADER NAVIGATION BAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(123, 97, 255, 0.2));
  border: 1px solid var(--border-neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  display: block;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  display: block;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 2. BUTTONS SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.6);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-neon-cyan);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* 3. BADGES & SPEC CHIPS */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.badge-gold {
  background: rgba(255, 183, 3, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge-magenta {
  background: rgba(255, 0, 128, 0.15);
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
}

.spec-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* 4. GLASS PANELS & CARDS */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.cyber-card {
  background: linear-gradient(145deg, rgba(16, 21, 36, 0.9), rgba(10, 13, 23, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  overflow: hidden;
}

.cyber-card:hover {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-4px);
}

/* 5. HERO SLIDER CAROUSEL */
.hero-slider-section {
  position: relative;
  padding: 20px 0 40px;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.15);
  background: #05070c;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.slide-item {
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 6s ease;
  decoding: async;
}

.slide-item.active img {
  transform: scale(1.05);
}

.slide-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* DESKTOP HERO SLIDER STYLING (768px+) */
@media (min-width: 768px) {
  .hero-slider-container {
    height: 520px;
  }

  .slide-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 70px;
    background: linear-gradient(90deg, rgba(5, 7, 12, 0.95) 0%, rgba(5, 7, 12, 0.75) 50%, rgba(5, 7, 12, 0.15) 100%);
    max-width: 650px;
    z-index: 2;
  }

  .slide-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .slide-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .slide-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
  }

  .slide-stat-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .slide-stat-item span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    display: block;
  }

  .slide-stat-item label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

/* MOBILE HERO SLIDER STYLING (< 768px) - FULL BLEED EDGE-TO-EDGE */
@media (max-width: 767px) {
  .hero-slider-section {
    padding: 0 0 20px 0 !important;
  }

  .hero-slider-section .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero-slider-container {
    height: auto !important;
    min-height: 550px !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(0, 242, 254, 0.35);
    border-bottom: 1px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
    background: #07090e;
  }

  .slide-item {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  .slide-item img {
    height: 270px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .slide-content-overlay {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px !important;
    background: rgba(7, 9, 14, 0.98) !important;
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
  }

  .slide-badge {
    font-size: 0.75rem !important;
    padding: 4px 14px !important;
    margin-bottom: 4px;
    display: inline-block;
    align-self: flex-start;
  }

  .slide-title {
    font-family: var(--font-heading);
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .slide-desc {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slide-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .slide-stat-item {
    padding: 4px 2px;
    text-align: center;
    background: transparent;
    border: none;
  }

  .slide-stat-item span {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--accent-cyan) !important;
    display: block;
  }

  .slide-stat-item label {
    font-size: 0.6rem !important;
    color: var(--text-muted) !important;
  }
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

.slider-nav-prev { left: 16px; }
.slider-nav-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-btn.active {
  width: 32px;
  border-radius: 10px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* 6. FILTER & SEARCH BAR */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* 7. PRODUCTS CATALOG GRID */
.products-grid, .product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(16, 21, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.2);
}

.product-thumb-box, .product-img-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #080b12;
}

.product-thumb-box img, .product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  decoding: async;
}

.product-card:hover .product-thumb-box img,
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.product-footer, .product-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 8. TECH INNOVATION GRID */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.tech-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(16, 21, 36, 0.9), rgba(10, 13, 23, 0.95));
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all 0.35s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.25);
}

.tech-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.tech-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.tech-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 9. STORE LOCATOR GRID */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.store-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(16, 21, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.store-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.store-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* 10. PREMIUM VERTICAL SITE FOOTER STYLING (CHÍNH SÁCH BÀI VIẾT) */
.site-footer {
  background: linear-gradient(180deg, #07090e 0%, #030407 100%);
  border-top: 1px solid rgba(0, 242, 254, 0.25);
  padding: 55px 0 28px;
  position: relative;
  margin-top: auto;
  text-align: left;
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-v2-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-v2-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.footer-v2-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-v2-list li {
  margin-bottom: 12px;
}

.footer-v2-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.footer-v2-list a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-v2-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-v2-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(123, 97, 255, 0.15));
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.footer-v2-hotline:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.footer-v2-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.social-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-v2-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.footer-v2-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* 11. FLOATING CHAT WIDGET */
.floating-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.floating-chat-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.floating-chat-btn:hover {
  transform: scale(1.1);
}

.chat-popup-card {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 320px;
  padding: 16px;
  display: none;
}

.chat-popup-card.active {
  display: block;
}

.chat-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.chat-channel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.chat-channel-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
