/* ==========================================================================
   ProSafe Modern UI System - Inspired by Radbin SaaS Aesthetic
   Brand Identity: Trust Blue (#0463D4), Dark Blue (#022C7B), Green (#A4D87A)
   ========================================================================== */

/* Page Background & Atmosphere */
body {
  background-color: #FAFBFF;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(4, 99, 212, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(164, 216, 122, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 65%, rgba(2, 44, 123, 0.03) 0%, transparent 50%);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Header Enhancements
   ========================================================================== */
.site-header {
  background: rgba(250, 251, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* ==========================================================================
   Hero Section - Radbin Style with ProSafe Identity
   ========================================================================== */
.hero-radbin-section {
  position: relative;
  padding-block: var(--space-2xl) var(--space-4xl);
  overflow: hidden;
}

.hero-radbin-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  position: relative;
  z-index: 2;
}

/* Hero Content (RTL Right Column) */
.hero-radbin-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 99, 212, 0.08);
  color: var(--color-trust-blue);
  border: 1px solid rgba(4, 99, 212, 0.18);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 2px 8px rgba(4, 99, 212, 0.06);
}

.hero-badge-pill svg {
  color: var(--color-trust-blue);
}

.hero-radbin-title {
  font-size: clamp(2.3rem, 4vw + 1rem, 3.4rem);
  line-height: 1.28;
  font-weight: 800;
  color: var(--color-very-dark-navy);
  letter-spacing: -0.02em;
}

.hero-radbin-title .text-gradient-blue {
  background: linear-gradient(135deg, #0463D4 0%, #022C7B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-radbin-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #475569;
  max-width: 540px;
}

/* Social Proof & Rating */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 4px;
}

.rating-stars-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #F59E0B;
}

.avatars-group {
  display: flex;
  align-items: center;
  margin-inline-end: 4px;
}

.avatar-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-inline-start: -10px;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(1, 9, 45, 0.12);
}

