/* =============================================
   CALLIX PBX - INNER PAGES STYLESHEET
   pages.css — সব ইনার পেজের জন্য
   ============================================= */

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, #0d2d5e 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.12), transparent 65%);
  border-radius: 50%;
}
.page-hero.orange-hero {
  background: linear-gradient(135deg, #7a3200 0%, #c04a00 40%, var(--accent) 100%);
}
.page-hero.blue-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1a6bd1 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 20px;
  line-height: 1.8;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb i { font-size: 0.65rem; }

/* ---- PAGE SECTIONS ---- */
.page-section { padding: 80px 0; }
.page-section.bg-light { background: var(--off-white); }

/* ---- TWO COLUMN GRID ---- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col-grid.reverse { direction: rtl; }
.two-col-grid.reverse > * { direction: ltr; }

.text-col .section-tag { margin-bottom: 14px; }
.text-col h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.text-col p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.feature-bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.fb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.fb-item i { color: var(--green); font-size: 0.9rem; }

/* ---- VISUAL COL ELEMENTS ---- */
.visual-col { display: flex; align-items: center; justify-content: center; }

/* VB Demo Large */
.vb-demo-large {
  width: 380px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vbdl-center {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), #ff4500);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem; color: white;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 12px rgba(255,107,0,0.1), 0 0 0 24px rgba(255,107,0,0.05);
  animation: hub-pulse 3s ease-in-out infinite;
}
.vbdl-center span { font-size: 0.65rem; font-weight: 600; margin-top: 2px; }
.vbdl-ring {
  position: absolute;
  left: 50%; top: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255,107,0,0.2);
  animation: expand-ring 3s ease-out infinite;
}
.r1 { width: 120px; height: 120px; animation-delay: 0s; }
.r2 { width: 180px; height: 180px; animation-delay: 1s; }
.r3 { width: 240px; height: 240px; animation-delay: 2s; }
@keyframes expand-ring { 0% { opacity:0.8; } 100% { opacity:0; transform: translateX(-50%) scale(1.3); } }

.vbdl-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  position: relative; z-index: 2;
}
.vbp {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  font-size: 1.3rem;
  color: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  animation: blink-connect 2s ease-in-out infinite;
}
.vbp:nth-child(2) { animation-delay: 0.4s; }
.vbp:nth-child(3) { animation-delay: 0.8s; }
.vbp:nth-child(4) { animation-delay: 1.2s; }
.vbp:nth-child(5) { animation-delay: 1.6s; }
.vbp:nth-child(6) { animation-delay: 2s; }

.vbdl-stats {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.vbdl-stats span {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 6px;
}
.vbdl-stats i { color: var(--green); }

/* PBX Visual */
.pbx-visual {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  text-align: center;
  width: 360px;
}
.pbx-cloud {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.5rem; color: white;
  box-shadow: 0 0 0 16px rgba(10,22,40,0.06), 0 0 40px rgba(10,22,40,0.15);
}
.pbx-cloud span { font-size: 0.7rem; font-weight: 600; margin-top: 4px; }
.pbx-devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pbx-device {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: var(--transition);
}
.pbx-device span { font-size: 0.72rem; font-weight: 600; color: var(--text-mid); }
.pbx-device:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Comparison Table (text) */
.compare-table {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.ct-header {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}
.ct-header span, .ct-row span { padding: 10px 16px; }
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}
.ct-row:nth-child(even) { background: var(--off-white); }
.ct-row span { display: flex; align-items: center; gap: 8px; color: var(--text-mid); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }

/* ---- HOW STEPS ---- */
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.hs-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.hs-item:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); border-color: rgba(255,107,0,0.25); }
.hs-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,107,0,0.1);
  line-height: 1;
  margin-bottom: -18px;
}
.hs-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), #ff4500);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(255,107,0,0.35);
}
.hs-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.hs-item p { font-size: 0.83rem; color: var(--text-light); line-height: 1.7; }
.hs-arrow { font-size: 1.4rem; color: rgba(255,107,0,0.3); }

