/* ==========================================================================
   LEGIT MAG MAGE | Master Alloy Wheel Refurbishment & Custom Finishes
   MRC & Mag Doctor Inspired High-End South African Automotive Workshop Theme
   Aesthetic:
   - Rich Obsidian Dark Theme (#0b0d11 / #12151b / #1a1e26)
   - Punchy Mag Wheel Racing Orange / Crimson Red Accents (#ff4500 / #e11d48)
   - High-contrast typography with bold condensed headings (Montserrat / Bebas Neue)
   - Authentic workshop photography, 6-service circular cards, Google Reviews
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  /* Surfaces */
  --bg-darkest: #07090c;
  --bg-main: #0c0f14;
  --bg-card: #131720;
  --bg-card-hover: #191e2b;
  --bg-surface: #1e2433;
  --bg-light-strip: #ffffff;

  /* Accent Colors (MRC Racing Orange/Red & WhatsApp Green) */
  --accent-orange: #ff4a11;
  --accent-orange-hover: #e03a04;
  --accent-crimson: #e11d48;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #20ba59;

  /* Borders */
  --border-dark: #222938;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-orange: rgba(255, 74, 17, 0.4);

  /* Typography */
  --text-white: #ffffff;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;

  /* Fonts */
  --font-bebas: 'Bebas Neue', 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--bg-darkest);
  color: var(--text-dim);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--bg-darkest);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR (Black & Red Strip)
   ========================================================================== */
.top-strip {
  background: #050608;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-orange);
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-strip-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-weight: 500;
}

.top-strip-link:hover {
  color: var(--text-white);
}

/* ==========================================================================
   HEADER & NAVBAR (MRC Style Black Bar)
   ========================================================================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  z-index: 101;
}

.brand-logo img,
.nav-logo {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.7));
  transition: transform 0.2s ease;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(12, 15, 20, 0.75);
  border: 1px solid rgba(255, 74, 17, 0.35);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 74, 17, 0.25);
}

.hero-brand-badge .hero-logo-img {
  height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-orange);
}

.mobile-drawer-cta {
  display: none;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  z-index: 200;
  transition: var(--transition);
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-right-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 101;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--bg-darkest);
}

.btn-orange {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

.btn-orange:hover {
  background: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  box-shadow: 0 4px 16px rgba(255, 74, 17, 0.4);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #ffffff;
  border-color: var(--accent-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--accent-whatsapp-hover);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   MRC HERO SECTION (Dramatic High-End Wheel Background)
   ========================================================================== */
.hero-mrc {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 90px;
  overflow: hidden;
  background-color: #07090c;
  border-bottom: 3px solid var(--accent-orange);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: contrast(1.18) brightness(1.02);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(7, 9, 12, 0.25) 0%, rgba(7, 9, 12, 0.78) 75%),
              linear-gradient(180deg, rgba(7, 9, 12, 0.35) 0%, rgba(7, 9, 12, 0.88) 100%);
}

.hero-mrc-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.hero-subhead-tag {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff8255;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-main-title {
  font-family: var(--font-bebas);
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.hero-main-title span {
  color: var(--accent-orange);
}

.hero-desc-pill {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.04em;
  margin: 0 auto 28px;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   WHITE 3-COLUMN FEATURE STRIP (MRC Blueprint Exact Match)
   ========================================================================== */
.white-feature-section {
  background: #ffffff;
  color: #1e293b;
  padding: 72px 0;
  border-bottom: 1px solid #e2e8f0;
}

.white-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

.wf-col h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.wf-col p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
}

.wf-center-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.wf-center-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-right-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.wf-right-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   WHY CHOOSE US (Dark Section with Workshop Photos)
   ========================================================================== */
.dark-section {
  background: var(--bg-main);
  padding: 84px 0;
  border-bottom: 1px solid var(--border-dark);
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 20px;
}

.sh-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.02em;
}

.sh-subtitle {
  font-size: 0.9375rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-top: 6px;
}

.workshop-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workshop-photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.workshop-photo-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
}

.wp-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.wp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-photo-card:hover .wp-img-wrap img {
  transform: scale(1.05);
}

.wp-content {
  padding: 20px;
}

.wp-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.wp-content p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ==========================================================================
   OUR CORE SERVICES: A SOLUTION FOR EVERY WHEEL (6 Circular Icon Cards)
   ========================================================================== */
.services-section {
  background: var(--bg-darkest);
  padding: 84px 0;
  border-bottom: 1px solid var(--border-dark);
}

.services-top-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.services-top-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-orange);
  line-height: 1.15;
  margin-bottom: 16px;
}

.services-top-text p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 24px;
}

.services-top-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.services-top-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.six-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.circular-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.circular-service-card:hover {
  border-color: var(--accent-orange);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.service-circle-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  background: rgba(255, 74, 17, 0.08);
}

.circular-service-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.circular-service-card p {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   WORKSHOP ADVERT & SPECIALS SHOWCASE
   ========================================================================== */
.advert-section {
  padding: 85px 0;
  background: #080b10;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.advert-section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.advert-badge-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ff7847;
  background: rgba(255, 74, 17, 0.12);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 74, 17, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.advert-main-heading {
  font-family: var(--font-bebas);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 8px;
}

.advert-section-heading p {
  color: var(--text-dim);
  font-size: 0.9375rem;
}

.slides-advert-container {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  background: linear-gradient(135deg, #131822 0%, #0c1017 100%);
  border: 2px solid rgba(255, 74, 17, 0.45);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.7), inset 0 0 24px rgba(255, 74, 17, 0.05);
}

.slides-advert-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 74, 17, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Auto-Slide Progress Bar */
.advert-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  overflow: hidden;
}

.advert-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-orange), #ff8255);
  box-shadow: 0 0 10px rgba(255, 74, 17, 0.8);
  transition: width 0.05s linear;
}

.slides-advert-track {
  position: relative;
  min-height: 490px;
  overflow: hidden;
}

.advert-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(45px);
  display: flex;
  align-items: center;
}

.advert-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.advert-slide.prev-slide {
  transform: translateX(-45px);
}

.advert-slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 44px 50px;
  align-items: center;
  width: 100%;
}

.slide-deal-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  background: rgba(255, 74, 17, 0.14);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.slide-title {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.slide-desc {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.slide-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.slide-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.slide-perk .perk-check {
  color: #10b981;
  font-weight: 900;
  font-size: 1.1rem;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.slide-phone {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.slide-phone strong {
  color: var(--accent-orange);
}

.advert-slide-media {
  position: relative;
}

.slide-img-frame {
  position: relative;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 2px solid #232936;
  box-shadow: 0 14px 32px rgba(0,0,0,0.6);
}

.slide-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.advert-slide:hover .slide-img-frame img {
  transform: scale(1.04);
}

.slide-photo-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(7, 9, 12, 0.88);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Slider Nav Buttons */
.advert-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 19, 26, 0.88);
  border: 1px solid #2d3748;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.advert-nav-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 0 14px rgba(255, 74, 17, 0.6);
}

.advert-prev-btn {
  left: 16px;
}

.advert-next-btn {
  right: 16px;
}

/* Slide Dots */
.advert-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 0 22px;
}

.advert-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #232936;
  border: 1px solid #3b4556;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.advert-dot:hover {
  border-color: var(--accent-orange);
}

.advert-dot.active {
  width: 32px;
  border-radius: 8px;
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 74, 17, 0.5);
}

/* ==========================================================================
   INTERACTIVE REFRESHED WHEELS: SWIPE TO COMPARE
   ========================================================================== */
.case-studies-section {
  background: #06080b;
  padding: 85px 0;
  border-bottom: 1px solid var(--border-dark);
}

.refreshed-header-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.section-tag-pill {
  display: inline-block;
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  background: rgba(255, 74, 17, 0.1);
  border: 1px solid rgba(255, 74, 17, 0.35);
  border-radius: 50px;
  text-transform: uppercase;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.case-tab-btn {
  background: #11151e;
  color: var(--text-dim);
  border: 1px solid var(--border-dark);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
}

.case-tab-btn:hover {
  color: #ffffff;
  border-color: #3b4556;
}

.case-tab-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 14px rgba(255, 74, 17, 0.35);
}

.comparison-case-wrapper {
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-case-wrapper.active {
  display: block;
  animation: fadeInCase 0.35s ease;
}

@keyframes fadeInCase {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.comparison-card {
  background: #0f131a;
  border: 1px solid #232936;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.65);
}

.swipe-hint-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 74, 17, 0.08);
  border-bottom: 1px solid rgba(255, 74, 17, 0.2);
  color: #ff8255;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: #000000;
}

.comp-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comp-img-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.comp-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.comp-before img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.comp-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.label-before {
  left: 20px;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.label-after {
  right: 20px;
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.comp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 10;
  pointer-events: none;
  transform: translateX(-50%);
}

.comp-handle-line {
  width: 3px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.8), 0 0 6px var(--accent-orange);
  margin: 0 auto;
}

