/* Minification failed. Returning unminified contents.
(9,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(42,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(71,10): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(72,10): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red-dark'
(214,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(226,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-bg'
(227,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-text'
(229,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-border'
(231,21): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-bg'
(239,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-bg'
(240,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-text'
(242,31): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-bg'
(243,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-border'
(277,20): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(364,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(378,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(410,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(420,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-bg'
(421,27): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-border'
(422,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-text'
(427,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-bg'
(428,27): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-border'
(429,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-text'
(439,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-bg'
(441,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-hover-text'
(449,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-nav-active-bg'
(754,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(763,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(779,10): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(780,10): run-time error CSS1039: Token not allowed after unary operator: '-magensa-purple'
(781,10): run-time error CSS1039: Token not allowed after unary operator: '-magtek-blue'
(791,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(803,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(811,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(818,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(954,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(962,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1009,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1031,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1047,26): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1049,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(1075,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1100,26): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1117,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1148,33): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1159,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1169,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1190,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1203,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1212,15): run-time error CSS1039: Token not allowed after unary operator: '-magensa-purple'
(1224,31): run-time error CSS1039: Token not allowed after unary operator: '-magensa-purple'
(1229,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1244,26): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1247,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1378,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1396,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1501,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1519,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1578,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1593,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1609,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1617,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1631,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1636,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1778,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1822,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1829,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1842,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1994,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(2106,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2112,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2653,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2669,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2676,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2691,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(2873,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(2880,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3038,10): run-time error CSS1030: Expected identifier, found '#overview'
(3038,19): run-time error CSS1031: Expected selector, found ')'
(3038,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3050,10): run-time error CSS1030: Expected identifier, found '#overview'
(3050,19): run-time error CSS1031: Expected selector, found ')'
(3050,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3054,10): run-time error CSS1030: Expected identifier, found '#overview'
(3054,19): run-time error CSS1031: Expected selector, found ')'
(3054,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3060,10): run-time error CSS1030: Expected identifier, found '#overview'
(3060,19): run-time error CSS1031: Expected selector, found ')'
(3060,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3064,10): run-time error CSS1030: Expected identifier, found '#overview'
(3064,19): run-time error CSS1031: Expected selector, found ')'
(3064,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3069,10): run-time error CSS1030: Expected identifier, found '#overview'
(3069,19): run-time error CSS1031: Expected selector, found ')'
(3069,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3075,10): run-time error CSS1030: Expected identifier, found '#overview'
(3075,19): run-time error CSS1031: Expected selector, found ')'
(3075,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3081,10): run-time error CSS1030: Expected identifier, found '#overview'
(3081,19): run-time error CSS1031: Expected selector, found ')'
(3081,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3087,10): run-time error CSS1030: Expected identifier, found '#overview'
(3087,19): run-time error CSS1031: Expected selector, found ')'
(3087,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3093,10): run-time error CSS1030: Expected identifier, found '#overview'
(3093,19): run-time error CSS1031: Expected selector, found ')'
(3093,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3097,10): run-time error CSS1030: Expected identifier, found '#overview'
(3097,19): run-time error CSS1031: Expected selector, found ')'
(3097,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3102,10): run-time error CSS1030: Expected identifier, found '#overview'
(3102,19): run-time error CSS1031: Expected selector, found ')'
(3102,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3109,10): run-time error CSS1030: Expected identifier, found '#overview'
(3109,19): run-time error CSS1031: Expected selector, found ')'
(3109,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3115,10): run-time error CSS1030: Expected identifier, found '#overview'
(3115,19): run-time error CSS1031: Expected selector, found ')'
(3115,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3120,10): run-time error CSS1030: Expected identifier, found '#overview'
(3120,19): run-time error CSS1031: Expected selector, found ')'
(3120,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3126,10): run-time error CSS1030: Expected identifier, found '#overview'
(3126,19): run-time error CSS1031: Expected selector, found ')'
(3126,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3130,10): run-time error CSS1030: Expected identifier, found '#overview'
(3130,19): run-time error CSS1031: Expected selector, found ')'
(3130,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3134,10): run-time error CSS1030: Expected identifier, found '#overview'
(3134,19): run-time error CSS1031: Expected selector, found ')'
(3134,19): run-time error CSS1025: Expected comma or open brace, found ')'
(3158,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(3164,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(3238,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(4736,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(4743,27): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(4745,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(4765,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(4772,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(4783,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(5059,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(5073,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(5081,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(5085,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(5100,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
 */
/* ==========================================================================
   DynaConnect Services Page Styles
   ==========================================================================
   Dependencies: magtek-standardization, magtek-buttons, magtek-heroes stylesheets
   Purpose: Page-specific overrides for the Magensa Cloud Services experience.
   -------------------------------------------------------------------------- */

:root {
  --primary: #ffffff;
  --secondary: #f7f9fb;
  --magtek-red: #d21242;
  --magtek-red-dark: #b01035;
  --magtek-blue: #263c50;
  --magtek-blue-dark: #1e293b;
  --magensa-purple: #63619a;
  --magensa-purple-dark: #524f7e;
  --text-primary: #263c50;
  --text-secondary: #1e293b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #d21242 0%, #b01035 100%);
  --gradient-secondary: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
}

/* ==========================================================================
     Base Reset
     ========================================================================== */
* {
  margin: 0; /* Remove default margins */
  padding: 0; /* Remove default padding */
  box-sizing: border-box; /* Include padding/border in element width */
}

html {
  scroll-behavior: smooth; /* Smooth scrolling for all anchor links */
}

body {
  color: var(--text-primary); /* Default text color */
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* System font stack */
  line-height: 1.6; /* Better default line height for readability */
  -webkit-font-smoothing: antialiased; /* Better font rendering on MacOS */
  -moz-osx-font-smoothing: grayscale; /* Better font rendering on Firefox */
}

/* ========================================================================== */
/* Navigation */
/* ========================================================================== */

.reading-progress {
  position: fixed; /* Stay at top during scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Thin bar */
  background: #e2e8f0; /* Light gray background */
  z-index: 1000; /* Above all content */
  will-change: transform; /* Optimize for animation */
  transform: translateZ(0); /* Force GPU acceleration */
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--magtek-red) 0%,
    var(--magtek-red-dark) 100%
  ); /* MagTek red gradient */
  width: 0%; /* Starts empty, filled by JavaScript */
  will-change: width; /* Optimize for width animation */
  transform: translateZ(0); /* Force GPU acceleration */
  transition: width 0.1s ease-out; /* Smooth progress updates */
}

/* ==========================================================================
     SERVICES NAVIGATION BAR (Unique to Services Page)
     ========================================================================== */

.services-nav-bar {
  position: relative; /* Initially relative */
  left: 0;
  right: 0;
  background: white;
  z-index: 900; /* Below progress bar, above content */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* Subtle bottom border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow; /* Optimize transforms */
}

/* Sticky State - Applied via JavaScript when scrolling */
.services-nav-bar.is-sticky {
  position: fixed; /* Becomes fixed at top */
  top: 0;
  left: 0;
  right: 0;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.95); /* Slight transparency */
  backdrop-filter: blur(12px); /* Blur content behind */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  animation: servicesNavSlideDown 0.3s ease; /* Smooth entrance */
}

/* Animation for sticky nav appearing */
@keyframes servicesNavSlideDown {
  from {
    transform: translateY(-10px); /* Start slightly above */
    opacity: 0.9;
  }
  to {
    transform: translateY(0); /* End at normal position */
    opacity: 1;
  }
}

/* Placeholder element maintains layout when nav becomes fixed */
.services-nav-placeholder {
  display: none; /* Hidden by default */
  height: 0;
  transition: height 0.3s ease;
}

.services-nav-placeholder.active {
  display: block; /* Shown when nav is sticky */
}

/* Navigation container - Inner wrapper for content */
.services-nav-container {
  max-width: 1400px; /* Max width for large screens */
  margin: 0 auto; /* Center align */
  padding: 1.2rem 1.5rem; /* Reduced padding */
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo left, links center, CTA right */
  gap: 2rem; /* Reduced gap */
  position: relative;
  z-index: 2;
}

/* Reduced padding when sticky for more compact look */
.services-nav-bar.is-sticky .services-nav-container {
  padding: 1rem 1.5rem; /* More compact when sticky */
}

/* Brand/Logo Area */
.services-nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  height: auto;
  min-height: 45px; /* Reduced min-height */
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}

.services-nav-brand-content {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.services-nav-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 60, 80, 0.08);
  color: #263c50;
  font-size: 1.8rem;
}

.services-nav-brand-label {
  font-size: 2rem;
  font-weight: 700;
  color: #263c50;
  letter-spacing: 0.01em;
}

.services-nav-brand img {
  height: 50px; /* Reduced logo height */
  width: auto; /* Maintain aspect ratio */
  display: block;
  transition: transform 0.2s ease;
}

.services-nav-brand:hover img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

/* Navigation Links Container */
.services-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem; /* Reduced gap between links */
  flex: 1; /* Take available space */
  justify-content: center; /* Center links */
  flex-wrap: nowrap; /* Prevent wrapping to keep on one line */
}

/* Individual Navigation Links */
.services-nav-link {
  padding: 0.5rem 1rem; /* Reduced padding */
  border-radius: 20px; /* Slightly smaller border radius */
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.3rem; /* Reduced font size */
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother transition */
  white-space: nowrap;
  border: 2px solid transparent; /* Reserve space for border */
  position: relative;
}