.avatar-1 { background: linear-gradient(135deg, #0463D4, #022C7B); }
.avatar-2 { background: linear-gradient(135deg, #71B644, #5a9434); }
.avatar-3 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.avatar-4 { background: linear-gradient(135deg, #022C7B, #01092D); }

.proof-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
}

.proof-text strong {
  color: var(--color-very-dark-navy);
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
  flex-wrap: wrap;
}

.btn-radbin-primary {
  background: linear-gradient(135deg, #0463D4 0%, #0350ab 100%);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(4, 99, 212, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-radbin-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4, 99, 212, 0.42);
  background: linear-gradient(135deg, #0355b8 0%, #02438f 100%);
  color: #FFFFFF;
}

.btn-radbin-secondary {
  background: #FFFFFF;
  color: var(--color-very-dark-navy);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(1, 9, 45, 0.04);
  transition: all 0.25s ease;
}

.btn-radbin-secondary:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--color-trust-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Visual Composition (The Safety Hero + ProSafe Shield Arc Backdrop)
   ========================================================================== */
.hero-visual-centerpiece {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

/* Glowing ProSafe Shield Backdrop (Replaces Google logo from reference style) */
.prosafe-shield-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Layered glowing orb & rings */
.shield-glow-radial {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4, 99, 212, 0.15) 0%, rgba(164, 216, 122, 0.12) 50%, transparent 70%);
  filter: blur(28px);
}

.shield-orbital-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1.5px dashed rgba(4, 99, 212, 0.22);
  animation: rotateOrbital 40s linear infinite;
}

@keyframes rotateOrbital {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shield-vector-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  opacity: 0.95;
  filter: drop-shadow(0 12px 28px rgba(4, 99, 212, 0.25));
}

/* Hero Character Image */
.hero-character-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 560px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(4, 99, 212, 0.22));
  animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Floating KPI Metric Badges (Radbin Style)
   ========================================================================== */
.floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 14px 36px rgba(1, 9, 45, 0.12), 0 2px 10px rgba(4, 99, 212, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

/* Speed Badge - Positioned at Person's Elbow on the Left Side */
.badge-speed-showcase {
  position: absolute;
  top: 56%;
  left: -40px;
  right: auto;
  z-index: 10;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 14px 22px;
  box-shadow: 0 18px 45px rgba(1, 9, 45, 0.08), 0 2px 10px rgba(4, 99, 212, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 14px;
  direction: rtl;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.badge-speed-showcase .badge-circle-metric {
  order: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #E8F8EE;
  border: 2px solid #84D162;
  color: #022C7B;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.badge-speed-showcase .badge-text-group {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.badge-speed-showcase .badge-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #01092D;
  line-height: 1.3;
}

.badge-speed-showcase .badge-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748B;
  line-height: 1.35;
  margin-top: 3px;
}

/* Bottom-Right Badge (98% CAPA with Mini Bars) */
.badge-bottom-left {
  position: absolute;
  bottom: 8%;
  right: -25px;
  left: auto;
  z-index: 9;
  animation-delay: -2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(0.5deg); }
}

/* Base Badge Inner Elements */
.badge-circle-metric {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E8F8EE;
  border: 2px solid #84D162;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #022C7B;
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-very-dark-navy);
  line-height: 1.3;
}

.badge-subtitle {
  font-size: 0.775rem;
  color: #64748B;
  font-weight: 500;
}

/* Mini Animated Bar Chart inside Bottom Badge */
.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  padding-inline-end: 4px;
}

.mini-bar {
  width: 5px;
  border-radius: 4px;
  background: var(--color-trust-blue);
}

.mini-bar:nth-child(1) { height: 16px; background: #94A3B8; }
.mini-bar:nth-child(2) { height: 22px; background: #38BDF8; }
.mini-bar:nth-child(3) { height: 18px; background: #0463D4; }
.mini-bar:nth-child(4) { height: 28px; background: #A4D87A; }
.mini-bar:nth-child(5) { height: 32px; background: #10B981; }

.badge-score-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-very-dark-navy);
  line-height: 1;
}

/* ==========================================================================
   Section 2: Live Interactive Analytics Dashboard (Radbin Slide 1 & 4 Style)
   ========================================================================== */
.dashboard-preview-section {
  padding-block: var(--space-4xl);
  position: relative;
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: var(--space-3xl);
}

/* Dashboard Mockup Browser Frame */
.dashboard-browser-frame {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 60px -12px rgba(1, 9, 45, 0.12), 0 8px 24px -4px rgba(4, 99, 212, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-browser-frame:hover {
  box-shadow: 0 32px 72px -12px rgba(1, 9, 45, 0.16), 0 12px 30px -4px rgba(4, 99, 212, 0.12);
}

.browser-header-bar {
  background: #F8FAFC;
  padding: 12px 18px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-controls {
  display: flex;
  gap: 7px;
}

.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-address {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 11px;
  color: #64748B;
  font-family: monospace;
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-address::before {
  content: "🔒";
  font-size: 10px;
}

.browser-body {
  padding: 24px;
  background: #FFFFFF;
}

/* Metric Cards Inside Live Mockup */
.live-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.live-kpi-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.live-kpi-card:hover {
  background: #FFFFFF;
  border-color: var(--color-trust-blue);
  box-shadow: 0 4px 12px rgba(4, 99, 212, 0.08);
}

.live-kpi-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-very-dark-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-kpi-val .trend-up {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.live-kpi-label {
  font-size: 0.775rem;
  color: #64748B;
  font-weight: 600;
}

/* Interactive Line Chart Canvas Area */
.chart-container-wrap {
  position: relative;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px;
}

.chart-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.chart-title-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-very-dark-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-title-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-trust-blue);
}

.chart-filter-tabs {
  display: flex;
  gap: 6px;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 8px;
}

.filter-tab-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748B;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn.is-active,
.filter-tab-btn:hover {
  background: #FFFFFF;
  color: var(--color-trust-blue);
  box-shadow: 0 2px 4px rgba(1, 9, 45, 0.05);
}

.interactive-chart-svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}

.chart-spline-path {
  fill: none;
  stroke: url(#chartGradientStroke);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(4, 99, 212, 0.35));
  transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-area-path {
  fill: url(#chartGradientArea);
  opacity: 0.22;
  transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-interactive-point {
  fill: #FFFFFF;
  stroke: var(--color-trust-blue);
  stroke-width: 3.5;
  cursor: pointer;
  transition: all 0.25s ease;
}

.chart-interactive-point:hover {
  transform: scale(1.4);
  stroke: #10B981;
}

.chart-tooltip-bubble {
  position: absolute;
  top: 36%;
  right: 48%;
  background: var(--color-very-dark-navy);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(1, 9, 45, 0.25);
  animation: pulseTooltip 2.5s infinite ease-in-out;
}

.chart-tooltip-bubble::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-very-dark-navy);
}

@keyframes pulseTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.chart-axis-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.725rem;
  color: #94A3B8;
  font-weight: 600;
  padding-top: 8px;
}

/* Feature Checklist Beside Dashboard */
.dashboard-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-block: var(--space-lg);
}

.dashboard-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-very-dark-navy);
}

.feature-check-sub {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 400;
  margin-top: 2px;
}

/* ==========================================================================
   Section 3: 6 Modular Cards (Radbin Slide 1, 2, 3 Style)
   "تقارير تتحول إلى قرارات وإجراءات"
   ========================================================================== */
.modular-cards-section {
  padding-block: var(--space-4xl);
  position: relative;
  background: #FAFBFF;
}

.modular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.modular-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 0 4px 16px rgba(1, 9, 45, 0.03), 0 1px 3px rgba(1, 9, 45, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.modular-card:hover {
  transform: translateY(-6px);
  border-color: rgba(4, 99, 212, 0.3);
  box-shadow: 0 20px 40px -8px rgba(4, 99, 212, 0.12), 0 4px 12px rgba(1, 9, 45, 0.04);
}

.modular-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.modular-card:hover::after {
  background: linear-gradient(90deg, #0463D4, #A4D87A);
}

.modular-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(4, 99, 212, 0.07);
  color: var(--color-trust-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modular-card:hover .modular-icon-box {
  background: var(--color-trust-blue);
  color: #FFFFFF;
  transform: scale(1.05);
}

.modular-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-very-dark-navy);
  line-height: 1.35;
}

.modular-card-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
  flex: 1;
}

.modular-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-trust-blue);
  text-decoration: none;
  margin-top: var(--space-xs);
  transition: gap 0.2s ease;
}

.modular-card:hover .modular-card-link {
  gap: 10px;
}

/* ==========================================================================
   Section 4: 4-Step Interactive Process Workflow (Radbin Slide 4 Style)
   ========================================================================== */
.workflow-radbin-section {
  padding-block: var(--space-4xl);
  position: relative;
  background: #FFFFFF;
}

.workflow-track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.workflow-track-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  inset-inline-start: 10%;
  inset-inline-end: 10%;
  height: 2px;
  background: dashed rgba(4, 99, 212, 0.25);
  border-top: 2px dashed #CBD5E1;
  z-index: 0;
}

.workflow-node-card {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(1, 9, 45, 0.04);
  transition: all 0.3s ease;
}

.workflow-node-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-trust-blue);
  box-shadow: 0 12px 28px rgba(4, 99, 212, 0.1);
}

.workflow-step-badge-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 2px solid var(--color-trust-blue);
  color: var(--color-trust-blue);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(4, 99, 212, 0.15);
  transition: all 0.3s ease;
}

