/* ============================================
   PRODUCTS PAGE STYLES
   ============================================ */

.products-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  background: var(--gradient-hero);
}

.products-hero-bg {
  position: absolute;
  inset: 0;
}

.products-hero .container { position: relative; z-index: 2; }
.products-hero .section-title { font-size: clamp(2rem, 4vw, 3rem); }
.products-hero .section-desc { color: var(--text-secondary); }

.brand-filter {
  padding: 20px 0;
  background: rgba(10,15,28,0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.filter-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.filter-tab:hover { border-color: var(--accent); color: var(--text-primary); }

.filter-tab.active {
  background: var(--gradient-accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.products-section { padding: 60px 0 120px; }

.brand-section { margin-bottom: 80px; }

.brand-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-image-top {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(27,77,142,0.1), rgba(27,77,142,0.05));
}

.product-image-top.care-img {
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(34,197,94,0.05));
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.brand-icon.bajaj {
  background: rgba(27,77,142,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(27,77,142,0.3);
}

.brand-icon.care {
  background: rgba(34,197,94,0.12);
  color: #22C55E;
  border: 1px solid rgba(34,197,94,0.3);
}

.brand-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.brand-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.product-card:hover::before { opacity: 1; }

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-icon {
  width: 52px;
  height: 52px;
  background: rgba(27,77,142,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
}

.product-icon.care-icon {
  background: rgba(34,197,94,0.1);
  color: #22C55E;
}

.product-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(27,77,142,0.15);
  color: var(--primary-light);
}

.product-tag.care-tag {
  background: rgba(34,197,94,0.12);
  color: #22C55E;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.product-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.figure-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.figure-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.figure-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-illustration {
  background: rgba(27,77,142,0.05);
  border: 1px solid rgba(27,77,142,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.product-illustration h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-illustration h4 i { color: var(--accent); }

.illustration-box { font-size: 0.88rem; }

.illu-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.illu-row:last-child { border-bottom: none; }
.illu-row.total { font-weight: 700; color: var(--text-primary); padding-top: 12px; border-top: 1px solid var(--border-light); }
.illu-row.highlight { color: var(--accent); font-weight: 600; }
.illu-row .accent { color: var(--accent); font-weight: 700; }

.illu-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

.product-benefits {
  margin-bottom: 20px;
}

.product-benefits h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.product-benefits ul {
  list-style: none;
}

.product-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-benefits li i {
  color: #22C55E;
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.product-variants {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-variants h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.variant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.variant-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.variant-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 2px;
}

.variant-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Compare Table */
.compare-section {
  margin: 80px 0 60px;
}

.compare-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-card);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.compare-table .bajaj-col { color: var(--primary-light); }
.compare-table .care-col { color: #22C55E; }

.compare-table td {
  color: var(--text-secondary);
}

.compare-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* CTA Section */
.cta-section { margin-top: 60px; }

.cta-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,168,67,0.15), transparent 60%);
}

.cta-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px; }
  .variant-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .cta-card h3 { font-size: 1.5rem; }
  .brand-logo-wrap { flex-direction: column; text-align: center; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .product-figures { grid-template-columns: 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 0.8rem; }
}