.comp-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6), 0 0 14px rgba(255, 74, 17, 0.8);
  border: 2px solid #ffffff;
  cursor: ew-resize;
}

.comp-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 15;
  margin: 0;
  padding: 0;
}

.case-meta-bar {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #232936;
}

.case-meta-info h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.case-meta-info p {
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   LOCATION & CONTACT DETAILS (Nigel Facility)
   ========================================================================== */
.contact-block-section {
  background: var(--bg-main);
  padding: 72px 0;
  border-bottom: 1px solid var(--border-dark);
}

.contact-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 32px;
}

.contact-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 12px;
}

.contact-listing {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-listing li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
}

.contact-listing svg {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-listing strong {
  display: block;
  color: #ffffff;
}

.contact-listing a {
  color: var(--accent-orange);
  font-weight: 600;
}

.hours-table-dark {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hours-table-dark tr {
  border-bottom: 1px solid var(--border-dark);
}

.hours-table-dark td {
  padding: 10px 0;
  color: var(--text-dim);
}

.hours-table-dark td:last-child {
  text-align: right;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   FOOTER (MRC Style Dark Footer)
   ========================================================================== */
.site-footer {
  background: #06080b;
  color: #64748b;
  padding: 64px 0 28px;
  border-top: 2px solid var(--accent-orange);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
}

.footer-nav a {
  color: #94a3b8;
}

.footer-nav a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.75rem;
}

/* ==========================================================================
   TRUSTED PARTNERS SECTION (SLIDING LOGOS / MARQUEE)
   ========================================================================== */
.trusted-partners-section {
  background: #080a0f;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 55px 0 65px;
  position: relative;
  overflow: hidden;
}

.trusted-partners-section::before,
.trusted-partners-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

.trusted-partners-section::before {
  left: 0;
  background: linear-gradient(to right, #080a0f 0%, transparent 100%);
}

.trusted-partners-section::after {
  right: 0;
  background: linear-gradient(to left, #080a0f 0%, transparent 100%);
}

.partners-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.partners-tag-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid var(--border-orange);
  border-radius: 999px;
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.partners-title {
  font-family: var(--font-bebas);
  font-size: 2.3rem;
  color: var(--text-white);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.partners-subtitle {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.partner-slides-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.partner-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: partnerMarquee 26s linear infinite;
}

.partner-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes partnerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-card {
  flex: 0 0 340px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 30px rgba(255, 74, 17, 0.15);
}

.partner-logo-box {
  background: #ffffff;
  border-radius: 8px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.partner-logo {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.partner-role {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 10px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 6px;
  padding: 3px 10px;
}

.partner-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* ==========================================================================
   DELIVERY & LOGISTICS CALLOUTS
   ========================================================================== */
.delivery-banner-section {
  background: linear-gradient(135deg, #10141d 0%, #171d2b 100%);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--accent-orange);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 36px 0 24px;
}

.delivery-banner-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.delivery-banner-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(255, 74, 17, 0.15);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.delivery-banner-content h3 {
  font-family: var(--font-bebas);
  font-size: 1.65rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.delivery-banner-content p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

.delivery-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delivery-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: #e2e8f0;
}

.delivery-pill-item strong {
  color: var(--accent-orange);
}

.delivery-badge-alert {
  margin-top: 18px;
  background: rgba(255, 74, 17, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.8125rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.delivery-badge-alert .dba-icon {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .white-feature-grid,
  .services-top-split,
  .contact-duo-grid {
    grid-template-columns: 1fr;
  }

  .workshop-photo-grid,
  .six-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advert-slide-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 30px;
  }

  .slide-img-frame {
    height: 320px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   MOBILE (max-width: 768px) — Compact layout, less scrolling
   ========================================================================== */
@media (max-width: 768px) {

  /* ── Header & Logo (Mobile) ── */
  .navbar {
    height: 58px;
  }

  .brand-logo img,
  .nav-logo {
    height: 40px;
    max-width: 190px;
    object-fit: contain;
  }

  .hero-brand-badge {
    margin-bottom: 14px;
    padding: 6px 14px;
  }

  .hero-brand-badge .hero-logo-img {
    height: 40px;
    max-width: 190px;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .nav-right-cluster {
    gap: 8px;
  }

  .nav-quick-wa {
    padding: 7px 12px;
    font-size: 0.75rem;
    gap: 6px;
    border-radius: 6px;
  }

  @media (max-width: 380px) {
    .desktop-only-text {
      display: none;
    }
    .nav-quick-wa {
      padding: 7px 9px;
    }
    .brand-logo img,
    .nav-logo {
      height: 36px;
      max-width: 165px;
    }
  }

  /* ── Hamburger ── */
  .mobile-menu-btn {
    display: flex;
  }

  /* ── Mobile Menu Drawer ── */
  .nav-links {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 58px);
    background: rgba(9, 12, 17, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--accent-orange);
    z-index: 150;
    list-style: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 48px rgba(0,0,0,0.9);
    animation: menuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 13px 16px;
    font-size: 0.925rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #cbd5e1;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.15s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent-orange);
    background: linear-gradient(90deg, rgba(255, 74, 17, 0.14) 0%, transparent 100%);
    border-left: 3px solid var(--accent-orange);
    padding-left: 19px;
  }

  /* ── Drawer Exclusive CTAs ── */
  .mobile-drawer-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-drawer-cta .btn {
    padding: 13px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    font-weight: 800;
    border-radius: 6px;
  }

  .drawer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
  }

  /* ── Top Strip: hide address, keep phone/email only ── */
  .top-strip-left { display: none; }
  .top-strip-right { width: 100%; justify-content: center; }

  /* ── Hero: optimized for mobile clarity & wheel visibility ── */
  .hero-mrc {
    min-height: 490px;
    padding: 85px 16px 44px;
  }
  .hero-bg-video {
    opacity: 0.88;
    filter: contrast(1.22) brightness(1.08) saturate(1.15);
    object-position: center 38%;
  }
  .hero-video-overlay {
    background: radial-gradient(circle at center, rgba(7, 9, 12, 0.15) 0%, rgba(7, 9, 12, 0.62) 80%),
                linear-gradient(180deg, rgba(7, 9, 12, 0.22) 0%, rgba(7, 9, 12, 0.80) 100%);
  }
  .hero-mrc-content {
    max-width: 95%;
  }
  .hero-subhead-tag { font-size: 0.7rem; letter-spacing: 0.12em; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.95); }
  .hero-main-title { font-size: clamp(1.9rem, 7vw, 2.75rem); margin-bottom: 10px; text-shadow: 0 4px 18px rgba(0,0,0,0.95), 0 0 6px rgba(0,0,0,0.85); }
  .hero-desc-pill { font-size: 0.8rem; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,0.95); }
  .hero-btn-row { gap: 8px; }
  .hero-btn-row .btn { padding: 10px 16px; font-size: 0.75rem; }

  /* ── Partners Section ── */
  .trusted-partners-section { padding: 36px 0; }
  .partners-header { margin-bottom: 18px; }
  .partners-title { font-size: 1.5rem; }
  .partners-subtitle { font-size: 0.8125rem; }
  .partner-card { flex: 0 0 240px; padding: 14px 14px; gap: 12px; }
  .partner-logo-box { height: 60px; padding: 8px 14px; }
  .partner-logo { max-height: 38px; }

  /* ── White About Section: compact ── */
  .white-feature-section { padding: 32px 0; }
  .white-feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .wf-center-img {
    aspect-ratio: 16 / 7;
    order: -1;
    max-height: 160px;
  }
  .wf-col h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .wf-col p { font-size: 0.85rem; margin-bottom: 12px; line-height: 1.5; }
  .wf-right-thumb { aspect-ratio: 16/7; margin-top: 10px; max-height: 100px; }

  /* ── Why Choose Us ── */
  .dark-section { padding: 40px 0; }
  .section-header-split { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .sh-title { font-size: 1.45rem; }
  .workshop-photo-grid,
  .six-services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wp-img-wrap { aspect-ratio: 4/3; }
  .wp-content { padding: 12px; }
  .wp-content h4 { font-size: 0.8rem; margin-bottom: 4px; }
  .wp-content p { font-size: 0.75rem; }

  /* ── Services Section ── */
  .services-section { padding: 40px 0; }
  .services-top-split { gap: 20px; margin-bottom: 28px; }
  .services-top-text h2 { font-size: 1.5rem; margin-bottom: 10px; }
  .services-top-text p { font-size: 0.875rem; margin-bottom: 14px; }
  .services-top-thumb { aspect-ratio: 16/7; max-height: 150px; }
  .six-services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .circular-service-card { padding: 18px 14px; }
  .service-circle-icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .circular-service-card h4 { font-size: 0.8rem; }
  .circular-service-card p { font-size: 0.75rem; }

  /* ── Delivery Banner ── */
  .delivery-banner-section { padding: 18px 16px; margin: 20px 0 14px; }
  .delivery-banner-grid { grid-template-columns: 1fr; gap: 12px; }
  .delivery-banner-icon { width: 44px; height: 44px; }
  .delivery-banner-content h3 { font-size: 1.2rem; }
  .delivery-pills-row { gap: 7px; }
  .delivery-pill-item { font-size: 0.75rem; padding: 5px 9px; }

  /* ── Advert / Specials Slider ── */
  .advert-section { padding: 40px 0; }
  .advert-main-heading { font-size: 2rem; }
  .advert-slide-grid { grid-template-columns: 1fr; gap: 16px; padding: 20px 14px; }
  .slide-title { font-size: 1.5rem; }
  .slide-desc { font-size: 0.8rem; margin-bottom: 14px; }
  .slide-img-frame { height: 200px; }
  .slide-perks { gap: 7px; margin-bottom: 16px; }
  .slide-perk { font-size: 0.78rem; }
  .slide-actions { gap: 12px; }
  .slide-phone { font-size: 0.78rem; }
  .advert-nav-btn { width: 34px; height: 34px; }
  .advert-prev-btn { left: 6px; }
  .advert-next-btn { right: 6px; }

  /* ── Before & After ── */
  .case-studies-section { padding: 40px 0; }
  .comparison-slider { height: 260px; }
  .case-meta-bar { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .case-meta-bar .btn { width: 100%; text-align: center; }
  .case-meta-info h4 { font-size: 0.95rem; }
  .case-meta-info p { font-size: 0.8rem; }
  .case-tab-btn { padding: 8px 16px; font-size: 0.75rem; }

  /* ── Contact ── */
  .contact-block-section { padding: 40px 0; }
  .contact-duo-grid { grid-template-columns: 1fr; gap: 20px; }

  /* ── Footer ── */
  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { padding: 40px 0 24px; }

  /* ── General ── */
  .section-header-split .btn { width: 100%; text-align: center; justify-content: center; }
  .nav-actions .btn-ghost { display: none; } /* hide Get Quote on tiny screens, WhatsApp is enough */
}


/* ==========================================================================
   MAGE-OS: WORKSHOP SOFTWARE & PRIVATE CLIENT PORTAL STYLES
   ========================================================================== */

/* Navbar Software Highlight Button */
.btn-portal-highlight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 74, 17, 0.12);
  color: #ff6b3d;
  border: 1px solid rgba(255, 74, 17, 0.35);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-portal-highlight:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 15px rgba(255, 74, 17, 0.4);
  transform: translateY(-1px);
}

.nav-software-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6b3d !important;
  font-weight: 700 !important;
}

.badge-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ── Software Hero ── */
.software-hero {
  position: relative;
  padding: 80px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 74, 17, 0.08) 0%, rgba(12, 15, 20, 1) 70%);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.software-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.software-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 74, 17, 0.1);
  border: 1px solid rgba(255, 74, 17, 0.3);
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.software-hero-title {
  font-family: var(--font-bebas);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--text-white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.software-hero-title span {
  color: var(--accent-orange);
  display: block;
}

.software-hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 820px;
  margin: 0 auto 36px;
}

.software-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
}

.hero-stat-card .stat-num {
  display: block;
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.software-hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Video Showcase Section ── */
.video-showcase-section {
  padding: 80px 0;
  background: var(--bg-darkest);
}

.video-player-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.video-viewport-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-play-overlay.playing {
  opacity: 0;
  pointer-events: none;
}

.play-button-glow {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e03a04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 74, 17, 0.7);
  transition: transform 0.25s ease;
  margin-bottom: 14px;
}

.video-play-overlay:hover .play-button-glow {
  transform: scale(1.1);
}

.play-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.video-duration-badge {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-chapters-container {
  padding: 20px 24px;
  background: #0d1016;
  border-top: 1px solid var(--border-dark);
}

.chapters-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.chapter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chapter-chip:hover {
  background: var(--bg-surface);
  border-color: rgba(255, 74, 17, 0.4);
}

.chapter-chip.active {
  background: rgba(255, 74, 17, 0.1);
  border-color: var(--accent-orange);
}

.chip-time {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 3px;
}

.chip-title {
  display: block;
  font-size: 0.82rem;
  color: var(--text-white);
  line-height: 1.3;
}

.owner-video-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 74, 17, 0.05);
  border-top: 1px solid rgba(255, 74, 17, 0.2);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.owner-video-hint code {
  color: var(--accent-orange);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── 4 Solutions Grid ── */
.software-features-section {
  padding: 80px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-dark);
}

.features-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sol-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sol-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.sol-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 74, 17, 0.1);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sol-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.sol-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-dim);
  flex-grow: 1;
  margin-bottom: 16px;
}

.sol-pill {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.2);
}