/* ---- USE CASES GRID ---- */
.use-cases-big-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ucb-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.ucb-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.ucb-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.ucb-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.ucb-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.75; }

/* ---- VB PKG CTA BUTTON ---- */
.vb-cta-btn {
  display: block;
  text-align: center;
  padding: 9px 18px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  margin-top: 12px;
  transition: var(--transition);
}
.vb-cta-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.vb-cta-btn.orange {
  background: linear-gradient(135deg, var(--accent), #ff4500);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
}
.vb-cta-btn.orange:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,0,0.45); color: white; }

/* ---- QUICK CONTACT ---- */
.quick-contact-section { padding: 60px 0; background: var(--off-white); }
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.qc-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.qc-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: white;
  margin: 0 auto 16px;
}
.phone-i { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); }
.whatsapp-i { background: linear-gradient(135deg, #25d366, #128c7e); }
.email-i { background: linear-gradient(135deg, var(--accent), #ff4500); }
.qc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.qc-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.qc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--primary-light);
  border-bottom: 2px solid rgba(36,81,163,0.2);
  padding-bottom: 2px;
  transition: var(--transition);
}
.qc-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---- CONTACT MAIN ---- */
.contact-main { padding: 80px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form-wrap h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.contact-form-wrap > p { color: var(--text-light); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit-btn {
  background: linear-gradient(135deg, var(--accent), #ff4500);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255,107,0,0.35);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  align-self: flex-start;
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,0,0.45); }
.form-note { font-size: 0.78rem; color: var(--text-light); }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  background: rgba(0,184,148,0.05);
  border: 1px solid rgba(0,184,148,0.2);
  border-radius: var(--radius-lg);
}
.success-icon { font-size: 3.5rem; color: var(--green); margin-bottom: 16px; }
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.form-success p { color: var(--text-light); }

/* Contact Info */
.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); border-bottom: 2px solid var(--off-white); padding-bottom: 12px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--off-white);
}
.info-item:last-child { border-bottom: none; }
.info-item i { color: var(--accent); font-size: 1rem; margin-top: 3px; flex-shrink: 0; width: 20px; }
.info-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.info-item span, .info-item a { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.info-item a:hover { color: var(--accent); }
.office-map { border-radius: var(--radius-md); overflow: hidden; }

/* ---- FEATURES BIG GRID ---- */
.features-big-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fbg-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.fbg-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); border-color: rgba(255,107,0,0.2); }
.fbg-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.fbg-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.fbg-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.7; }

/* ---- FULL COMPARE TABLE ---- */
.full-compare-table { overflow-x: auto; }
.full-compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.full-compare-table th {
  background: var(--primary);
  color: white;
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
}
.full-compare-table th:first-child { text-align: left; background: var(--primary-mid); }
.full-compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  text-align: center;
}
.full-compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.full-compare-table tr:nth-child(even) { background: var(--off-white); }
.full-compare-table .highlight-col { background: rgba(255,107,0,0.05); font-weight: 600; color: var(--text-dark); }
.full-compare-table th.highlight-col { background: var(--accent); }