.workflow-node-card:hover .workflow-step-badge-num {
  background: var(--color-trust-blue);
  color: #FFFFFF;
}

.workflow-step-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-very-dark-navy);
}

.workflow-step-text {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
}

/* ==========================================================================
   Section 5: Multi-Device Showcase (Desktop Dashboard + Mobile Field App)
   ========================================================================== */
.field-multidevice-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.field-desktop-frame {
  width: 100%;
  max-width: 580px;
  background: #01092D;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(4, 99, 212, 0.25);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.field-desktop-frame:hover {
  transform: translateY(-4px);
}

.field-desktop-header {
  height: 36px;
  background: rgba(1, 9, 45, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px;
}

.field-desktop-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-desktop-address {
  font-size: 11px;
  color: #94A3B8;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 12px;
  border-radius: 4px;
  direction: ltr;
}

.field-desktop-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-medium-green);
  background: rgba(164, 216, 122, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.field-desktop-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Phone Overlay in Section 5 */
.field-mobile-overlay {
  position: absolute;
  bottom: -24px;
  inset-inline-start: -24px;
  width: 195px;
  background: #000000;
  border: 4px solid #1E293B;
  border-radius: 34px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(4, 99, 212, 0.3);
  overflow: hidden;
  z-index: 4;
  transition: transform 0.3s ease;
}

.field-mobile-overlay:hover {
  transform: translateY(-6px) scale(1.02);
}

.field-mobile-notch {
  height: 16px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-mobile-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-radbin-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-badge-pill {
    margin-inline: auto;
  }

  .hero-radbin-desc {
    margin-inline: auto;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-actions-group {
    justify-content: center;
  }

  .hero-visual-centerpiece {
    min-height: 460px;
    margin-top: var(--space-lg);
  }

  .dashboard-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .field-spotlight-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .field-multidevice-showcase {
    margin-top: var(--space-lg);
  }

  .field-mobile-overlay {
    width: 170px;
    bottom: -16px;
    inset-inline-start: -12px;
  }

  .modular-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-track-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-track-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Navbar Mobile Rules - Clean, Non-Cramped Header */
  .navbar {
    height: 68px;
    gap: var(--space-sm);
  }

  .brand-logo {
    max-width: 135px;
    height: 32px;
  }

  .navbar-actions {
    gap: 8px;
  }

  .navbar-actions .btn-radbin-primary {
    display: none !important;
  }

  .lang-switcher {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .btn-hamburger {
    display: inline-flex;
    padding: 6px;
  }

  /* Hero Section on Mobile */
  .hero-radbin-section {
    padding-block: var(--space-lg) var(--space-2xl);
  }

  .hero-radbin-content {
    text-align: center;
    align-items: center;
    gap: 16px;
    padding-inline: 4px;
  }

  .hero-badge-pill {
    font-size: 0.775rem;
    padding: 6px 14px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    margin-inline: auto;
  }

  .hero-radbin-title {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
    line-height: 1.35;
    text-align: center;
    margin-inline: auto;
    word-break: break-word;
  }

  .hero-radbin-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    margin-inline: auto;
  }

  .hero-social-proof {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    margin-inline: auto;
  }

  .proof-text {
    font-size: 0.825rem;
    text-align: center;
  }

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 4px;
  }

  .btn-radbin-primary,
  .btn-radbin-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* Hero Visual & Badges on Mobile */
  .hero-visual-centerpiece {
    min-height: 380px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .hero-character-img {
    max-width: 290px;
    max-height: 380px;
  }

  .prosafe-shield-backdrop {
    width: 270px;
    height: 270px;
  }

  .floating-badge {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .badge-speed-showcase {
    top: 52%;
    left: -4px;
    padding: 10px 16px;
    border-radius: 20px;
    gap: 10px;
    transform: scale(0.85);
    transform-origin: center left;
  }

  .badge-speed-showcase .badge-circle-metric {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .badge-speed-showcase .badge-title {
    font-size: 0.9rem;
  }

  .badge-speed-showcase .badge-subtitle {
    font-size: 0.75rem;
  }

  .badge-bottom-left {
    bottom: 2%;
    right: 4px;
    left: auto;
    transform: scale(0.85);
    transform-origin: bottom right;
  }

  /* Section 2: Live Analytics */
  .dashboard-preview-section {
    padding-block: var(--space-2xl);
  }

  .live-kpi-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .live-kpi-card {
    padding: 10px;
  }

  .live-kpi-val {
    font-size: 1.15rem;
  }

  .chart-container-wrap {
    padding: 12px;
  }

  .chart-header-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chart-filter-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 4px;
    justify-content: flex-start;
  }

  .filter-tab-btn {
    padding: 4px 8px;
    font-size: 0.725rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Section 5: Multi-Device Mobile Rules */
  .field-multidevice-showcase {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .field-desktop-frame {
    width: 100%;
    border-radius: 12px;
  }

  .field-mobile-overlay {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
    margin-top: -36px;
    width: 180px;
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  }

  /* Modular Cards & Workflow */
  .modular-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .workflow-track-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Final CTA */
  .final-cta-card {
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .final-cta-actions .btn-radbin-primary,
  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Dedicated LTR (English) Adjustments & Typography
   ========================================================================== */
html[dir="ltr"] body {
  font-family: var(--font-english, 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

html[dir="ltr"] .hero-radbin-title {
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.18;
}

html[dir="ltr"] .badge-speed-showcase {
  direction: ltr;
  left: -35px;
  right: auto;
}

html[dir="ltr"] .badge-speed-showcase .badge-circle-metric {
  order: 1;
}

html[dir="ltr"] .badge-speed-showcase .badge-text-group {
  order: 2;
  text-align: left;
  align-items: flex-start;
}

html[dir="ltr"] .badge-bottom-left {
  right: -25px;
  left: auto;
}

html[dir="ltr"] .badge-bottom-left .badge-text-group {
  text-align: left;
  align-items: flex-start;
}

html[dir="ltr"] .chart-axis-labels {
  direction: ltr;
}

html[dir="ltr"] .feature-check-row {
  text-align: left;
}

@media (max-width: 768px) {
  html[dir="ltr"] .badge-speed-showcase {
    left: 4px;
    right: auto;
    transform: scale(0.85);
    transform-origin: center left;
  }

  html[dir="ltr"] .badge-bottom-left {
    right: 4px;
    left: auto;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}

/* ==========================================================================
   Theme Switcher Button Component & Adaptive Logo
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #E2E8F0;
  color: var(--color-very-dark-navy);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(1, 9, 45, 0.05);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle-btn:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: var(--color-trust-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 99, 212, 0.16);
}

.theme-toggle-btn svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

/* Light mode icon visibility */
html:not([data-theme="dark"]) .theme-icon-sun {
  display: none;
}
html:not([data-theme="dark"]) .theme-icon-moon {
  display: block;
}

/* Dark mode icon visibility */
[data-theme="dark"] .theme-icon-sun {
  display: block;
  color: #FBBF24;
}
[data-theme="dark"] .theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(4, 99, 212, 0.45);
  box-shadow: 0 6px 18px rgba(4, 99, 212, 0.3);
}

/* ==========================================================================
   Adaptive Brand Logo - Light / Dark Swap
   Requires: .brand-logo-light and .brand-logo-dark on each <img>
   ========================================================================== */

/* Light mode: show light logo, hide dark logo */
.brand-logo-light {
  display: block !important;
}
.brand-logo-dark {
  display: none !important;
}

/* Dark mode: hide light logo, show dark logo */
[data-theme="dark"] .brand-logo-light {
  display: none !important;
}
[data-theme="dark"] .brand-logo-dark {
  display: block !important;
}

/* ==========================================================================
   Complete ProSafe Dark Mode System (Brand Identity Compliant)
   Palette: Trust Blue (#0463D4), Deep Corporate Navy (#060B1A, #0D1630),
            Medium Green (#A4D87A, #84D162), Ice Cyan (#38BDF8)
   ========================================================================== */
[data-theme="dark"] body {
  background-color: #060B1A;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(4, 99, 212, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(164, 216, 122, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 65%, rgba(2, 44, 123, 0.3) 0%, transparent 55%);
  color: #CBD5E1;
}

/* Header & Nav in Dark Mode */
[data-theme="dark"] .site-header {
  background: rgba(6, 11, 26, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-link {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #38BDF8;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: #0B132B;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-dropdown-link {
  color: #CBD5E1;
}

[data-theme="dark"] .nav-dropdown-link:hover {
  background: rgba(4, 99, 212, 0.18);
  color: #38BDF8;
}

[data-theme="dark"] .mobile-drawer {
  background: #080E21;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .drawer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .drawer-close {
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mobile-nav-link {
  color: #CBD5E1;
}

[data-theme="dark"] .mobile-nav-link.active,
[data-theme="dark"] .mobile-nav-link:hover {
  color: #38BDF8;
  background: rgba(4, 99, 212, 0.15);
}

[data-theme="dark"] .btn-hamburger {
  color: #F8FAFC;
}

/* Hero Section in Dark Mode */
[data-theme="dark"] .hero-radbin-title {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-radbin-desc {
  color: #94A3B8;
}

[data-theme="dark"] .hero-badge-pill {
  background: rgba(4, 99, 212, 0.15);
  border-color: rgba(4, 99, 212, 0.35);
  color: #38BDF8;
}

[data-theme="dark"] .hero-badge-pill svg {
  color: #38BDF8;
}

[data-theme="dark"] .btn-radbin-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

[data-theme="dark"] .btn-radbin-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #38BDF8;
  border-color: rgba(4, 99, 212, 0.4);
}

[data-theme="dark"] .badge-speed-showcase {
  background: rgba(13, 22, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(4, 99, 212, 0.15);
}

[data-theme="dark"] .badge-speed-showcase .badge-title {
  color: #FFFFFF;
}

[data-theme="dark"] .badge-speed-showcase .badge-subtitle {
  color: #94A3B8;
}

[data-theme="dark"] .badge-speed-showcase .badge-circle-metric {
  background: rgba(164, 216, 122, 0.15);
  border-color: #84D162;
  color: #A4D87A;
}

[data-theme="dark"] .badge-bottom-left {
  background: rgba(13, 22, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(4, 99, 212, 0.15);
}

[data-theme="dark"] .badge-score-value {
  color: #FFFFFF;
}

[data-theme="dark"] .badge-bottom-left .badge-title {
  color: #FFFFFF;
}

[data-theme="dark"] .badge-bottom-left .badge-subtitle {
  color: #94A3B8;
}

/* Section 2: Live Analytics Dashboard in Dark Mode */
[data-theme="dark"] .dashboard-browser-frame {
  background: #0D1630;
  border-color: rgba(4, 99, 212, 0.3);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 8px 24px -4px rgba(4, 99, 212, 0.25);
}

[data-theme="dark"] .browser-header-bar {
  background: #080E21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .browser-address {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
}

[data-theme="dark"] .live-kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .live-kpi-label {
  color: #94A3B8;
}

[data-theme="dark"] .live-kpi-val {
  color: #FFFFFF;
}

[data-theme="dark"] .chart-container-wrap {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .chart-title-tag {
  color: #F1F5F9;
}

[data-theme="dark"] .chart-filter-tabs {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .filter-tab-btn {
  color: #94A3B8;
}

[data-theme="dark"] .filter-tab-btn:hover {
  color: #FFFFFF;
}

[data-theme="dark"] .filter-tab-btn.is-active {
  background: #0463D4;
  color: #FFFFFF;
}

[data-theme="dark"] .interactive-chart-svg line {
  stroke: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .chart-axis-labels {
  color: #64748B;
}

[data-theme="dark"] .chart-tooltip-bubble {
  background: #0463D4;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .section-title {
  color: #FFFFFF;
}

[data-theme="dark"] .section-subtitle {
  color: #94A3B8;
}

[data-theme="dark"] .feature-check-icon {
  background: rgba(4, 99, 212, 0.2);
  color: #38BDF8;
}

[data-theme="dark"] .feature-check-text {
  color: #F1F5F9;
}

[data-theme="dark"] .feature-check-sub {
  color: #94A3B8;
}

/* Section 3: 6 Modular Cards in Dark Mode */
[data-theme="dark"] .modular-card {
  background: rgba(13, 22, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .modular-card:hover {
  background: rgba(18, 30, 66, 0.95);
  border-color: rgba(4, 99, 212, 0.4);
  box-shadow: 0 20px 40px -8px rgba(4, 99, 212, 0.25);
}

[data-theme="dark"] .modular-icon-box {
  background: rgba(4, 99, 212, 0.16);
  color: #38BDF8;
}

[data-theme="dark"] .modular-card-title {
  color: #FFFFFF;
}

[data-theme="dark"] .modular-card-desc {
  color: #94A3B8;
}

[data-theme="dark"] .modular-card-link {
  color: #38BDF8;
}

/* Section 4: 4-Step Operational Flow in Dark Mode */
[data-theme="dark"] .workflow-radbin-section {
  background: transparent;
}

[data-theme="dark"] .workflow-track-grid::before {
  border-top-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .workflow-node-card {
  background: rgba(13, 22, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .workflow-node-card:hover {
  background: rgba(18, 30, 66, 0.95);
  border-color: var(--color-trust-blue);
  box-shadow: 0 12px 28px rgba(4, 99, 212, 0.25);
}

[data-theme="dark"] .workflow-step-badge-num {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-trust-blue);
  color: #38BDF8;
}

[data-theme="dark"] .workflow-step-name {
  color: #FFFFFF;
}

[data-theme="dark"] .workflow-step-text {
  color: #94A3B8;
}

/* Section 6: Industries Grid in Dark Mode */
[data-theme="dark"] .industry-card {
  background: rgba(13, 22, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .industry-card:hover {
  background: rgba(18, 30, 66, 0.95);
  border-color: var(--color-trust-blue);
  box-shadow: 0 16px 36px rgba(4, 99, 212, 0.2);
}

[data-theme="dark"] .industry-name {
  color: #FFFFFF;
}

[data-theme="dark"] .industry-challenge {
  color: #94A3B8;
}

[data-theme="dark"] .industry-link-text {
  color: #38BDF8;
}

[data-theme="dark"] .industry-icon-box {
  background: rgba(4, 99, 212, 0.16);
  color: #38BDF8;
}

/* Section 7: Implementation Journey in Dark Mode */
[data-theme="dark"] .section-subtle {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .impl-step-card {
  background: rgba(13, 22, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .impl-step-num {
  color: rgba(4, 99, 212, 0.35);
}

[data-theme="dark"] .impl-step-title {
  color: #FFFFFF;
}

[data-theme="dark"] .impl-step-desc {
  color: #94A3B8;
}

/* Section 8: FAQ Accordion in Dark Mode */
[data-theme="dark"] .accordion-item {
  background: rgba(13, 22, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .accordion-trigger {
  color: #FFFFFF;
}

[data-theme="dark"] .accordion-trigger:hover {
  color: #38BDF8;
}

[data-theme="dark"] .accordion-icon {
  color: #94A3B8;
}

[data-theme="dark"] .accordion-content {
  color: #94A3B8;
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Buttons, Switches & Footer in Dark Mode */
[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #38BDF8;
  border-color: rgba(4, 99, 212, 0.4);
}

[data-theme="dark"] .lang-switcher {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #CBD5E1;
}

[data-theme="dark"] .lang-switcher:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

[data-theme="dark"] .site-footer {
  background: #03060E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-brand p,
[data-theme="dark"] .footer-links a {
  color: #94A3B8;
}

[data-theme="dark"] .footer-links a:hover {
  color: #38BDF8;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #64748B;
}