/* ── Modules Deep Dive Rows ── */
.software-modules-section {
  padding: 80px 0;
  background: var(--bg-darkest);
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.module-row.reverse {
  direction: rtl;
}

.module-row.reverse > * {
  direction: ltr;
}

.module-step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.module-text h3 {
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 16px;
}

.module-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.module-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-white);
}

.module-check-list span {
  color: #25d366;
  font-weight: bold;
}

/* UI Preview Mockups */
.ui-preview-mockup {
  background: #0f131a;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #151a24;
  border-bottom: 1px solid var(--border-dark);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333d4e;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: monospace;
}

.mockup-body {
  padding: 20px;
}

.mockup-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.m-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-white);
}

.m-tag.orange {
  background: rgba(255, 74, 17, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.4);
}

.m-tag.green {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.mockup-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.mockup-detail-grid strong {
  color: var(--text-white);
}

.mockup-columns-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.m-col {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 8px;
}

.m-col.active-col {
  border-color: var(--accent-orange);
}

.m-col-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.m-col-item {
  background: var(--bg-surface);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 0.78rem;
  color: var(--text-white);
  font-weight: 600;
}

.mockup-financial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fin-tile {
  background: var(--bg-card);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
}

.fin-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.fin-val {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-bebas);
  color: var(--text-white);
}

.fin-val.orange { color: var(--accent-orange); }
.fin-val.green { color: #25d366; }

.mockup-progress-item .prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.mockup-progress-item .prog-bar {
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
}

.mockup-progress-item .prog-fill {
  height: 100%;
  border-radius: 4px;
}

/* ── Security / Private Access Banner ── */
.portal-security-section {
  padding: 60px 0;
  background: var(--bg-main);
}

.security-banner-box {
  background: radial-gradient(circle at 50% 0%, rgba(255, 74, 17, 0.12) 0%, rgba(19, 23, 32, 1) 80%);
  border: 1px solid rgba(255, 74, 17, 0.3);
  border-radius: 16px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.security-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-orange);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.security-banner-box h2 {
  font-family: var(--font-bebas);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-white);
  margin-bottom: 14px;
}

.security-banner-box p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.security-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.sec-step {
  background: rgba(12, 15, 20, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px;
}

.sec-num {
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.sec-step h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.sec-step p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.45;
}

.security-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Pricing Section ── */
.software-pricing-section {
  padding: 80px 0;
  background: var(--bg-darkest);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent-orange);
  background: #141923;
  box-shadow: 0 10px 30px rgba(255, 74, 17, 0.2);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 12px;
}

.pricing-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.pricing-price {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price .currency {
  font-size: 1.2rem;
  color: var(--text-white);
  font-weight: 700;
}

.pricing-price .amount {
  font-family: var(--font-bebas);
  font-size: 3rem;
  color: var(--text-white);
  line-height: 1;
}

.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.pricing-features span {
  color: #25d366;
  font-weight: bold;
}

/* ==========================================================================
   PORTAL AUTHENTICATION & APP WORKSPACE STYLES
   ========================================================================== */
.portal-body {
  background-color: var(--bg-darkest);
  color: var(--text-dim);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Auth Gate */
.portal-auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 74, 17, 0.08) 0%, rgba(7, 9, 12, 1) 70%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.auth-logo {
  height: 42px;
  width: auto;
}

.auth-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(255, 74, 17, 0.1);
  border: 1px solid rgba(255, 74, 17, 0.3);
  color: var(--accent-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.auth-title {
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.input-with-icon input,
.input-with-icon select,
.modal-form input,
.modal-form select {
  width: 100%;
  padding: 10px 12px 10px 40px;
  background: #090c10;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.modal-form input,
.modal-form select {
  padding-left: 12px;
}

.input-with-icon input:focus,
.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 74, 17, 0.2);
}

.auth-error-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #ff6b8b;
  font-size: 0.82rem;
}

.btn-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 0.95rem;
  margin-top: 4px;
}