/* ---- ABOUT PAGE ---- */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.ahs-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.ahs-num { font-size: 2.5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.ahs-suf { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.ahs-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.team-avatar {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--off-white), #dde4f5);
}
.team-info { padding: 20px; }
.team-info h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.team-info span { font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.team-info p { font-size: 0.82rem; color: var(--text-light); margin-top: 8px; line-height: 1.6; }

/* ---- BLOG PAGE ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.blog-thumb {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  background: rgba(255,107,0,0.1);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.7; flex: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--off-white); }
.blog-meta span { font-size: 0.75rem; color: var(--text-light); }
.blog-read-more { font-size: 0.8rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.blog-read-more:hover { gap: 8px; }

/* ---- IVR / SERVICE INNER PAGES ---- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sdt-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; gap: 16px;
  transition: var(--transition);
}
.sdt-card:hover { border-color: rgba(255,107,0,0.25); transform: translateX(4px); }
.sdt-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sdt-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.sdt-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.7; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
  .visual-col { justify-content: flex-start; }
  .vb-demo-large, .pbx-visual { width: 100%; max-width: 420px; }
  .features-big-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases-big-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .hs-arrow { transform: rotate(90deg); text-align: center; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 60px 0 80px; }
  .quick-contact-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .features-big-grid { grid-template-columns: 1fr; }
  .use-cases-big-grid { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .full-compare-table table { font-size: 0.8rem; }
  .full-compare-table th, .full-compare-table td { padding: 10px 12px; }
  /* ৪টি প্যাকেজ = ৫ কলাম (ফিচার + ৪)। সংকুচিত না করে স্ক্রল করা ভালো। */
  .full-compare-table table { min-width: 720px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .pdetail-tabs-header { flex-wrap: wrap; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PRODUCTS & HARDWARE CATALOG STYLES
   ================================================================ */

/* Filter Navigation Bar */
.product-filter-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.product-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pfilter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pfilter-btn:hover {
  background: rgba(255,107,0,0.08);
  border-color: var(--accent);
  color: var(--accent);
}
.pfilter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255,107,0,0.3);
}
.pfilter-count {
  font-size: 0.82rem;
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 20px;
}
.pfilter-btn.active .pfilter-count {
  background: rgba(255,255,255,0.25);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product Card */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 43, 91, 0.1);
  border-color: rgba(255,107,0,0.3);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-best { background: #ff4757; color: white; }
.badge-warranty { background: #2ed573; color: white; }
.badge-hot { background: #ffa502; color: white; }
.badge-btrc { background: #1e90ff; color: white; }
.badge-free { background: #70a1ff; color: white; }

.product-img-box {
  height: 220px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.product-img-box img {
  max-height: 170px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img-box img {
  transform: scale(1.06);
}
.product-svg-icon {
  font-size: 4.8rem;
  color: var(--primary-light);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
  transition: transform 0.35s ease;
}
.product-card:hover .product-svg-icon {
  transform: scale(1.08) rotate(-2deg);
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 500;
  flex: 1;
}

/* Feature Bullets */
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ph-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ph-pill i { color: var(--green); font-size: 0.75rem; }

/* Price Row */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.price-current {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
}
.price-regular {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.price-save {
  font-size: 0.8rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Buttons */
.product-btn-group {
  display: flex;
  gap: 10px;
}
.btn-pview {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 700;
  background: var(--off-white);
  color: var(--primary);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-pview:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-pbuy {
  flex: 1.2;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 700;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255,107,0,0.25);
}
.btn-pbuy:hover {
  background: #e05e00;
  transform: translateY(-2px);
  color: white;
}

/* ================================================================
   PRODUCT DETAILS PAGE STYLES
   ================================================================ */

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Gallery */
.pdetail-gallery-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
.pdetail-main-view {
  height: 360px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.pdetail-main-view img {
  max-height: 280px;
  max-width: 90%;
  object-fit: contain;
}
.pdetail-main-view .large-icon {
  font-size: 8rem;
  color: var(--primary-light);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.1));
}
.pdetail-thumbs {
  display: flex;
  gap: 12px;
}
.pthumb-item {
  width: 75px;
  height: 75px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.6rem;
  color: var(--primary);
}
.pthumb-item.active, .pthumb-item:hover {
  border-color: var(--accent);
  background: rgba(255,107,0,0.05);
}

/* Info Box */
.pdetail-info {
  display: flex;
  flex-direction: column;
}
.pdetail-badge-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pdetail-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.pdetail-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}
.pdetail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pdetail-stars {
  color: #f59e0b;
  font-size: 0.95rem;
}
.pdetail-reviews {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}
.pdetail-price-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}
.pdetail-price-main {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.pdetail-now {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}
.pdetail-was {
  font-size: 1.2rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}
.pdetail-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 0.92rem;
  font-weight: 700;
}
.pdetail-stock i { font-size: 0.8rem; }

.pdetail-summary {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Feature Checklist */
.pdetail-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdetail-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
}
.pdetail-bullets li i {
  color: var(--green);
  margin-top: 4px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Purchase Actions */
.pdetail-order-box {
  background: white;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(255,107,0,0.12);
}
.pdetail-action-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-porder {
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(255,107,0,0.3);
}
.btn-porder:hover {
  background: #d95400;
  color: white;
  transform: translateY(-2px);
}
.btn-pwa {
  flex: 1;
  min-width: 200px;
  padding: 14px 24px;
  background: #25d366;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(37,211,102,0.3);
}
.btn-pwa:hover {
  background: #1eb857;
  color: white;
  transform: translateY(-2px);
}

/* Assurance strip */
.pdetail-assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.pa-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}
.pa-item i { color: var(--accent); font-size: 1.05rem; }

/* Tabs Section */
.pdetail-tabs-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  margin-bottom: 60px;
}
.pdetail-tabs-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.ptab-btn {
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ptab-btn:hover { color: var(--primary); background: rgba(0,0,0,0.02); }
.ptab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: white;
}
.ptab-content {
  padding: 36px;
}
.ptab-panel { display: none; }
.ptab-panel.active { display: block; animation: fadeIn 0.3s ease; }

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid #e2e8f0;
}
.specs-table tr:nth-child(even) {
  background: #f8fafc;
}
.specs-table th, .specs-table td {
  padding: 14px 20px;
  font-size: 0.96rem;
  line-height: 1.6;
}
.specs-table th {
  width: 32%;
  color: var(--primary);
  font-weight: 700;
  text-align: left;
}
.specs-table td {
  color: #334155;
  font-weight: 500;
}

/* Typography & Legibility Booster */
p, .card p, .team-info p, .why-card p, .sdt-card p, .faq-answer p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #334155;
  font-weight: 500;
}
.section-tag {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.breadcrumb {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* =============================================
   LOGIN PORTAL STYLES
   ============================================= */
.login-page-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(10, 22, 40, 0.04) 0%, transparent 40%),
              var(--off-white);
}
.login-container-box {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px -10px rgba(10, 22, 40, 0.12);
  overflow: hidden;
  animation: fadeIn 0.4s ease;
}
.login-header-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
  padding: 32px 30px 26px;
  text-align: center;
  color: white;
  position: relative;
}
.login-header-banner::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 10px solid #1e3a8a;
}
.login-brand-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.login-header-banner h2,
.login-header-banner h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: white;
}
.login-header-banner p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.login-body-content {
  padding: 32px 30px;
}
.login-role-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 26px;
}
.login-role-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 6px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.login-role-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.login-role-tab:hover:not(.active) {
  color: var(--primary);
}
.login-form-group {
  margin-bottom: 20px;
}
.login-form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.login-input-wrap i.field-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 1rem;
}
.login-input-wrap input {
  width: 100%;
  padding: 13px 42px 13px 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.toggle-pw-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}