/* Link Hover State */
.services-nav-link:hover {
  background: var(--magtek-nav-hover-bg, rgba(99, 97, 154, 0.12));
  color: var(--magtek-nav-hover-text, #4c4a7d);
  text-decoration: none;
  border-color: var(--magtek-nav-hover-border, rgba(99, 97, 154, 0.32));
  box-shadow:
    0 4px 16px var(--magtek-nav-hover-bg, rgba(99, 97, 154, 0.15)),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  transform: translateZ(0);
}

/* Active Link State - Shows current section */
.services-nav-link.active {
  background: var(--magtek-nav-active-bg, rgba(99, 97, 154, 0.18));
  color: var(--magtek-nav-active-text, #312d57);
  font-weight: 600;
  box-shadow: 0 6px 20px var(--magtek-nav-active-bg, rgba(76, 74, 125, 0.22));
  border-color: var(--magtek-nav-active-border, rgba(76, 74, 125, 0.36));
  transform: translateY(-2px);
}

/* CTA Button in Navigation - Uses standard btn-primary, no special styling */

/* Mobile Menu Toggle Button */
.services-nav-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(38, 60, 80, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.services-nav-toggle:hover {
  border-color: rgba(38, 60, 80, 0.4);
  background: rgba(38, 60, 80, 0.05);
}

.services-nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 3px 0;
}

.services-nav-toggle.active .services-nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.services-nav-toggle.active .services-nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.services-nav-toggle.active .services-nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.services-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.services-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Navigation Panel */
.services-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.services-nav-panel.active {
  right: 0;
}

/* Hide panel on desktop */
@media (min-width: 1024px) {
  .services-nav-panel,
  .services-nav-overlay,
  .services-nav-toggle {
    display: none !important;
  }
}

.services-nav-panel-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.services-nav-panel-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.services-nav-panel-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(38, 60, 80, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.6rem;
  transition: all 0.2s ease;
  padding: 0;
}

.services-nav-panel-close:hover {
  background: rgba(38, 60, 80, 0.2);
  transform: rotate(90deg);
}

.services-nav-panel-content {
  flex: 1;
  padding: 1rem 0;
}

.services-nav-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-nav-panel-item {
  margin: 0;
  padding: 0;
}

.services-nav-panel-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.services-nav-panel-link:hover {
  background: var(--magtek-nav-hover-bg, rgba(99, 97, 154, 0.08));
  border-left-color: var(--magtek-nav-hover-border, rgba(99, 97, 154, 0.3));
  color: var(--magtek-nav-hover-text, #312d57);
  text-decoration: none;
}

.services-nav-panel-link.active {
  background: var(--magtek-nav-active-bg, rgba(99, 97, 154, 0.12));
  border-left-color: var(--magtek-nav-active-border, rgba(99, 97, 154, 0.5));
  color: var(--magtek-nav-active-text, #312d57);
  font-weight: 600;
}

.services-nav-panel-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--magtek-nav-hover-bg, rgba(99, 97, 154, 0.1));
  border-radius: 10px;
  color: var(--magtek-nav-hover-text, #4c4a7d);
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.services-nav-panel-link:hover .services-nav-panel-icon,
.services-nav-panel-link.active .services-nav-panel-icon {
  background: var(--magtek-nav-active-bg, rgba(99, 97, 154, 0.2));
  transform: scale(1.1);
}

.services-nav-panel-text {
  flex: 1;
}

.services-nav-panel-cta {
  margin-top: 1rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.services-nav-panel-cta-button {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
     SERVICES NAV RESPONSIVE STYLES
     ========================================================================== */

/* Tablet Landscape (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .services-nav-container {
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .services-nav-link {
    font-size: 1.2rem;
    padding: 0.45rem 0.9rem;
  }

  .services-nav-bar.is-sticky .services-nav-container {
    padding: 0.9rem 1.5rem;
  }

  .services-nav-brand img {
    height: 45px;
  }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-nav-container {
    gap: 1rem;
    padding: 1.2rem 1.5rem;
  }

  .services-nav-brand {
    order: 1;
    min-height: 45px;
  }

  .services-nav-brand img {
    height: 45px;
  }

  .services-nav-bar .btn-primary {
    order: 2;
    margin-left: auto;
  }

  .services-nav-toggle {
    order: 3;
    display: flex;
  }

  .services-nav-links {
    display: none; /* Hide links on tablet, use mobile menu */
  }

  .services-nav-bar.is-sticky .services-nav-container {
    padding: 1rem 1.5rem;
  }

  .services-nav-panel {
    width: 350px;
  }
}

/* Mobile Landscape (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .services-nav-container {
    gap: 0.8rem;
    padding: 1rem 1.2rem;
  }

  .services-nav-brand {
    order: 1;
    min-height: 40px;
  }

  .services-nav-brand img {
    height: 40px;
  }

  .services-nav-bar .btn-primary {
    display: none; /* Hide CTA on mobile, show in panel */
  }

  .services-nav-toggle {
    order: 2;
    display: flex;
    width: 40px;
    height: 40px;
  }

  .services-nav-toggle-line {
    width: 20px;
    margin: 2.5px 0;
  }

  .services-nav-links {
    display: none; /* Hide links on mobile, use mobile menu */
  }

  .services-nav-bar.is-sticky .services-nav-container {
    padding: 0.8rem 1.2rem;
  }

  .services-nav-panel {
    width: 300px;
  }
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
  .services-nav-container {
    gap: 0.6rem;
    padding: 0.8rem 1rem;
  }

  .services-nav-brand {
    order: 1;
    min-height: 35px;
  }

  .services-nav-brand img {
    height: 35px;
  }

  .services-nav-bar .btn-primary {
    display: none; /* Hide CTA on mobile, show in panel */
  }

  .services-nav-toggle {
    order: 2;
    display: flex;
    width: 36px;
    height: 36px;
  }

  .services-nav-toggle-line {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }

  .services-nav-links {
    display: none; /* Hide links on mobile, use mobile menu */
  }

  .services-nav-bar.is-sticky .services-nav-container {
    padding: 0.6rem 1rem;
  }

  .services-nav-panel {
    width: 280px;
    max-width: 90vw;
  }

  .services-nav-panel-header {
    padding: 1.5rem 1.2rem;
  }

  .services-nav-panel-title {
    font-size: 1.6rem;
  }

  .services-nav-panel-link {
    padding: 1.2rem 1.2rem;
    font-size: 1.4rem;
  }

  .services-nav-panel-icon {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/* ========================================================================== */
/* Layout Structure & Section Wrappers */
/* ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* White Background Sections */
.section-bg-white {
  background: white;
  padding: 7rem 0; /* Optimized spacing for better visual flow */
  position: relative;
}

/* Ultra-light alternating background for better visual rhythm */
.section-bg-alt {
  background: linear-gradient(180deg, #fafbfc 0%, #f8f9fa 100%);
  padding: 7rem 0; /* Optimized spacing for better visual flow */
  position: relative;
}

/* Soft gradient transition at top of sections */
.section-bg-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; /* Reduced for subtler effect */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6) 0%,
    /* More subtle */ transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Section Dividers */
.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 20%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 100%
  );
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact CTA Section - Extra padding */
.contact-cta-section {
  padding: 8rem 0 !important; /* Optimized for final section impact without excessive space */
}

/* Subtle section entrance - works with AOS */
section {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ========================================================================== */
/* Section Headers & Typography */
/* ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 5rem; /* Consistent spacing for all section headers */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  position: relative;
}

/* Ensure consistent spacing after section headers */
.section-header + * {
  margin-top: 0;
}

/* Consistent checkmark list spacing */
.checkmark-list {
  margin-top: 2rem;
}

/* Title with underline decoration */
.section-header h2 {
  position: relative;
  padding-bottom: 3rem; /* Increased from 2.5rem */
  margin-bottom: 2.5rem; /* Increased from 2rem */
}

/* Red underline accent under titles - more subtle */
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* Center align */
  width: 80px; /* Slightly wider */
  height: 4px; /* Slightly thicker */
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.8; /* Slightly transparent for subtlety */
}

/* Section Title Text */
.section-title {
  font-size: clamp(3.2rem, 5vw, 4rem); /* Increased scale for hierarchy */
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem; /* Increased from 1.5rem */
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.gateway-result.aos-init.aos-animate {
  margin-bottom: 20px;
}
.auth-explanation {
  margin-bottom: 20px;
}

/* Section title accent */
.section-title.magensa-brand {
  background: linear-gradient(
    135deg,
    var(--magtek-red) 0%,
    var(--magensa-purple) 50%,
    var(--magtek-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Subtitle Text */
.section-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.1rem); /* Increased for readability */
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto;
  font-weight: 400;
  text-align: center;
  max-width: 800px;
}

/* Base Typography */
h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

p {
  font-size: 1.7rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Page-specific button container spacing */
/* ========================================================================== */
/* CTA Layout Helpers */
/* ========================================================================== */

.cta-buttons,
.section-cta-buttons {
  margin-top: 4rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.section-cta-buttons {
  padding: 2rem 0;
}

/* Consistent spacing between major elements within sections */
.magtek-product-card + .quote-card {
  margin-top: 4rem;
}

.quote-card + .cta-buttons,
.quote-card + .section-cta-buttons {
  margin-top: 4rem;
}

.magtek-product-card + .section-cta-buttons {
  margin-top: 4rem;
}

.service-routing-control + .section-cta-buttons {
  margin-top: 2rem;
}

/* Consistent spacing for routing control */
.service-routing-control {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* Ensure consistent spacing after product cards */
.magtek-product-card {
  margin-bottom: 0; /* Spacing handled by adjacent selectors */
}

/* ========================================================================== */
/* CTA Presentation Components */
/* ========================================================================== */
/* Note: Button styling for CTA sections is handled in magtek-buttons.css */

/* Base state - Elements start hidden */
/* ========================================================================== */
/* Animation Hooks (AOS) */
/* ========================================================================== */

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

/* Animated state - Elements become visible */
[data-aos].aos-animate {
  opacity: 1;
}

/* Fade Up Animation - Slides up from below */
[data-aos="fade-up"] {
  transform: translateY(20px); /* Start 20px below */
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0); /* End at normal position */
}

/* Fade Left Animation - Slides from right */
[data-aos="fade-left"] {
  transform: translateX(20px); /* Start 20px to the right */
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* Fade Right Animation - Slides from left */
[data-aos="fade-right"] {
  transform: translateX(-20px); /* Start 20px to the left */
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* Zoom In Animation - Scales from smaller size */
[data-aos="zoom-in"] {
  transform: scale(0.95); /* Start at 95% size */
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1); /* Scale to 100% */
}

/* ========================================================================== */
/* Tokenization Comparison */
/* ========================================================================== */

.before-after-comparison {
  max-width: 100%;
  margin: 3rem 0 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  position: relative;
  border: none;
}

.before-after-comparison h3 {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Subtle subtitle hint */
.before-after-comparison h3 + p {
  text-align: center;
  font-size: 1.7rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: stretch;
  padding: 3rem;
}

.before-box,
.after-box {
  background: white;
  border-radius: 16px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Before Box - Danger Styling */
.before-box {
  border: 1px solid #e5e7eb;
  background: white;
}

.before-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
  border-color: #64748b;
}

/* After Box - Success Styling */
.after-box {
  border: 1px solid #e5e7eb;
  background: white;
}

.after-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(210, 18, 66, 0.12);
  border-color: var(--magtek-red);
}

/* Comparison Badge Labels */
.comparison-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* RMS Overview Section Styles */
.rms-overview-section {
  padding: 3rem 4rem;
  border-top: 1px solid var(--border);
}

.rms-visualization-container {
  margin: 30px auto;
  max-width: 600px;
  padding: 0 15px;
  text-align: center;
}

.rms-visualization-wrapper {
  margin: 0;
}

.rms-visualization-panel {
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.rms-visualization-body {
  padding: 30px 20px;
  min-height: 280px;
}

.rms-device-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.rms-device-item {
  position: relative;
  text-align: center;
  width: 90px;
  flex-shrink: 0;
}

.rms-device-icon {
  font-size: 36px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: block;
}

.rms-device-status {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rms-status-compliant {
  background-color: #10b981;
}

.rms-status-pending {
  background-color: #f59e0b;
}

.rms-status-attention {
  background-color: var(--magtek-red);
}

.rms-device-label {
  font-size: 1.2rem; /* Readable label size */
  color: #64748b;
  margin-top: 0.5rem; /* 8px equivalent */
  font-weight: 500;
}

.rms-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.rms-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem; /* Readable legend text */
  color: #64748b;
}

.rms-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.rms-visualization-caption {
  text-align: center;
  color: #94a3b8;
  font-style: italic;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 1.4rem; /* Readable caption text */
}

.rms-mode-tabs {
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rms-mode-tabs > li {
  margin: 0;
}

.rms-mode-tabs > li > a {
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: transparent;
}

.rms-mode-tabs > li > a:hover {
  background-color: rgba(99, 97, 154, 0.08);
  color: var(--text-primary);
}

.rms-mode-tabs > li.active > a,
.rms-mode-tabs > li.active > a:hover,
.rms-mode-tabs > li.active > a:focus {
  background-color: rgba(99, 97, 154, 0.18);
  color: #312d57;
  border: none;
}

.rms-tab-content {
  min-height: 150px;
  margin-bottom: 30px;
  padding: 20px 0;
}

.rms-mode-title {
  font-size: 1.8rem; /* Matches flow-step-title size for consistency */
  font-weight: 600;
  margin-bottom: 0.9375rem; /* 15px equivalent */
  color: var(--text-primary);
}

.rms-mode-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.rms-mode-list li {
  padding: 0.625rem 0; /* 10px equivalent */
  padding-left: 1.5625rem; /* 25px equivalent */
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.7rem; /* Matches body text size for readability */
}

.rms-mode-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--magensa-purple);
  font-weight: bold;
  font-size: 1.8rem; /* Matches rms-mode-title size */
  line-height: 1;
}

.rms-trust-strip {
  background-color: rgba(99, 97, 154, 0.06);
  padding: 20px;
  border-radius: 6px;
  margin-top: 30px;
  margin-bottom: 25px;
  border-left: 4px solid var(--magensa-purple);
}

.rms-trust-text {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 1.7rem; /* Matches body text size */
  line-height: 1.6;
}

.rms-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rms-trust-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1.2rem; /* Readable badge text */
  color: var(--text-secondary);
  font-weight: 500;
}

.rms-clarification {
  margin-top: 25px;
  margin-bottom: 0;
  padding: 15px;
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  border-radius: 4px;
  color: #92400e;
  line-height: 1.6;
  font-size: 1.5rem; /* Readable clarification text */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .rms-overview-section {
    margin-top: 30px;
    padding-top: 20px;
  }

  .rms-visualization-container {
    max-width: 100%;
    padding: 0 10px;
    margin: 20px auto;
  }

  .rms-visualization-body {
    padding: 20px 15px;
    min-height: 250px;
  }

  .rms-device-grid {
    gap: 15px;
  }

  .rms-device-item {
    width: 75px;
  }

  .rms-device-icon {
    font-size: 30px;
  }

  .rms-device-label {
    font-size: 1.1rem; /* Responsive scaling - still readable */
  }

  .rms-mode-tabs {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .rms-mode-tabs > li {
    flex: 1;
    min-width: 0;
  }

  .rms-mode-tabs > li > a {
    padding: 0.625rem 0.75rem; /* 10px 12px equivalent */
    font-size: 0.875rem; /* 14px equivalent */
    text-align: center;
    display: block;
  }

  .rms-tab-content {
    padding: 15px 0;
  }

  .rms-mode-title {
    font-size: 1.6rem; /* Responsive scaling */
  }

  .rms-mode-list li {
    font-size: 1.5rem; /* Responsive scaling - still readable */
    padding: 8px 0 8px 20px;
  }

  .rms-trust-strip {
    padding: 15px;
    margin-top: 25px;
  }

  .rms-trust-badges {
    gap: 6px;
  }

  .rms-trust-badge {
    font-size: 1.1rem; /* Responsive scaling - still readable */
    padding: 0.3125rem 0.625rem; /* 5px 10px equivalent */
  }

  .rms-legend {
    gap: 15px;
  }

  .rms-legend-item {
    font-size: 1.2rem; /* Responsive scaling - still readable */
  }
}

.comparison-badge.danger {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.3);
  border-color: rgba(100, 116, 139, 0.4);
}

.comparison-badge.success {
  background: linear-gradient(135deg, #d21242 0%, #b01035 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(210, 18, 66, 0.3);
  border-color: rgba(210, 18, 66, 0.4);
}

.comparison-icon {
  font-size: 5rem;
  text-align: center;
  margin: 1.5rem auto 2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  line-height: 1;
}

.before-box h4,
.after-box h4 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 1.5rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  padding: 2rem 1.5rem;
  font-size: 1.7rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 -1.5rem;
  border-radius: 10px;
}

.simple-list li:first-child {
  padding-top: 0;
  margin-top: 0;
}

.simple-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.simple-list li:hover {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.01) 100%
  );
  padding-left: 2rem;
  transform: translateX(4px);
}

/* Enhanced checkmark/x icons */
.before-box .simple-list li::before {
  content: attr(data-icon);
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.after-box .simple-list li::before {
  content: attr(data-icon);
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.arrow-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 1rem;
}

.arrow-icon {
  font-size: 5rem;
  color: #64748b;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
  animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ========================================================================== */
/* Gateway Services Visual */
/* ========================================================================== */

.gateway-visual {
  max-width: 100%;
  margin: 3rem 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0;
}

/* Visual Step - Brand New Design */
.visual-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.visual-step-main {
  max-width: 280px;
}

/* Visual Label */
.visual-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Visual Box */
.visual-box {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.visual-box:hover {
  transform: translateY(-6px);
  border-color: var(--magtek-red);
  box-shadow: 0 8px 24px rgba(210, 18, 66, 0.12);
}

.visual-box-main {
  border: 1px solid rgba(76, 74, 125, 0.36);
  background: linear-gradient(
    135deg,
    rgba(99, 97, 154, 0.08) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 16px rgba(76, 74, 125, 0.15);
}

.visual-box-main:hover {
  border-color: rgba(76, 74, 125, 0.45);
  box-shadow: 0 8px 24px rgba(76, 74, 125, 0.22);
}

/* Visual Icon */
.visual-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(38, 60, 80, 0.2);
  transition: all 0.3s ease;
}

.visual-icon-main {
  width: 70px;
  height: 70px;
  background: rgba(99, 97, 154, 0.25);
  box-shadow: 0 4px 12px rgba(76, 74, 125, 0.22);
}

.visual-box:hover .visual-icon {
  transform: scale(1.1);
}

.visual-icon i {
  font-size: 2.6rem;
  color: white;
}

.visual-icon-main i {
  font-size: 3rem;
  color: #312d57;
}

/* Visual Text */
.visual-text {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.visual-value {
  font-size: 2rem;
  font-weight: 700;
  color: #312d57;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.visual-trust {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Connector */
.visual-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 60px;
}

.connector-arrow {
  font-size: 3.5rem;
  color: var(--magtek-red);
  font-weight: 300;
  line-height: 1;
}

.connector-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Result Statement */
.gateway-result {
  max-width: 100%;
  margin: 2rem 0 0 0;
  padding: 0;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.gateway-result strong {
  color: var(--magtek-red);
  font-weight: 700;
}

/* Gateway Disclaimer */
.gateway-disclaimer {
  font-size: 1.3rem;
  color: #64748b;
  margin-top: 1rem;
  margin-left: 0;
  text-align: center;
  line-height: 1.5;
}

/* Responsive disclaimer */
@media (max-width: 768px) {
  .gateway-disclaimer {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .gateway-disclaimer {
    font-size: 1.1rem;
    padding: 0 0.5rem;
  }
}

/* Responsive */

/* ========================================================================== */
/* Access & Authentication Flow */
/* ========================================================================== */

.auth-flow-educational {
  max-width: 100%;
  margin: 3rem;
  padding: 0;
}

/* Comparison Container */
.auth-comparison {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.auth-old,
.auth-new {
  flex: 1;
  text-align: center;
}

/* Method Label */
.auth-method-label {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 2rem;
}

.danger-label {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
}

.success-label {
  background: rgba(99, 97, 154, 0.18);
  color: #312d57;
  border: 1px solid rgba(76, 74, 125, 0.36);
}

/* Method Visual */
.auth-method-visual {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 3.5rem 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.auth-old .auth-method-visual:hover {
  border-color: #64748b;
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
}

.auth-new .auth-method-visual {
  background: rgba(99, 97, 154, 0.08);
  border-color: rgba(76, 74, 125, 0.36);
}

.auth-new .auth-method-visual:hover {
  border-color: rgba(76, 74, 125, 0.45);
  box-shadow: 0 8px 24px rgba(76, 74, 125, 0.22);
}

/* Visual Icon */
.auth-visual-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.danger-icon {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.success-icon {
  background: rgba(99, 97, 154, 0.25);
  box-shadow: 0 4px 12px rgba(76, 74, 125, 0.22);
}

.auth-method-visual:hover .auth-visual-icon {
  transform: scale(1.1);
}

.auth-visual-icon i {
  font-size: 3.5rem;
  color: white;
}

.success-icon i {
  color: #312d57;
}

/* Visual Text */
.auth-visual-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

/* Problems & Benefits */
.auth-problems,
.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.problem-item,
.benefit-item {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 8px;
}

.problem-item {
  color: #64748b;
  background: rgba(100, 116, 139, 0.06);
  border-left: 3px solid #64748b;
}

.benefit-item {
  color: #312d57;
  background: rgba(99, 97, 154, 0.12);
  border-left: 3px solid rgba(76, 74, 125, 0.36);
}

/* Arrow Divider */
.auth-arrow-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  gap: 0.5rem;
}

.divider-arrow {
  font-size: 3.5rem;
  color: var(--magtek-red);
  font-weight: 300;
}

.divider-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Explanation */
.auth-explanation {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.8; /* Slightly less opacity for subtlety */
  }
  100% {
    transform: scale(1.25); /* Less expansion */
    opacity: 0;
  }
}

.status-online {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-online i {
  color: #10b981; /* Green for online status */
  font-size: 1rem;
  animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* ========================================================================== */
/* Performance Optimizations */
/* ========================================================================== */
/* Hint to browser that these properties will change */
[data-aos] {
  will-change: transform, opacity;
}

/* Enable hardware acceleration for navigation */
.services-nav-bar,
.services-nav-link,
.services-nav-brand {
  backface-visibility: hidden; /* Prevent flickering */
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d; /* Enable 3D transforms */
  -webkit-transform-style: preserve-3d;
}

/* Optimize progress bar rendering */
.reading-progress,
.reading-progress-bar {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style paint; /* Isolate rendering */
}

/* Optimize panel rendering */
.services-nav-panel {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style paint;
}

.full-width-cta {
  width: 100%;
  padding: 7rem 0; /* Optimized for visual impact without excessive space */
  position: relative;
  overflow: hidden;
  margin: 0;
}

.cta-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Dark Pattern CTA */
.cta-dark-pattern {
  background:
    linear-gradient(
      135deg,
      rgba(38, 60, 80, 0.95) 0%,
      rgba(30, 41, 59, 0.98) 100%
    ),
    url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="rgba(210,18,66,0.1)" stroke-width="1"/></svg>');
  background-size:
    cover,
    60px 60px;
  color: white;
}

.cta-title {
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-gradient-primary .cta-title,
.cta-dark-pattern .cta-title {
  color: white;
}

.cta-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 400;
}

.cta-gradient-primary .cta-subtitle,
.cta-dark-pattern .cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.95;
}

.cta-gradient-primary .cta-subtitle strong {
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.cta-dark-pattern .cta-subtitle strong {
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.cta-testimonial-slider .cta-subtitle strong {
  font-weight: 700;
  background: rgba(210, 18, 66, 0.15);
  color: var(--magtek-red);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

/* Context-specific button styling lives in the shared magtek-buttons styles */

/* Security Badges */
.cta-security-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-security-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-security-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-security-badge i {
  font-size: 2rem;
  color: #d21242;
}

.cta-security-badge span {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Boxes */
.cta-feature-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.cta-feature-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.cta-feature-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-feature-box i {
  font-size: 2.6rem;
  margin-bottom: 2rem;
  color: #d21242;
}

.cta-feature-box h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-feature-box p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

.audience-overview {
  margin: 5rem auto;
  padding: 3.5rem 3rem;
  border-radius: 26px;
  border: 1px solid rgba(38, 60, 80, 0.1);
  background: linear-gradient(
    140deg,
    rgba(38, 60, 80, 0.05) 0%,
    rgba(248, 249, 250, 0.96) 100%
  );
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.magensa-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.magensa-intro h3 {
  font-size: clamp(2.4rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.magensa-intro p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================================================== */
/* Magensa Flow Visual - Improved UX */
/* ========================================================================== */

.magensa-flow-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Flow Step Cards - Clean, Professional Design */
.flow-step {
  flex: 1 1 0;
  min-width: 280px;
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* MagTek Step - Red Accent */
.flow-step-magtek {
  border-left: 4px solid #d21242;
}

.flow-step-magtek:hover {
  border-left-color: #d21242;
  box-shadow:
    0 4px 12px rgba(210, 18, 66, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Tunnel Step - Neutral */
.flow-step-tunnel {
  border-left: 4px solid #64748b;
}

.flow-step-tunnel:hover {
  border-left-color: #64748b;
}

/* Magensa Step - Muted Purple */
.flow-step-magensa {
  border-left: 4px solid rgba(76, 74, 125, 0.5);
}

.flow-step-magensa:hover {
  border-left-color: rgba(76, 74, 125, 0.7);
  box-shadow:
    0 4px 12px rgba(76, 74, 125, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Flow Step Icon - Logo Display (No Box) - Fixed Height for Alignment */
.flow-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.flow-step-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flow-step:hover .flow-step-icon {
  transform: scale(1.05);
}

/* MagTek Logo - Large, No Box - Centered in Fixed Height */
.flow-step-magtek .flow-step-icon {
  height: 120px;
}

.flow-step-magtek .flow-step-icon img {
  max-height: 80px;
  width: auto;
}

/* Tunnel Icon - White background with icon (Keep Box) */
.flow-icon-tunnel {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: white;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon-tunnel i {
  font-size: 4rem;
  color: #64748b;
}

.flow-step:hover .flow-icon-tunnel {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Magensa Logo - Large, No Box - Centered in Fixed Height */
.flow-icon-magensa {
  height: 120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon-magensa img {
  max-height: 80px;
  width: auto;
}

/* Flow Step Badge - Aligned Across All Cards */
.flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  min-height: 3.2rem;
}

.flow-badge-magtek {
  background: rgba(210, 18, 66, 0.12);
  color: #d21242;
}

.flow-badge-tunnel {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.flow-badge-magensa {
  background: rgba(99, 97, 154, 0.18);
  color: #312d57;
  border: 1px solid rgba(76, 74, 125, 0.36);
}

/* Flow Step Title */
.flow-step-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #263c50;
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
}

.flow-step-magensa .flow-step-title {
  color: #312d57;
}

/* Flow Step Description */
.flow-step-desc {
  font-size: 1.4rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Flow Step Features - Clean Icon Grid */
.flow-step-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.flow-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 500;
  text-align: center;
}

.flow-feature i {
  font-size: 1.8rem;
  color: #263c50;
  margin-bottom: 0.2rem;
}

.flow-step-magtek .flow-feature i {
  color: #d21242;
}

.flow-step-magensa .flow-feature i {
  color: #4c4a7d;
}

.flow-feature span {
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Flow Arrow Connector - Clean, Simple Design */
.flow-arrow {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0 1rem;
  position: relative;
  margin-top: 40px; /* Align with logo center */
}

.flow-arrow-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(
    180deg,
    rgba(210, 18, 66, 0.2) 0%,
    rgba(100, 116, 139, 0.2) 50%,
    rgba(76, 74, 125, 0.3) 100%
  );
  margin: 0.5rem 0;
  border-radius: 2px;
}

.flow-arrow-head {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.flow-arrow:hover .flow-arrow-head {
  border-color: #263c50;
  color: #263c50;
  transform: scale(1.1);
}

.flow-arrow-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.6rem;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 1200px) {
  .magensa-flow-visual {
    gap: 1.5rem;
  }

  .flow-step {
    min-width: 240px;
    padding: 2.5rem 2rem;
  }

  .flow-arrow {
    min-width: 60px;
    padding: 0 0.5rem;
    margin-top: 40px;
  }

  .flow-arrow-line {
    height: 30px;
  }

  .flow-arrow-head {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .flow-arrow-label {
    font-size: 0.85rem;
  }

  .flow-step-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .flow-step-magtek .flow-step-icon,
  .flow-icon-magensa {
    height: 70px;
  }

  .flow-step-magtek .flow-step-icon img,
  .flow-icon-magensa img {
    max-height: 70px;
  }
}

/* Tablet Portrait - Better arrow handling when wrapping */
@media (min-width: 768px) and (max-width: 1023px) {
  .magensa-flow-visual {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
  }

  .flow-step {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    max-width: 400px;
  }

  .flow-arrow {
    flex: 0 0 100%;
    order: 2;
    transform: rotate(90deg);
    min-width: auto;
    min-height: 60px;
    padding: 1rem 0;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-arrow-line {
    width: 50px;
    height: 2px;
  }

  .flow-arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.4rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Hide second arrow when wrapping */
  .flow-step-tunnel + .flow-arrow {
    order: 4;
  }

  .flow-step-magensa {
    order: 3;
  }
}

/* Mobile Landscape and below - Stack vertically */
@media (max-width: 767px) {
  .magensa-flow-visual {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .flow-step {
    max-width: 100%;
    width: 100%;
    max-width: 500px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 120px;
    padding: 2rem 0;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .flow-arrow-line {
    width: 50px;
    height: 2px;
    order: 1;
    margin: 0;
    align-self: center;
  }

  .flow-arrow-head {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    order: 2;
    margin: 0.8rem 0;
    flex-shrink: 0;
    align-self: center;
  }

  .flow-arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
    order: 3;
    line-height: 1.3;
    flex-shrink: 0;
    min-width: 0;
    align-self: center;
  }

  .flow-step-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .flow-feature {
    font-size: 1.1rem;
  }

  .flow-feature i {
    font-size: 1.6rem;
  }
}

.magensa-relationship {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}

.magensa-tile {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 24px;
  border: 4px solid transparent;
  padding: 3rem 2.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.magensa-tile--magtek {
  border-color: #d21242;
  background-image: linear-gradient(
    180deg,
    rgba(210, 18, 66, 0.07) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

.magensa-tile--magensa {
  border-color: #63619a;
  background-image: linear-gradient(
    180deg,
    rgba(99, 97, 154, 0.08) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

.magensa-tile-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.magensa-tile-logo {
  width: 160px;
  max-width: 60%;
  height: auto;
  align-self: flex-start;
}

.magensa-tile-label {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  background: rgba(38, 60, 80, 0.08);
  color: var(--text-primary);
}

.magensa-tile-label--magtek {
  background: rgba(210, 18, 66, 0.1);
  color: #d21242;
}

.magensa-tile-label--magensa {
  background: rgba(99, 97, 154, 0.12);
  color: #4c4a7d;
}

.magensa-tile-header h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
}

.magensa-tile p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.75;
}

.magensa-tile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.magensa-tile ul li {
  font-size: 1.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.75;
}

.magensa-tile--magtek ul li::before,
.magensa-tile--magensa ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 0.8rem;
  flex-shrink: 0;
}

.magensa-tile--magtek ul li::before {
  background: #d21242;
}

.magensa-tile--magensa ul li::before {
  background: #63619a;
}

.magensa-bridge {
  flex: 0 1 210px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(38, 60, 80, 0.75);
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f8f9fb;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.08);
}

.magensa-bridge::before,
.magensa-bridge::after {
  content: "";
  width: 4px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(210, 18, 66, 0.45) 0%,
    rgba(99, 97, 154, 0.45) 100%
  );
  opacity: 0.5;
}

.magensa-bridge::before {
  margin-bottom: 1.2rem;
}

.magensa-bridge::after {
  margin-top: 1.2rem;
}

.magensa-bridge-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  color: #263c50;
  font-size: 1.8rem;
}

.magensa-bridge-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.magensa-bridge-copy {
  font-size: 1.4rem;
  color: rgba(38, 60, 80, 0.72);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .audience-overview {
    padding: 3rem 2.4rem;
  }
}

@media (max-width: 768px) {
  .audience-overview {
    padding: 2.6rem 2rem;
  }

  .magensa-relationship {
    flex-direction: column;
    gap: 1.6rem;
  }

  .magensa-tile {
    padding: 2.8rem 2.4rem;
  }

  .magensa-tile-logo {
    max-width: 70%;
  }

  .magensa-bridge {
    flex-direction: row;
    gap: 1.6rem;
    padding: 1.8rem 1.6rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .magensa-bridge::before,
  .magensa-bridge::after {
    width: 4px;
    height: 32px;
  }

  .magensa-bridge::before {
    margin-right: 0.8rem;
  }

  .magensa-bridge::after {
    margin-left: 0.8rem;
  }
}

@media (max-width: 480px) {
  .audience-overview {
    padding: 2.2rem 1.6rem;
  }

  .magensa-tile {
    padding: 2.6rem 2.2rem;
  }

  .magensa-bridge {
    flex-direction: column;
    gap: 1.2rem;
    max-width: none;
  }

  .magensa-bridge::before,
  .magensa-bridge::after {
    width: 28px;
    height: 4px;
  }

  .magensa-bridge::before {
    margin: 0 0 0.8rem 0;
  }

  .magensa-bridge::after {
    margin: 0.8rem 0 0 0;
  }

  .magensa-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .magensa-cta .btn-primary,
  .magensa-cta .btn-secondary {
    min-width: 100%;
  }
}

/* Legacy Audience Headings (backward compatibility) */
.panel-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.panel-intro {
  font-size: 1.6rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Responsive */

/* ========================================================================== */
/* Reduced Motion Support */
/* ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  /* Disable all AOS animations */
  [data-aos] {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* Disable all transitions */
  .services-nav-bar,
  .reading-progress-bar,
  .services-nav-link,
  .services-nav-panel {
    transition: none !important;
  }
}

/* Services Page Hero - Enterprise Gradient */
/* ========================================================================== */
/* Page-Specific Overrides */
/* ========================================================================== */

#overview.hero-dark.hero-centered {
  background: linear-gradient(135deg, #0f172a 0%, #16263b 45%, #1b2f49 100%);
  position: relative;
  overflow: hidden;
}

/* Industries Section - Uniform card layout */
#industries .small-card {
  min-height: 400px;
}

#industries .small-card-content {
  justify-content: center;
}

/* Tech/Cloud Services Pattern - Professional */
#overview.hero-dark.hero-centered::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
      /* Data grid */
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    /* Navy and red accent nodes */
    radial-gradient(
        circle at 20% 30%,
        rgba(210, 18, 66, 0.1) 0%,
        transparent 3%
      ),
    radial-gradient(
      circle at 80% 20%,
      rgba(38, 60, 80, 0.12) 0%,
      transparent 2.5%
    ),
    radial-gradient(
      circle at 60% 70%,
      rgba(210, 18, 66, 0.08) 0%,
      transparent 3.5%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(38, 60, 80, 0.08) 0%,
      transparent 2%
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(210, 18, 66, 0.06) 0%,
      transparent 2.6%
    ),
    radial-gradient(
      circle at 45% 45%,
      rgba(99, 97, 154, 0.1) 0%,
      transparent 3%
    ),
    radial-gradient(
      circle at 15% 75%,
      rgba(99, 97, 154, 0.08) 0%,
      transparent 2.5%
    ),
    /* Subtle data streams */
    repeating-linear-gradient(
        0deg,
        transparent,
        transparent 100px,
        rgba(210, 18, 66, 0.04) 100px,
        rgba(210, 18, 66, 0.04) 101px
      ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 150px,
      rgba(99, 97, 154, 0.05) 150px,
      rgba(38, 60, 80, 0.05) 151px
    );
  background-size:
    50px 50px,
    50px 50px,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  opacity: 0.7;
  z-index: 1;
}

/* Accent overlay for hero depth */
#overview.hero-dark.hero-centered::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(210, 18, 66, 0.14) 0%,
    rgba(99, 97, 154, 0.12) 40%,
    rgba(38, 60, 80, 0.12) 68%,
    transparent 78%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ensure content stays above patterns */
/* Ensure content stays above patterns */
#overview.hero-dark.hero-centered .hero-content {
  position: relative;
  z-index: 2;
}

/* Subtle badge enhancement on hover */
#overview.hero-dark.hero-centered .hero-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Services Page Only - Purple section title underlines */
body:has(#overview) .section-header h2::after,
body:has(#overview) .section-title::after {
  background: linear-gradient(
    135deg,
    var(--magtek-red) 0%,
    var(--magtek-red-dark) 100%
  );
}

/* Improved Spacing & Fitment for Graphics - Services Page */

/* RMS Metric Cards - Better vertical rhythm */
body:has(#overview) .rms-metric-card {
  padding: 2.5rem 2rem;
}

body:has(#overview) .metric-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 2rem;
}

body:has(#overview) .metric-icon i {
  font-size: 2.6rem;
}

body:has(#overview) .metric-value {
  font-size: 3rem;
  margin: 0 0 1rem;
}

body:has(#overview) .metric-label {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Comparison Icons - Better spacing */
body:has(#overview) .comparison-icon {
  font-size: 5rem;
  margin: 2rem auto 2.5rem;
  line-height: 1;
}

body:has(#overview) .before-box h4,
body:has(#overview) .after-box h4 {
  margin-bottom: 2.5rem;
}

/* Auth Visual Icons - Better proportions */
body:has(#overview) .auth-visual-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

body:has(#overview) .auth-visual-icon i {
  font-size: 3.5rem;
}

body:has(#overview) .auth-visual-text {
  font-size: 2rem;
  margin-bottom: 2rem;
}

body:has(#overview) .auth-problems,
body:has(#overview) .auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

body:has(#overview) .problem-item,
body:has(#overview) .benefit-item {
  padding: 1rem 1.5rem;
}

/* Auth Method Visual - Better padding */
body:has(#overview) .auth-method-visual {
  padding: 3.5rem 3rem;
}

/* Gateway Visual - Better spacing */
body:has(#overview) .visual-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

body:has(#overview) .visual-icon i {
  font-size: 2.8rem;
}

body:has(#overview) .visual-box {
  padding: 2.5rem 2rem;
}

body:has(#overview) .visual-box-main {
  padding: 3rem 2.5rem;
}

.magensa-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.magensa-persona-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.magensa-persona-card h4 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.magensa-persona-card p {
  font-size: 1.55rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Magensa Final CTA */
.contact-cta-section.magensa-final-cta {
  background: linear-gradient(
    180deg,
    rgba(99, 97, 154, 0.06) 0%,
    rgba(76, 74, 125, 0.04) 100%
  );
  padding: 8rem 0;
  border-top: 1px solid rgba(76, 74, 125, 0.25);
  border-bottom: 1px solid rgba(76, 74, 125, 0.25);
}

.contact-cta-section.magensa-final-cta .container {
  position: relative;
}

.contact-cta-section.magensa-final-cta .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(99, 97, 154, 0.14) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(210, 18, 66, 0.08) 0%,
      transparent 60%
    );
  opacity: 0.6;
  pointer-events: none;
  border-radius: 28px;
}

.magensa-final-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(76, 74, 125, 0.36);
  border-radius: 24px;
  padding: 4.5rem;
  box-shadow: 0 18px 45px rgba(76, 74, 125, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.magensa-final-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.magensa-final-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: rgba(99, 97, 154, 0.18);
  color: #312d57;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(76, 74, 125, 0.36);
}

.magensa-final-card .section-title {
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}

.magensa-final-card .section-subtitle {
  color: rgba(38, 60, 80, 0.78);
  font-size: 1.8rem;
}

.magensa-final-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.magensa-final-pill {
  flex: 1;
  min-width: 220px;
  background: rgba(99, 97, 154, 0.08);
  border: 1px solid rgba(76, 74, 125, 0.36);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.magensa-final-pill:hover {
  border-color: rgba(76, 74, 125, 0.45);
  box-shadow: 0 10px 28px rgba(76, 74, 125, 0.22);
}

.magensa-pill-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 97, 154, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #312d57;
  font-size: 1.9rem;
  box-shadow: 0 4px 12px rgba(76, 74, 125, 0.22);
}

.magensa-final-pill .magensa-pill-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #312d57;
}

.magensa-final-pill p {
  margin: 0;
  font-size: 1.5rem;
  color: rgba(44, 47, 72, 0.82);
}

.magensa-final-card .cta-buttons {
  justify-content: center;
  gap: 1.4rem;
}

@media (max-width: 768px) {
  .magensa-final-card {
    padding: 3.5rem 2.6rem;
  }

  .magensa-final-pill-group {
    flex-direction: column;
  }
}

/* ============================================
     MAGCARE BENEFITS GRID
     Integrated into MagCare card
     ============================================ */

.magcare-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 3rem;
}

.magcare-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magcare-benefit-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.magcare-benefit-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px rgba(38, 60, 80, 0.15);
  transition: all 0.3s ease;
}

.magcare-benefit-item:hover .magcare-benefit-icon {
  box-shadow: 0 4px 12px rgba(38, 60, 80, 0.2);
  transform: translateY(-2px);
}

.magcare-benefit-content {
  flex: 1;
}

.magcare-benefit-content h4 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #263c50;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.magcare-benefit-content p {
  font-size: 1.4rem;
  color: #1e293b;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .magcare-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .magcare-benefit-item {
    padding: 1.5rem;
  }

  .magcare-benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .magcare-benefit-content h4 {
    font-size: 1.6rem;
  }

  .magcare-benefit-content p {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
     COMPREHENSIVE RESPONSIVE DESIGN
     ==========================================================================
     Breakpoints:
     - Mobile Portrait: 320px - 479px
     - Mobile Landscape: 480px - 767px
     - Tablet Portrait: 768px - 1023px
     - Tablet Landscape: 1024px - 1199px
     - Desktop: 1200px - 1399px
     - Widescreen: 1400px+
     ========================================================================== */

/* ==========================================================================
     TABLET LANDSCAPE & DESKTOP (1024px - 1399px)
     ========================================================================== */
@media (min-width: 1024px) and (max-width: 1399px) {
  .container {
    max-width: 1100px;
    padding: 0 3rem;
  }

  .section-title {
    font-size: clamp(3rem, 4.5vw, 3.8rem);
  }

  .section-subtitle {
    font-size: clamp(1.7rem, 2.8vw, 2rem);
  }

  .magensa-flow-visual {
    gap: 1.5rem;
    max-width: 1200px;
  }

  .flow-step {
    min-width: 260px;
    padding: 2.5rem 2rem;
  }

  .gateway-visual {
    gap: 1.5rem;
  }

  .visual-step {
    max-width: 220px;
  }

  .visual-step-main {
    max-width: 260px;
  }

  .comparison-split {
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .auth-comparison {
    gap: 1.5rem;
  }

  .cta-feature-boxes {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .magensa-final-card {
    padding: 4rem 3.5rem;
  }

  .magensa-final-pill {
    min-width: 200px;
  }
}

/* ==========================================================================
     TABLET PORTRAIT (768px - 1023px)
     ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Container & Layout */
  .container {
    max-width: 100%;
    padding: 0 3rem;
  }

  /* Sections */
  .section-bg-white,
  .section-bg-alt {
    padding: 5rem 0;
  }

  .section-header {
    margin-bottom: 4rem;
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
  }

  .section-subtitle {
    font-size: clamp(1.6rem, 3vw, 1.9rem);
  }

  /* Typography */
  h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
  }

  p {
    font-size: 1.6rem;
  }

  /* Hero */
  .hero-content {
    padding: 0 2rem;
  }

  .hero-text h1 {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  .hero-badges {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-badge {
    font-size: 1.3rem;
    padding: 0.8rem 1.5rem;
  }

  /* Magensa Flow Visual */
  .magensa-flow-visual {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
  }

  .flow-step {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    max-width: 400px;
  }

  .flow-arrow {
    flex: 0 0 100%;
    order: 2;
    transform: rotate(90deg);
    min-width: auto;
    min-height: 120px;
    padding: 2rem 0;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .flow-arrow-line {
    width: 50px;
    height: 2px;
    order: 1;
    margin: 0;
    align-self: center;
  }

  .flow-arrow-head {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    order: 2;
    margin: 0.8rem 0;
    flex-shrink: 0;
    align-self: center;
  }

  .flow-arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    max-width: none;
    padding: 0.5rem 0.8rem;
    line-height: 1.3;
    order: 3;
    flex-shrink: 0;
    min-width: 0;
    align-self: center;
  }

  /* Reorder elements for proper flow when wrapping */
  .flow-step-magtek {
    order: 1;
  }

  .flow-step-magtek + .flow-arrow {
    order: 2;
  }

  .flow-step-tunnel {
    order: 3;
  }

  .flow-step-tunnel + .flow-arrow {
    order: 4;
  }

  .flow-step-magensa {
    order: 5;
  }

  /* Gateway Visual */
  .gateway-visual {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  .visual-step {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 180px;
    max-width: 220px;
  }

  .visual-step-main {
    max-width: 240px;
  }

  .visual-connector {
    min-width: 50px;
  }

  /* Comparison Sections */
  .comparison-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }

  .arrow-separator {
    transform: rotate(90deg);
    padding: 1rem 0;
  }

  .arrow-icon {
    font-size: 4rem;
  }

  /* Auth Comparison */
  .auth-comparison {
    flex-direction: column;
    gap: 2rem;
  }

  .auth-arrow-divider {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 60px;
    padding: 1rem 0;
  }

  .divider-arrow {
    font-size: 3rem;
  }

  /* Small Cards Grid */
  #industries .row {
    margin: 0;
  }

  #industries .col-lg-3,
  #industries .col-md-6 {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .cta-feature-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cta-security-grid {
    gap: 1.5rem;
  }

  .cta-security-badge {
    padding: 1.2rem 2rem;
    font-size: 1.3rem;
  }

  /* Full Width CTA */
  .full-width-cta {
    padding: 5rem 0;
  }

  .cta-content {
    padding: 0 2rem;
  }

  .cta-title {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
  }

  .cta-subtitle {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }

  /* Magensa Final CTA */
  .magensa-final-card {
    padding: 3.5rem 2.5rem;
  }

  .magensa-final-pill-group {
    flex-direction: column;
    gap: 1.5rem;
  }

  .magensa-final-pill {
    min-width: 100%;
  }

  /* RMS Dashboard */
  .rms-api-notice {
    margin: 1.5rem;
    padding: 1.5rem;
  }
}

/* ==========================================================================
     MOBILE LANDSCAPE (480px - 767px)
     ========================================================================== */
@media (min-width: 480px) and (max-width: 767px) {
  /* Container */
  .container {
    padding: 0 2rem;
  }

  /* Sections */
  .section-bg-white,
  .section-bg-alt {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .section-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1.2rem;
  }

  .section-subtitle {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  }

  /* Typography */
  h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  h3 {
    font-size: clamp(1.7rem, 4vw, 2rem);
  }

  p {
    font-size: 1.5rem;
  }

  /* Hero */
  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-text h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 350px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
  }

  .hero-badge {
    width: 100%;
    max-width: 300px;
    font-size: 1.2rem;
    padding: 0.7rem 1.2rem;
    justify-content: center;
  }

  /* Magensa Flow Visual */
  .magensa-flow-visual {
    flex-direction: column;
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 0 1rem;
  }

  .flow-step {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .flow-arrow {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 115px;
    padding: 2rem 0;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .flow-arrow-line {
    width: 50px;
    height: 2px;
    order: 1;
    margin: 0;
    align-self: center;
  }

  .flow-arrow-head {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    order: 2;
    margin: 0.8rem 0;
    flex-shrink: 0;
    align-self: center;
  }

  .flow-arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
    max-width: none;
    line-height: 1.3;
    order: 3;
    flex-shrink: 0;
    min-width: 0;
    align-self: center;
  }

  /* Gateway Visual */
  .gateway-visual {
    flex-direction: column;
    gap: 2rem;
  }

  .visual-step {
    width: 100%;
    max-width: 100%;
  }

  .visual-connector {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 40px;
    padding: 0.5rem 0;
  }

  .connector-arrow {
    font-size: 3rem;
  }

  /* Comparison Sections */
  .comparison-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .before-box,
  .after-box {
    padding: 2.5rem 2rem;
  }

  .arrow-separator {
    transform: rotate(90deg);
    padding: 1rem 0;
    min-width: auto;
    min-height: 50px;
  }

  .arrow-icon {
    font-size: 3.5rem;
  }

  /* Auth Comparison */
  .auth-flow-educational {
    margin: 2rem 1rem;
  }

  .auth-comparison {
    flex-direction: column;
    gap: 2rem;
  }

  .auth-arrow-divider {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 50px;
    padding: 1rem 0;
  }

  .divider-arrow {
    font-size: 3rem;
  }

  .cta-feature-boxes {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cta-feature-box {
    padding: 2rem 1.5rem;
  }

  .cta-security-grid {
    flex-direction: column;
    gap: 1.2rem;
  }

  .cta-security-badge {
    width: 100%;
    padding: 1rem 1.5rem;
    justify-content: center;
  }

  /* Full Width CTA */
  .full-width-cta {
    padding: 4rem 0;
  }

  .cta-content {
    padding: 0 1.5rem;
  }

  .cta-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
  }

  .cta-subtitle {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  }

  /* Magensa Final CTA */
  .magensa-final-card {
    padding: 3rem 2rem;
  }

  .magensa-final-header {
    margin-bottom: 2.5rem;
  }

  .magensa-final-pill-group {
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }

  .magensa-final-pill {
    min-width: 100%;
    padding: 1.5rem;
  }
}

/* ==========================================================================
     MOBILE PORTRAIT (320px - 479px)
     ========================================================================== */
@media (max-width: 479px) {
  /* Container */
  .container {
    padding: 0 1.5rem;
  }

  /* Sections */
  .section-bg-white,
  .section-bg-alt {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
  }

  /* Typography */
  h2 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  h3 {
    font-size: clamp(1.6rem, 5vw, 1.9rem);
  }

  p {
    font-size: 1.4rem;
  }

  /* Hero */
  .hero-content {
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.4rem, 4.5vw, 1.7rem);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 100%;
    font-size: 1.4rem;
  }

  .hero-badges {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-badge {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
    justify-content: center;
  }

  /* Magensa Flow Visual */
  .magensa-flow-visual {
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
  }

  .flow-step {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .flow-step-icon {
    height: 100px;
    margin-bottom: 1.5rem;
  }

  .flow-step-title {
    font-size: 1.6rem;
  }

  .flow-step-desc {
    font-size: 1.3rem;
  }

  .flow-step-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .flow-feature {
    font-size: 1.1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 110px;
    padding: 1.8rem 0;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .flow-arrow-line {
    width: 45px;
    height: 2px;
    order: 1;
    margin: 0;
    align-self: center;
  }

  .flow-arrow-head {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    order: 2;
    margin: 0.8rem 0;
    flex-shrink: 0;
    align-self: center;
  }

  .flow-arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 0.5rem 0.7rem;
    line-height: 1.2;
    order: 3;
    flex-shrink: 0;
    min-width: 0;
    align-self: center;
  }

  /* Gateway Visual */
  .gateway-visual {
    flex-direction: column;
    gap: 1.5rem;
  }

  .visual-step {
    width: 100%;
  }

  .visual-box {
    padding: 2rem 1.5rem;
  }

  .visual-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .visual-icon i {
    font-size: 2.2rem;
  }

  .visual-text {
    font-size: 1.4rem;
  }

  .visual-value {
    font-size: 1.7rem;
  }

  .visual-trust {
    font-size: 1.2rem;
  }

  .visual-connector {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 35px;
    padding: 0.5rem 0;
  }

  .connector-arrow {
    font-size: 2.5rem;
  }

  .connector-text {
    font-size: 1rem;
  }

  /* Comparison Sections */
  .before-after-comparison {
    margin: 2rem 0 0 0;
  }

  .comparison-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .before-box,
  .after-box {
    padding: 2rem 1.5rem;
  }

  .comparison-badge {
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
  }

  .comparison-icon {
    font-size: 4rem;
    margin: 1rem auto 1.5rem;
  }

  .before-box h4,
  .after-box h4 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .simple-list li {
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
  }

  .arrow-separator {
    transform: rotate(90deg);
    padding: 0.8rem 0;
    min-width: auto;
    min-height: 40px;
  }

  .arrow-icon {
    font-size: 3rem;
  }

  /* Auth Comparison */
  .auth-flow-educational {
    margin: 1.5rem 0.5rem;
  }

  .auth-comparison {
    flex-direction: column;
    gap: 1.5rem;
  }

  .auth-method-label {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
  }

  .auth-method-visual {
    padding: 2.5rem 2rem;
  }

  .auth-visual-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .auth-visual-icon i {
    font-size: 3rem;
  }

  .auth-visual-text {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .auth-problems,
  .auth-benefits {
    gap: 1rem;
  }

  .problem-item,
  .benefit-item {
    font-size: 1.3rem;
    padding: 0.8rem 1.2rem;
  }

  .auth-arrow-divider {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 40px;
    padding: 0.8rem 0;
  }

  .divider-arrow {
    font-size: 2.5rem;
  }

  .divider-text {
    font-size: 1rem;
  }

  .auth-explanation {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .cta-feature-boxes {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .cta-feature-box {
    padding: 1.5rem 1.2rem;
  }

  .cta-feature-box i {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .cta-feature-box h4 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
  }

  .cta-feature-box p {
    font-size: 1.3rem;
  }

  .cta-security-grid {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .cta-security-badge {
    width: 100%;
    padding: 1rem 1.2rem;
    justify-content: center;
  }

  .cta-security-badge i {
    font-size: 1.8rem;
  }

  .cta-security-badge span {
    font-size: 1.3rem;
  }

  /* Full Width CTA */
  .full-width-cta {
    padding: 3rem 0;
  }

  .cta-content {
    padding: 0 1rem;
  }

  .cta-title {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
    margin-bottom: 1.5rem;
  }

  .cta-subtitle {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    margin-bottom: 2rem;
  }

  /* Magensa Final CTA */
  .magensa-final-card {
    padding: 2.5rem 1.5rem;
  }

  .magensa-final-header {
    margin-bottom: 2rem;
  }

  .magensa-final-eyebrow {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }

  .magensa-final-card .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .magensa-final-card .section-subtitle {
    font-size: 1.5rem;
  }

  .magensa-final-pill-group {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .magensa-final-pill {
    min-width: 100%;
    padding: 1.2rem;
  }

  .magensa-pill-icon {
    width: 45px;
    height: 45px;
    font-size: 1.7rem;
  }

  .magensa-final-pill .magensa-pill-title {
    font-size: 1.3rem;
  }

  .magensa-final-pill p {
    font-size: 1.3rem;
  }

  /* Gateway Result */
  .gateway-result {
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  /* Auth Explanation */
  .auth-explanation {
    font-size: 1.3rem;
    padding: 0 0.5rem;
  }

  /* RMS API Notice */
  .rms-api-notice {
    margin: 1rem;
    padding: 1rem;
  }

  .rms-api-notice-title {
    font-size: 1.5rem;
  }

  .rms-api-notice-text p {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
     WIDESCREEN (1400px+)
     ========================================================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    padding: 0 5rem;
  }

  .services-nav-container {
    max-width: 1400px;
    padding: 2rem 3rem;
  }

  .services-nav-bar.is-sticky .services-nav-container {
    padding: 1.5rem 3rem;
  }

  .section-bg-white,
  .section-bg-alt {
    padding: 8rem 0;
  }

  .section-header {
    max-width: 1000px;
  }

  .section-title {
    font-size: clamp(3.5rem, 5vw, 4.2rem);
  }

  .section-subtitle {
    font-size: clamp(2rem, 3vw, 2.3rem);
    max-width: 900px;
  }

  .magensa-flow-visual {
    max-width: 1600px;
    gap: 2.5rem;
  }

  .flow-step {
    min-width: 300px;
    padding: 3.5rem 3rem;
  }

  .gateway-visual {
    gap: 2.5rem;
  }

  .visual-step {
    max-width: 260px;
  }

  .visual-step-main {
    max-width: 300px;
  }

  .comparison-split {
    gap: 4rem;
    padding: 4rem;
  }

  .before-box,
  .after-box {
    padding: 4rem 3.5rem;
  }

  .auth-comparison {
    gap: 3rem;
  }

  .cta-content {
    max-width: 1200px;
    padding: 0 4rem;
  }

  .magensa-final-card {
    padding: 5rem 4.5rem;
  }

  .magensa-final-pill {
    min-width: 240px;
  }
}

/* ==========================================================================
     Floating Action Buttons (Get Started & Back to Top)
     ========================================================================== */

.floating-get-started-btn {
  position: fixed;
  top: 80px; /* Adjusted for reduced nav height */
  right: 20px;
  z-index: 850; /* Above content, below nav */
  padding: 10px 20px; /* Slightly smaller to match nav scale */
  background: linear-gradient(135deg, #d21242 0%, #b01035 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8125rem; /* 13px equivalent - slightly smaller font */
  box-shadow: 0 4px 16px rgba(210, 18, 66, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
}

.floating-get-started-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-get-started-btn:hover {
  background: linear-gradient(135deg, #b01035 0%, #8e0d2a 100%);
  box-shadow: 0 6px 20px rgba(210, 18, 66, 0.4);
  transform: translateY(-2px);
}

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 850; /* Above content, below nav */
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(38, 60, 80, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #1e293b 0%, #15202b 100%);
  box-shadow: 0 6px 20px rgba(38, 60, 80, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
  .floating-get-started-btn {
    top: 80px;
    right: 15px;
    padding: 10px 18px;
    font-size: 0.8125rem; /* 13px equivalent */
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1rem; /* 16px equivalent - icon size */
  }
}

@media (max-width: 480px) {
  .floating-get-started-btn {
    top: 70px;
    right: 10px;
    padding: 8px 16px;
    font-size: 0.75rem; /* 12px equivalent */
  }

  .back-to-top-btn {
    bottom: 15px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 0.875rem; /* 14px equivalent - icon size */
  }
}

/* ==========================================================================
     Service Routing Control (Gateway Section)
     ========================================================================== */

.service-routing-control {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.routing-control-label {
  font-size: 1.5rem;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 1rem;
  margin-top: 0;
  text-align: center;
  line-height: 1.5;
}

.routing-destinations {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.routing-destination {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 3rem;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: white;
  text-decoration: none;
  color: #263c50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  min-height: 120px;
}

.routing-destination:hover {
  border-color: var(--magtek-red);
  background: white;
  color: #263c50;
  text-decoration: none;
}

.routing-destination:focus {
  outline: 2px solid var(--magtek-red);
  outline-offset: 2px;
  border-color: var(--magtek-red);
}

.routing-destination-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1.5rem;
}

.routing-destination-title {
  font-size: 2rem;
  font-weight: 700;
  color: #263c50;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.routing-destination:hover .routing-destination-title {
  color: var(--magtek-red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.routing-destination-chevron {
  font-size: 1.4rem;
  color: var(--magtek-red);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 1;
}

.routing-destination:hover .routing-destination-chevron {
  transform: translateX(4px);
}

.routing-destination:focus .routing-destination-chevron {
  color: var(--magtek-red);
}

.routing-destination-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #1e293b;
  margin: 0;
  transition: color 0.3s ease;
}

.routing-destination:hover .routing-destination-desc {
  color: #1e293b;
}

/* Mobile: Stack destinations vertically */
@media (max-width: 768px) {
  .service-routing-control {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .routing-control-label {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .routing-destinations {
    flex-direction: column;
    gap: 1.5rem;
  }

  .routing-destination {
    min-height: 100px;
    padding: 2rem;
    width: 100%;
  }

  .routing-destination-content {
    margin-bottom: 0.8rem;
  }

  .routing-destination-title {
    font-size: 1.8rem;
  }

  .routing-destination-desc {
    font-size: 1.5rem;
  }

  .routing-destination-chevron {
    font-size: 1.3rem;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .routing-destinations {
    gap: 1.5rem;
  }

  .routing-destination {
    padding: 2rem 2.5rem;
  }

  .routing-destination-title {
    font-size: 1.8rem;
  }

  .routing-destination-desc {
    font-size: 1.5rem;
  }
}

/* ============================================
     SERVICES MARKETING BANNER - MagCare
     ============================================ */

.services-marketing-banner {
  background: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.services-marketing-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="banner-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23banner-grid)"/></svg>');
  opacity: 0.5;
  z-index: 1;
}

.marketing-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.marketing-banner-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(210, 18, 66, 0.15);
  border-radius: 16px;
  border: 2px solid rgba(210, 18, 66, 0.3);
}

.marketing-banner-icon i {
  font-size: 2.8rem;
  color: #d21242;
}

.marketing-banner-text {
  flex: 1;
  min-width: 0;
}

.marketing-banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.marketing-banner-subtitle {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}

.marketing-banner-cta {
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .marketing-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .marketing-banner-icon {
    width: 56px;
    height: 56px;
  }

  .marketing-banner-icon i {
    font-size: 2.4rem;
  }

  .marketing-banner-title {
    font-size: 2rem;
  }

  .marketing-banner-subtitle {
    font-size: 1.5rem;
  }

  .marketing-banner-cta {
    width: 100%;
    max-width: 300px;
  }

  .marketing-banner-cta .btn-primary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .services-marketing-banner {
    padding: 2.5rem 0;
  }

  .marketing-banner-content {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .marketing-banner-title {
    font-size: 1.8rem;
  }

  .marketing-banner-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .services-marketing-banner {
    padding: 2rem 0;
  }

  .marketing-banner-content {
    padding: 0 1rem;
  }

  .marketing-banner-icon {
    width: 48px;
    height: 48px;
  }

  .marketing-banner-icon i {
    font-size: 2rem;
  }

  .marketing-banner-title {
    font-size: 1.6rem;
  }

  .marketing-banner-subtitle {
    font-size: 1.3rem;
  }
}

/* ============================================
     SERVICE NAVIGATION CARDS
     Continue to service cards after gateway section
     ============================================ */

.service-navigation-wrapper {
  margin-top: 4rem;
  padding-top: 3rem;
}

.service-navigation-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-navigation-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.service-navigation-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.service-navigation-card-inner {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-navigation-card:hover .service-navigation-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--magtek-red);
}

.service-navigation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  gap: 1.5rem;
}

.service-navigation-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.service-navigation-card:hover .service-navigation-card-title {
  color: var(--magtek-red);
}

.service-navigation-card-arrow {
  color: var(--magtek-red);
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 1;
}

.service-navigation-card:hover .service-navigation-card-arrow {
  transform: translateX(4px);
}

.service-navigation-card-desc {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .service-navigation-wrapper {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }

  .service-navigation-header {
    margin-bottom: 2rem;
  }

  .service-navigation-card-inner {
    padding: 2rem 2.5rem;
  }

  .service-navigation-card-title {
    font-size: 1.8rem;
  }

  .service-navigation-card-desc {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .service-navigation-section {
    padding: 3rem 0;
  }

  .service-navigation-header {
    margin-bottom: 2.5rem;
  }

  .service-navigation-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
  }

  .service-navigation-card-inner {
    padding: 2rem;
  }

  .service-navigation-card-header {
    margin-bottom: 1rem;
  }

  .service-navigation-card-title {
    font-size: 1.7rem;
  }

  .service-navigation-card-arrow {
    font-size: 1.6rem;
  }

  .service-navigation-card-desc {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .service-navigation-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .service-navigation-header {
    margin-bottom: 1.5rem;
  }

  .service-navigation-title {
    font-size: 1.2rem;
  }

  .service-navigation-card-inner {
    padding: 1.8rem;
  }

  .service-navigation-card-title {
    font-size: 1.6rem;
  }

  .service-navigation-card-arrow {
    font-size: 1.5rem;
  }

  .service-navigation-card-desc {
    font-size: 1.3rem;
  }
}

/* ============================================
     COMPLEMENTARY SERVICES GRID - RMS & MagCare
     ============================================
     Subtle cross-promotion cards for RMS and MagCare
     in each core service section
     ============================================ */

.complementary-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.complementary-service-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(38, 60, 80, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.complementary-service-card:hover {
  background: #ffffff;
  border-color: rgba(38, 60, 80, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.complementary-service-rms {
  border-left: 3px solid #0ea5e9;
}

.complementary-service-magcare {
  border-left: 3px solid #d21242;
}

.complementary-service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 2rem;
}

.complementary-service-rms .complementary-service-icon {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.complementary-service-magcare .complementary-service-icon {
  background: rgba(210, 18, 66, 0.1);
  color: #d21242;
}

.complementary-service-content {
  flex: 1;
  min-width: 0;
}

.complementary-service-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #263c50;
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}

.complementary-service-desc {
  font-size: 1.4rem;
  color: rgba(38, 60, 80, 0.75);
  margin: 0;
  line-height: 1.5;
}

.complementary-service-link {
  color: #d21242;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.complementary-service-link:hover {
  color: #b01035;
  border-bottom-color: #b01035;
}

/* Responsive Design */
@media (max-width: 992px) {
  .complementary-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
  }

  .complementary-service-card {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  .complementary-services-grid {
    margin: 2rem 0;
    gap: 1.2rem;
  }

  .complementary-service-card {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .complementary-service-icon {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .complementary-service-title {
    font-size: 1.5rem;
  }

  .complementary-service-desc {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .complementary-service-card {
    padding: 1.2rem;
    gap: 1rem;
  }

  .complementary-service-icon {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .complementary-service-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .complementary-service-desc {
    font-size: 1.2rem;
  }
}