.auth-demo-helper {
  margin-top: 10px;
}

.btn-demo-fill {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 74, 17, 0.5);
  color: #ff916b;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-demo-fill:hover {
  background: rgba(255, 74, 17, 0.1);
  border-color: var(--accent-orange);
  color: #fff;
}

.auth-card-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.82rem;
}

.auth-card-footer a {
  color: var(--accent-orange);
  text-decoration: none;
}

.auth-links {
  margin-top: 10px;
  color: var(--text-muted);
}

.auth-links a {
  color: var(--text-dim);
}

/* ── Workspace App Topbar ── */
.workspace-topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.workspace-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-logo {
  height: 34px;
  width: auto;
}

.ws-brand-info {
  display: flex;
  flex-direction: column;
}

.ws-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.ws-location {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ws-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
}

.workspace-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pwa-install:hover {
  background: #25d366;
  color: #000;
}

.ws-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-dark);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-white);
}

.user-role {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.btn-ghost-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
}

.btn-ghost-lock:hover {
  color: #ff6b8b;
  border-color: rgba(225, 29, 72, 0.5);
}

/* ── Workspace Subheader Counters Strip ── */
.workspace-stats-strip {
  background: #090c10;
  border-bottom: 1px solid var(--border-dark);
  padding: 10px 24px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
}

.stat-pill-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
}

.pill-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.pill-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
}

.pill-val.orange { color: var(--accent-orange); }
.pill-val.green { color: #25d366; }

/* ── Workspace Tabs Bar ── */
.workspace-tabs-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
}

.ws-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ws-tab-btn:hover {
  color: var(--text-white);
}

