:root {
  --vs-red: #d9232d;
  --dark-grey: #2d2e32;
  --light-grey: #f4f7f9;
  --white: #ffffff;
  --silver-grad: linear-gradient(145deg, #bdc3c7, #2c3e50);
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--light-grey);
  margin: 0;
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* =============================
   Phase 1: Branding & Top Bar
   ============================= */
.top-bar {
  background: var(--dark-grey);
  color: var(--white);
  font-size: 11px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
}

.minimal-btn {
  background: #444;
  color: #fff;
  border: 1px solid #555;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  transition: background 0.2s ease;
}

.minimal-btn:hover { background: #555; }

.logout {
  background: #c0392b;
  border-color: #a93226;
}

/* Logo */
.airpul-logo {
  font-size: 28px;
  font-weight: 900;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -1px;
}

.plus-sign {
  color: #0081c9;
  -webkit-text-fill-color: #0081c9;
  font-weight: bold;
}

.brand-tagline {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 900;
  color: var(--vs-red);
  margin: -5px 0 0 0;
  text-transform: uppercase;
}

/* =============================
   Phase 2: Header & Navigation
   ============================= */
.main-header {
  background: var(--white);
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-wrapper {
  flex-grow: 1;
  display: flex;
  background: #f0f0f0;
  border-radius: 4px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.search-wrapper input {
  border: none;
  background: transparent;
  padding: 10px;
  width: 100%;
  outline: none;
  font-size: 14px;
}

.search-btn {
  background: var(--vs-red);
  border: none;
  padding: 0 15px;
  color: var(--white);
  cursor: pointer;
}

.category-nav {
  display: flex;
  justify-content: center;
  background: var(--white);
  border-bottom: 2px solid var(--vs-red);
  position: sticky;
  top: 0;
  z-index: 999;
}

.cat-item {
  padding: 15px 20px;
  border: none;
  background: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  color: #555;
}

.cat-item.active {
  background: var(--vs-red);
  color: var(--white);
}

/* =============================
   Phase 3: Product Cards
   ============================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  padding: 20px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.price-tag {
  color: var(--vs-red);
  font-weight: 800;
  font-size: 18px;
  margin: 10px 0;
}

/* =============================
   Phase 5: Login Modal & Blur
   ============================= */
.modal-blur {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.premium-modal {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.login-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
}

.primary-btn {
  background: var(--vs-red);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  font-size: 15px;
}

/* =============================
   Overlay & Checkout
   ============================= */
.product-overlay,
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 40px;
}

.overlay-active {
  display: flex !important;
}

.slip-box {
  margin-top: 20px;
  padding: 20px;
  border: 2px dashed #25D366;
  border-radius: 12px;
  background: #f9fffb;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease;
}

.slip-box:hover {
  background: #f0fff5;
}

.vvip-back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10001;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: var(--white);
  font-weight: bold;
  cursor: pointer;
}

/* =============================
   Footer
   ============================= */
.main-footer {
  background: var(--dark-grey);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
  margin-top: 40px;
}

.ntc-text {
  font-size: 45px;
  font-weight: 900;
  color: var(--vs-red);
  letter-spacing: 8px;
  line-height: 1;
}

/* =============================
   Utility
   ============================= */
.hidden-element { display: none !important; }

.action-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3000;
}

.dock-item {
  padding: 12px 25px;
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.wa { background: #25D366; }
.call { background: var(--vs-red); }

/* =============================
   Call Popup
   ============================= */
.call-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10005;
  text-align: center;
  border: 3px solid var(--vs-red);
  display: none;
  width: 300px;
}

.call-popup.active {
  display: block;
}

.call-number-display {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark-grey);
  display: block;
  margin: 15px 0;
  letter-spacing: 2px;
}

.copy-feedback {
  font-size: 12px;
  font-weight: bold;
  display: block;
  padding-bottom: 10px;
  color: var(--vs-red);
  transition: opacity 0.2s ease;
}