.toggle-pw-btn:hover {
  color: var(--primary);
}
.login-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #475569;
  font-weight: 600;
}
.remember-me input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.forgot-pw-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.forgot-pw-link:hover {
  text-decoration: underline;
}
.btn-login-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #e05d00 100%);
  color: white;
  border: none;
  border-radius: 9px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.45);
}
.login-demo-box {
  margin-top: 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  font-size: 0.88rem;
}
.login-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.login-demo-header span {
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-autofill {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}
.btn-autofill:hover {
  background: #fff7ed;
  border-color: var(--accent);
}
.demo-creds {
  display: flex;
  gap: 12px;
  color: #64748b;
  font-size: 0.84rem;
}
.demo-creds code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.login-footer-help {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}
.login-footer-help a {
  color: var(--accent);
  font-weight: 700;
}

/* =============================================
   DOWNLOAD SOFTPHONE APPS PAGE STYLES
   ============================================= */
.download-hero {
  background: linear-gradient(135deg, #071326 0%, #0d274d 50%, #173b75 100%);
  padding: 85px 0 100px;
  position: relative;
  overflow: hidden;
  color: white;
}
.download-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(255,107,0,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.download-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.download-hero-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.download-hero-content h1 .accent-hero {
  color: var(--accent);
  display: inline-block;
}
.download-hero-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 580px;
}
.download-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-download {
  background: linear-gradient(135deg, var(--accent), #e05d00);
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(255,107,0,0.35);
  transition: all 0.25s ease;
}
.btn-hero-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,107,0,0.45);
  color: white;
}
.btn-hero-webphone {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.btn-hero-webphone:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* Hero Visual Graphic */
.download-hero-card-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.preview-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.dot-wrap {
  display: flex;
  gap: 6px;
}
.dot-wrap span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.os-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.os-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  transition: all 0.2s ease;
}
.os-pill:hover {
  background: rgba(255,107,0,0.15);
  border-color: var(--accent);
}
.os-pill-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.os-pill-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}
.os-pill-text small {
  color: #94a3b8;
  font-size: 0.74rem;
}