.ws-tab-btn.active {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

.ws-tab-actions {
  display: flex;
  gap: 8px;
}

/* ── Tab Content Container ── */
.ws-tab-content {
  display: none;
  padding: 24px;
}

.ws-tab-content.active {
  display: block;
}

/* ── Kanban Rim Floor Board ── */
.kanban-board-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.kanban-col {
  background: #090c10;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 580px;
}

.kanban-col-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stage-intake { background: #3b82f6; }
.stage-straighten { background: #f59e0b; }
.stage-cnc { background: #ff4a11; }
.stage-powder { background: #8b5cf6; }
.stage-ready { background: #10b981; }

.kanban-col-head h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  flex-grow: 1;
}

.badge-count {
  background: var(--bg-surface);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.kanban-card-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.kanban-rim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kanban-rim-card:hover {
  border-color: rgba(255, 74, 17, 0.4);
}

.kanban-rim-card.completed-card {
  border-color: rgba(37, 211, 102, 0.4);
}

.card-top-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.job-id {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.damage-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.damage-badge.severe { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.damage-badge.medium { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.damage-badge.light { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.damage-badge.active-live { background: rgba(255, 74, 17, 0.25); color: #ff6b3d; }
.damage-badge.success { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.rim-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-details {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.card-details strong {
  color: #cbd5e1;
}

.invoice-status {
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.invoice-status.paid { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.invoice-status.pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.card-action-row {
  margin-top: 6px;
}

.btn-advance {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-advance:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* ── Tech Tab ── */
.tech-tab-container,
.fin-tab-container,
.download-tab-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title-row h3 {
  font-size: 1.4rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.section-title-row p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px;
}

.tech-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.tech-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent-orange);
  color: var(--text-white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card-top h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.tech-specialty {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tech-status-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.tech-status-badge.busy { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.tech-status-badge.active-live { background: rgba(255, 74, 17, 0.2); color: var(--accent-orange); }

.tech-work-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.tech-stat-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}

.tech-stat-line strong {
  color: var(--text-white);
}

.tech-stat-line strong.green {
  color: #25d366;
}

/* ── Financial Tab ── */
.fin-overview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.fin-metric-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px 16px;
}

.tile-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.tile-val {
  display: block;
  font-family: var(--font-bebas);
  font-size: 2rem;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
}

.tile-val.orange { color: var(--accent-orange); }
.tile-val.green { color: #25d366; }

.tile-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tile-sub.green { color: #25d366; }

.invoices-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
}

.table-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-card-head h4 {
  font-size: 1rem;
  color: var(--text-white);
}

.table-responsive {
  overflow-x: auto;
}

.invoices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.invoices-table th {
  background: #090c10;
  padding: 12px 18px;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border-dark);
}

.invoices-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-white);
}

.btn-action-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-action-wa:hover {
  background: #25d366;
  color: #000;
}

/* ── Device Setup Hub ── */
.setup-header-box {
  background: radial-gradient(circle at 50% 0%, rgba(255, 74, 17, 0.1) 0%, rgba(19, 23, 32, 1) 70%);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 40px 24px;
  margin-bottom: 30px;
}

.setup-header-box h2 {
  font-family: var(--font-bebas);
  font-size: 2.2rem;
  color: var(--text-white);
  margin-top: 10px;
  margin-bottom: 10px;
}

.setup-header-box p {
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.55;
}

.device-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 24px 20px;
}

.device-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.device-card h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 14px;
}

.setup-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.setup-steps strong {
  color: var(--text-white);
}

.offline-feature-box {
  background: rgba(255, 74, 17, 0.06);
  border: 1px solid rgba(255, 74, 17, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.offline-feature-box strong {
  color: var(--accent-orange);
}

/* ── Modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-white);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* ── Responsive Mobile Adjustments for Software & Portal ── */
@media (max-width: 992px) {
  .software-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features-4col-grid { grid-template-columns: repeat(2, 1fr); }
  .chapters-grid { grid-template-columns: repeat(2, 1fr); }
  .module-row { grid-template-columns: 1fr; gap: 30px; }
  .module-row.reverse { direction: ltr; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .security-steps-grid { grid-template-columns: 1fr; }
  .fin-overview-cards { grid-template-columns: repeat(2, 1fr); }
  .tech-cards-grid { grid-template-columns: 1fr; }
  .device-guides-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .software-hero-stats { grid-template-columns: 1fr; }
  .features-4col-grid { grid-template-columns: 1fr; }
  .chapters-grid { grid-template-columns: 1fr; }
  .fin-overview-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .workspace-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .workspace-topbar-right { width: 100%; justify-content: space-between; }
}


/* ==========================================================================
   WORKSHOP APP HOMEPAGE SHOWCASE STYLES
   ========================================================================== */
.workshop-app-showcase {
  padding: 85px 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 74, 17, 0.08) 0%, rgba(12, 15, 20, 1) 70%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-top: 35px;
}

.app-info-panel {
  background: rgba(19, 23, 32, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px 32px;
}

.app-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 74, 17, 0.1);
  border: 1px solid rgba(255, 74, 17, 0.3);
  color: var(--accent-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.app-panel-heading {
  font-family: var(--font-bebas);
  font-size: 1.85rem;
  color: var(--text-white);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.app-panel-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.app-panel-desc strong {
  color: var(--text-white);
}

.app-perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.app-perk-item {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.app-perk-item:hover {
  border-color: rgba(255, 74, 17, 0.4);
}

.perk-icon-wrap {
  font-size: 1.5rem;
  line-height: 1;
}

.app-perk-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.app-perk-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

.app-pricing-box {
  background: radial-gradient(circle at 0% 0%, rgba(255, 74, 17, 0.12) 0%, rgba(12, 15, 20, 0.95) 80%);
  border: 1px solid rgba(255, 74, 17, 0.4);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 28px 0;
}

.pricing-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.app-pricing-head h4 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount-row .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.pricing-amount-row .price-val {
  font-family: var(--font-bebas);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--text-white);
}

.pricing-amount-row .price-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

.app-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.app-download-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Right Video Panel */
.app-video-panel {
  position: sticky;
  top: 100px;
}

.app-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.video-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}

.video-preview-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

.video-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.video-play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e03a04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 74, 17, 0.6);
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.video-play-icon:hover {
  transform: scale(1.08);
}

.video-placeholder-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.video-placeholder-overlay p {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.video-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 74, 17, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
}

.app-device-compat-box {
  padding: 16px 20px;
  background: #0d1016;
  border-top: 1px solid var(--border-dark);
}

.compat-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.compat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-badge {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
}

@media (max-width: 992px) {
  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .app-video-panel {
    position: static;
  }
}

@media (max-width: 600px) {
  .app-info-panel {
    padding: 24px 18px;
  }
  .app-download-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   PRIVATE PORTAL DOWNLOAD & DASHBOARD STYLES
   ========================================================================== */
.private-access-hero {
  background: radial-gradient(circle at 50% 0%, rgba(255, 74, 17, 0.12) 0%, rgba(19, 23, 32, 1) 75%);
  border: 1px solid rgba(255, 74, 17, 0.35);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pah-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
}

.pah-header h2 {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-white);
  margin-top: 8px;
  margin-bottom: 12px;
}

.pah-header p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.pah-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pah-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pah-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 74, 17, 0.5);
}

.pah-card.featured {
  border-color: var(--accent-orange);
  background: #141822;
  box-shadow: 0 8px 30px rgba(255, 74, 17, 0.2);
}

.pah-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.pah-card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.pah-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.pah-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pah-link-display {
  background: #090c10;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.pah-link-display code {
  color: #25d366;
  font-size: 0.8rem;
  word-break: break-all;
}

.private-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.private-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 32px;
}

.badge-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .pah-actions-grid { grid-template-columns: 1fr; }
  .private-details-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ELEVATED ENTERPRISE CLIENT PORTAL STYLES (v2.4)
   ========================================================================== */

/* Security Strip Header */
.portal-security-strip {
  background: #06080c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}

.security-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sec-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.sec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  animation: pulse-green 2s infinite ease-in-out;
}

.sec-text {
  font-weight: 700;
}

.sec-return-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sec-return-link:hover {
  color: var(--accent-orange);
}

/* Professional Auth Container & Card */
.portal-auth-container {
  min-height: calc(100vh - 35px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 25%, rgba(255, 74, 17, 0.09) 0%, #07090d 75%);
}

.auth-card-professional {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #12161f 0%, #0c0f15 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 38px 32px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 74, 17, 0.12);
  position: relative;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-logo-link {
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity 0.2s ease;
}

.auth-logo-link:hover {
  opacity: 0.9;
}

.auth-logo {
  height: 44px;
  width: auto;
}

.auth-system-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 20px;
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.auth-title {
  font-family: var(--font-bebas);
  font-size: 2rem;
  color: var(--text-white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.1;
}

.auth-subtitle {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Input Fields & Icons */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 7px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.label-row label {
  margin-bottom: 0;
}

.pin-hint-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .field-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 74, 17, 0.25);
}

.input-with-icon input:focus ~ .field-icon {
  color: var(--accent-orange);
}

/* Password Toggle Eye Button */
.password-input-wrap input {
  padding-right: 44px;
}

.btn-toggle-eye {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #64748b;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-toggle-eye:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Submit Action Button */
.btn-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 74, 17, 0.35);
  margin-top: 4px;
}

.btn-auth-submit:hover {
  box-shadow: 0 8px 25px rgba(255, 74, 17, 0.5);
}

/* Credential Helper Pill */
.auth-credential-pill {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.cred-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cred-pill-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.btn-auto-fill {
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.3);
  color: var(--accent-orange);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-auto-fill:hover {
  background: var(--accent-orange);
  color: #000;
}

.cred-rows {
  display: flex;
  gap: 16px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.cred-lbl {
  color: var(--text-muted);
}

.cred-code {
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cred-code:hover {
  background: #1e293b;
  color: #fff;
}

/* Card Footer */
.auth-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.auth-footer-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.auth-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.auth-wa-link:hover {
  opacity: 0.85;
}

.auth-security-notice {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   AUTHENTICATED WORKSPACE STYLING (EXECUTIVE)
   ========================================================================== */

/* Topbar */
.workspace-topbar {
  background: #0d1017;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 90;
}

.ws-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workspace-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ws-logo {
  height: 36px;
  width: auto;
}

.ws-brand-info {
  display: flex;
  flex-direction: column;
}

.ws-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.ws-version-tag {
  background: rgba(255, 74, 17, 0.15);
  border: 1px solid rgba(255, 74, 17, 0.3);
  color: var(--accent-orange);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.ws-location {
  font-size: 0.76rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ws-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
}

.ws-status-text {
  color: #25d366;
  font-weight: 600;
}

.workspace-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-pwa-launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-pwa-launch:hover {
  background: #25d366;
  color: #000;
}

.ws-user-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #141923;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.user-role {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.btn-lock-session {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lock-session:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

/* Workspace Main Content */
.portal-main-content {
  padding-top: 36px;
  padding-bottom: 60px;
}

/* Welcome Banner */
.portal-welcome-banner {
  background: radial-gradient(circle at 50% 0%, rgba(255, 74, 17, 0.12) 0%, #0d1117 75%);
  border: 1px solid rgba(255, 74, 17, 0.3);
  border-radius: 16px;
  padding: 34px 30px;
  margin-bottom: 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.welcome-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 12px;
}

.status-pill-secure {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.pulsing-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
}

.status-pill-license {
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
}

.portal-hero-title {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.portal-hero-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 820px;
}

/* Apps Grid */
.portal-apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 38px;
}

.app-access-card {
  background: #11151e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.app-access-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 74, 17, 0.45);
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), #ff7f4d);
}

.android-bar {
  background: linear-gradient(90deg, #38bdf8, #25d366);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-web {
  background: rgba(255, 74, 17, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.3);
}

.icon-android {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.app-meta-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.meta-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-cloud {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.tag-live {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.tag-apk {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.tag-signed {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.app-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 18px;
}

.app-url-box {
  background: #07090d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.url-lbl {
  font-size: 0.72rem;
  color: #64748b;
  margin-right: 6px;
}

.url-code {
  color: #25d366;
  font-size: 0.78rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.btn-copy-url {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-copy-url:hover {
  color: #fff;
}

.app-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.spec-check {
  color: #25d366;
  font-weight: bold;
}

.btn-launch, .btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
}

/* Details Layout (2 Columns) */
.portal-details-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 30px;
  align-items: start;
}

.portal-card-box {
  background: #11151e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.box-header-row {
  margin-bottom: 14px;
}

.box-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  display: inline-block;
  margin-bottom: 6px;
}

.box-title {
  font-family: var(--font-bebas);
  font-size: 1.9rem;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.box-lead-paragraph {
  font-size: 0.96rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Quad Features Grid */
.features-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quad-item {
  background: #090c11;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quad-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 74, 17, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quad-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.quad-text p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Pricing License Card */
.pricing-license-card {
  margin-bottom: 24px;
}

.license-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-top: 4px;
}

.pricing-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 10px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.price-figure {
  font-family: var(--font-bebas);
  font-size: 3.4rem;
  color: #fff;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.license-status-row {
  margin-bottom: 18px;
}

.active-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  animation: pulse-green 2s infinite ease-in-out;
}

.license-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.license-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.license-perks-list .check-icon {
  color: #25d366;
  font-weight: bold;
}

/* Video Card */
.video-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-top: 4px;
}

.video-media-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(7, 9, 13, 0.88) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.video-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e03a04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 74, 17, 0.6);
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.video-play-btn:hover {
  transform: scale(1.1);
}

.video-status-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.video-desc-short {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 260px;
}

.video-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #94a3b8;
}

/* Workspace Footer */
.workspace-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  background: #080a0f;
  font-size: 0.8rem;
  color: #64748b;
}

.ws-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-lock-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  cursor: pointer;
}

.footer-lock-btn:hover {
  color: #fff;
}

/* Responsive Rules */
@media (max-width: 960px) {
  .portal-apps-grid {
    grid-template-columns: 1fr;
  }
  .portal-details-layout {
    grid-template-columns: 1fr;
  }
  .features-quad-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ws-topbar-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .workspace-topbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .ws-footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .auth-card-professional {
    padding: 28px 20px;
  }
  .cred-rows {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================================================
   MAGEOS ENTERPRISE WORKSPACE & PORTAL STYLES (v3.0)
   ========================================================================== */

/* Body & Layout */
.portal-body {
  background: #080a0f !important;
  color: #e2e8f0;
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Security Ribbon (Locked Gate) */
.auth-security-ribbon {
  width: 100%;
  max-width: 1060px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.ribbon-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #25d366;
}

.pulse-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  display: inline-block;
}

.ribbon-exit-link {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ribbon-exit-link:hover {
  color: var(--accent-orange);
}

/* Auth Container & Dual Grid Gateway */
.portal-auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 74, 17, 0.09) 0%, #07090d 75%);
}

.auth-gateway-dual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  max-width: 1060px;
  width: 100%;
  align-items: stretch;
}

.auth-video-showcase-card {
  background: linear-gradient(180deg, #131722 0%, #0b0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .auth-gateway-dual-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
  }
}

.auth-card-professional {
  width: 100%;
  background: linear-gradient(180deg, #131722 0%, #0b0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 74, 17, 0.15);
}

/* Executive Navigation Topbar */
.executive-topbar {
  background: #0b0e14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  width: 100%;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-logo-mark {
  height: 38px;
  width: auto;
}

.topbar-title-group {
  display: flex;
  flex-direction: column;
}

.topbar-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-system-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.badge-version {
  background: rgba(255, 74, 17, 0.15);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.topbar-hub-name {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px #25d366;
  display: inline-block;
}

.session-label {
  color: #25d366;
  font-weight: 600;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-topbar-launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-topbar-launch:hover {
  background: #25d366;
  color: #000;
}

.operator-profile-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px 4px 6px;
  border-radius: 20px;
}

.operator-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-details {
  display: flex;
  flex-direction: column;
}

.operator-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.operator-role {
  font-size: 0.66rem;
  color: #94a3b8;
}

.btn-topbar-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-topbar-lock:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

/* Workspace Hero Section */
.workspace-hero-section {
  padding: 30px 0 20px;
}

.hero-control-card {
  background: radial-gradient(circle at 30% 0%, rgba(255, 74, 17, 0.1) 0%, #11141c 70%);
  border: 1px solid rgba(255, 74, 17, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-tag-cluster {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 12px;
}

.hub-pill-secure {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.hub-pill-tier {
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
}

.hero-headline {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-subtext {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 680px;
}

.hero-telemetry-cluster {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.telemetry-pill {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.telem-label {
  color: #64748b;
  font-weight: 600;
}

.telem-val {
  font-weight: 700;
}

.telem-green { color: #25d366; }
.telem-orange { color: var(--accent-orange); }

/* Products Section (Web App vs Android APK) */
.workspace-products-section {
  padding: 10px 0 28px;
}

.products-grid-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-release-card {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-release-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 74, 17, 0.45);
}

.card-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), #ff844b);
}

.bar-android {
  background: linear-gradient(90deg, #38bdf8, #25d366);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.product-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-web {
  background: rgba(255, 74, 17, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.3);
}

.box-android {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.product-status-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tag-platform {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.tag-state {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-live {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.tag-apk {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}

.product-summary {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 18px;
}

.endpoint-display-box {
  background: #080a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.endpoint-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-right: 6px;
}

.endpoint-code {
  color: #25d366;
  font-size: 0.78rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-copy-code:hover {
  color: #fff;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.check-mark {
  color: #25d366;
  font-weight: bold;
}

.btn-glow {
  box-shadow: 0 6px 20px rgba(255, 74, 17, 0.35);
}

.btn-titanium {
  background: #1e2430;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-titanium:hover {
  background: #2a3344;
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
}

/* Interactive Live Terminal Simulation */
.live-terminal-preview-section {
  padding: 10px 0 28px;
}

.terminal-mockup-card {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.terminal-mockup-header {
  background: #141923;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-dots {
  display: flex;
  gap: 6px;
}

.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tdot-red { background: #ef4444; }
.tdot-yellow { background: #f59e0b; }
.tdot-green { background: #10b981; }

.term-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  font-family: monospace;
}

.term-live-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #25d366;
  letter-spacing: 0.06em;
}

.terminal-mockup-body {
  padding: 20px 24px;
}

.mockup-job-card {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 20px;
}

.job-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.job-id-pill {
  background: rgba(255, 74, 17, 0.15);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: monospace;
}

.job-vehicle-spec {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.job-badge-bay {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.job-progress-wrapper {
  margin-bottom: 14px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #64748b;
  margin-bottom: 6px;
}

.active-step {
  color: var(--accent-orange);
  font-weight: 700;
}

.progress-bar-rail {
  width: 100%;
  height: 6px;
  background: #1e2430;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, var(--accent-orange));
  border-radius: 3px;
}

.job-footer-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 10px;
}

.jlbl { color: #64748b; margin-right: 4px; }

/* Details Grid: Left 60% / Right 40% */
.workspace-details-section {
  padding: 10px 0 40px;
}

.details-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.executive-panel-box {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.panel-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  display: inline-block;
  margin-bottom: 6px;
}

.panel-heading {
  font-family: var(--font-bebas);
  font-size: 1.85rem;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.panel-lead {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Quad Pillars Grid */
.pillars-grid-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pillar-card {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.pillar-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 74, 17, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-bebas);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.15);
}

.pillar-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-text p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Sidebar Panel: Commercial License */
.license-card-box {
  margin-bottom: 24px;
}

.license-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-top: 4px;
}

.price-hero-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0 10px;
}

.p-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.p-amount {
  font-family: var(--font-bebas);
  font-size: 3.4rem;
  color: #fff;
  line-height: 1;
}

.p-tenure {
  font-size: 0.9rem;
  color: #94a3b8;
}

.license-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.license-features-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
  padding: 0;
}

.license-features-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.chk {
  color: #25d366;
  font-weight: bold;
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* Video Card */
.video-panel-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-top: 4px;
}

.video-player-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-glass-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(7, 9, 13, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.play-pulse-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e03a04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 74, 17, 0.6);
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.play-pulse-btn:hover {
  transform: scale(1.1);
}

.video-runtime-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.video-caption {
  font-size: 0.78rem;
  color: #94a3b8;
  max-width: 250px;
}

.video-status-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: #64748b;
}

/* Executive Footer */
.executive-portal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  background: #080a0f;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-footer-lock {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-footer-lock:hover {
  color: #fff;
}

/* Responsive Breakpoints */
@media (max-width: 990px) {
  .hero-control-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-telemetry-cluster {
    width: 100%;
  }
  .products-grid-duo {
    grid-template-columns: 1fr;
  }
  .details-split-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid-quad {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar-container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .topbar-controls {
    width: 100%;
    justify-content: space-between;
  }
  .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .auth-card-professional {
    padding: 26px 18px;
  }
  .cred-rows {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================================================
   MAGEOS DEEP-DIVE DOCUMENTATION STYLES (What it is, does & how it works)
   ========================================================================== */

/* About App Narrative Block */
.about-app-block {
  border-left: 4px solid var(--accent-orange);
}

.about-app-narrative p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.about-app-narrative p.highlight-lead {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
}

.value-props-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-top: 22px;
}

.vp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vp-num {
  font-family: var(--font-bebas);
  font-size: 1.7rem;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 4px;
}

.vp-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.3;
}

/* Capabilities Matrix Grid (What the App Does) */
.capabilities-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.matrix-card {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.matrix-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 74, 17, 0.35);
}

.m-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.m-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 74, 17, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  font-family: monospace;
}

.matrix-card h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.matrix-card p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* Step-by-Step Workflow (How the App Works) */
.timeline-workflow-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 8px;
}

.timeline-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.step-marker {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #141924;
  border: 1px solid rgba(255, 74, 17, 0.4);
  color: var(--accent-orange);
  font-family: var(--font-bebas);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 74, 17, 0.15);
}

.step-content {
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  flex-grow: 1;
}

.step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.step-title-row h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
}

.step-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
}

.step-content p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* WhatsApp Tech Support Button */
.btn-whatsapp-direct {
  background: #25d366;
  color: #000;
  border: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 8px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp-direct:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .capabilities-matrix-grid {
    grid-template-columns: 1fr;
  }
  .value-props-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .timeline-step {
    flex-direction: column;
    gap: 10px;
  }
  .step-marker {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

/* ========================================================
   PORTAL EXPLAINER VIDEO WALKTHROUGH & THEATER STYLES
   ======================================================== */
.video-voice-selector {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 14px 0 12px;
}

.voice-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.voice-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.voice-tab.active {
  background: linear-gradient(135deg, var(--accent-orange), #d43806);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 74, 17, 0.4);
}

.portal-video-player-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
}

.portal-video-player-frame video {
  width: 100%;
  max-height: 480px;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-overlay-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 74, 17, 0.35);
}

.video-overlay-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(11, 15, 25, 0.95);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 74, 17, 0.6);
}

.video-overlay-play-btn .play-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e03b07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 74, 17, 0.5);
}

.video-overlay-play-btn .play-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.video-overlay-play-btn.is-playing {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.video-actions-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-play-trigger {
  flex: 1.2;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-orange), #d43806);
  border: 1px solid rgba(255, 74, 17, 0.5);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 74, 17, 0.35);
}

.btn-play-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 74, 17, 0.5);
  background: linear-gradient(135deg, #ff5e28, #e03b07);
}

.btn-theater-mode {
  flex: 1;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-theater-mode:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-mute-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mute-mode:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.video-walkthrough-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.walkthrough-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.77rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.walkthrough-feat-item .w-chk {
  color: #10b981;
  font-weight: 800;
}

/* Theater Modal */
.video-theater-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.theater-modal-content {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 74, 17, 0.25);
}

.theater-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0e1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theater-title-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theater-badge {
  background: rgba(255, 74, 17, 0.2);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 74, 17, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.theater-voice-label {
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 600;
}

.btn-close-theater {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-close-theater:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.theater-video-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
}

.theater-video-wrap video {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Nav Portal Link / Badge */
.nav-portal-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #ff5e28 !important;
  font-weight: 700 !important;
  background: rgba(255, 74, 17, 0.1) !important;
  border: 1px solid rgba(255, 74, 17, 0.3) !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease !important;
}

.nav-portal-badge:hover {
  background: rgba(255, 74, 17, 0.25) !important;
  border-color: rgba(255, 74, 17, 0.6) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-topbar-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ========================================================
   WORKSHOP APP & VIDEO SHOWCASE SECTION (MAIN SITE)
   ======================================================== */
.workshop-app-showcase-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 74, 17, 0.08) 0%, #0a0d14 65%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.app-showcase-header {
  margin-bottom: 40px;
}

.app-badge-tag {
  display: inline-block;
  background: rgba(255, 74, 17, 0.15);
  border: 1px solid rgba(255, 74, 17, 0.35);
  color: var(--accent-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.app-showcase-title {
  font-family: var(--font-bebas);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.app-showcase-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.app-showcase-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.app-video-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.video-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #151b29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 8px;
}

.video-chip {
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
}

.voice-toggle-mini {
  display: flex;
  gap: 6px;
}

.mini-vtab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.mini-vtab.active {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

.app-video-player-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-video-player-wrap video {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0d111a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
  flex-wrap: wrap;
}

.app-system-overview-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px;
}

.app-system-overview-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 10px;
}

.app-system-overview-card p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.app-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.25);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.app-pillar-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}

.app-pillar-item p {
  font-size: 0.82rem;
  color: #8b9bb4;
  margin: 0;
  line-height: 1.4;
}

.app-platform-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================================================
   COMPREHENSIVE PROFESSIONAL MOBILE OVERHAUL FOR CLIENT PORTAL
   ======================================================== */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling glitches */
  html, body.portal-body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }

  /* AUTHENTICATION GATE */
  .portal-auth-container {
    padding: 20px 14px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .auth-security-ribbon {
    max-width: 100% !important;
    margin-bottom: 12px;
  }

  .auth-card-professional {
    padding: 24px 16px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
  }

  .auth-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .auth-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }

  .input-with-icon input {
    height: 48px !important;
    font-size: 16px !important; /* Prevents iOS auto-zoom */
  }

  .btn-auth-submit {
    height: 48px !important;
    font-size: 0.95rem !important;
  }

  .auth-credential-pill {
    padding: 10px 12px !important;
  }

  .cred-rows {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .cred-item {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .cred-code {
    padding: 4px 10px !important;
    font-size: 0.85rem !important;
  }

  /* EXECUTIVE TOPBAR ON MOBILE */
  .executive-topbar {
    padding: 10px 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .topbar-container {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
    padding: 0 14px !important;
  }

  .topbar-branding {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .topbar-logo-mark {
    height: 30px !important;
  }

  .topbar-system-name {
    font-size: 0.95rem !important;
  }

  .topbar-hub-name {
    display: none !important; /* Hide long subtext on mobile */
  }

  .topbar-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .btn-topbar-back {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    flex-shrink: 0;
  }

  .btn-topbar-launch {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    flex: 1;
    justify-content: center;
  }

  .operator-profile-pill {
    padding: 3px 8px 3px 4px !important;
  }

  .operator-avatar {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.68rem !important;
  }

  .operator-details .operator-role {
    display: none !important; /* Hide role on mobile */
  }

  .operator-details .operator-name {
    font-size: 0.78rem !important;
  }

  .btn-topbar-lock {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    flex-shrink: 0;
  }

  .btn-topbar-lock span {
    display: none !important; /* Icon only on mobile */
  }

  /* WORKSPACE HERO ON MOBILE */
  .workspace-hero-section {
    padding: 16px 0 14px !important;
  }

  .hero-control-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  .hero-tag-cluster {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  .hub-pill {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .hero-headline {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
  }

  .hero-subtext {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .hero-telemetry-cluster {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .telemetry-pill {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 8px 4px !important;
    gap: 3px !important;
  }

  .telem-label {
    font-size: 0.66rem !important;
  }

  .telem-val {
    font-size: 0.72rem !important;
  }

  /* PRODUCTS GRID DUO ON MOBILE */
  .workspace-products-section {
    padding: 8px 0 20px !important;
  }

  .products-grid-duo {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .product-release-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .product-card-top {
    margin-bottom: 12px !important;
  }

  .product-icon-box {
    width: 44px !important;
    height: 44px !important;
  }

  .product-name {
    font-size: 1.2rem !important;
    margin-bottom: 6px !important;
  }

  .product-summary {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .endpoint-display-box {
    padding: 6px 10px !important;
    margin-bottom: 14px !important;
  }

  .endpoint-label {
    font-size: 0.68rem !important;
  }

  .endpoint-code {
    font-size: 0.72rem !important;
  }

  .product-features-list {
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .feature-bullet {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  /* LIVE TERMINAL PREVIEW ON MOBILE */
  .live-terminal-preview-section {
    padding: 8px 0 20px !important;
  }

  .terminal-mockup-card {
    border-radius: 12px !important;
  }

  .terminal-mockup-header {
    padding: 8px 12px !important;
  }

  .term-title {
    font-size: 0.68rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .term-live-tag {
    display: none !important;
  }

  .terminal-mockup-body {
    padding: 14px 12px !important;
  }

  .mockup-job-card {
    padding: 12px 10px !important;
  }

  .job-meta-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .job-vehicle-spec {
    font-size: 0.82rem !important;
  }

  .progress-labels {
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 0.72rem !important;
  }

  .job-footer-stats {
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 0.76rem !important;
  }

  /* DEEP DIVE DETAILS & WORKFLOW GRID ON MOBILE */
  .workspace-details-section {
    padding: 10px 0 30px !important;
  }

  .details-split-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .executive-panel-box {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .panel-heading {
    font-size: 1.3rem !important;
  }

  .panel-lead, .about-app-narrative p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  .value-props-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .vp-item {
    padding: 10px !important;
  }

  .vp-num {
    font-size: 1.25rem !important;
  }

  .vp-label {
    font-size: 0.7rem !important;
  }

  /* CAPABILITIES MATRIX ON MOBILE */
  .capabilities-matrix-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .matrix-card {
    padding: 14px 12px !important;
  }

  .matrix-card h4 {
    font-size: 0.95rem !important;
  }

  .matrix-card p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* TIMELINE WORKFLOW ON MOBILE */
  .timeline-workflow-list {
    padding-left: 0 !important;
  }

  .timeline-step {
    flex-direction: column !important;
    gap: 8px !important;
    padding-bottom: 20px !important;
  }

  .step-marker {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .step-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .step-title-row h4 {
    font-size: 0.95rem !important;
  }

  .step-content p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* EXPLAINER VIDEO SECTION ON MOBILE */
  .video-voice-selector {
    padding: 4px !important;
    margin: 10px 0 !important;
  }

  .voice-tab {
    padding: 10px 8px !important;
    font-size: 0.75rem !important;
  }

  .portal-video-player-frame video {
    max-height: 420px !important;
  }

  .video-actions-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .btn-play-trigger, .btn-theater-mode, .btn-mute-mode {
    padding: 10px 10px !important;
    font-size: 0.78rem !important;
    flex: 1 1 auto !important;
  }

  /* COMMERCIAL LICENSE ON MOBILE */
  .price-hero-row {
    font-size: 2.2rem !important;
  }

  .license-features-checklist li {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* FOOTER ON MOBILE */
  .executive-portal-footer {
    padding: 18px 0 !important;
  }

  .footer-container {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }

  /* THEATER MODAL ON MOBILE */
  .video-theater-modal {
    padding: 6px !important;
  }

  .theater-modal-content {
    border-radius: 12px !important;
    max-height: 96vh !important;
  }

  .theater-modal-header {
    padding: 10px 12px !important;
  }

  .theater-voice-label {
    display: none !important;
  }

  .theater-video-wrap video {
    max-height: 80vh !important;
  }

  /* APP SHOWCASE ON MAIN SITE MOBILE */
  .app-showcase-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .app-system-overview-card {
    padding: 20px 16px !important;
  }

  .app-showcase-title {
    font-size: 2.2rem !important;
  }
}



/* ========================================================
   CENTERED SECURE CLIENT LOGIN GATEWAY
   ======================================================== */
.auth-gateway-single-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* ========================================================
   EXCLUSIVE INTERACTIVE PHONE TOUR & APP SIMULATOR
   ======================================================== */
.interactive-phone-tour-section {
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 74, 17, 0.08) 0%, #0a0d14 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.interactive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 74, 17, 0.12);
  border: 1px solid rgba(255, 74, 17, 0.35);
  border-radius: 9999px;
  color: #ff5e28;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.phone-tour-title {
  font-family: var(--font-bebas);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.phone-tour-subtitle {
  font-size: 0.98rem;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.phone-tour-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

/* Controls Panel */
.phone-tour-controls-panel {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.tour-control-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.tour-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.tour-status-indicator strong {
  color: #38bdf8;
}

.tour-playback-actions {
  display: flex;
  gap: 10px;
}

.btn-tour-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff4a11;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-tour-play:hover,
.btn-tour-play.active {
  background: #e03e08;
  box-shadow: 0 0 14px rgba(255, 74, 17, 0.4);
}

.btn-tour-voice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-tour-voice:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.tour-voice-preset-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: #94a3b8;
}

.voice-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.voice-chip.active,
.voice-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Stations List */
.tour-stations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tour-station-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.tour-station-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 74, 17, 0.3);
}

.tour-station-card.active {
  background: rgba(255, 74, 17, 0.08);
  border-color: rgba(255, 74, 17, 0.6);
  box-shadow: 0 4px 18px rgba(255, 74, 17, 0.15);
}

.station-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.st-num {
  font-family: var(--font-bebas);
  font-size: 1.3rem;
  color: #ff4a11;
  background: rgba(255, 74, 17, 0.15);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.st-info h4 {
  font-size: 0.92rem;
  color: #f1f5f9;
  margin: 0;
  font-weight: 700;
}

.st-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.st-tap-hint {
  margin-left: auto;
  font-size: 0.76rem;
  color: #ff4a11;
  font-weight: 700;
  opacity: 0.8;
}

.st-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 8px 0 0;
  line-height: 1.45;
}

/* Captions Subtitle Box */
.tour-subtitle-caption-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}

.cap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cap-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cap-voice-tag {
  font-size: 0.72rem;
  color: #94a3b8;
}

.cap-text {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* ========================================================
   REALISTIC SMARTPHONE SIMULATOR FRAME
   ======================================================== */
.phone-tour-device-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.smartphone-chassis {
  width: 320px;
  height: 620px;
  background: #090c10;
  border: 8px solid #222938;
  border-radius: 46px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 74, 17, 0.2);
  position: relative;
  overflow: visible;
  padding: 4px;
}

/* Physical Side Buttons */
.phone-btn {
  position: absolute;
  width: 3px;
  background: #334155;
  border-radius: 2px;
}

.phone-btn-vol-up {
  left: -11px;
  top: 110px;
  height: 42px;
}

.phone-btn-vol-down {
  left: -11px;
  top: 165px;
  height: 42px;
}

.phone-btn-power {
  right: -11px;
  top: 130px;
  height: 54px;
}

/* Screen Glass Container */
.phone-screen-glass {
  width: 100%;
  height: 100%;
  background: #0d1118;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Top Phone Bar */
.phone-top-bar {
  height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: #f1f5f9;
  z-index: 50;
  background: #0d1118;
  flex-shrink: 0;
}

.phone-dynamic-island {
  width: 82px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.island-camera {
  width: 7px;
  height: 7px;
  background: #1e293b;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #0f172a;
}

.island-speaker {
  width: 28px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
}

/* Phone App Navbar */
.phone-app-navbar {
  height: 44px;
  background: #151a24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
}

.app-nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.app-brand-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
}

.app-role-badge {
  font-size: 0.65rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}

/* Screen Views Container */
.phone-screen-view {
  flex: 1;
  display: none;
  overflow: hidden;
  position: relative;
  background: #0d1118;
}

.phone-screen-view.active {
  display: block;
  animation: screenSlideIn 0.25s ease-out;
}

@keyframes screenSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-view-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: none;
}

.phone-view-scroll::-webkit-scrollbar {
  display: none;
}

/* Phone Buttons */
.phone-tap-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.phone-btn-orange {
  background: #ff4a11;
  box-shadow: 0 4px 12px rgba(255, 74, 17, 0.35);
}

.phone-btn-blue {
  background: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.phone-btn-green {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.phone-btn-whatsapp {
  background: #25d366;
  color: #052e16;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Screen 1: Intake Card & Wheel Cross-Section */
.phone-card-intake {
  background: #151a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.p-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.p-tag-orange {
  font-size: 0.65rem;
  color: #ff4a11;
  font-weight: 800;
}

.p-badge-date {
  font-size: 0.62rem;
  color: #94a3b8;
}

.p-car-title {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}

.p-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.68rem;
}

.ps-l {
  color: #94a3b8;
}

.phone-rim-visual-box {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 10px 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rim-cross-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px dashed #334155;
  background: radial-gradient(circle, #1a2232 0%, #0d1118 75%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.rim-inner-hub {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #475569;
  font-size: 0.62rem;
  font-weight: 800;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.damage-marker-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pin-pulse {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulsePin 1.5s infinite;
}

@keyframes pulsePin {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.pin-text {
  font-size: 0.6rem;
  background: rgba(0, 0, 0, 0.8);
  color: #fca5a5;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.rim-visual-caption {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 8px;
}

/* Screen 2: Kanban Stream */
.phone-kanban-header {
  margin-bottom: 10px;
  text-align: left;
}

.p-kanban-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f1f5f9;
}

.phone-kanban-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-bay-strip {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.68rem;
  text-align: left;
}

.p-bay-strip.done {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.p-bay-strip.active {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.p-bay-strip.queued {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #64748b;
}

.p-job-mini-card {
  background: #151a24;
  border-radius: 6px;
  padding: 8px;
  margin: 8px 0;
}

.p-job-mini-card .j-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
}

.p-job-mini-card .j-sub {
  color: #94a3b8;
  font-size: 0.64rem;
  margin-bottom: 6px;
}

.j-prog-bar {
  height: 4px;
  background: #334155;
  border-radius: 2px;
  overflow: hidden;
}

.j-fill {
  height: 100%;
  background: #38bdf8;
}

/* Screen 3: CNC HUD */
.phone-cnc-hud {
  text-align: left;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.64rem;
  margin-bottom: 10px;
}

.hud-machine {
  color: #94a3b8;
  font-weight: 700;
}

.hud-status-live {
  color: #22c55e;
  font-weight: 800;
}

.hud-meters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.hud-meter-box {
  background: #151a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
}

.hud-meter-box.highlight {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.06);
}

.hm-lbl {
  display: block;
  font-size: 0.62rem;
  color: #94a3b8;
  margin-bottom: 2px;
}

.hm-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.hm-status {
  display: block;
  font-size: 0.58rem;
  color: #22c55e;
  font-weight: 800;
}

.hud-waveform-container {
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
}

.hud-wave-title {
  font-size: 0.62rem;
  color: #64748b;
  margin-bottom: 6px;
}

.hud-wave-line {
  height: 38px;
  background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(56, 189, 248, 0.1) 10px, rgba(56, 189, 248, 0.1) 20px);
  border-bottom: 2px solid #38bdf8;
  position: relative;
}

.hud-wave-line::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8 0%, #22c55e 60%, #38bdf8 100%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

.hud-axis-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: #475569;
  margin-top: 4px;
}

/* Screen 4: Invoice Card */
.phone-invoice-card {
  text-align: left;
}

.inv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.inv-badge {
  font-size: 0.65rem;
  background: rgba(255, 74, 17, 0.15);
  color: #ff5e28;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.inv-num {
  font-size: 0.65rem;
  color: #94a3b8;
}

.inv-client {
  font-size: 0.76rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.inv-items-table {
  background: #151a24;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 0.68rem;
}

.inv-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: #94a3b8;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.inv-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  font-weight: 800;
  color: #fff;
  font-size: 0.74rem;
}

.wa-alert-preview {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 10px;
}

.wa-bubble-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: #25d366;
  font-weight: 800;
  margin-bottom: 4px;
}

.wa-msg {
  font-size: 0.64rem;
  color: #dcfce7;
  margin: 0;
  line-height: 1.4;
}

/* Screen 5: PIN Keypad */
.phone-pin-security-card {
  text-align: center;
  padding: 10px 4px;
}

.pin-shield-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.pin-sec-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.pin-sec-sub {
  font-size: 0.66rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 10px;
}

.pin-dots-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pdot {
  font-size: 1rem;
  color: #ff4a11;
}

.pin-keypad-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 180px;
  margin: 0 auto 12px;
}

.pkey {
  height: 32px;
  background: #1e293b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

/* Bottom Navigation Bar */
.phone-bottom-nav {
  height: 52px;
  background: #111520;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  flex-shrink: 0;
}

.p-nav-btn {
  background: none;
  border: none;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.6rem;
  cursor: pointer;
  padding: 4px;
  transition: all 0.15s;
}

.p-nav-btn.active,
.p-nav-btn:hover {
  color: #ff4a11;
}

/* Virtual Finger Tap Cursor */
.virtual-finger-tap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.finger-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 74, 17, 0.9);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 74, 17, 0.8);
  position: absolute;
  top: 6px;
  left: 6px;
}

.finger-ripple {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 74, 17, 0.7);
  opacity: 0;
  transform: scale(0.6);
}

.virtual-finger-tap.tap-now .finger-ripple {
  animation: rippleTap 0.6s ease-out;
}

@keyframes rippleTap {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Mobile Responsive for Phone Tour */
@media (max-width: 960px) {
  .phone-tour-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .smartphone-chassis {
    width: 300px;
    height: 580px;
  }
}
