/* ════════════════════════════════════════════════
   DATAQUIVER — Products CSS v1.0
   Navbar dropdown · Products section · Footer override
   ════════════════════════════════════════════════ */

/* ── NAV DROPDOWN (desktop) ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: #4B5563;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-dropdown-btn::after { display: none !important; }
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown-btn.active { color: #2563EB; }
.nav-dropdown-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  padding-top: 14px;
  background: transparent;
  min-width: 228px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  inset: 14px 0 0 0;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  z-index: -1;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  border-radius: 7px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0F1117 !important;
  transition: background 0.15s, color 0.15s !important;
}
.nav-dropdown-menu a::after,
.nav-dropdown-menu a::before { display: none !important; }
.nav-dropdown-menu a:hover { background: #F8F9FA !important; color: #2563EB !important; }
.nd-emoji { font-size: 16px; flex-shrink: 0; }
.nd-name { flex: 1; }
.nd-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; flex-shrink: 0;
  line-height: 1.5;
}
.nd-badge.live { background: #D1FAE5; color: #065F46; }
.nd-badge.soon { background: #FEF3C7; color: #92400E; }

/* ── MOBILE DRAWER PRODUCTS SUB-MENU ── */
.drawer-products-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #0F1117;
  background: none;
  border: none;
  border-bottom: 1px solid #E5E7EB;
  border-left: 4px solid transparent;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  transition: color 0.2s, border-color 0.2s;
  text-align: left;
}
.drawer-products-toggle:hover,
.drawer-products-toggle.open { color: #2563EB; border-left-color: #2563EB; }
.drawer-products-toggle svg {
  width: 16px; height: 16px;
  stroke: currentColor; stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.drawer-products-toggle.open svg { transform: rotate(180deg); }
.drawer-products-sub { display: none; background: #F8F9FA; border-bottom: 1px solid #E5E7EB; }
.drawer-products-sub.open { display: block; }
.drawer-products-sub a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 12px 11px 20px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #4B5563 !important;
  border-left: 4px solid transparent !important;
  border-bottom: none !important;
  transition: color 0.2s !important;
}
.drawer-products-sub a:hover { color: #2563EB !important; border-left-color: transparent !important; }
.dp-sub-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  margin-left: auto; flex-shrink: 0; line-height: 1.5;
}
.dp-sub-badge.live { background: #D1FAE5; color: #065F46; }
.dp-sub-badge.soon { background: #FEF3C7; color: #92400E; }

/* ── PRODUCTS SECTION (homepage) ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 28px 26px;
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--pc-color, #2563EB);
  opacity: 0; transition: opacity 0.2s;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  border-color: var(--pc-color, #2563EB);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}
.pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pc-emoji { font-size: 40px; line-height: 1; }
.pc-status {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0;
}
.pc-status.live { background: #D1FAE5; color: #065F46; }
.pc-status.soon { background: #FEF3C7; color: #92400E; }
.product-card h3 { font-size: 18px; font-weight: 700; color: #0F1117; margin-bottom: 4px; }
.pc-tagline {
  font-size: 12px; font-weight: 700;
  color: var(--pc-color, #2563EB); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.product-card .pc-desc {
  font-size: 13.5px; color: #4B5563;
  line-height: 1.65; flex: 1; margin-bottom: 22px;
}
.pc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 7px;
  transition: all 0.2s; text-decoration: none;
  cursor: pointer; border: none; font-family: inherit;
}
.pc-btn-primary { background: var(--pc-color, #2563EB); color: #fff; }
.pc-btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }
.pc-btn-outline {
  background: transparent; color: var(--pc-color, #2563EB);
  border: 1.5px solid var(--pc-color, #2563EB);
}
.pc-btn-outline:hover { background: var(--pc-color, #2563EB); color: #fff; }
.pc-btn-ghost { background: #F1F3F5; color: #4B5563; font-weight: 600; }
.pc-btn-ghost:hover { background: #E5E7EB; color: #0F1117; }

/* ── FOOTER 5-COLUMN OVERRIDE ── */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr !important; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .products-grid { grid-template-columns: 1fr; }
  .pc-actions { flex-direction: column; }
}
