/* Remote Diagnostics & Control Dedicated Stylesheet - DripSet MedTech Edition */

/* Hero Banner */
.remote-diag-hero {
  padding: 95px 0 85px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(240, 247, 255, 0.92) 100%), url('assets/back.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid #cbd5e1;
  position: relative;
  overflow: hidden;
}

.remote-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.09);
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 9px 24px;
  border-radius: 30px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.remote-diag-hero h1 {
  font-size: 56px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -1.2px;
  line-height: 1.15;
}

.remote-diag-hero p {
  font-size: 21px;
  color: #475569;
  max-width: 860px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.remote-hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Feature Pillars Grid (5 Cards Layout) */
.diag-features-section {
  padding: 85px 0;
  background: #ffffff;
}

.diag-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.diag-feature-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.diag-feature-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.14);
}

.diag-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.diag-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.diag-card-num {
  font-size: 13.5px;
  font-weight: 800;
  color: #2563eb;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  border-radius: 20px;
}

.diag-feature-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.3;
}

.diag-feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diag-feature-card ul li {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.diag-feature-card ul li::before {
  content: "•";
  color: #2563eb;
  font-weight: 900;
  position: absolute;
  left: 4px;
  font-size: 18px;
}

/* Interactive DripSet Diagnostic Dashboard Console */
.diag-dashboard-showcase {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.diag-dashboard-card {
  background: linear-gradient(135deg, #091024 0%, #0f172a 60%, #1e293b 100%);
  border-radius: 26px;
  padding: 48px;
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 24px 60px rgba(9, 16, 36, 0.35);
  color: #ffffff;
}

.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.dash-title-group h3 {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 4px;
}

.dash-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.16);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 30px;
}

.dash-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 20px;
}

.dash-metric-card .val {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.dash-metric-card .lbl {
  font-size: 14px;
  color: #94a3b8;
}

/* Self-Test Diagnostics Status Bar */
.dash-tests-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 24px;
}

.dash-test-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-test-item span {
  font-size: 14.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.dash-test-item strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Tech Stack & Architecture Section */
.remote-tech-section {
  padding: 85px 0;
  background: #ffffff;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.tech-stack-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-stack-card:hover {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  transform: translateY(-4px);
}

.tech-stack-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.tech-stack-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Codebase Reference Box */
.codebase-ref-card {
  background: #0f172a;
  border-radius: 22px;
  padding: 42px;
  color: #ffffff;
  margin-top: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.codebase-ref-card h3 {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.codebase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.codebase-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}

.codebase-item code {
  color: #60a5fa;
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.codebase-item span {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.45;
}

/* CTA Banner */
.diag-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
}

.diag-cta-section h2 {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
}

.diag-cta-section p {
  font-size: 20px;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .diag-features-grid,
  .dash-metrics-grid,
  .tech-stack-grid,
  .codebase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .remote-diag-hero { padding: 48px 16px 36px; text-align: center; }
  .remote-diag-hero h1 { font-size: 28px !important; line-height: 1.25; }
  .remote-diag-hero p { font-size: 15.5px !important; }
  .diag-features-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .tech-stack-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .diag-feature-card { padding: 24px 18px; border-radius: 18px; }
}