/* Category Filter Tabs */
.download-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab-btn {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.filter-tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 6px 18px rgba(10,22,40,0.2);
}

/* Section Title Strip */
.download-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}
.download-section-heading h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.download-section-heading h2 span {
  color: var(--accent);
}

/* Softphone App Cards Grid */
.softphones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}
.softphone-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(10,22,40,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.softphone-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 34px rgba(10,22,40,0.12);
}
.softphone-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.app-logo-box {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.app-meta-title h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}
.app-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 4px;
  background: #f1f5f9;
  color: #475569;
}
.app-badge-pill.free {
  background: #dcfce7;
  color: #15803d;
}
.app-badge-pill.recommended {
  background: #ffedd5;
  color: #c2410c;
}
.app-badge-pill.webrtc {
  background: #e0e7ff;
  color: #4338ca;
}

.app-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}
.app-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.app-feature-bullets li {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-feature-bullets li i {
  color: #10b981;
  font-size: 0.8rem;
}

/* Download Action Buttons Inside Card */
.app-download-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.btn-app-dl {
  flex: 1;
  min-width: 140px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-app-dl:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.btn-app-dl.primary-dl {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.btn-app-dl.primary-dl:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-app-dl.playstore {
  background: #00875a;
  border-color: #00875a;
  color: white;
}
.btn-app-dl.playstore:hover {
  background: #006644;
}
.btn-app-dl.appstore {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}
.btn-app-dl.appstore:hover {
  background: #0f172a;
}

/* Setup Wizard Guide */
.setup-guide-box {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(10,22,40,0.06);
  margin-top: 40px;
}
.setup-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.setup-step-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  position: relative;
}
.step-number {
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.setup-step-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.setup-step-item p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 12px;
}
.setup-step-item code {
  background: #e2e8f0;
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
}

/* Embedded WebPhone Banner */
.webphone-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 18px;
  padding: 36px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  box-shadow: 0 15px 40px rgba(15,23,42,0.25);
  flex-wrap: wrap;
}
.webphone-banner-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.webphone-banner-info p {
  color: #cbd5e1;
  font-size: 0.96rem;
  max-width: 580px;
  line-height: 1.7;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .download-hero-grid {
    grid-template-columns: 1fr;
  }
  .setup-step-grid {
    grid-template-columns: 1fr;
  }
  .softphones-grid {
    grid-template-columns: 1fr;
  }
}

/* Login page — portal handoff note (replaces the removed demo box) */
.login-portal-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #475569;
}
.login-portal-note i { color: var(--primary); margin-top: 3px; flex: 0 0 auto; }
