/* ==========================================================================
   PLUS INFOCOMMUNICATIONS - ULTRA-PREMIUM MODERN FULL-WIDTH HOMEPAGE
   Edge-to-Edge Responsive Layout (Desktop & Laptop Display Optimized)
   ========================================================================== */

/* --- CSS Reset & Global Tokens --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Colors */
  --color-primary-navy: #020b1e;
  --color-navy-dark: #041233;
  --color-electric-blue: #0284c7;
  --color-accent-blue: #1463db;
  --color-cyan-bright: #22d3ee;
  --color-yellow-cta: #ffc21a;
  --color-yellow-hover: #f59e0b;
  --color-discount-red: #e11d48;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border-subtle: #e2e8f0;
  --color-card-bg: #ffffff;
  --color-surface-soft: #f8fafc;

  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Base Full-Width Page Wrapper */
.page-container {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   1. FULL-WIDTH CLEAN WHITE HEADER
   ========================================================================== */
.site-header {
  width: 100%;
  height: 64px;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.02);
}

.header-inner {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-accent-blue);
  background-color: #f8fafc;
}

/* Active Home Pill */
.nav-link.active {
  background-color: var(--color-accent-blue);
  color: #ffffff;
  font-weight: 600;
  padding: 6px 18px;
  box-shadow: 0 3px 10px rgba(20, 99, 219, 0.3);
}

.nav-link.active:hover {
  background-color: #0f52b8;
  color: #ffffff;
}

.chevron {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 1px;
}

/* Search Bar */
.header-search {
  flex: 0 1 240px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  height: 38px;
  padding: 0 36px 0 16px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #334155;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
  background-color: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}

.search-input-wrapper input::placeholder {
  color: #94a3b8;
}

.search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  padding: 4px;
}

.search-icon {
  width: 16px;
  height: 16px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background-color: #f1f5f9;
  color: var(--color-accent-blue);
}

.action-btn svg {
  width: 21px;
  height: 21px;
}

.cart-badge {
  position: absolute;
  top: 1px;
  right: 0px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   2. FULL-WIDTH PREMIUM HERO BANNER
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 330px;
  background: radial-gradient(circle at 74% 54%, rgba(8, 145, 238, 0.45) 0%, rgba(2, 40, 105, 0.75) 38%, #010a1d 75%),
              linear-gradient(135deg, #01091b 0%, #03163a 35%, #07357d 75%, #0548a3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

/* Background Cyber Arcs */
.hero-arc {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-arc-1 {
  width: 680px;
  height: 680px;
  top: -160px;
  right: calc(50% - 640px);
  border: 1.5px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 55px rgba(6, 182, 212, 0.35);
}

.hero-arc-2 {
  width: 820px;
  height: 820px;
  top: -240px;
  right: calc(50% - 720px);
  border: 1px dashed rgba(56, 189, 248, 0.18);
}

.hero-inner {
  width: 100%;
  max-width: 1380px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

/* Hero Left Content */
.hero-content {
  max-width: 520px;
  color: #ffffff;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 10px;
}

.highlight-tech {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(90deg, #22d3ee 0%, #67e8f9 45%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(34, 211, 238, 0.45));
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #cde0f7;
  line-height: 1.45;
  margin-bottom: 22px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-main);
  border-radius: 9999px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary-yellow {
  background: linear-gradient(135deg, #ffc720 0%, #f59e0b 100%);
  color: #0b1426;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.42);
}

.btn-primary-yellow:hover {
  background: linear-gradient(135deg, #ffd347 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2.8;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 22px;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Trust Strip */
.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  width: 26px;
  height: 26px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: #e0f2fe;
  line-height: 1.25;
}

.trust-divider {
  width: 1px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage-img {
  width: 520px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 24px rgba(6, 182, 212, 0.35));
  transition: transform var(--transition-smooth);
}

.hero-stage-wrapper:hover .hero-stage-img {
  transform: translateY(-4px) scale(1.01);
}

/* ==========================================================================
   3. CATEGORY CARDS SECTION (FULL WIDTH CONTAINER)
   ========================================================================== */
.categories-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 0 16px;
  background-color: #ffffff;
}

.categories-grid {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
  background-color: #0b1a3d;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cat-full-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 210 / 122;
  transition: transform var(--transition-smooth);
}

.category-card:hover .cat-full-card-img {
  transform: scale(1.02);
}

/* ==========================================================================
   4. FEATURED DEALS SECTION (FULL WIDTH CONTAINER)
   ========================================================================== */
.deals-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 20px;
  background-color: #ffffff;
}

.section-header {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.3px;
}

.bolt-icon {
  color: #f59e0b;
  font-size: 1.3rem;
}

.title-highlight {
  color: var(--color-accent-blue);
}

.view-all-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: all var(--transition-fast);
}

.view-all-link:hover {
  color: #0f3cb5;
  transform: translateX(2px);
}

.chevron-right {
  width: 14px;
  height: 14px;
}

.deals-grid {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 16px 16px 14px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  border-color: #dbeafe;
}

/* Circular Red Discount Badge */
.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: var(--color-discount-red);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.35);
  z-index: 3;
}

/* Product Thumbnail */
.product-thumb {
  width: 100%;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.product-img {
  max-height: 105px;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Details */
.product-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.stars {
  color: #f59e0b;
  font-size: 0.74rem;
  display: flex;
  gap: 1px;
}

.rating-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: #090e17;
  letter-spacing: -0.3px;
}

.price-old {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

/* Card Action Buttons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-add-cart {
  flex: 1;
  background: linear-gradient(135deg, #094792 0%, #0462d2 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 8px 12px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(4, 98, 210, 0.28);
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #0b55ac 0%, #0352af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 98, 210, 0.4);
}

.cart-icn {
  width: 15px;
  height: 15px;
}

.btn-wishlist {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-wishlist:hover {
  border-color: #cbd5e1;
  color: #ef4444;
  background-color: #fff1f2;
}

.btn-wishlist.active {
  color: #ef4444;
  border-color: #fecdd3;
  background-color: #fff1f2;
}

.btn-wishlist.active .heart-icn {
  fill: #ef4444;
}

.heart-icn {
  width: 16px;
  height: 16px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-wishlist:active .heart-icn {
  transform: scale(1.25);
}

/* ==========================================================================
   5. TRUST BENEFITS STRIP (FULL WIDTH CONTAINER)
   ========================================================================== */
.trust-benefits-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 18px;
  background-color: #ffffff;
}

.trust-benefits-bar {
  width: 100%;
  max-width: 1380px;
  margin: 0 32px;
  background: linear-gradient(90deg, #dbeafe 0%, #edf5ff 50%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.benefit-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-info {
  display: flex;
  flex-direction: column;
}

.benefit-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #002c6c;
  line-height: 1.2;
}

.benefit-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: #3b608f;
  line-height: 1.25;
}

/* ==========================================================================
   6. TOP BRANDS SECTION (FULL WIDTH CONTAINER)
   ========================================================================== */
.brands-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 24px;
  background-color: #ffffff;
}

.brands-header {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.brands-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.brands-line {
  flex: 1;
  height: 1px;
  background-color: #e2e8f0;
  margin: 0 20px;
}

.view-brands-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.view-brands-link:hover {
  color: #0369a1;
  transform: translateX(2px);
}

.chevron-sm {
  width: 12px;
  height: 12px;
}

.brands-row {
  width: 100%;
  max-width: 1380px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}

.brand-card {
  height: 44px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.brand-img {
  max-height: 28px;
  max-width: 88%;
  object-fit: contain;
  display: block;
  filter: contrast(1.05);
}

/* ==========================================================================
   7. FULL-WIDTH PREMIUM FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
  min-height: 160px;
  background: #020a1c;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  margin-top: auto;
  padding-top: 28px;
}

.footer-wave-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: url('assets/footer_wave_pure.png') bottom center repeat-x;
  background-size: cover;
  pointer-events: none;
  opacity: 0.95;
}

.footer-inner {
  width: 100%;
  max-width: 1380px;
  padding: 0 36px 36px;
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 5;
}

.brand-col {
  padding-right: 18px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-v-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.4;
  max-width: 230px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cyan-bright);
  padding-left: 2px;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #22d3ee;
  flex-shrink: 0;
}
